aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/misc
AgeCommit message (Collapse)Author
2019-06-19Merge branch 'maint'Sverker Eriksson
2019-06-19Merge pull request #2110 from NattyNarwhal/aix-fixes/OTP-15866Lukas Larsson
Wake AIX up from coma
2019-06-11erl_interface: Fix bugs in ei_print_term for binary/bitstringSverker Eriksson
2019-05-29Teach ei_print_term() to print funsBjörn Gustavsson
2019-05-29Teach ei_print_term() to print mapsBjörn Gustavsson
2019-05-29Attempt at fixing AIX while keeping API compatibilityCalvin
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.
2019-05-29fix names conflicting with AIX system namesCalvin
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
2019-04-26erl_interface: Tweak bit string encode/decode APISverker Eriksson
to support zero copy decoding and bit offset arguments for future unaligned bit strings.
2019-04-17erl_interface: Add bitstring and export fun supportSverker Eriksson
2019-04-12erl_interface: Remove old r9 pid and port compatibilitySverker Eriksson
2019-04-12erl_interface: Fix maps arity from ei_get_type()Sverker Eriksson
2019-04-12erl_interface: Remove ei_get_type_internal()Sverker Eriksson
same as ei_get_type()
2019-03-07Better erl_interface deprecation warning implementationRickard Green
2019-02-25Document deprecations and removalsRickard Green
2019-02-06Merge branch 'maint'Rickard Green
* maint: Introduce ei_init() Fix bug in ei_accept_tmo Fix build of erl_interface on BSD
2019-02-05Introduce ei_init()Rickard Green
You previously had to initialize ei via erl_init() which implied that you were forced to link against the erl_interface even when not using it (besides initializing ei).
2019-02-04Fix bug in ei_accept_tmoRickard Green
2019-01-29Fix build of erl_interface on BSDRickard Green
2019-01-24Merge branch 'maint'Rickard Green
* maint: Pluggable distribution socket implementation for EI
2019-01-23Pluggable distribution socket implementation for EIRickard Green
2018-09-21Merge branch 'maint'Henrik Nord
2018-09-21Update copyright yearHenrik Nord
2018-07-27Change "can not" into "cannot"Raimo Niskanen
I did not find any legitimate use of "can not", however skipped changing e.g RFCs archived in the source tree.
2018-07-18erl_interface: Initialize erl_errno to zeroSverker Eriksson
Makes valgrind happy.
2017-05-04Update copyright yearRaimo Niskanen
2017-02-14Fixed typos in lib/erl_interfaceAndrew Dryga
2016-08-19erl_interface: Fix faulty #if logicSverker Eriksson
2016-06-14erl_interface: Fix trace level tracing on windowsLukas Larsson
2016-06-07erl_interface: Let struct iovec * be visibleBjörn-Egil Dahlberg
2016-04-13Merge branch 'henrik/update-copyrightyear'Henrik Nord
* henrik/update-copyrightyear: update copyright-year
2016-04-07erl_interface: Support 32-bit creation for pid,port,refsSverker Eriksson
2016-03-15update copyright-yearHenrik Nord
2015-06-18Change license text to APLv2Bruce Yinhe
2015-06-02erl_interface: Move isfinite definition to headerBjörn-Egil Dahlberg
2014-03-06erl_interface: Add ei encode/decode for mapsSverker Eriksson
2013-02-18erl_interface,ic: Remove node_org_enc from erlang_{pid,port,ref}Sverker Eriksson
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 (>255) characters or not.
2013-02-07erl_interface: Change enum erlang_char_encoding to a typedefSverker Eriksson
to make the API independent of the actual type of erlang_char_encoding
2013-01-28Merge branch 'lukas/erl_interface/test_atom_as_functions/OTP-10753'Lukas Larsson
* 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
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2013-01-25Return if size test failsLukas Larsson
This is needed in order to avoid potential buffer overruns in the encode functions
2013-01-25Validate UTF8/ASCII when buf is NULLLukas Larsson
2013-01-22erl_interface: even more utf8 atom stuffSverker Eriksson
2013-01-18erl_interface: utf8 atoms continuedSverker Eriksson
2013-01-08erl_interface: Enable decode of unicode atomsSverker Eriksson
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.
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-01-03ei: Remove unused variable in ei_format.cBjörn-Egil Dahlberg
2011-09-07Make comment reflect code in erl_interface/src/misc/ei_decode_term.cAnneli Cuss
Note that ei_decode_term.h has the correct behaviour described! Also removed extraneous '/* return 0; */' comments.
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-02-22ei: buffer overflow when decoding atomsMichael Santos
2011-01-03Merge branch 'vb/ei-exts' into devBjörn-Egil Dahlberg
* vb/ei-exts: Fix testcases erl_global_whereis, erl_global_names Fix wrong erl_compare_ext result comparing lists Correct erl_global{register, unregister} functions Add PID (~p) type parameters to ei_format Add char (~c) type parameters to ei_format OTP-9015 Conflicts: lib/erl_interface/include/ei.h