aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2019-08-27Merge branch 'ingela/ssl/test-move' into maintHEADmaintIngela Anderton Andin
* ingela/ssl/test-move: ssl: Move tests from ssl_certificate_verify_SUITE to ssl_cert_SUITE
2019-08-26ssl: Move tests from ssl_certificate_verify_SUITE to ssl_cert_SUITEIngela Anderton Andin
Test should be run for all diffrent cert types. ssl_payload_SUITE should test socket active option.
2019-08-26Merge branch 'zadean/syntax_tools/add_missing_unwrap/OTP-16012/PR-2348' into ↵Hans Bolinder
maint * zadean/syntax_tools/add_missing_unwrap/OTP-16012/PR-2348: Update test suite Also unwrap map_type_* name and value Add unwrap calls to map_field_* in erl_syntax
2019-08-23Merge pull request #2353 from ↵Björn Gustavsson
bjorng/bjorn/stdlib/fix-file_lib-wildcard/ERL-1029/OTP-15987 Fix filelib:wildcard/1,2 for patterns containing ".." and/or "@"
2019-08-23Merge pull request #2301 from stuart-thackray/saslLoggerStartup/OTP-15942Lukas Larsson
Start up of SASl when compared log level is all
2019-08-22ssl: Make sure test starts in a "good" stateIngela Anderton Andin
2019-08-22ssl: Cuddle timeoutIngela Anderton Andin
2019-08-22Update test suitezadean
Add record with exact and associated map types to type_specs.erl. The record forces the erl_parse format for map types to be retained. Add test wrapped_subtrees to the test suite. It ensures that each erl_parse node it encounters can be wrapped and accessed with erl_syntax:subtrees/1 without error.
2019-08-22Also unwrap map_type_* name and valuezadean
2019-08-22Add unwrap calls to map_field_* in erl_syntaxZachary Dean
This adds missing calls to unwrap/1 for the map_field_* name and value functions and puts them inline with map_expr_fields/1. Using these functions with "wrapped" nodes fails with badarg.
2019-08-22Fix filelib:wildcard/1,2 for patterns containing ".." and/or "@"Björn Gustavsson
`..` was broken and only worked when it was used in the beginning of the pattern before any wildcard characters. For example: 1> filelib:wildcard("erts/.."). ["erts/.."] Using `..` preceded by wildcard characters would not work: 1> filelib:wildcard("*/.."). [] `@` is not a wildcard character but is used internally in `filelib` as an escape character and was not handled as other literal characters. That could lead to performance degradation as it disabled an optimization of the matching of the literal prefix of a pattern. It would also cause the following example to fail: 1> filelib:wildcard("@/.."). [] This commit corrects the handling `..` and also makes sure that the use of `@` in a pattern does not degrade performance. https://bugs.erlang.org/browse/ERL-1029
2019-08-21public_key: Use another time in test certificatesIngela Anderton Andin
Some OpenSSL versions has problems handling the current selected time causing interop tests to fail.
2019-08-21ssl: Robustify test caseIngela Anderton Andin
2019-08-20eunit: Handle get_until requests with explicit encodingHans Bolinder
2019-08-20Merge branch 'kpy3/fix-fd-leak-in-logger/OTP-15997' into maintLukas Larsson
* kpy3/fix-fd-leak-in-logger/OTP-15997: Close log files in case of inode change properly
2019-08-20Merge branch 'legoscia/stdlib/fun2ms-plusplus/OTP-15992/PR-2322' into maintHans Bolinder
* legoscia/stdlib/fun2ms-plusplus/OTP-15992/PR-2322: fun2ms: accept ++ in function head when called from shell
2019-08-19Merge branch 'sverker/erl_interface/ei_decode_fun-fix/OTP-15996' into maintSverker Eriksson
* sverker/erl_interface/ei_decode_fun-fix/OTP-15996: erl_interface: Fix bug in ei_decode_fun for very old encoding
2019-08-19Merge branch 'ingela/ssl/test-cuddle' into maintIngela Anderton Andin
* ingela/ssl/test-cuddle: ssl: Add OpenSSL renegotiate sanity check ssl: Fix missing OpenSSL conf
2019-08-19ssl: Add OpenSSL renegotiate sanity checkIngela Anderton Andin
2019-08-19ssl: Fix missing OpenSSL confIngela Anderton Andin
2019-08-19Merge branch 'hans/ssh/gendoc/OTP-15395' into maintHans Nilsson
* hans/ssh/gendoc/OTP-15395: ssh: Use new ssh_connection:event() type in channel defs ssh: change type names ssh: The ssh_connection documentation is now generated ssh: Update ssh_sftp:start_channel documentation and code ssh: The ssh_sftp documentation is now generated ssh: The ssh_sftpd documentation is now generated
2019-08-19Merge branch 'hans/ssh/remove_unused_rec_fields/OTP-15984' into maintHans Nilsson
* hans/ssh/remove_unused_rec_fields/OTP-15984: ssh: Remove unused address,port from #connection{} ssh: Remove unused port_bindings from #connection{}
2019-08-19Merge branch 'hans/ssh/early_crash_fail_logging/ERL-990/OTP-15962' into maintHans Nilsson
* hans/ssh/early_crash_fail_logging/ERL-990/OTP-15962: ssh: Don't assume Reason to be a string()
2019-08-19Merge branch 'hasse/kernel/global_tests' into maintHans Bolinder
* hasse/kernel/global_tests: kernel: Correct a test case in global_SUITE
2019-08-16ssh: Don't assume Reason to be a string()Hans Nilsson
2019-08-15Fix an internal consistency check failure caused by beam_exceptBjörn Gustavsson
https://bugs.erlang.org/browse/ERL-1026
2019-08-14Merge pull request #2347 from ↵Björn Gustavsson
bjorng/bjorn/compiler/fix-receive-bug/ERL-1022/OTP-15982 Fix compiler crash when compiling some receive statements
2019-08-14ssh: Remove unused address,port from #connection{}Hans Nilsson
2019-08-14ssh: Remove unused port_bindings from #connection{}Hans Nilsson
2019-08-14Fix compiler crash when compiling some receive statementsBjörn Gustavsson
The compiler would crash when compiling the following code: do(Acc) -> receive {Pid, abc} -> ok; {Pid, []} -> ok; {Pid, _Res} -> exit(_Res) end, do([Pid | Acc]). The last clause that always raises an exception would confuse the compiler so that it would think that the `receive` statement was at the end of the function and it would generate incorrect code for the `do/1` call following the `receive`. https://bugs.erlang.org/browse/ERL-1022
2019-08-13erl_interface: Fix bug in ei_decode_fun for very old encodingSverker Eriksson
Found by valgrind test runs.
2019-08-12ssh: Use new ssh_connection:event() type in channel defsHans Nilsson
2019-08-12ssh: change type namesHans Nilsson
2019-08-12ssh: The ssh_connection documentation is now generatedHans Nilsson
2019-08-12ssh: Update ssh_sftp:start_channel documentation and codeHans Nilsson
The Typing in the old documentation was not up-to-date. The option handling and definition is slightly re-worked in the code also. Some comments added and a function moved inside the module.
2019-08-12ssh: The ssh_sftp documentation is now generatedHans Nilsson
2019-08-12ssh: The ssh_sftpd documentation is now generatedHans Nilsson
2019-08-12Merge branch 'john/erts/bs_get_binary2-heap-binaries/OTP-15977' into maintJohn Högberg
* john/erts/bs_get_binary2-heap-binaries/OTP-15977: erts: Create heap binaries in binary:split/2-3 erts: Create heap binaries in binary_part/2-3 erts: Create heap binaries in split_binary/2 erts: Create heap binaries in bs_get_binary2 erts: Remove size check in bs_start_match erts: Disallow binaries whose size in bits exceeds UWORD_MAX
2019-08-09Merge pull request #2332 from the-mikedavis/patch-1Dan Gudmundsson
Correct documentation on dump_log_write_threshold default value
2019-08-09Merge remote-tracking branch 'upstream/pr/2201' into maintDan Gudmundsson
* upstream/pr/2201: Handle clicking links more than once in Observer's "Expanded term" OTP-15980
2019-08-09erts: Create heap binaries in bs_get_binary2John Högberg
ErlSubBin is a large struct that often dwarfs the region of memory it points at, and it's common for them to refer to a ProcBin which must be kept around as long as the SubBin lives, using up even more heap space and keeping the referenced binary alive regardless of how small the sub-binary is.
2019-08-09Merge branch 'dgud/observer/fix-darkmode/OTP-15916' into maintDan Gudmundsson
* dgud/observer/fix-darkmode/OTP-15916: observer: Fixes for html viewers observer: Support darkmode gui
2019-08-09Merge branch 'dgud/mnesia/sticky-bug/ERL-768/OTP-15979' into maintDan Gudmundsson
* dgud/mnesia/sticky-bug/ERL-768/OTP-15979: mnesia: Bump protocol version mnesia: Introduce sync_asym_trans protocol
2019-08-09Merge branch 'dgud/mnesia/add_table_copy_deadlock/ERL-872/OTP-15933' into maintDan Gudmundsson
* dgud/mnesia/add_table_copy_deadlock/ERL-872/OTP-15933: mnesia: Fix deadlock caused by add_table_copy
2019-08-07Update java docDan Gudmundsson
Replace deprecated <tt> with <code>
2019-08-06os_mon: Fix sscanf to use %llu instead of gnu specific %LuLukas Larsson
For instance musl does not recognize the %L modifier.
2019-08-06Fix syntax error in logger_disk_log_h.xmlShion Ryuu
2019-08-05Merge branch 'bjorn/compiler/fix-stack-init/ERL-1017/OTP-15968' into maintBjörn Gustavsson
* bjorn/compiler/fix-stack-init/ERL-1017/OTP-15968: Ensure that the stack slots are initialized when matching maps
2019-08-05Ensure that the stack slots are initialized when matching mapsBjörn Gustavsson
When matching a map, the compiler could fail to generate code that would initialize all stack slots (Y registers) properly. Here is a general outline of code that *could* cause this problem: foo(Key, Map) -> Res = case Map of #{Key := Val} -> %% Do something with Val here. . . . #{} -> [] end, %% The stack slot for Val might not have been initialized %% here if the key was not present in the map. . . . %% Use Res. . . . The code generator would wrongly assume that the map matching would always initialize the stack slot, and if nothing else happened to force that stack slot to be initialized, it would remain uninitialized, which would likely crash the runtime system at the next garbage collection. `beam_validator` is supposed to find these kind of problems, but a bug in `beam_validator` prevented it from detecting this problem. https://bugs.erlang.org/browse/ERL-1017
2019-08-05Merge branch 'john/compiler/fix-delayed-type-inference/OTP-15954/ERL-995' ↵John Högberg
into maint * john/compiler/fix-delayed-type-inference/OTP-15954/ERL-995: beam_validator: Values referenced by other values must be merged