aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2019-07-01[megaco|test] Misc improvements to the trans test (sub-) suiteMicael Karlberg
The actual "improvement" has to do with io. That is, making sure we get any. A test case failed (on a OpenIndiana VM), which basically only pointed to which line in the test code. But it was impossible to figure out from that what actually had gone wrong. Also removed the 'export all' compiler flag, which caused a whole bunch of unused function to become visible. Commented out those...
2019-07-01[megaco|test] Fixing the examples test suiteMicael Karlberg
The simple test case was faulty in that the simple example (which it is testing) require that the MGC and MG run on different erlang nodes. But the test case did not do this. Instead, it ran both the MGC and the MG on the test server node, which caused the test case to fail 1 time of 10.
2019-07-01[megaco|test] Timer test suite improvementsMicael Karlberg
We did not check the actual result of the timer cancel operation before continuing, which seems to cause problems on some platforms (where the timer may actually expire even though we have 100 ms to cancel). So now we check the cancel result, and if we did not succeed, we instead skip the test case.
2019-07-01[megaco|test] Removed compile_all for mib test sub-suiteMicael Karlberg
2019-07-01[megaco|test] Improving the example and mib test suitesMicael Karlberg
The examples test suite was hard to debug just based on its output (both plain debug printouts and printouts generated via dbg). Some timeouts has been added between the various actions so that it will be easier to understand the output.
2019-07-01Merge branch 'peterdmv/inets/httpc-uri-scheme/ERL-969/OTP-15930' into maintPéter Dimitrov
* peterdmv/inets/httpc-uri-scheme/ERL-969/OTP-15930: inets: Return error if URI has no scheme (httpc)
2019-07-01Merge pull request #2286 from peterdmv/ssl/tls13-ecdsa/OTP-15854Péter Dimitrov
Implement support for ECDSA certificates in TLS 1.3
2019-07-01Merge branch 'john/erts/lists_subtract_fixes/OTP-15938/OTP-15939' into maintJohn Högberg
* john/erts/lists_subtract_fixes/OTP-15938/OTP-15939: erts: Fix integer overflow in loader erts: Fix integer overflow in list subtraction
2019-07-01erts: Fix integer overflow in list subtractionJohn Högberg
CMP_TERM returned an `Sint`, which overflowed the `int` used in erl_rbtree for storing the comparison, causing list subtraction to behave strangely.
2019-06-28Merge pull request #2299 from fhunleth/inet-i-local-socketPéter Dimitrov
Support local sockets with inet:i/0 OTP-15935
2019-06-28ssl: Update standards compliancePéter Dimitrov
2019-06-28Merge pull request #2306 from bjorng/bjorn/stdlib/faster-ordsets-union/OTP-15927Björn Gustavsson
Optimize ordsets:union/1
2019-06-28Merge branch 'peterdmv/ssl/fix-peername-sockname' into maintPéter Dimitrov
* peterdmv/ssl/fix-peername-sockname: ssl: Update ssl_test_lib
2019-06-27inets: Return error if URI has no scheme (httpc)Péter Dimitrov
This commit fixes a regression and changes httpc to return {error, no_scheme} when the request URI has no scheme e.g. "//foobar".
2019-06-27Support local sockets with inet:i/0Frank Hunleth
Before: 1> gen_udp:open(0, [local, {ip, {local, "unixdomainfile"}}]). {ok,#Port<0.6>} 2> inet:i(). ** exception error: bad argument in function integer_to_list/1 called as integer_to_list(<<"unixdomainfile">>) in call from inet:fmt_port/2 (inet.erl, line 1646) in call from inet:fmt_addr/2 (inet.erl, line 1642) in call from inet:'-i_line/3-lc$^0/1-0-'/3 (inet.erl, line 1547) in call from inet:'-i_line/3-lc$^0/1-0-'/3 (inet.erl, line 1547) in call from inet:'-info_lines/3-lc$^0/1-0-'/3 (inet.erl, line 1546) in call from inet:ii/3 (inet.erl, line 1531) in call from inet:i/0 (inet.erl, line 1515) After: Port Module Recv Sent Owner Local Address Foreign Address State Type 4160 local_udp 0 0 <0.1747.0> local:unixdomainfile *:* IDLE DGRAM
2019-06-27Merge pull request #2297 from bitcrowd/ssh/remove-unused-definitionsHans Nilsson
Remove unused SSH definitions OTP-15929
2019-06-27Merge pull request #2296 from grisp/sylane/crypto-fix-static-nifs-buildHans Nilsson
crypto: Fix the build of static crypto nifs OTP-15928
2019-06-27Optimize ordsets:union/1Björn Gustavsson
`ordsets:union/1` is not especially efficient when calculating the union of many ordsets. Rewrite it to use the highly optimized `lists:umerge/1`.
2019-06-27Merge pull request #2305 from ↵Björn Gustavsson
bjorng/bjorn/compiler/fix-slow-compilation/OTP-15923 Fix slow compilation of huge functions
2019-06-27Merge branch 'peterdmv/ssl/fix-ssl-basic-suite' into maintPéter Dimitrov
* peterdmv/ssl/fix-ssl-basic-suite: ssl: Fix ssl_basic_SUITE
2019-06-27Merge pull request #2303 from bottleneko/kernel/fix-typo-in-logger-documentationHans Bolinder
Fix typo in logger_chapter.xml
2019-06-27Merge branch ↵Hans Bolinder
'josevalim/dialyzer/formatting_fallback/OTP-15922/PR-2240/ERL-949' into maint * josevalim/dialyzer/formatting_fallback/OTP-15922/PR-2240/ERL-949: Always fallback to source when we can't parse AST
2019-06-26ssl: Update ssl_test_libPéter Dimitrov
On some configurations the inet:peername/1 and inet:getaddr/2 functions return different loopback addresses, leading to testcase failures in the ssl_basic_SUITE (peername, sockname). This commit updates the node_to_hostip and check_result functions to tolerate different loopback addresses.
2019-06-26ssl: Fix ssl_basic_SUITEPéter Dimitrov
Do not automatically configure the TLS version for the 'tlsv1.3' group.
2019-06-26crypto: Adjust VALGRIND declsHans Nilsson
Seem to detect false positives
2019-06-26crypto: Fix mem leak detected by valgrindHans Nilsson
2019-06-26ssh: Fix spec/doc error for subsystem_specsHans Nilsson
2019-06-26Fix slow compilation of huge functionsBjörn Gustavsson
Some huge functions would compile very slowly because of a bottleneck in `beam_ssa:def_used/2`. One example is the `cuter_binlib` module in https://github.com/cuter-testing/cuter. On my computer, this commit reduces the compilatation time for `cuter_binlib` to 45 seconds down from more than 4 minutes. Noticed-by: Kostis Sagonas
2019-06-26crypto: Fix the build of static crypto nifsSebastien Merle
2019-06-26Merge branch 'dgud/wx-configure-fixes' into maintDan Gudmundsson
* dgud/wx-configure-fixes: Speed up compilation Cleanup configure Fail if no C++ compiler is avaiable
2019-06-26Merge branch 'bjorn/compiler/fix-dialyzer-warnings' into maintBjörn Gustavsson
* bjorn/compiler/fix-dialyzer-warnings: Eliminate dialyzer warnings
2019-06-26Fix typo in logger_chapter.xmlBoris Murashov
2019-06-25Remove unused "ssh_assert" macro definitionPaul Meinhardt
2019-06-25Remove unused "ssh_key" record definitionPaul Meinhardt
2019-06-25Merge pull request #2250 from ↵Rickard Green
rickard-green/rickard/re-unicode-validation/OTP-15831/OTP-15836/ERL-876 re unicode validation
2019-06-25Always fallback to source when we can't parse ASTJosé Valim
This commit fixes a bug in Dialyzer where it would assume all Erlang AST can be converted back to valid Erlang code. A case where this was is no true was already documented in the source code, in relation to opaque types, but this can also be true when it comes to other BEAM languages.
2019-06-24Merge branch 'peterdmv/ssl/fix-cert-error-handling/OTP-15900' into maintPéter Dimitrov
* peterdmv/ssl/fix-cert-error-handling/OTP-15900: ssl: Fix handling of certificate decoding problems
2019-06-24Merge branch 'bmk/snmp/20190524/ipv6_issues/OTP-15764' into maintMicael Karlberg
2019-06-24Merge branch 'bmk/snmp/20190614/snmpnet_on_openindiana' into maintMicael Karlberg
2019-06-24Eliminate dialyzer warningsBjörn Gustavsson
Eliminate the Dialyzer warnings shown when the limits in lib/cerl/erl_types.erl were raised as follows: -define(TUPLE_TAG_LIMIT, 10). -define(TUPLE_ARITY_LIMIT, 10). -define(SET_LIMIT, 64).
2019-06-24Merge branch 'lukas/os_mon/disk_sup_ignore_sqashfs/OTP-15778' into maintLukas Larsson
* lukas/os_mon/disk_sup_ignore_sqashfs/OTP-15778: os_mon: Make disk_sup ignore squashfs
2019-06-19Merge branch 'sverker/erl_interface/test-print-bitstrings/OTP-15917' into maintSverker Eriksson
2019-06-19ssl: Fix handling of certificate decoding problemsPéter Dimitrov
2019-06-19os_mon: Make disk_sup ignore squashfsLukas Larsson
Ideally we should ignore all read only filesystems, but this will have to do for now. We do this as we don't want disk_sup to report that a filesystem is almost full if it is read-only.
2019-06-19crypto: Fix FIPS flags for MACsHans Nilsson
2019-06-19crypto: Fix FIPS flags for digests in HMACHans Nilsson
2019-06-19crypto: Fix FIPS flags for digestsHans Nilsson
2019-06-19crypto: Rename cipher fips macroHans Nilsson
FORBIDDEN_IN_FIPS -> CIPHER_FORBIDDEN_IN_FIPS
2019-06-19crypto: Fix bad linkHans Nilsson
2019-06-19Merge branch 'ingela/ssl/TLS-hibernate-bug/OTP-15910' into maintIngela Anderton Andin
* ingela/ssl/TLS-hibernate-bug/OTP-15910: ssl: Fix hibernation bug