aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-08-16Fix broken handling of default values in extensions for PERBjörn Gustavsson
Default values have never worked in extension for PER. Note that for default values in the root part of SEQUENCE, giving a value equal to the DEFAULT value, will result in the same encoding as if asn1_DEFAULT was given. However, that behavior is not promised by the documentation. The documentation says that asn1_DEFAULT should be used for default values. For DEFAULT in extensions, only implement what the documentation promises and nothing more. ERIERL-60
2017-07-26Updated OTP versionOTP-20.0.2Erlang/OTP
2017-07-26Update release notesErlang/OTP
2017-07-26Update version numbersErlang/OTP
2017-07-26Merge branch 'sverker/asn1/missing-quotes/OTP-14519' into maint-20Erlang/OTP
* sverker/asn1/missing-quotes/OTP-14519: asn1: Fix missing quotes of external encoding call
2017-07-26Merge branch 'sverker/big-bxor-bug/ERL-450/OTP-14514' into maint-20Erlang/OTP
* sverker/big-bxor-bug/ERL-450/OTP-14514: erts: Fix bug in bxor of a big negative number
2017-07-26Merge branch 'john/erts/fix-tcp-send-timeout/OTP-14509/ERL-448' into maint-20Erlang/OTP
* john/erts/fix-tcp-send-timeout/OTP-14509/ERL-448: Add a dedicated close function for TCP ports to prevent issues like ERL-430/448 Close TCP ports properly on send timeout
2017-07-26Merge branch 'john/kernel/fix-disk-log-docs/OTP-14498' into maint-20Erlang/OTP
* john/kernel/fix-disk-log-docs/OTP-14498: Fix doc for the 'quiet' option; it defaults to false
2017-07-26Merge branch 'sverker/missing-relnote/OTP-14494' into maint-20Erlang/OTP
* sverker/missing-relnote/OTP-14494: erts: Add missing release note
2017-07-26Fix doc for the 'quiet' option; it defaults to falseJohn Högberg
2017-07-20asn1: Fix missing quotes of external encoding callSverker Eriksson
introduced by 8e4a9864385242b962ce7446f7daa4f58cfecca5.
2017-07-12erts: Fix bug in bxor of a big negative numberSverker Eriksson
Wrong result for (X bsl WS) bxor Y. where X is any negative integer Y is any integer that does not require more words than X WS is erlang:system_info(wordsize) or larger Fix: The subtraction of 1 (for 2-complement conversion) must be carried along all the way to the last words.
2017-07-10Add a dedicated close function for TCP ports to prevent issues like ERL-430/448John Högberg
2017-07-10Close TCP ports properly on send timeoutJohn Högberg
2017-07-04erts: Add missing release noteSverker Eriksson
2017-06-30Updated OTP versionOTP-20.0.1Erlang/OTP
2017-06-30Update release notesErlang/OTP
2017-06-30Update version numbersErlang/OTP
2017-06-30Merge branch 'sverker/prealloc-race-bug/OTP-14491' into maint-20Erlang/OTP
* sverker/prealloc-race-bug/OTP-14491: erts: Fix bug in quick alloc
2017-06-30Merge branch 'siri/dbg/faulty-encoding-comment/OTP-14479' into maint-20Erlang/OTP
* siri/dbg/faulty-encoding-comment/OTP-14479: [dbg] Fix encoding comment
2017-06-30Merge branch 'siri/make/default-outdir/ERL-438/OTP-14489' into maint-20Erlang/OTP
* siri/make/default-outdir/ERL-438/OTP-14489: [ct_make] Do not use the interactive tool 'c' from ct_make Use current dir as default outdir for c:c/1,2 [make] Do not use the interactive tool 'c' from make
2017-06-30Merge branch 'dgud/stdlib/string-len-compat/OTP-14487' into maint-20Erlang/OTP
* dgud/stdlib/string-len-compat/OTP-14487: Fix old length usage in string
2017-06-30Merge branch 'rickard/statistics/OTP-14484' into maint-20Erlang/OTP
* rickard/statistics/OTP-14484: Fix statistics(wall_clock) and statistics(runtime) implementation
2017-06-30Merge branch 'hasse/stdlib/fix_proc_lib/PR-1488/OTP-14482' into maint-20Erlang/OTP
* hasse/stdlib/fix_proc_lib/PR-1488/OTP-14482: stdlib: Fix bug in proc_lib Support arbitrary crash report in proc_lib.
2017-06-30Merge branch 'lukas/erts/fix_outputv_port_task_cleanup/ERL-428/OTP-14481' ↵Erlang/OTP
into maint-20 * lukas/erts/fix_outputv_port_task_cleanup/ERL-428/OTP-14481: fixup! erts: Cleanup dropped port tasks correctly erts: Add tests to detect port close race erts: Cleanup dropped port tasks correctly
2017-06-30Merge branch 'john/erts/fix-port-leak/OTP-13939/ERL-193' into maint-20Erlang/OTP
* john/erts/fix-port-leak/OTP-13939/ERL-193: Add a testcase for OTP-13939/ERL-193 Mark socket disconnected on tcp_send_or_shutdown_error # Conflicts: # lib/kernel/test/gen_tcp_misc_SUITE.erl
2017-06-30erts: Fix bug in quick allocSverker Eriksson
The effect of the race is that a pre-allocated memory block is inserted last without updating tail.data.last, which will cause all subsequent insertions to also fail to update tail.data.last. Hence all pre-allocation for this quick alloc instance is leaked for this thread and will fallback on erts_alloc.
2017-06-29[dbg] Fix encoding commentSiri Hansen
Encoding specified in a comment must be 'utf-8' instead of 'utf8'.
2017-06-29[ct_make] Do not use the interactive tool 'c' from ct_makeSiri Hansen
2017-06-29Use current dir as default outdir for c:c/1,2Siri Hansen
In OTP-20, c:c/1,2 started using the directory of the source file as default output directory. For backwards compatibility reasons this is now reversed so the current directory is used instead.
2017-06-29[make] Do not use the interactive tool 'c' from makeSiri Hansen
2017-06-26Fix old length usage in stringDan Gudmundsson
Do not invoke the internal string:lenght/1 function when the list length is wanted. Fixes backwards compatibility for old string functions.
2017-06-22Fix statistics(wall_clock) and statistics(runtime) implementationRickard Green
2017-06-22stdlib: Fix bug in proc_libHans Bolinder
Add a few more tests to the proc_lib_SUITE.
2017-06-22Support arbitrary crash report in proc_lib.Daniil Fedotov
The `error_logger_format_depth` variable is `unlimited` by default. This can cause errors when logging crash reports using sasl logger, because `io_lib:format("~P"...` does not support `unlimited` as a depth parameter. Use formatter string "~p" for unlimited depth. A way to reproduce the error: Start erl with sasl logger: erl -boot start_sasl -sasl errlog_type error -sasl sasl_error_logger tty Report arbitrary error: error_logger:error_report(crash_report, [fake_crash_report, foo]).
2017-06-21Updated OTP versionOTP-20.0Erlang/OTP
2017-06-21Prepare releaseErlang/OTP
2017-06-20Update preloaded modulesHans Nilsson
2017-06-20Update primary bootstrapHans Nilsson
2017-06-20Merge branch 'hans/otp/update_copyright'Hans Nilsson
This fixes the missing updates after merge cdc5545536ddeedf9ae4db20464afa6565f4327d whare the branch was rebased and merge after the previous copyright fix in 43718d3b81d7f3d08e25047e22d579801bbe5044
2017-06-19Update copyright yearHans Nilsson
2017-06-16Merge branch 'siri/unicode-atoms/OTP-14285'Siri Hansen
* siri/unicode-atoms/OTP-14285: [sasl] Improve handling of unicode in rb [ttb] Handle unicode atoms in trace data and config files [dbg] Update default trace handler to print unicode atoms correctly [etop] Fix handling of unicode atoms [stdlib] Open sys debug logs as utf8 [stdlib] Open error log file as utf8 [sasl] Improve handling of unicode atoms [ct] Print unicode atoms and strings correctly in common_test logs
2017-06-16[sasl] Improve handling of unicode in rbSiri Hansen
2017-06-16[ttb] Handle unicode atoms in trace data and config filesSiri Hansen
2017-06-16[dbg] Update default trace handler to print unicode atoms correctlySiri Hansen
2017-06-16[etop] Fix handling of unicode atomsSiri Hansen
Print function names and registered names with ~tw. Open dump file with encoding utf8.
2017-06-16[stdlib] Open sys debug logs as utf8Siri Hansen
This allows the use of ~ts/~tp/~tw in the formatting fun to sys:handle_debug/4.
2017-06-16[stdlib] Open error log file as utf8Siri Hansen
This allows the use of ~ts/~tp/~tw in calls to error_logger:format/2, error_logger:error_msg/2 and error_logger:info_msg/2.
2017-06-16[sasl] Improve handling of unicode atomsSiri Hansen
2017-06-16[ct] Print unicode atoms and strings correctly in common_test logsSiri Hansen
And use correct encoding when printing to files.