aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-05-29[esock|test] Add local close recvmsg test case for local (dgram)Micael Karlberg
Add local close recvmsg response test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add local close recvfrom test case for local (dgram)Micael Karlberg
Add local close recvfrom response test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add local close recvmsg test case for local (stream)Micael Karlberg
Add local close recvmsg response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add local close (plain) recv test case for localMicael Karlberg
Add local close recv response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add controlling process test case for localMicael Karlberg
Add controlling process exit test case for Unix Domain (stream and dgram) socket. OTP-15822
2019-05-29[esock|test] Add (dgram) sendmsg and recvmsg test case for localMicael Karlberg
Add a sendmsg and recvmsg test case for a unix domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add (dgram) sendto and recvfrom test case for localMicael Karlberg
Add a sendto and recvfrom test case for a unix domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add (stream) sendmsg and recvmsg test case for localMicael Karlberg
Add a sendmsg and recvmsg test case for a unix domain (stream) socket. Found and fixed a bug for the return value for the address field for family 'local' (encoded as 'inet'). OTP-15822
2019-05-29[esock|test] Add plain (stream) send and recv test case for localMicael Karlberg
Add a plain send and recv test case for a unix domain (stream) socket. OTP-15822
2019-05-29[esock] Finalize handling of Unix Domain SocketMicael Karlberg
Corrected various issues and added missing stuff. Default protocol is now indicated with the atom 'default' instead of the atom 'null'. Also let the underlying OS decide what protocol is actually the default protocol. OTP-15822
2019-05-29stdlib: Fix a bug concerning io_lib option 'chars_limit'Hans Bolinder
See also https://bugs.erlang.org/browse/ERL-957.
2019-05-29Merge branch 'john/update-maint-22-bootstrap' into maintJohn Högberg
* john/update-maint-22-bootstrap: Update primary bootstrap
2019-05-29Merge branch 'bjorn/compiler/fix-beam_ssa_dead-patch/OTP-15845' into maintJohn Högberg
* bjorn/compiler/fix-beam_ssa_dead-patch/OTP-15845: Fix unsafe optimizations where guard tests could be removed
2019-05-29Merge pull request #2254 from trofi/master/OTP-15853Lukas Larsson
erts: don't loop indefinitely on --enable-pgo
2019-05-29Merge pull request #2252 from michalmuskala/debug-fixLukas Larsson
Add missing attribute to debug variable
2019-05-29Merge branch 'kuroneer/multiple-mode-flags/OTP-15852' into maintLukas Larsson
* kuroneer/multiple-mode-flags/OTP-15852: Update preloaded modules Add comment to doc regarding multiple -mode flags Extra -mode flags are ignored with a warning
2019-05-29Merge pull request #2263 from ↵Björn Gustavsson
bjorng/bjorn/compiler/fix-beam_ssa_dead-crash/ERL-956/OTP-15848 Eliminate crash in the beam_ssa_dead compiler pass
2019-05-28erts: Fix faulty spec for seq_trace:set_token/2Sverker Eriksson
Returns plain OldVal.
2019-05-28erts: Fix seq_trace:print/2 for arbitrary labelsSverker Eriksson
Would raise badarg if Label was not atom or small integer.
2019-05-28erts: Fix bug in seq_trace:set_token(label,_)Sverker Eriksson
If internal seq-trace tuple is on old heap an incorrect ref from old to new heap was made.
2019-05-28Merge branch 'ingela/ssl/alert-strings/OTP-15844' into maintIngela Anderton Andin
2019-05-28Export named_curve/0juhlig
The types named_curve/0 consist of many options and may also change with time. Since they are not exported, users must either repeat and maintain their specs, or use a general type like any() if they want to refer to them.
2019-05-28ssl: Export type that user may want to useIngela Anderton Andin
2019-05-28Add missing attribute to debug variableMichał Muskała
Without this I wasn't able to compile the debug emulator, the compilation would fail with "section attribute is specified on redeclared variable" errors.
2019-05-28Merge branch 'john/compiler/list_append_type/OTP-15841' into maintJohn Högberg
2019-05-28Update primary bootstrapJohn Högberg
2019-05-28Fix unsafe optimizations where guard tests could be removedBjörn Gustavsson
A repeated test could be optimized away. Example: bar(A) -> if is_bitstring(A) -> if is_binary(A) -> binary; true -> bitstring end; true -> other end. In the example, the `is_binary/1` test would be optimized away, basically turning the example into: bar(A) -> if is_bitstring(A) -> bitstring; true -> other end. Thanks user Marcus Kruse in the Elixir forum for noticing this bug.
2019-05-28ssl: Returned "alert error string" should be same as logged alert stringIngela Anderton Andin
2019-05-28Eliminate crash in the beam_ssa_dead compiler passBjörn Gustavsson
The compiler could crash in the beam_ssa_dead pass while compiling complex nested `case` expressions. See the added test case for an example and explanation. https://bugs.erlang.org/browse/ERL-956
2019-05-27Merge branch 'sverker/etp-fixing' into maintSverker Eriksson
* sverker/etp-fixing: erts: Mend etp-search-heaps erts: Fix etp-commands print of 64-bit pointers
2019-05-27erts: Mend etp-search-heapsSverker Eriksson
2019-05-27erts: Fix etp-commands print of 64-bit pointersSverker Eriksson
Use %p instead of %x to print full pointer value.
2019-05-27Merge branch 'bjorn/compiler/fix-unloadable-code-patch/ERL-955/OTP-15846' ↵Björn Gustavsson
into maint * bjorn/compiler/fix-unloadable-code-patch/ERL-955/OTP-15846: Fix loading of Core Erlang code for extracting a map element
2019-05-27Merge branch 'bjorn/compiler/fix-beam_ssa_dead-patch/OTP-15845' into maintBjörn Gustavsson
* bjorn/compiler/fix-beam_ssa_dead-patch/OTP-15845: Fix unsafe optimizations where guard tests could be removed
2019-05-27Merge branch 'bjorn/compiler/fix-beam_except/ERL-954/OTP-15839' into maintBjörn Gustavsson
* bjorn/compiler/fix-beam_except/ERL-954/OTP-15839: Fix compiler crash in beam_except
2019-05-27Fix compiler crash in beam_exceptBjörn Gustavsson
The compiler would crash in `beam_except` while compiling this function: bar(Req) -> ok = case Req of "POST" -> {error, <<"BAD METHOD ", Req/binary>>, Req}; _ -> ok end. https://bugs.erlang.org/browse/ERL-954
2019-05-27Merge branch 'ingela/public_key/ERL-915/OTP-15843' into maintIngela Anderton Andin
* ingela/public_key/ERL-915/OTP-15843: public_key: Update dialyzer specs to better conform to accepted input
2019-05-27Merge branch 'bjorn/compiler/fix-unsafe-type-inference/OTP-15838' into maintBjörn Gustavsson
* bjorn/compiler/fix-unsafe-type-inference/OTP-15838: Fix unsafe negative type inference
2019-05-27compiler: Fix broken type for erlang:'++'/2John Högberg
2019-05-27erts: don't loop indefinitely on --enable-pgoSergei Trofimovich
In https://bugs.gentoo.org/686786 gcc-9.1.0 exposed a bug in erts/configure: if compiler does not support PGO flags the configure process calls 'yes = yes' (indefinite loop) instead of 'test yes = yes'. The change does not fix gcc-9.1.0 PGO detection but fixes ./configure termination. Reported-by: Dennis Schridde Bug: https://bugs.gentoo.org/686786 Signed-off-by: Sergei Trofimovich <[email protected]>
2019-05-27Update preloaded modulesLukas Larsson
2019-05-27Fix loading of Core Erlang code for extracting a map elementBjörn Gustavsson
The following Core Erlang code could not be loaded: 'f'/1 = fun (_1) -> case <_1> of <~{'foo':='foo'}~> when 'true' -> _1 end Loading would fail with the following message: beam/beam_load.c(2314): Error loading function example:f/1: op i_get_map_element_hash p x a u x: no specific operation found https://bugs.erlang.org/browse/ERL-955
2019-05-25Fix unsafe optimizations where guard tests could be removedBjörn Gustavsson
A repeated test could be optimized away. Example: bar(A) -> if is_bitstring(A) -> if is_binary(A) -> binary; true -> bitstring end; true -> other end. In the example, the `is_binary/1` test would be optimized away, basically turning the example into: bar(A) -> if is_bitstring(A) -> bitstring; true -> other end. Thanks user Marcus Kruse in the Elixir forum for noticing this bug.
2019-05-24Merge branch 'bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834' into maintBjörn Gustavsson
* bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834: Fix sticky class in exception
2019-05-24Merge pull request #2234 from peterdmv/peterdmv/ssl/tls13-clientPéter Dimitrov
Add basic TLS 1.3 client
2019-05-24Fix unsafe negative type inferenceBjörn Gustavsson
The type optimizer pass (`beam_ssa_type`) could make unsafe negative inferences. That is, incorrectly infer that a variable could *not* have a particular type. This bug was found when adding another optimization. It is not clear how write a failing test case without that added optimization.
2019-05-24Merge branch 'bmk/erts/esock/timestamps/OTP-15566' into maintMicael Karlberg
2019-05-24ssl: Improve standards compliance documentPéter Dimitrov
OTP-15431
2019-05-23ssl: Update standards compliancePéter Dimitrov
2019-05-23Merge branch ↵Micael Karlberg
'bmk/erts/esock/20190517/nsupports_options_tcp_invalid_flags/OTP-15827' into maint