<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/erl_interface/src/encode, branch OTP-18.1.3</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Change license text to APLv2</title>
<updated>2015-06-18T09:31:02+00:00</updated>
<author>
<name>Bruce Yinhe</name>
<email>bruce@erlang.org</email>
</author>
<published>2015-06-18T09:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=738c34d4bb8f1a3811acd00af8c6c12107f8315b'/>
<id>738c34d4bb8f1a3811acd00af8c6c12107f8315b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_interface: Move math.h include after eidef.h</title>
<updated>2015-06-02T13:27:38+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2015-06-02T13:12:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1a2ae45a5999850c1578e9ea0c0f993c04f934fb'/>
<id>1a2ae45a5999850c1578e9ea0c0f993c04f934fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not accept Nan and Infinity values</title>
<updated>2015-03-19T10:22:37+00:00</updated>
<author>
<name>David N. Welton</name>
<email>davidw@dedasys.com</email>
</author>
<published>2014-12-15T16:53:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=372d62d4e1738431d33c1318be1ee4305c74649d'/>
<id>372d62d4e1738431d33c1318be1ee4305c74649d</id>
<content type='text'>
Erlang does not accept these values, so we return an error in the C
interface rather than letting them through to the Erlang VM, which
rejects the message with a somewhat cryptic "bad external term".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Erlang does not accept these values, so we return an error in the C
interface rather than letting them through to the Erlang VM, which
rejects the message with a somewhat cryptic "bad external term".
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_interface: Add ei encode/decode for maps</title>
<updated>2014-03-06T19:10:19+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2014-03-06T14:13:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6941af88ad016141f568279f065cb181074f1f9f'/>
<id>6941af88ad016141f568279f065cb181074f1f9f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence two warnings about tests being always true</title>
<updated>2013-12-02T14:20:50+00:00</updated>
<author>
<name>Anthony Ramine</name>
<email>n.oxyde@gmail.com</email>
</author>
<published>2013-10-15T08:49:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=09152f810b04715785cb0437f9bc0ce42bb0f85f'/>
<id>09152f810b04715785cb0437f9bc0ce42bb0f85f</id>
<content type='text'>
encode/encode_ulonglong.c:55:25: warning: comparison of unsigned expression &gt;= 0 is always true [-Wtautological-compare]
    if ((p &lt; 256) &amp;&amp; (p &gt;= 0)) {
                      ~ ^  ~

legacy/erl_marshal.c:293:24: warning: comparison of unsigned expression &gt;= 0 is always true [-Wtautological-compare]
        if ((ul &lt; 256) &amp;&amp; (ul &gt;= 0)) {
                           ~~ ^  ~
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
encode/encode_ulonglong.c:55:25: warning: comparison of unsigned expression &gt;= 0 is always true [-Wtautological-compare]
    if ((p &lt; 256) &amp;&amp; (p &gt;= 0)) {
                      ~ ^  ~

legacy/erl_marshal.c:293:24: warning: comparison of unsigned expression &gt;= 0 is always true [-Wtautological-compare]
        if ((ul &lt; 256) &amp;&amp; (ul &gt;= 0)) {
                           ~~ ^  ~
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_interface,ic: Remove node_org_enc from erlang_{pid,port,ref}</title>
<updated>2013-02-18T14:20:47+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2013-02-18T14:09:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9a35c01873fb56316136e1314ad6adffe97b9fa5'/>
<id>9a35c01873fb56316136e1314ad6adffe97b9fa5</id>
<content type='text'>
in order to be backward compatible with user code that
accesses the members of erlang_pid and friend.

The documentation does not mention the content of these structs,
but we have example code that does. So the safe way it the revert
the node_org_enc field (added in R16A) and instead determine in
runtime which atom encoding to use depending on if the node atom
contains unicode (&gt;255) characters or not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in order to be backward compatible with user code that
accesses the members of erlang_pid and friend.

The documentation does not mention the content of these structs,
but we have example code that does. So the safe way it the revert
the node_org_enc field (added in R16A) and instead determine in
runtime which atom encoding to use depending on if the node atom
contains unicode (&gt;255) characters or not.
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_interface: Change enum erlang_char_encoding to a typedef</title>
<updated>2013-02-07T13:46:19+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2013-02-07T13:46:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b0693061137de237c38965c556c7d6ded8977394'/>
<id>b0693061137de237c38965c556c7d6ded8977394</id>
<content type='text'>
to make the API independent of the actual type of erlang_char_encoding
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to make the API independent of the actual type of erlang_char_encoding
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'lukas/erl_interface/test_atom_as_functions/OTP-10753'</title>
<updated>2013-01-28T09:27:26+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang-solutions.com</email>
</author>
<published>2013-01-28T09:27:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b5c654bd8f072754a6b7823c53c3106c026871f7'/>
<id>b5c654bd8f072754a6b7823c53c3106c026871f7</id>
<content type='text'>
* lukas/erl_interface/test_atom_as_functions/OTP-10753:
  Return if size test fails
  Add utf8 atom encode and decode testcases
  Validate UTF8/ASCII when buf is NULL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lukas/erl_interface/test_atom_as_functions/OTP-10753:
  Return if size test fails
  Add utf8 atom encode and decode testcases
  Validate UTF8/ASCII when buf is NULL
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2013-01-25T16:58:15+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2013-01-25T16:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3fb4def74a64a63fbb2b28aef6c5920d7db3ad6e'/>
<id>3fb4def74a64a63fbb2b28aef6c5920d7db3ad6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Validate UTF8/ASCII when buf is NULL</title>
<updated>2013-01-25T09:21:51+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang-solutions.com</email>
</author>
<published>2013-01-24T15:14:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d4170d92cca6256b8390222f09101e1c121becf9'/>
<id>d4170d92cca6256b8390222f09101e1c121becf9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
