<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/erl_interface/include, branch OTP_R16B03</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>erl_interface: Remove superfluous comma in enum erlang_char_encoding</title>
<updated>2013-02-27T15:01:42+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2013-02-27T15:01:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=67a1a8e0d68207e8d831963c8f235988feefcf61'/>
<id>67a1a8e0d68207e8d831963c8f235988feefcf61</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,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>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>erl_interface: Changed erlang_char_encoding interface</title>
<updated>2013-01-23T15:04:38+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2013-01-23T15:04:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c596e17cf3d69cf5e10d28ee2a8ee35162786da1'/>
<id>c596e17cf3d69cf5e10d28ee2a8ee35162786da1</id>
<content type='text'>
to allow bitwise-or'd combinations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to allow bitwise-or'd combinations.
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_interface: utf8 atoms continued</title>
<updated>2013-01-18T14:04:03+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2013-01-11T16:27:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b553664f54034e8c04ae6f9cc44f16b7f516518b'/>
<id>b553664f54034e8c04ae6f9cc44f16b7f516518b</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: Enable decode of unicode atoms</title>
<updated>2013-01-08T10:15:01+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2012-12-21T14:50:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=685d009efcfd7521e9c918a14b58eac19755299d'/>
<id>685d009efcfd7521e9c918a14b58eac19755299d</id>
<content type='text'>
No API changes or additions. Just the ability for erl_interface to decode
unicode atoms and convert them into latin1 strings to preserve backward
compatibility for the existing API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No API changes or additions. Just the ability for erl_interface to decode
unicode atoms and convert them into latin1 strings to preserve backward
compatibility for the existing API.
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct erl_global{register, unregister} functions</title>
<updated>2010-12-10T15:32:02+00:00</updated>
<author>
<name>Vitaliy Batichko</name>
<email>vbatichko@gmail.com</email>
</author>
<published>2010-11-29T18:42:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7992d6a6bfa0f460f8663c2d72d07b60755a4857'/>
<id>7992d6a6bfa0f460f8663c2d72d07b60755a4857</id>
<content type='text'>
C node needs DFLAG_DIST_MONITOR flag set when connecting,
and support for processing monitoring start/end messages
received from counterpart, to make global registration
actually work.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
C node needs DFLAG_DIST_MONITOR flag set when connecting,
and support for processing monitoring start/end messages
received from counterpart, to make global registration
actually work.
</pre>
</div>
</content>
</entry>
<entry>
<title>OTP-8711 Make ei build on VxWorks</title>
<updated>2010-06-14T14:05:48+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2010-06-14T13:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ef79a450995b3216cc6c1bb013aec822a3639a60'/>
<id>ef79a450995b3216cc6c1bb013aec822a3639a60</id>
<content type='text'>
Make erl_interface build on VxWorks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make erl_interface build on VxWorks
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sv/serge-new_float_ext' into dev</title>
<updated>2010-06-08T10:11:24+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2010-06-08T10:11:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b8b646ff6780ce1a3d128b22fb90d4ddd75f2ca6'/>
<id>b8b646ff6780ce1a3d128b22fb90d4ddd75f2ca6</id>
<content type='text'>
* sv/serge-new_float_ext:
  Let ei_get_type() return ERL_FLOAT_EXT instead of NEW_FLOAT_EXT
  Fix ei_tmo to restrict dflags to NEW_FLOAT_EXT
  compact IEEE 754 double encoding in external binary format for ei
  fix typo in ei_decode_ei_term documentation

OTP-8684 sv/serge-new_float_ext

compact IEEE 754 double encoding in external binary format for ei

Implement the compact IEEE 754 double encoding in external binary format
for ei. Encoding for ei now always produces the NEW_FLOAT_EXT format.
Decoding and term printing handle both the old ERL_FLOAT_EXT encoding and
the new NEW_FLOAT_EXT encoding. 

Legacy erl_interface code also handles the new encoding, but still produces
the ERL_FLOAT_EXT encoding by default.

Also enable the DFLAG_NEW_FLOATS distribution flag.

ei_get_type() will return ERL_FLOAT_EXT regardless if the external format
is encoded with ERL_FLOAT_EXT or NEW_FLOAT_EXT for doubles.

Reduce the number of copies of the code for encoding and decoding doubles
throughout ei and erl_interface by instead calling the ei encoding and
decoding functions wherever possible.

Restore commented-out float tests in ei_decode_SUITE and ei_encode_SUITE in
lib/erl_interface/test. Modify them to make them match the style of other
tests in the same suites.

These changes are based on an ei float patch from Serge Aleynikov
originally submitted against R12B-2 in July 2008 and reworked by Steve
Vinoski May 2010.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* sv/serge-new_float_ext:
  Let ei_get_type() return ERL_FLOAT_EXT instead of NEW_FLOAT_EXT
  Fix ei_tmo to restrict dflags to NEW_FLOAT_EXT
  compact IEEE 754 double encoding in external binary format for ei
  fix typo in ei_decode_ei_term documentation

OTP-8684 sv/serge-new_float_ext

compact IEEE 754 double encoding in external binary format for ei

Implement the compact IEEE 754 double encoding in external binary format
for ei. Encoding for ei now always produces the NEW_FLOAT_EXT format.
Decoding and term printing handle both the old ERL_FLOAT_EXT encoding and
the new NEW_FLOAT_EXT encoding. 

Legacy erl_interface code also handles the new encoding, but still produces
the ERL_FLOAT_EXT encoding by default.

Also enable the DFLAG_NEW_FLOATS distribution flag.

ei_get_type() will return ERL_FLOAT_EXT regardless if the external format
is encoded with ERL_FLOAT_EXT or NEW_FLOAT_EXT for doubles.

Reduce the number of copies of the code for encoding and decoding doubles
throughout ei and erl_interface by instead calling the ei encoding and
decoding functions wherever possible.

Restore commented-out float tests in ei_decode_SUITE and ei_encode_SUITE in
lib/erl_interface/test. Modify them to make them match the style of other
tests in the same suites.

These changes are based on an ei float patch from Serge Aleynikov
originally submitted against R12B-2 in July 2008 and reworked by Steve
Vinoski May 2010.</pre>
</div>
</content>
</entry>
</feed>
