aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-05-07dialyzer: Remove quotes around operatorsHans Bolinder
2019-05-07dialyzer: Add test cases with indentationHans Bolinder
A smallish selection of already existing tests, run with the indentation option.
2019-05-07dialyzer: Add an --no_indentation optionHans Bolinder
By default Dialyzer tries to improve the readability of warnings. Newlines are inserted before and inside types, signatures, and Erlang code. Sometimes the newlines look misplaced. The raw format (option --raw) is not affected. Use the new --no_indentation option get the old behavior (no inserted line breaks). A note on the implementation. The types &c present in the warning tuples are parsed, and then formatted using erl_pp, the Erlang Pretty Printer. The alternative, to create message tuples with formatted types, turned out to more complicated, and has no real benefits. Also notice that the fixes for binaries (commit 9db8a098) and union elements (commit a1e51d12) are required. As a consequence, messages created before these commits using the --raw option cannot always be indented.
2019-04-29dialyzer: Add parentheses around annotated union elementsHans Bolinder
In contracts, annotated elements of unions are printed with parentheses around them. They are not parseable otherwise.
2019-04-29dialyzer: Fix dialyzer_dataflow:format_args_1()Hans Bolinder
2019-04-29Merge branch 'bmk/erts/esock/20190417/new_select_api/OTP-15496'Micael Karlberg
2019-04-29Merge branch 'peterdmv/ssl/tls13-poly-chacha/OTP-15383'Péter Dimitrov
* peterdmv/ssl/tls13-poly-chacha/OTP-15383: ssl: Update standards compliance ssl: Enable additional ciphers for TLS 1.3 Change-Id: I2dc6eb73bc1b8809e7226e6b8e83f58b02a3e1e6
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/erts/fix-alloc-header-word-packing'John Högberg
* john/erts/fix-alloc-header-word-packing: erts_alloc: Fix incorrect header word packing
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-25ssl: Update standards compliancePéter Dimitrov
Change-Id: I6193b25af2496118bf4d281e6a0fc65831b37bf9
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-24ssl: Enable additional ciphers for TLS 1.3Péter Dimitrov
Enable TLS_CHACHA20_POLY1305_SHA256 and TLS_AES_128_CCM_SHA256. Change-Id: I04e32bcbf0683bb517f235a3e352facffc674692
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-24Updated OTP versionOTP-21.3.7Erlang/OTP
2019-04-24Prepare releaseErlang/OTP
2019-04-24Merge branch 'hans/ssh/hex_dump_info/OTP-15772' into maint-21Erlang/OTP
* 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 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 "Updated OTP version"Rickard Green
This reverts commit 12dc7d1076245d1292b1a798088d8c0996be8a70.
2019-04-24Revert "Prepare release"Rickard Green
This reverts commit 425889ba69b69a9b6fb14bfbef121d51b78e853a.
2019-04-24erts_alloc: Fix incorrect header word packingJohn Högberg
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-24Updated OTP_VERSION for Release CandidateOTP-22.0-rc3Henrik Nord
2019-04-23Updated OTP versionErlang/OTP
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 pull request #2213 from meetlost/patch-1Lukas Larsson
Update create_target.xmlsrc
2019-04-23Merge branch 'dgud/emacs-test-uc-path'Dan Gudmundsson
* dgud/emacs-test-uc-path: Fix emacs tests
2019-04-23Update create_target.xmlsrcmeetlost
Add closing double quote mark.
2019-04-18Merge branch 'kjell/emulator/persistent_term_yield/OTP-15615'Kjell Winblad
* kjell/emulator/persistent_term_yield/OTP-15615: Make persistent_term:put/2 and persistent_term:erase/1 yield
2019-04-18Merge branch 'rickard/dist-system-limit/OTP-15708'Rickard Green
* rickard/dist-system-limit/OTP-15708: Fail when we cannot encode term in binary
2019-04-18Make persistent_term:put/2 and persistent_term:erase/1 yieldKjell Winblad
Prior to this commit, the functions put/2 and erase/1 in the persistent_term module did not yield even if the persistent term table was large (the persistent term table is copied every time put/2 or erase/1 is called). Furthermore, a call to put/2 or erase/1 did only consume a single reduction. This commit fixes these problems.
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-18etp: Fix free de processes checkLukas Larsson
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-18erts: Yield correctly when iterating over distr exit messagesLukas Larsson
Before this fix the process would continue to process more distributed down or exit messages until it ran out of reductions instead of being suspended immediately.