aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2017-06-09stdlib: Handle Unicode atoms better in io_lib_formatHans Bolinder
The field width calculation did not handle graphem clusters well.
2017-06-09stdlib: Handle Unicode atoms in c.erlHans Bolinder
Pull request 1459 (https://github.com/erlang/otp/pull/1459) points out one situation where Unicode atoms are not handled well in c.erl. This commit tries to fix all situations.
2017-06-08Merge branch 'siri/reltool/fix-doc-example'Siri Hansen
* siri/reltool/fix-doc-example: [reltool] Fix outdated example in user's guide
2017-06-07Merge branch 'maint'Raimo Niskanen
2017-06-07Merge pull request #1482 from grahamrhay/patch-1Raimo Niskanen
Fix typo
2017-06-07Fix unsafe bit syntax matching optimizationBjörn Gustavsson
As part of sys_core_fold, variables involved in bit syntax matching would be annotated when it would be safe for a later pass to do the delayed sub-binary creation optimization. An implicit assumption regarding the annotation was that the code must not be further optimized. That assumption was broken in 05130e48555891, which introduced a fixpoint iteration (applying the optimizations until there were no more changes). That means that a variable could be annotated as safe for reusing the match context in one iteration, but a later iteration could rewrite the code in a way that would make the optimization unsafe. One way to fix this would be to clear all reuse_for_context annotations before each iteration. But that would be wasteful. Instead I chose to fix the problem by moving out the annotation code to a separate pass (sys_core_bsm) that is run later after all major optimizations of Core Erlang has been done.
2017-06-07ssl: Document DTLSIngela Anderton Andin
2017-06-07stdlib: Lookup src path in beamDan Gudmundsson
find and use source directive when searching for source file
2017-06-07Adjust inet:ntoa/1 to RFC5952, but not deeperRaimo Niskanen
There are a multitude of RFC:s that point to each other and some of them suggest different addresses with IPv4 suffixes. Use the IPv4 suffix text representation only for the old well known ::a.b.c.d and ::ffff:a.b.c.d prefixes. The others seems to be moving targets.
2017-06-07eldap: Prevent test to fail at end if ssl is not availableHans Nilsson
2017-06-07Merge branch 'ingela/inets/ERL-382'Ingela Anderton Andin
* ingela/inets/ERL-382: inets: httpc - Gracefull normal shutdown
2017-06-07Merge branch 'ingela/dtls/retransmisssion-timers'Ingela Anderton Andin
* ingela/dtls/retransmisssion-timers: dtls: Fetch next DTLS record when dropping resent handshake data dtls: Use enter actions
2017-06-07Merge branch 'lukas/erts/sendfile_sunos_fix/OTP-14424'Lukas Larsson
* lukas/erts/sendfile_sunos_fix/OTP-14424: erts: Fix sendfile closeduring scenario on sunos
2017-06-07Merge branch 'dgud/observer/edit-pid-port-ref'Dan Gudmundsson
* dgud/observer/edit-pid-port-ref: observer: Allow edit of pid, port and refs
2017-06-07Merge branch 'dgud/fix-unicode-atom'Dan Gudmundsson
* dgud/fix-unicode-atom: mnesia: Print tables with ~ts to support unicode atoms
2017-06-07erts: Fix sendfile closeduring scenario on sunosLukas Larsson
On Solaris, giving a too long sfv_len results in an EINVAL error, but data is still transmitted and len is correctly. So we translate this to a success with that amount of data sent. This may hide some other errors that causes EINVAL, but it is the best we can do for now.
2017-06-07dtls: Fetch next DTLS record when dropping resent handshake dataIngela Anderton Andin
2017-06-07dtls: Use enter actionsIngela Anderton Andin
Using enter actions for retransmission timers makes the code easier to understand. Previously the retransmission timer was incorrectly started in the connection state. Using enter actions feels like a cleaner approach than bloating the state with more flags.
2017-06-05Merge branch 'lukas/erts/20_minor_fixes'Lukas Larsson
* lukas/erts/20_minor_fixes: kernel: Iterate for correct time in os_SUITE:perf_counter
2017-06-05Merge branch 'maint'Lars Thorsen
Conflicts: OTP_VERSION erts/vsn.mk
2017-06-05Merge branch 'maint-19' into maintLars Thorsen
2017-06-04Fix typoGraham Hay
2017-06-02kernel: Iterate for correct time in os_SUITE:perf_counterLukas Larsson
2017-06-02Merge pull request #1473 from SalikhovDinislam/static_codeLukas Larsson
Make some C code static
2017-06-02ssh: Restructure internal tool ssh_dbgHans Nilsson
The need for more trace patterns requires a somewhat different structure. It was previoiusly a bit difficult to use in e.g. test suites. Now it is easier.
2017-06-02ssh: Removed out-commented codeHans Nilsson
2017-06-02Update release notesErlang/OTP
2017-06-02Merge pull request #1479 from weisslj/fix-missing-ssl-closeIngela Andin
Correct close semantics for active once connections. This was a timing dependent bug the resulted in the close message not always reaching the ssl user process. OTP-14443
2017-05-31ssh: more keys for testingHans Nilsson
2017-05-31ssh: Introduce test case simple_connect in ssh_algorithms_SUITEHans Nilsson
In the test group public_key we need to control both the host key and the user key. This new test case is aimed at faciliate the user public key testing.
2017-05-31ssh: Use option 'pref_public_key_algs' in ssh_algorithms_SUITEHans Nilsson
2017-05-31ssh: Change printouts for ssh_dbg:auth()Hans Nilsson
This reverts commit 4ee80fd8738393bf581e0393416befda1ca621b6.
2017-05-31ssh: ssh_options checks 'pref_public_key_algs' for dubbletsHans Nilsson
2017-05-31ssh: Improve 'server-sig-algs' handling in clientHans Nilsson
2017-05-31Update inet:ntoa according to modern RFCsRaimo Niskanen
2017-05-31Revert "Prepare release"Hans Nilsson
This reverts commit eaf8ca41dfa4850437ad270d3897399c9358ced0.
2017-05-31observer: Allow edit of pid, port and refsDan Gudmundsson
Use lib:extended_parse_term/1 to allow editing terms which contains pids, ports and terms. ERL-178
2017-05-31mnesia: Print tables with ~ts to support unicode atomsDan Gudmundsson
2017-05-30Better fix for non-delivery of ssl_closed message in active onceIngela Andin
This is taken from https://github.com/erlang/otp/pull/1479#issuecomment-304667528 with permission from Ingela Andin and improves commit 8abe16c22d.
2017-05-30Prepare releaseErlang/OTP
2017-05-30[reltool] Fix outdated example in user's guideSiri Hansen
2017-05-30inets: httpc - Gracefull normal shutdownIngela Anderton Andin
2017-05-30Update sasl_report_SUITE to accept new size of sasl.logSiri Hansen
PR-1448 caused sasl_report_SUITE:gen_server_crash to produce a slightly bigger sasl.log. This is because the Reason used in the crash report is changed from {ExitReason,Stacktrace} to ExitReason only, where ExitReason={badmatch,BigGbSet}. The term is written with a depth limit of 30, and when removing the top tuple, a new level of the gb_set is exposed. This level contains more data than the removed Stacktrace, and thus the resulting log gets a bit bigger than before.
2017-05-29Merge pull request #1396 from RoadRunnr/crypto/cavpHans Nilsson
crypto: replace AES test vectors with validation data from NIST CAVP program OTP-14436
2017-05-29Merge pull request #1462 from Vagabond/adt-fix-aes-cfb128Hans Nilsson
Fix backwards equality check in aes cfb128 function OTP-14435
2017-05-29Merge pull request #1476 from bjorng/bjorn/stdlib/erl_tar-timesBjörn Gustavsson
erl_tar: Fix handling of date and time
2017-05-29Merge branch 'lukas/kernel/fix_error_logger_utc_testcase'Björn Gustavsson
* lukas/kernel/fix_error_logger_utc_testcase: Stop the cover server after running code_SUITE:module_status/1 kernel: Make sure to cleanup after distr tests
2017-05-29erl_tar: Fix handling of date and timeBjörn Gustavsson
Since aa0c4b0df7cdc, erl_tar would write the local time (instead of the POSIX time) into the tar header for the archived files. When extracting the tar file, the extracted file could be set to a future time (depending on the time zone). We could do a minimal fix, but this seems to be a good time to rewrite the time handling to use the new features that allow file info to be read and written in the POSIX time format. First reported here: https://github.com/erlang/rebar3/issues/1554
2017-05-29Merge branch 'ingela/dtls/epochs'Ingela Anderton Andin
* ingela/dtls/epochs: dtls: Check for retransmitted changes_cipher_spec messages dtls: Ask for next DTLS record when disregarding future packet
2017-05-29Merge branch 'dgud/wx/tune-break-loop'Dan Gudmundsson
* dgud/wx/tune-break-loop: wx: Tune when to break command loop in driver