aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2018-02-28Merge branch 'peterdmv/stdlib/improve_uri_string_api/OTP-14910'Péter Dimitrov
* peterdmv/stdlib/improve_uri_string_api/OTP-14910: stdlib: Update uri_string documentation (HTML 5.2) stdlib: Improve URI normalization in uri_string Change-Id: I1b85e125ae3bc64e04b04ab884ca603217123167
2018-02-28Merge branch 'maint'Raimo Niskanen
2018-02-28Merge pull request #1726 from gotthardp/maintRaimo Niskanen
Fix example MIB in the documentation
2018-02-28Merge branch 'john/erts/allow-opening-device-files/OTP-11462'John Högberg
* john/erts/allow-opening-device-files/OTP-11462: Allow opening device files and FIFOs with file:open/2
2018-02-28Merge branch 'john/erts/binary-bin_to_list-performance-fix/OTP-14741'John Högberg
* john/erts/binary-bin_to_list-performance-fix/OTP-14741: Replace binary:bin_to_list CIF implementation with binary_to_list
2018-02-28Merge branch 'maint'John Högberg
* maint: Skip testing unavailable interfaces in inet_SUITE:getifaddrs Make re_SUITE:sub_binaries less unstable
2018-02-28Merge branch 'john/kernel/skip-testing-unavailable-interfaces' into maintJohn Högberg
* john/kernel/skip-testing-unavailable-interfaces: Skip testing unavailable interfaces in inet_SUITE:getifaddrs
2018-02-28Merge branch 'john/stdlib/regex-test-stability' into maintJohn Högberg
* john/stdlib/regex-test-stability: Make re_SUITE:sub_binaries less unstable
2018-02-27Merge branch 'sverker/master/erts/more-crash-dump-info/OTP-14820'Sverker Eriksson
2018-02-27Merge branch 'sverker/erts/more-crash-dump-info/OTP-14820' into maintSverker Eriksson
* sverker/erts/more-crash-dump-info/OTP-14820: erts,observer: Add port-suspended pids to crash dump erts,observer: Add port states and flags to crash dump erts,observer: Add dirty schedulers to crash dump observer: Refactor get_schedulerinfo1 erts,observer: Add more port info to crash dump erts: Cleanup dump_process_info() erts: Include failing garbing process in crash dump erts: Remove unused args to collect_live_heap_frags erts: Add binary vheap sizes to crash dump
2018-02-27Skip testing unavailable interfaces in inet_SUITE:getifaddrsJohn Högberg
This test consistently failed on Windows when an interface was enabled but unplugged, as the interface was 'up' but not 'running'.
2018-02-27Make re_SUITE:sub_binaries less unstableJohn Högberg
The small sub-binary conversion trick in the GC broke this test pretty often on some machines.
2018-02-26Merge branch 'maint'Lukas Larsson
2018-02-26Merge branch 'lukas/kernel/dist_SUITE_corefile_ignore' into maintLukas Larsson
* lukas/kernel/dist_SUITE_corefile_ignore: kernel: Ignore cores in erl_distribution_SUITE
2018-02-26Replace binary:bin_to_list CIF implementation with binary_to_listJohn Högberg
binary:bin_to_list had a poor implementation that resulted in excessive garbage collection. binary_to_list is almost identical and has a generally better implementation, so I've replaced binary:bin_to_list's CIF with a thin wrapper around binary_to_list. Granted, binary_to_list has a deprecated indexing scheme, but we're unlikely to ever remote it entirely and it's somewhat easy to move it to the 'binary' module later on.
2018-02-26Merge pull request #1719 from josevalim/jv-faster-dialyzer-md5Hans Bolinder
dialyzer: Compute MD5s using the .beam file (OTP-14937)
2018-02-26Allow opening device files and FIFOs with file:open/2John Högberg
To the best of our knowledge this was introduced since file operations on device files/FIFO:s could hang the emulator forever back when the emulator was single-threaded and lacked IO threads; a read operation could block all progress preventing the write operation it waited for from occurring. Granted, this could still happen through starving all dirty IO schedulers, but the same issue can arise with NFS files which we've always allowed. Removing this restriction also lets us remove a stat(2) call that was added to specifically allow `/dev/null`.
2018-02-24Fix example MIB in the documentationPetr Gotthard
The EX1-MIB cannot be compiled because of the missing IMPORT of "experimental". The other instances EX1-MIB.mib (otp/lib/snmp/examples/ex1, lib/snmp/test/snmp_test_data) are correct. I synchronized the documentation with them.
2018-02-23Merge branch 'maint'Hans Bolinder
* maint: dialyzer: Correct a parameterized opaque types bug
2018-02-23Merge branch 'hasse/dialyzer/fix_opaque_bug/OTP-14925/ERL-565' into maintHans Bolinder
* hasse/dialyzer/fix_opaque_bug/OTP-14925/ERL-565: dialyzer: Correct a parameterized opaque types bug
2018-02-23Merge pull request #1723 from jhogberg/john/erts/ets-whereis/OTP-14884John Högberg
Add ets:whereis/1 for resolving table names -> tid()
2018-02-23Merge branch 'maint'Hans Bolinder
* maint: stdlib: Correct a minor epp bug
2018-02-23Merge branch 'hasse/stdlib/minor_fix_epp' into maintHans Bolinder
* hasse/stdlib/minor_fix_epp: stdlib: Correct a minor epp bug
2018-02-22Merge 'sverker/erts/more-crash-dump-info/OTP-14820'Sverker Eriksson
2018-02-22erts,observer: Add port-suspended pids to crash dumpSverker Eriksson
2018-02-22erts,observer: Add port states and flags to crash dumpSverker Eriksson
2018-02-22Merge branch 'raimo/stdlib/rand-polish-stat-tests'Raimo Niskanen
* raimo/stdlib/rand-polish-stat-tests: Decrease tolerance a wee bit Repeat stat tests to only fail for systematic errors Fix histogram and outlier checks
2018-02-22Merge branch 'maint'Hans Nilsson
* maint: ssh: Fix hanging engine test case on an old outdated version
2018-02-22ssh: Fix hanging engine test case on an old outdated versionHans Nilsson
OpenSSL 1.0.1s-freebsd 1 Mar 2016
2018-02-22Merge branch 'maint'Hans Nilsson
* maint: Updated OTP version Prepare release ssh: Add option save_accepted_host ssh: No error message for signal kill ssh: Dont repeat supervisor defaults in map fields ssh: Move starting of channel child to ssh_channel_sup ssh: Test case for sup tree when shell server proc times out Conflicts: OTP_VERSION
2018-02-22Merge branch 'maint-20' into maintHans Nilsson
* maint-20: Updated OTP version Prepare release ssh: Add option save_accepted_host ssh: No error message for signal kill ssh: Dont repeat supervisor defaults in map fields ssh: Move starting of channel child to ssh_channel_sup ssh: Test case for sup tree when shell server proc times out
2018-02-22Clarify the named_table option to ets:new/2John Högberg
2018-02-22Add ets:whereis/1 for resolving table names -> tid()John Högberg
2018-02-21Compute MD5s in dialyzer using the .beam fileJosé Valim
The previous mechanism was based on the core file which meant that for every module in the PLT, we had to fetch its .beam file, retrieve Erlang AST, compile that down to core, serialize it into a binary and then get its MD5. In a project with stdlib, kernel, elixir and a small application in the PLT, relying only on the .beam sped up --check_plt from 10s to 0.8s.
2018-02-21Fix spec for beam_lib:all_chunks/1José Valim
2018-02-21Prepare releaseErlang/OTP
2018-02-21Merge branch 'hans/ssh/limit_knownhosts/OTP-14935' into maint-20Erlang/OTP
* hans/ssh/limit_knownhosts/OTP-14935: ssh: Add option save_accepted_host
2018-02-21Merge branch 'hans/ssh/no_error_for_kill/OTP-14930' into maint-20Erlang/OTP
* hans/ssh/no_error_for_kill/OTP-14930: ssh: No error message for signal kill
2018-02-21ssh: Add option save_accepted_hostHans Nilsson
2018-02-21stdlib: Correct a minor epp bugHans Bolinder
The bug was introduced in 87a0af4 (R18).
2018-02-21Merge branch 'maint'John Högberg
2018-02-21Merge branch 'john/runtime_tools/fix-sysinfo-to-file-formatting' into maintJohn Högberg
* john/runtime_tools/fix-sysinfo-to-file-formatting: Fix regression introduced in d468fcbb / OTP-14816
2018-02-21Decrease tolerance a wee bitRaimo Niskanen
2018-02-21Repeat stat tests to only fail for systematic errorsRaimo Niskanen
2018-02-21dialyzer: Correct a parameterized opaque types bugHans Bolinder
See also https://bugs.erlang.org/browse/ERL-565. To avoid loops, erl_types:t_is_subtype checks for equality using unopaqued types, but in (at least) one case something is lost: This fix makes sure that when forwarding arguments in dataflow, types with different parameters but equal when unopaqued are considered different. For example, dict:dict(0, {}) and dict:dict(0, []) are equal when unopaqued (due to how dict(_, _) is declared in module dict), but should be considered different when forwarding args.
2018-02-20erts,observer: Add dirty schedulers to crash dumpSverker Eriksson
2018-02-20Merge branch 'maint'Sverker Eriksson
2018-02-20Merge PR-1716 from sverker/slash-in-modules/ERL-564/OTP-14933Sverker Eriksson
Reject loading modules with slash in name
2018-02-20Fix regression introduced in d468fcbb / OTP-14816John Högberg
The ~p format specifier made file:consult/1 hysterically slow on one of our test machines that had a unicode character in the root of the code path; all paths were printed as lists and indented with way too much whitespace. Using ~w avoids this issue by never indenting.
2018-02-20observer: Refactor get_schedulerinfo1Sverker Eriksson
to prepare for dirty schedulers with common run queues