aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface
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-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-10Prepare releaseErlang/OTP
2019-05-09Merge branch 'maint'Rickard Green
* maint: Updated OTP version Prepare release
2019-05-09Merge tag 'OTP-21.3.7.1' into maintRickard Green
=== OTP-21.3.7.1 === Changed Applications: - erl_interface-3.11.2.1 Unchanged Applications: - asn1-5.0.8 - common_test-1.17.1 - compiler-7.3.2 - crypto-4.4.2 - debugger-4.2.6 - dialyzer-3.3.2 - diameter-2.2.1 - edoc-0.10 - eldap-1.2.6 - erl_docgen-0.9 - erts-10.3.4 - et-1.6.4 - eunit-2.3.7 - ftp-1.0.2 - hipe-3.18.3 - inets-7.0.7 - jinterface-1.9.1 - kernel-6.3.1 - megaco-3.18.4 - mnesia-4.15.6 - observer-2.9 - odbc-2.12.3 - os_mon-2.4.7 - otp_mibs-1.2.1 - parsetools-2.1.8 - public_key-1.6.5 - reltool-0.7.8 - runtime_tools-1.13.2 - sasl-3.3 - snmp-5.2.12 - ssh-4.7.6 - ssl-9.2.2 - stdlib-3.8.1 - syntax_tools-2.1.7 - tftp-1.0.1 - tools-3.1 - wx-1.8.7 - xmerl-1.3.20 * tag 'OTP-21.3.7.1': Updated OTP version Prepare release # Conflicts: # OTP_VERSION # lib/erl_interface/doc/src/notes.xml # lib/erl_interface/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-05-09Prepare releaseRickard Green
2019-05-08Merge branch 'maint'Rickard Green
* maint: Fix bad merge from maint-21 Fix bad merge from maint-21 Updated OTP version Prepare release # Conflicts: # OTP_VERSION # make/otp_version_tickets_in_merge
2019-05-07Merge branch 'sverker/ei_set_compal_rel-doc'Sverker Eriksson
* sverker/ei_set_compal_rel-doc: erl_interface: Document ei_set_compat_rel
2019-05-07Merge branch 'maint-21' into maintIngela Anderton Andin
* maint-21: Updated OTP version Prepare release
2019-05-06Prepare releaseErlang/OTP
2019-05-06Merge branch 'maint'Rickard Green
* maint: Increase max number of node name characters to 256
2019-05-06Merge branch 'rickard/ei-nodename/OTP-15781' into maintRickard Green
* rickard/ei-nodename/OTP-15781: Increase max number of node name characters to 256
2019-05-03erl_interface: Document ei_set_compat_relSverker Eriksson
The changes in 6465de7e3a5393a80ed0e2c63f012fd126de706f.
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-24Revert "Prepare release"Rickard Green
This reverts commit 425889ba69b69a9b6fb14bfbef121d51b78e853a.
2019-04-23Prepare releaseErlang/OTP
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-17Merge branch 'sverker/bit-binary-ext/OTP-15712'Sverker Eriksson
* sverker/bit-binary-ext/OTP-15712: jinterface: Add dist flag for export funs erl_interface: Add bitstring and export fun support erl_interface: Remove old r9 pid and port compatibility erl_interface: Refactor ei_decode_SUITE erl_interface: Fix maps arity from ei_get_type() erl_interface: Remove ei_get_type_internal() erl_interface: Deprecate ei_encode_term and ei_decode_term
2019-04-17erl_interface: Add bitstring and export fun supportSverker Eriksson
2019-04-17Merge branch 'maint'Micael Karlberg
* maint: Updated OTP version Prepare release
2019-04-17Merge branch 'maint-20' into maintMicael Karlberg
* maint-20: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # lib/common_test/doc/src/notes.xml # lib/common_test/vsn.mk # lib/erl_interface/doc/src/notes.xml # lib/erl_interface/vsn.mk # lib/snmp/doc/src/notes.xml # lib/snmp/vsn.mk # lib/ssh/doc/src/notes.xml # lib/ssh/vsn.mk # lib/tools/doc/src/notes.xml # lib/tools/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-04-16Prepare releaseErlang/OTP
2019-04-16Merge branch 'lukas/erl_interface/depend-fix/OTP-15757' into maint-20Erlang/OTP
* lukas/erl_interface/depend-fix/OTP-15757: erl_interface: Generate dependencies at compile time
2019-04-12erl_interface: Remove old r9 pid and port compatibilitySverker Eriksson
2019-04-12erl_interface: Refactor ei_decode_SUITESverker Eriksson
unmacrofy some code
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-12erl_interface: Deprecate ei_encode_term and ei_decode_termSverker Eriksson
as they use ETERM which is part of legacy erl_interface.
2019-04-12Merge branch 'maint'Hans Nilsson
* maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # make/otp_version_tickets_in_merge
2019-04-12Prepare releaseErlang/OTP
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: Updated OTP version Prepare release
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