<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/erl_interface/include, branch master</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Attempt at fixing AIX while keeping API compatibility</title>
<updated>2019-05-29T11:43:26+00:00</updated>
<author>
<name>Calvin</name>
<email>calvin@cmpct.info</email>
</author>
<published>2019-05-29T11:43:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e414c818360911ab759cef6a08b3ed133f3208ae'/>
<id>e414c818360911ab759cef6a08b3ed133f3208ae</id>
<content type='text'>
erl_interface has a function in a struct, and AIX headers, when you
use C instead of C++, pollute the global namespace with definitions
that override socket functions, and end up clobbering names of
things Erlang/OTP uses. The new socket interface of R22 was one of
the victims.  I had previously tied to fix it for erl_interface,
but the change broke API public surface. What this does is replace
the name with a define, that defines to the same name on non-AIX,
but uses a "mangled" name on AIX instead. This means internal uses
of this function in the struct need to use the preprocessor define
instead of the "normal" name, and likewise external users too,
but those can be dealt with one-at-a-time on AIX instead of
breaking everyone else.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
erl_interface has a function in a struct, and AIX headers, when you
use C instead of C++, pollute the global namespace with definitions
that override socket functions, and end up clobbering names of
things Erlang/OTP uses. The new socket interface of R22 was one of
the victims.  I had previously tied to fix it for erl_interface,
but the change broke API public surface. What this does is replace
the name with a define, that defines to the same name on non-AIX,
but uses a "mangled" name on AIX instead. This means internal uses
of this function in the struct need to use the preprocessor define
instead of the "normal" name, and likewise external users too,
but those can be dealt with one-at-a-time on AIX instead of
breaking everyone else.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix names conflicting with AIX system names</title>
<updated>2019-05-29T10:21:43+00:00</updated>
<author>
<name>Calvin</name>
<email>calvin@cmpct.info</email>
</author>
<published>2019-03-21T12:29:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8a0c0ae7defd1e9f5d41a88de8c3dc8a544a7c73'/>
<id>8a0c0ae7defd1e9f5d41a88de8c3dc8a544a7c73</id>
<content type='text'>
quick and dirty renaming. the reason why is because AIX has some
network function names prefixed with "n" for spec compliant
versions, and the unprefixed versions are just redfined or are
wrappers. as such, rename the erts/ei functions with these names.

fixes compile on IBM i 7.3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
quick and dirty renaming. the reason why is because AIX has some
network function names prefixed with "n" for spec compliant
versions, and the unprefixed versions are just redfined or are
wrappers. as such, rename the erts/ei functions with these names.

fixes compile on IBM i 7.3
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2019-05-06T13:40:04+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2019-05-06T13:40:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0b2fdd2091d384078527b608e7d7c46ff7ea0412'/>
<id>0b2fdd2091d384078527b608e7d7c46ff7ea0412</id>
<content type='text'>
* maint:
  Increase max number of node name characters to 256
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint:
  Increase max number of node name characters to 256
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase max number of node name characters to 256</title>
<updated>2019-04-30T15:29:20+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2019-04-30T14:46:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e05ce24868c8391103faea7de3f230fa8f2ce0a2'/>
<id>e05ce24868c8391103faea7de3f230fa8f2ce0a2</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: Tweak bit string encode/decode API</title>
<updated>2019-04-26T17:43:53+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2019-04-26T17:43:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=01aa8b82dd0f8229355ffd2bb2bc8e8f496d2df6'/>
<id>01aa8b82dd0f8229355ffd2bb2bc8e8f496d2df6</id>
<content type='text'>
to support zero copy decoding
and bit offset arguments for future unaligned bit strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to support zero copy decoding
and bit offset arguments for future unaligned bit strings.
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_interface: Fix C++ compile error</title>
<updated>2019-04-23T15:28:53+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2019-04-23T15:28:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a7120cd744bcb2d4fd4c3cf9211243153d5999cb'/>
<id>a7120cd744bcb2d4fd4c3cf9211243153d5999cb</id>
<content type='text'>
"export" is a reserved C++ keyword.

lib/erl_interface/include/ei.h:290:9:
error: expected ‘;’ after struct definition
         } export;
         ^
lib/erl_interface/include/ei.h:290:11:
error: expected unqualified-id before ‘export’
         } export;
           ^
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"export" is a reserved C++ keyword.

lib/erl_interface/include/ei.h:290:9:
error: expected ‘;’ after struct definition
         } export;
         ^
lib/erl_interface/include/ei.h:290:11:
error: expected unqualified-id before ‘export’
         } export;
           ^
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_interface: Add bitstring and export fun support</title>
<updated>2019-04-17T17:09:12+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2019-04-03T19:16:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6465de7e3a5393a80ed0e2c63f012fd126de706f'/>
<id>6465de7e3a5393a80ed0e2c63f012fd126de706f</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: Remove ei_get_type_internal()</title>
<updated>2019-04-12T16:28:29+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2019-04-05T17:26:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a78bf4550d8bba67672624b73841c83614dd3db0'/>
<id>a78bf4550d8bba67672624b73841c83614dd3db0</id>
<content type='text'>
same as ei_get_type()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
same as ei_get_type()
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_interface: Deprecate ei_encode_term and ei_decode_term</title>
<updated>2019-04-12T16:28:29+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2019-04-05T16:26:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7e064720c1363ee4ca4209d7c8b0f33a90182ce7'/>
<id>7e064720c1363ee4ca4209d7c8b0f33a90182ce7</id>
<content type='text'>
as they use ETERM which is part of legacy erl_interface.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as they use ETERM which is part of legacy erl_interface.
</pre>
</div>
</content>
</entry>
<entry>
<title>Better erl_interface deprecation warning implementation</title>
<updated>2019-03-07T15:01:30+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2019-03-07T14:53:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a4caaef4df6acbdd7c46962004edc1d47504bbf4'/>
<id>a4caaef4df6acbdd7c46962004edc1d47504bbf4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
