summaryrefslogtreecommitdiff
path: root/lib/erl_interface/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint'Rickard Green2019-05-061-3/+3
|\ | | | | | | | | * maint: Increase max number of node name characters to 256
| * Increase max number of node name characters to 256Rickard Green2019-04-301-3/+3
| |
* | erl_interface: Tweak bit string encode/decode APISverker Eriksson2019-04-261-3/+5
| | | | | | | | | | to support zero copy decoding and bit offset arguments for future unaligned bit strings.
* | erl_interface: Fix C++ compile errorSverker Eriksson2019-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | "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; ^
* | erl_interface: Add bitstring and export fun supportSverker Eriksson2019-04-171-9/+23
| |
* | erl_interface: Remove ei_get_type_internal()Sverker Eriksson2019-04-121-2/+0
| | | | | | | | same as ei_get_type()
* | erl_interface: Deprecate ei_encode_term and ei_decode_termSverker Eriksson2019-04-121-3/+3
| | | | | | | | as they use ETERM which is part of legacy erl_interface.
* | Better erl_interface deprecation warning implementationRickard Green2019-03-072-9/+11
| |
* | Document deprecations and removalsRickard Green2019-02-253-104/+126
|/
* Introduce ei_init()Rickard Green2019-02-051-0/+2
| | | | | | 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).
* Fix build of erl_interface on BSDRickard Green2019-01-291-0/+2
|
* Pluggable distribution socket implementation for EIRickard Green2019-01-231-1/+42
|
* Merge branch 'henrik/update-copyrightyear'Henrik Nord2016-04-134-4/+4
|\ | | | | | | | | * henrik/update-copyrightyear: update copyright-year
| * update copyright-yearHenrik Nord2016-03-154-4/+4
| |
* | erl_interface: Support 32-bit creation for pid,port,refsSverker Eriksson2016-04-072-3/+6
|/
* Change license text to APLv2Bruce Yinhe2015-06-184-39/+43
|
* Add Visual Studio macros to erl_driver.h and ei.hPiotr Nosek2014-05-081-1/+1
|
* erl_interface: Add ei encode/decode for mapsSverker Eriksson2014-03-061-1/+5
|
* erl_interface: Remove superfluous comma in enum erlang_char_encodingSverker Eriksson2013-02-271-1/+1
|
* erl_interface,ic: Remove node_org_enc from erlang_{pid,port,ref}Sverker Eriksson2013-02-181-3/+0
| | | | | | | | | | | 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.
* erl_interface: Change enum erlang_char_encoding to a typedefSverker Eriksson2013-02-071-12/+11
| | | | to make the API independent of the actual type of erlang_char_encoding
* Update copyright yearsBjörn-Egil Dahlberg2013-01-252-2/+2
|
* erl_interface: Changed erlang_char_encoding interfaceSverker Eriksson2013-01-231-1/+6
| | | | to allow bitwise-or'd combinations.
* erl_interface: utf8 atoms continuedSverker Eriksson2013-01-182-20/+55
|
* erl_interface: Enable decode of unicode atomsSverker Eriksson2013-01-081-0/+2
| | | | | | 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.
* Correct erl_global{register, unregister} functionsVitaliy Batichko2010-12-101-13/+16
| | | | | | | 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.
* OTP-8711 Make ei build on VxWorksBjörn-Egil Dahlberg2010-06-141-2/+0
| | | | Make erl_interface build on VxWorks
* Merge branch 'sv/serge-new_float_ext' into devErlang/OTP2010-06-081-5/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * compact IEEE 754 double encoding in external binary format for eiSteve Vinoski2010-06-071-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | 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. 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.
* OTP-5037 Document debug support.Björn-Egil Dahlberg2009-12-081-0/+6
| | | | | | | | Debug trace output for connection activity could be enabled setting the trace level as an integer to the EI_TRACELEVEL environment variable. This option could also be read and set from a running program using ei_get_tracelevel(void) and ei_set_tracelevel(int).
* The R13B03 release.OTP_R13B03Erlang/OTP2009-11-204-0/+1286