aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2019-05-07Report stacktrace in non-transactions activity function errors.Daniil Fedotov
If an activity function fails with an error, the stacktrace is dropped in non_transaction function try/catch clause. This makes debuging of errors inside a transaction really hard. Transaction activities handle errors and exits differently, non-transaction activities should do the same. Adding the stacktrace to the exit reason when translating errors to exits.
2019-04-26Merge branch 'maint'Hans Nilsson
* maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # make/otp_version_tickets_in_merge
2019-04-26Merge branch 'maint-21' into maintHans Nilsson
* maint-21: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-04-26Merge branch 'hasse/dialyzer/fun_app_args/OTP-15779'Hans Bolinder
* hasse/dialyzer/fun_app_args/OTP-15779: dialyzer: Improve the warning tagged 'fun_app_args'
2019-04-25Merge branch 'john/compiler/fix-validator-inference-on-dead-values/ERIERL-348'John Högberg
* john/compiler/fix-validator-inference-on-dead-values/ERIERL-348: beam_validator: Don't infer types for dead values
2019-04-25Merge branch 'peterdmv/ssl/enhance-documentation'Péter Dimitrov
* peterdmv/ssl/enhance-documentation: ssl: Refer documentation of HttpPacket from erts ssl: Update type spec of ssl:suite_to_str/1 ssl: Update function ssl:eccs/1 Change-Id: I0ebbb5da595bd93e69165d8610cdaf479633f213
2019-04-24dialyzer: Improve the warning tagged 'fun_app_args'Hans Bolinder
The mismatching argument positions are included.
2019-04-24ssl: Refer documentation of HttpPacket from ertsPéter Dimitrov
Do not document http_packet() in ssl but refer to description of erlang:decode_packet/3. Change-Id: Ib2d0e4fc9605e40fe98bb249bc17fc39046d137a
2019-04-24ssl: Update type spec of ssl:suite_to_str/1Péter Dimitrov
Change-Id: I7987e80cca7af184a9f40cdcd8ea8f07c318ba0d
2019-04-24Prepare releaseErlang/OTP
2019-04-24Merge branch 'maint'Hans Nilsson
* maint: ssh: Dump 64 bytes in case of unexpected info line ssh: Add hexdump utility in ssh_dbg
2019-04-24Merge branch 'hans/ssh/hex_dump_info/OTP-15772' into maintHans Nilsson
* hans/ssh/hex_dump_info/OTP-15772: ssh: Dump 64 bytes in case of unexpected info line ssh: Add hexdump utility in ssh_dbg
2019-04-24Merge pull request #2191 from ↵Micael Karlberg
elbrujohalcon/elbrujohalcon-gen_tcp-connect-timeout-docs Add a note about timeouts on gen_tcp:connect/3,4
2019-04-24Merge pull request #2210 from omh/patch-1Ingela Andin
`public_key:pem_decode` example wasn't using `pem_decode`
2019-04-24Revert "Prepare release"Rickard Green
This reverts commit 425889ba69b69a9b6fb14bfbef121d51b78e853a.
2019-04-24ssl: Update function ssl:eccs/1Péter Dimitrov
Remove support of version tuples (e.g. {3,3}) from API function ssl:eccs/1. Update function spec and documentation. Change-Id: I891e42a2ca31c3e06b4edeeb866c0df874f2035b
2019-04-23Prepare releaseErlang/OTP
2019-04-23Merge branch 'sverker/erl_interface/C++-compile-error'Sverker Eriksson
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-23Merge branch 'peterdmv/ssl/doc-types-and-specs/OTP-15746'Péter Dimitrov
* peterdmv/ssl/doc-types-and-specs/OTP-15746: ssl: Add type specs for http_packet() ssl: Fix type specs of ssl_internal.hrl ssl: Fix type specs of internal handshake functions ssl: Fix dialyzer warnings eldap: Fix dialyzer warnings ssl: Fix missing anchor warning public_key: Accept digest types 'sha1' and 'sha' inet: Document type inet:stat_option() ssl: Changed function specs and ssl.xml ssl: Update standards_compliance.xml OTP-15775 OTP-15776 OTP-15777 Change-Id: Ibe8e8263d6557eaa40cc0681a7ce3fcb373a4120
2019-04-23beam_validator: Don't infer types for dead valuesJohn Högberg
2019-04-23Merge branch 'dgud/emacs-test-uc-path'Dan Gudmundsson
* dgud/emacs-test-uc-path: Fix emacs tests
2019-04-18ssl: Add type specs for http_packet()Péter Dimitrov
Change-Id: I07231ceab14d49c740967a0edfc9494328b96a62
2019-04-18ssl: Fix type specs of ssl_internal.hrlPéter Dimitrov
Change 'term()' to 'any()'. Allow 'undefined' for all fields of #ssl_options{}. Change-Id: I00632bfd2b172974a99680a82f326f25b92b9974
2019-04-18ssl: Fix type specs of internal handshake functionsPéter Dimitrov
Change-Id: I99cd0bebd80b3e55fd522457fa126e5bc198657b
2019-04-18Merge branch 'lukas/tools/overhead_benchmark'Lukas Larsson
* lukas/tools/overhead_benchmark: etp: Fix free de processes check tools: Add overhead benchmark
2019-04-18tools: Add overhead benchmarkLukas Larsson
2019-04-18Merge branch 'lukas/OTP-22-rc2/misc-fixes/OTP-15773'Lukas Larsson
* lukas/OTP-22-rc2/misc-fixes/OTP-15773: erts: Yield correctly when iterating over distr exit messages erts: Fix cerl -rr to use correct etp file erts: Fix etp-process-info to print exiting and free processes tools: Adjust instrument abort tc to better trigger faults erts: Fix cleanup of message factory undo erts: Make dump_SUITE:free_dump not dump via rpc erts: Add extra debugging to dist frag testcases erts: Run smaller dist frag test to 32 bit machines erl_docgen: Remove accidentally merged debug printout erts: Fix z_SUITE to always look for cerl in ERL_TOP otp: make top Makefile app target respect TYPE variable vxworks: Make vxworks configure use environment CFLAGS erts: Make erts_free debug failure easier to diagnose erts: Fix gcc warning in to_erl
2019-04-18tools: Adjust instrument abort tc to better trigger faultsLukas Larsson
2019-04-18erl_docgen: Remove accidentally merged debug printoutLukas Larsson
2019-04-18ssh: Dump 64 bytes in case of unexpected info lineHans Nilsson
2019-04-18ssh: Add hexdump utility in ssh_dbgHans Nilsson
2019-04-18Merge branch 'maint'Raimo Niskanen
* maint: Updated OTP version Prepare release Conflicts: OTP_VERSION
2019-04-18Merge branch 'maint-21' into maintRaimo Niskanen
* maint-21: Updated OTP version Prepare release Conflicts: make/otp_version_tickets
2019-04-18Fix broken ETS test caseKjell Winblad
This commit fixes an ETS test case that tests the decentralized memory counter in tables of type ordered_set with the write_concurrency option turned on. The test case assumed that the memory consumption of the table would only grow monotonically when terms are inserted. However, this was not the case when the emulator was compiled in debug mode as random splits and joins of CA tree nodes could happen. This commit fixes the test case by disabling random splits and joins in the tested table.
2019-04-18Merge branch 'maint'Raimo Niskanen
* maint: Do not create empty binaries when splitting iovec
2019-04-18Merge branch 'raimo/ssl/beast-mitigation-hickup/ERIERL-346/OTP-15054' into maintRaimo Niskanen
* raimo/ssl/beast-mitigation-hickup/ERIERL-346/OTP-15054: Do not create empty binaries when splitting iovec
2019-04-18Merge branches 'hans/crypto/new_supports_1/OTP-15771', ↵Hans Nilsson
'hans/ssh/new_supports', 'hans/crypto/remove_warnings' and 'hans/ssh/remove_warnings' * hans/crypto/new_supports_1/OTP-15771: crypto: New function supports/1 * hans/ssh/new_supports: ssh: Use new api for aead ciphers ssh: Use correct names of ciphers * hans/crypto/remove_warnings: ssh: Fix deprecation warnings in tests crypto: Remove unused var warning in tests * hans/ssh/remove_warnings: ssh: Fix deprecation warnings in tests ssh: Remove unused function warning in tests ssh: Remove unused var warning in tests ssh: Remove unused var warning
2019-04-18ssl: Fix dialyzer warningsPéter Dimitrov
Change-Id: Ic4895195569073916f158a06b95061939f15cfc0
2019-04-18Fix emacs testsDan Gudmundsson
Didn't work if installed path contained spaces or unicode characters.
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-17jinterface: Add dist flag for export funsSverker Eriksson
The implementation is already there (OtpErlangExternalFun).
2019-04-17erl_interface: Add bitstring and export fun supportSverker Eriksson
2019-04-17ssh: Fix deprecation warnings in testsHans Nilsson
2019-04-17crypto: Remove unused var warning in testsHans Nilsson
2019-04-17ssh: Fix deprecation warnings in testsHans Nilsson
2019-04-17ssh: Remove unused function warning in testsHans Nilsson
2019-04-17ssh: Remove unused var warning in testsHans Nilsson
2019-04-17ssh: Remove unused var warningHans Nilsson
2019-04-17ssh: Use new api for aead ciphersHans Nilsson