aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src
AgeCommit message (Collapse)Author
2019-08-19Merge branch 'maint'Sverker Eriksson
2019-08-19Merge branch 'sverker/erl_interface/ei_decode_fun-fix/OTP-15996' into maintSverker Eriksson
* sverker/erl_interface/ei_decode_fun-fix/OTP-15996: erl_interface: Fix bug in ei_decode_fun for very old encoding
2019-08-13erl_interface: Fix bug in ei_decode_fun for very old encodingSverker Eriksson
Found by valgrind test runs.
2019-07-01Merge branch 'sverker/re-enable-big-creation/OTP-15603'Sverker Eriksson
* sverker/re-enable-big-creation/OTP-15603: doc: Add links between dist flags and external tags (DTD updated) erts: Fix docs for new pid,port,ref external tags erts: Document new EPMD response ALIVE2_X_RESP erl_interface: Support 32-bit creation local cnode jinterface: Remove old encoding of pid,port,refs epmd: Support 32-bit creation values in local node erl_interface: Remove old encoding of pid,port,refs erts: Remove old encoding of pids, ports and refs erts: Make DFLAG_BIG_CREATION mandatory
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-29Correct decoding of old funs (FUN_EXT)Björn Gustavsson
If the environment is empty, don't access the free_vars pointer and don't allocate a zero-size buffer. Better safe than sorry.
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-05-29Don't use gethostbyname_r on AIXCalvin Buckley
Patch adapated from Bull's R15 SRPM.
2019-05-21Correct decoding of external funsBjörn Gustavsson
2019-05-14erl_interface: Support 32-bit creation local cnodeSverker Eriksson
This reverts revert-commit f824686c3c519ab00582bb1f854fdfda5e4b1240.
2019-05-14erl_interface: Remove old encoding of pid,port,refsSverker Eriksson
with tiny creation. This reverts revert-commit ef44ba53defa0002ca6b12a786bd2d3555b0bb7b.
2019-05-06Merge branch 'maint'Rickard Green
* maint: Increase max number of node name characters to 256
2019-04-30Increase max number of node name characters to 256Rickard Green
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-23erl_interface: Fix C++ compile errorSverker Eriksson
"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; ^
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-04-12Merge branch 'lukas/erl_interface/depend-fix/OTP-15757' into maint-21Erlang/OTP
* lukas/erl_interface/depend-fix/OTP-15757: erl_interface: Generate dependencies at compile time
2019-04-11Merge branch 'sverker/revert-big-creation'Sverker Eriksson
* sverker/revert-big-creation: Revert "erts: Make DFLAG_BIG_CREATION mandatory" Revert "erts: Remove old encoding of pids, ports and refs" Revert "erl_interface: Remove old encoding of pid,port,refs" Revert "epmd: Support 32-bit creation values in local node" Revert "jinterface: Remove old encoding of pid,port,refs" Revert "erl_interface: Support 32-bit creation local cnode" Revert "erts: Document new EPMD response ALIVE2_X_RESP"
2019-04-10Merge branch 'maint'Lukas Larsson
2019-04-10Merge branch 'lukas/erl_interface/depend-fix/OTP-15757' into maintLukas Larsson
* lukas/erl_interface/depend-fix/OTP-15757: erl_interface: Generate dependencies at compile time
2019-04-10erl_interface: Generate dependencies at compile timeLukas Larsson
2019-04-09Revert "erl_interface: Remove old encoding of pid,port,refs"Sverker Eriksson
This reverts commit 78ea501bcc84bd8bd49da97e514c1c3b20682d86.
2019-04-09Revert "erl_interface: Support 32-bit creation local cnode"Sverker Eriksson
This reverts commit 6454221ad87d1cd8fc877b424db3c4a8e9835577.
2019-03-26erl_interface: Support 32-bit creation local cnodeSverker Eriksson
2019-03-22erl_interface: Remove old encoding of pid,port,refsSverker Eriksson
with tiny creation.
2019-03-19Merge branch 'maint'Rickard Green
* maint: Add smoke test for erl_call Add new api functions to ei_fake_prog Fix timeout value when waiting for emulator start Fix initialization of erl_call
2019-03-18Add new api functions to ei_fake_progRickard Green
These functions were added in erl_interface-3.11
2019-03-18Fix timeout value when waiting for emulator startRickard Green
2019-03-18Fix initialization of erl_callRickard Green
Previously erl_call relied on the implicit initialization made of the ei-lib if no explicit initialization had been done. This implicit initialization was utterly broken and was removed in erl_interface-3.11 (OTP 21.3) since it has been documented for a very long time that an explicit initialization is required.
2019-03-07Better erl_interface deprecation warning implementationRickard Green
2019-03-06Fix bootstrap build of erl_interfaceRickard Green
2019-02-25Merge branch 'siri/rsh-ssh/PR-1787'Hans Bolinder
OTP-15633 * siri/rsh-ssh/PR-1787: Fix some missed comments about rsh Document the restrictions on the -rsh command Use ssh as the default remote shell
2019-02-25Merge branch 'rickard/deprecations-removals'Rickard Green
OTP-15621 OTP-15622 * rickard/deprecations-removals: Document deprecations and removals
2019-02-25Document deprecations and removalsRickard Green
2019-02-22Merge branch 'bmk/20190204/socket_as_nif/OTP-14831'Micael Karlberg
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-06Merge branch 'rickard/ei-ext-maint/OTP-15442' into maintRickard Green
* rickard/ei-ext-maint/OTP-15442: 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-02-04Merge branch 'bmk/20180918/nififying_inet/OTP-14831' into ↵Micael Karlberg
bmk/20190204/socket_as_nif/OTP-14831
2019-02-01Merge branch 'maint'Lukas Larsson
2019-02-01erl_interface: Fix bsd makefile problemLukas Larsson