aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
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-28Fix typo in httpc_SUITE:content_length/1Igor Bulanov
2019-06-27[snmp|agent|test] Add another "skip point"Micael Karlberg
Try to detect if the test case function skip's, end re-exit so that "eventually" the test case runner detects it in turn re-exit...#@!!£##!...
2019-06-27[snmp|agent|test] Add another "skip point"Micael Karlberg
A test run where the node died after a series of "busy dist port" events and then the node died which caused the process that ran the test case to crash with reason = noconnection. And since this was a "permanent" node, the remaining test cases then crashed. Again, this has nothing to do with snmp or its test suites.
2019-06-27[snmp|agent|test] Try to figure out how "fast" a machine isMicael Karlberg
A very simple way to calculate how long the request timeout shall be. Previously it was simply a constant (3.5 seconds). We assume that the number of schedulers matters...
2019-06-27[snmp|agent|test] (maybe) Needs to throw the skipMicael Karlberg
We maybe needs to throw the skip when we detect system events.
2019-06-27[snmp|agent] Add disable flags to quiet dialyzerMicael Karlberg
Warning for some functions "for no reason" (obviously there is a reason, but I have to dig deeeep to find it). Also warnings for stuff there is no way to type today (for instance, improper lists). OTP-15932
2019-06-27[snmp|doc] Dialyzer related changesMicael Karlberg
Also found and corrected some (apparently minor) bugs. OTP-15932
2019-06-27[snmp|agent] Dialyzer related changesMicael Karlberg
Changes to satisfy dialyzer. Including changing the definition of some of the behaviours (use the '-callback' attribute instead of an explicit behaviour_info/1 function). Also found and corrected some (apparently minor) bugs. OTP-15932
2019-06-27[snmp|manager] Dialyzer related changesMicael Karlberg
Changes to satisfy dialyzer. Including changing the definition of the snmpm_network_interface behaviour (use the '-callback' attribute instead of an explicit behaviour_info/1 function). OTP-15932
2019-06-27[snmp] Dialyzer fixesMicael Karlberg
Make target (for running dialyzer on snmp), os usage and a minor snmp_log ("future proofing"). OTP-15932
2019-06-27[megaco|doc] Change description to noteMicael Karlberg
xmllint did not accept a 'description' tag for the 'DATA TYPE' section. But a 'note' tag worked (it *also* made more sence). OTP-15882
2019-06-27[megaco] Update the app file and some docsMicael Karlberg
OTP-15882
2019-06-27[megaco] Add megaco_user behaviour moduleMicael Karlberg
Add a "proper" behaviour module for the megaco_user behaviour. This behaviour is not a proper behaviour since its possible to configure megaco to add additional arguments to *all* of the functions in the behaviour (with the user_args config option). So, this behaviour only reflects the *default config* (whith the user_args set to [], that is no extra args). OTP-15882
2019-06-27[megaco] Updated behaviour definitionsMicael Karlberg
Made the behaviour definitions of megaco_encoder and megaco_edist_compress follow "modern" standards (which satisfies dialyzer). OTP-15882
2019-06-27[megaco|doc] Fixed a minor errorMicael Karlberg
Removed a single ']' that did no good from the doc... OTP-15882
2019-06-27[megaco] Various chages and corrections dealing with dialyzerMicael Karlberg
Mostly added nowarn_function-attributes to silence dialyzer (for functions that are "future" proofed). But actually also found some errors (although the issues have not been found for almost 15 years, so...). OTP-15882
2019-06-27[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-06-27[ct] Store correct paths with from-release in ct_release_testSiri Hansen
In opaque data given to callback module, the paths to application lib dirs were faulty for the release to upgrade from. This is now corrected.
2019-06-27[esock|kernel] Updated kernel app fileMicael Karlberg
Added the (re-) added net module to the application app file. OTP-15765
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-26Updated stdlib runtime dependency to ertsRickard Green
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-26Convert generated re replace and split tests from latin1 to UTF8Rickard Green
2019-06-26Adjust generated re replacement and split testsRickard Green
Adjustment needed due to incompatibility between PCRE 8.43 and perl version 5.22.1
2019-06-26Generate new re replacement and split tests using perl 5.22.1Rickard Green
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-26Update internal PCRE to version 8.43Rickard Green
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-25[megaco|test] Attempt to avoid race on slow VMsMicael Karlberg
2019-06-25[megaco|test] Make sure more of the (mess) test suite printouts are shownMicael Karlberg
Make the test suite log more readable. Normal io and the debug printouts from megaco does not mix well. Its difficult to know the proper timeline. So add some "sleeps" so that its easier to read.