This document describes the changes made to the Erl_interface application.
Removed unused variable in
Fixed faulty deallocation in
Own Id: OTP-8748
ei_connect: correct man page examples (Thanks to Michael Santos)
Own Id: OTP-8813
ei: prevent overflow in
Add length check of the buffer before copying. (Thanks to Michael Santos)
Own Id: OTP-8814
Remove DECLSPEC feature which fails on Windows Vista and use the fallback implementation instead.
Own Id: OTP-8826
erl_call: fix multiple buffer overflows (Thanks to Michael Santos)
Own Id: OTP-8827
Fix incorrect writev iovec buffer handling in
Own Id: OTP-8837
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.
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-8684
Document debug support.
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).
Own Id: OTP-5037
Cross compilation improvements and other build system improvements.
Most notable:
(Thanks to Henrik Riomar for suggestions and testing)
(Thanks to Winston Smith for the AVR32-Linux cross configuration and testing)
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-8323
Change erroneous "\\0" in documentation files
Own Id: OTP-8326
Allow
Own Id: OTP-8400
The documentation is now built with open source tools (xsltproc and fop) that exists on most platforms. One visible change is that the frames are removed.
Own Id: OTP-8201
The manual states that erl_receive() return the reason in
the
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-4969
In
In
In
In
In
In
In
These errors has now been fixed. (Thanks to Romain Lenglet, Paul Mineiro and Paul Guyot).
Own Id: OTP-6117
Own Id: OTP-7554
The function
Own Id: OTP-8093
Own Id: OTP-8157
Added support for 64-bit integers in encoding/decoding.
Added support for better printouts of binaries.
Own Id: OTP-6091
A problem with
Clean up of code and removed compiler warnings.
Own Id: OTP-7978
A faulty validation in
Own Id: OTP-7960
Minor update to the
Own Id: OTP-7959
Minor update to the
Own Id: OTP-7959
Nodes belonging to different independent clusters can now co-exist on the same host with the help of a new environment variable setting ERL_EPMD_PORT.
Own Id: OTP-7826
A type-casting bug in ei_skip_term and ei_printterm on 64bit platforms rendering undefined results is now corrected.
Own Id: OTP-7577
A bug in the hostent copying code of erl_interface on MacOS X/Darwin is now corrected.
Own Id: OTP-7593
A problem with building
Own Id: OTP-7611
Fixed bug in erl_interface when decoding broken data
Own Id: OTP-7448
An erroneous freeing of memory could occur when using
Own Id: OTP-6795
A faulty compare in
Own Id: OTP-7368
Minor documentation fixes.
Own Id: OTP-7183 Aux Id: OTP-7118
The symbol __erl_errno was undefined in the single thread version of the ei library, but is now defined.
Own Id: OTP-6887
Corrected FreeBSD build error.
Own Id: OTP-7093
Calls to alloca in erl_marshal.c have been removed. A static buffer is now used instead to store node names temporarily.
Own Id: OTP-6331 Aux Id: seq10468
ei_print_term interprets a list of integers with values from 0 to 255 as a string. If the original list contains the integer 0, this is considered terminator of the string. This is incorrect. The function has now been modified to not look for '\0' in a string, but always print all characters.
Own Id: OTP-6339 Aux Id: seq10492
The combination of xeon processors with 64bit x86 extensions and a 32bit linux could cause ei_decode_long and ei_decode_longlong to fail for the value LONG_MIN and LONGLONG_MIN. The conversion is now made more portable.
Own Id: OTP-6216
Portability enhancements.
Own Id: OTP-6132
Different (and old)
Own Id: OTP-5967
pthread header and library mismatch on linux systems (at least some SuSE and Debian) with both NPTL and Linuxthreads libraries installed.
Own Id: OTP-5981
Support for a C node to connect to an Erlang node on a standalone host has been added.
Own Id: OTP-5883 Aux Id: seq10170
A configuration test error caused erl_interface to be built without support for threads. This has been corrected.
Own Id: OTP-5456
Changes and improvements have been made to the build and test environment to solve problems with failing erl_interface test cases.
Own Id: OTP-5295 Aux Id: OTP-5387
Process identifiers and port identifiers have been made more unique. Previously 18 bits were used as id in the internal representation of process and port identifiers. Now 28 bits are used.
The maximum limit on the number of concurrently existing processes due to the representation of pids has been increased to 268435456 processes. The same is true for ports. This limit will at least on a 32-bit architecture be impossible to reach due to memory shortage.
NOTE: By default, the
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-4968 Aux Id: OTP-4196
Corrections for mistakes done for patch erl_605/OTP-4874.
Own Id: OTP-4995 Aux Id: OTP-4874
A small optimization in ei_rpc*() was added and a bug in ei_decode_longlong() was corrected.
Own Id: OTP-4784
Strings longer than 65535 bytes were encoded wrong in ei/erl_interface.
Own Id: OTP-4865 Aux Id: EABln07451
erl_call -a parsed erlang terms incorrectly due to a bug in ei_format, which is now corrected.
Own Id: OTP-4777 Aux Id: seq8099