aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2019-05-08Merge branch 'maint'Rickard Green
* maint: Fix bad merge from maint-21 Fix bad merge from maint-21 Updated OTP version Prepare release # Conflicts: # OTP_VERSION # make/otp_version_tickets_in_merge
2019-05-08Fix bad merge from maint-21Rickard Green
2019-05-07Merge branch 'ingela/ssl/openssl-test-cuddle'Ingela Anderton Andin
* ingela/ssl/openssl-test-cuddle: ssl: Add necessary compliance check
2019-05-07Merge branch 'ingela/ssl/dialyzer-fix'Ingela Anderton Andin
* ingela/ssl/dialyzer-fix: ssl: Fix dialyzer spec
2019-05-07ssl: Fix dialyzer specIngela Anderton Andin
2019-05-07Merge branch 'sverker/ei_set_compal_rel-doc'Sverker Eriksson
* sverker/ei_set_compal_rel-doc: erl_interface: Document ei_set_compat_rel
2019-05-07Merge branch 'hasse/stdlib/optimize_io_format/OTP-15705'Hans Bolinder
* hasse/stdlib/optimize_io_format/OTP-15705: stdlib: Optimize pretty printing of strings with chars_limit stdlib: Optimize printing of maps a bit stdlib: Optimize pretty printing of lists slightly
2019-05-07Merge branch 'ingela/ssl/cipher-suite-conversion/ERL-924/OTP-15483'Ingela Anderton Andin
* ingela/ssl/cipher-suite-conversion/ERL-924/OTP-15483: ssl: Add cipher suite convertion functions
2019-05-07Merge branch 'lukas/kernel/inet_db_fix_set_of_non-existing_file/OTP-15806'Lukas Larsson
* lukas/kernel/inet_db_fix_set_of_non-existing_file/OTP-15806: kernel: Fix setting of non-existing file as inet_db resolv_conf
2019-05-07Merge branch 'maint-21' into maintIngela Anderton Andin
* maint-21: Updated OTP version Prepare release
2019-05-07Merge branch 'dgud/mnesia/pr-2216/OTP-15084'Dan Gudmundsson
* dgud/mnesia/pr-2216/OTP-15084: Report stacktrace in non-transactions activity function errors.
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-05-07ssl: Add cipher suite convertion functionsIngela Anderton Andin
2019-05-07Merge branch 'hasse/dialyzer/prettier_warnings/OTP-15135'Hans Bolinder
* hasse/dialyzer/prettier_warnings/OTP-15135: dialyzer: Remove quotes around operators dialyzer: Add test cases with indentation dialyzer: Add an --no_indentation option dialyzer: Add parentheses around annotated union elements dialyzer: Fix dialyzer_dataflow:format_args_1()
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-05-07Merge branch 'hasse/stdlib/check_spec_module/OTP-15563/ERL-845'Hans Bolinder
* hasse/stdlib/check_spec_module/OTP-15563/ERL-845: stdlib: Do not allow specs for functions in other modules
2019-05-06Prepare releaseErlang/OTP
2019-05-06Merge branch 'siri/ct/safe-write-log-cache/ERIERL-342/OTP-15758' into maint-21Erlang/OTP
* siri/ct/safe-write-log-cache/ERIERL-342/OTP-15758: [ct] Make sure log cache file is completely written before it is read
2019-05-06Merge branch 'siri/ct/reset_curr_tc/ERIERL-334/OTP-15717' into maint-21Erlang/OTP
* siri/ct/reset_curr_tc/ERIERL-334/OTP-15717: [ct] Cleanup after timetrap timeout or kill during framework call or hook # Conflicts: # lib/common_test/test/Makefile
2019-05-06Merge branch 'siri/ct/fuzzer_support/ERIERL-143/OTP-14746' into maint-21Erlang/OTP
* siri/ct/fuzzer_support/ERIERL-143/OTP-14746: [ct] Remove deprecated call to erlang:get_stacktrace() [ct] Fix bug with faulty suite name in end_per_suite config [ct] Add {testcase,TC,RepeatProps} syntax for repeating test cases [ct] Add post_groups/2 and post_all/3 hook functions # Conflicts: # lib/common_test/doc/src/ct_hooks.xml # lib/common_test/src/ct_hooks.erl # lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl
2019-05-06Merge branch 'raimo/stdlib/gen_statem-sync-timer-cancel/OTP-15295' into maint-21Erlang/OTP
* raimo/stdlib/gen_statem-sync-timer-cancel/OTP-15295: Rewrite to use synchronous timer cancel
2019-05-06Merge branch ↵Erlang/OTP
'ingela/ssl/backported-ssl-enhancments/ERL-929/ERL-893/PR-2215/OTP-15785' into maint-21 * ingela/ssl/backported-ssl-enhancments/ERL-929/ERL-893/PR-2215/OTP-15785: ssl: Fix cherry-pick mistakes ssl: Refer documentation of HttpPacket from erts ssl: Update type spec of ssl:suite_to_str/1 ssl: Update function ssl:eccs/1 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: Add missing tuple in shutdown reason
2019-05-06Merge branch 'ingela/ssl/flow-ctrl/ERL-934/OTP-15802' into maint-21Erlang/OTP
* ingela/ssl/flow-ctrl/ERL-934/OTP-15802: ssl: Add check when to toggle internal active N
2019-05-06Merge branch 'maint'Ingela Anderton Andin
2019-05-06Merge branch 'ingela/ssl/flow-ctrl/ERL-934/OTP-15802' into maintIngela Anderton Andin
* ingela/ssl/flow-ctrl/ERL-934/OTP-15802: ssl: Add check when to toggle internal active N
2019-05-06ssl: Add check when to toggle internal active NIngela Anderton Andin
Missing check of size of user_data_buffer made internal socket behave as an active socket instead of active N. Also correct indentation.
2019-05-06Merge branch 'maint'Rickard Green
* maint: Increase max number of node name characters to 256
2019-05-06Merge branch 'rickard/ei-nodename/OTP-15781' into maintRickard Green
* rickard/ei-nodename/OTP-15781: Increase max number of node name characters to 256
2019-05-06Merge branch 'dgud/stdlib/string-error-cases'Dan Gudmundsson
* dgud/stdlib/string-error-cases: unicode_util gc/1 Fix bug string:slice/3 on bad input
2019-05-06Merge branch 'raimo/stdlib/gen_statem-sync-timer-cancel/OTP-15295' into maintRaimo Niskanen
* raimo/stdlib/gen_statem-sync-timer-cancel/OTP-15295: Rewrite to use synchronous timer cancel
2019-05-06kernel: Fix setting of non-existing file as inet_db resolv_confLukas Larsson
This was broken in 7c63a98c28d477.
2019-05-06[ct] Remove deprecated call to erlang:get_stacktrace()Siri Hansen
2019-05-06ssl: Add necessary compliance checkIngela Anderton Andin
2019-05-06Merge pull request #2220 from nnoodle/patch-1Hans Bolinder
make.xml: Add reference to compile(3)
2019-05-06Merge pull request #2219 from josevalim/jv-auto-host/OTP-15794Lukas Larsson
Add hostname to -remsh if none is given
2019-05-03erl_interface: Document ei_set_compat_relSverker Eriksson
The changes in 6465de7e3a5393a80ed0e2c63f012fd126de706f.
2019-05-03stdlib: Do not allow specs for functions in other modulesHans Bolinder
See also https://bugs.erlang.org/browse/ERL-845. [Kostis:] My suggestion is that the compiler refuses to compile modules that contain specs for functions that are not from this module. I do not remember when / why this `feature' was introduced, but thinking about it I see a lot of (ugly) semantics issues with it. For example, should one be allowed to declare in the foo module that lists:flatten/1 takes an integer() as an argument and returns a binary()? Should one be allowed to declare a spec in some module m1 for a function of m2 that is not defined in m2? There are all kinds of checks that will need to be added to dialyzer to protect itself from these semantics issues. The compiler already refuses to compile modules that contain specs for non-existing functions of the module. Similarly, it should refuse to compile modules that contain specs for functions of other modules - unless it can somehow check that these functions are indeed defined, but it is not how the compiler currently works.
2019-05-03crypto: Doc link fixesHans Nilsson
2019-05-03Merge branch 'hans/crypto/new_supports_1/OTP-15771'Hans Nilsson
* hans/crypto/new_supports_1/OTP-15771: crypto: Document supports/1
2019-05-03Merge branch 'ingela/ssl/better-interop-tests'Ingela Anderton Andin
* ingela/ssl/better-interop-tests: ssl: Add new interop test suite ssl: Use diffrent digest for some TLS/DTLS versions
2019-05-03ssl: Add new interop test suiteIngela Anderton Andin
Remove test form "ECC suites" that are covered by the new interop suite or by the fairly new ssl_cipher_suite_SUITE.
2019-05-03ssl: Use diffrent digest for some TLS/DTLS versionsIngela Anderton Andin
2019-05-03stdlib: Optimize pretty printing of strings with chars_limitHans Bolinder
Avoid traversing all of string arguments when limiting the output with the 'chars_limit' option.
2019-05-03stdlib: Optimize printing of maps a bitHans Bolinder
2019-05-03stdlib: Optimize pretty printing of lists slightlyHans Bolinder
2019-05-02Remove description of structure of opaque type `gb_trees:tree/2`.Brujo Benavides
Since it's an opaque type, its internal structure shouldn't be part of the docs. Otherwise it leads misguided devs to the assumption that they can pattern-match on it, when they shouldn't.
2019-05-02Merge branch 'sverker/erl_interface/bitstring-api'Sverker Eriksson
* sverker/erl_interface/bitstring-api: erl_interface: Tweak bit string encode/decode API
2019-05-02ssh: Prepare for release - runtime dependenciesHans Nilsson