aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-06-11Use rand(3) instead of random(3)Anders Svensson
The latter is deprecated in OTP 19.
2016-06-11Remove unnecessary no_auto_importAnders Svensson
Not difficult to avoid, and better without.
2016-06-11Redo transport config server as a gen_serverAnders Svensson
To properly handle system messages. Initially implemented in commit 5ca5fb71.
2016-06-11Merge branch 'anders/diameter/19/listen/OTP-13611'Anders Svensson
* anders/diameter/19/listen/OTP-13611: Fix leaking transports in traffic/relay suites Close listening sockets at transport removal Don't restart transport processes after transport removal Rename diameter_reg:del -> remove Add diameter_reg:subscribe/2 Add dialyzer specs to diameter_reg Remove diameter_reg:repl/2 Remove diameter_reg bloat
2016-06-10erts: Fix undefined shift to msb in erl_processBjörn-Egil Dahlberg
2016-06-10erts: Fix undefined shift to msb in monotonic timeBjörn-Egil Dahlberg
2016-06-10erts: Fix undefined shift to msb in erl_thr_progressBjörn-Egil Dahlberg
2016-06-10erts: Fix undefined shift to msb in ethr_mutexBjörn-Egil Dahlberg
2016-06-10Deprecate queue:lait/1Björn Gustavsson
2016-06-10Merge branch 'egil/erts/fix-xmllint'Björn-Egil Dahlberg
* egil/erts/fix-xmllint: erts: Fix erl_nif.xml xmllint errors
2016-06-10Merge branch 'shezarkhani/mnesia/doc-fix/PR-1093'Dan Gudmundsson
* shezarkhani/mnesia/doc-fix/PR-1093: Fixes minor documentation error.
2016-06-10Update primary bootstrapHans Bolinder
2016-06-10Merge branch 'hasse/dialyzer/improve_from_form/OTP-13547'Hans Bolinder
* hasse/dialyzer/improve_from_form/OTP-13547: Update primary bootstrap stdlib: Correct types and specs dialyzer: Minor adjustments dialyzer: Suppress unmatched_return for send/2 dialyzer: Improve the translation of forms to types dialyzer: Use a cache when translating forms to types dialyzer: Prepare erl_types:t_from_form() for a cache dialyzer: Optimize erl_types:t_form_form() dialyzer: Correct types syntax_tools: Correct types erts: Correct character repr in doc of the abstract format stdlib: Correct types and specs
2016-06-10Merge branch 'hans/inets/cuddle_ftp_tests'Hans Nilsson
2016-06-10Merge branch 'zandra/common_test/ct-reload_config-doc'Zandra Hird
* zandra/common_test/ct-reload_config-doc: Update ct:reload_config docs since {error, Reason} can be returned
2016-06-10Merge branch 'zandra/common_test/fix-ct_logs-crash-bug'Zandra Hird
* zandra/common_test/fix-ct_logs-crash-bug: Avoid crash when monitored ct_logs process is not responding
2016-06-10Avoid crash when monitored ct_logs process is not respondingZandra Hird
2016-06-10Merge branch 'hasse/tools/optimize_xref_read/OTP-13593'Hans Bolinder
* hasse/tools/optimize_xref_read/OTP-13593: tools: Optimize adding multiple modules to an Xref server
2016-06-10erts: Fix HEART_NO_KILL logicLukas Larsson
2016-06-10tools: Optimize adding multiple modules to an Xref serverHans Bolinder
Extracting data from debug info in BEAM files is parallelized. The speed-up is not outstanding. If memory is not an issue, adding `{spawn_opt, [{min_heap_size, <large number>}]}' to the option list of xref:start/2 can make a (small) difference. Reading of modules from a directory is parallelized. Attempts to parallelize all modules when adding a release have been rejected since the gain showed to be small compared to the increased complexity of the code. Using a process for coordinating the reading has not been attempted.
2016-06-10Merge branch 'kvakvs/erts/monitor_port/OTP-11384'Lukas Larsson
* kvakvs/erts/monitor_port/OTP-11384: erts: Add port monitors
2016-06-10erts: Add port monitorsDmytro Lytovchenko
* erlang:monitor/2 with port argument is added, erlang:demonitor, using port task API and avoiding locking; * port_info and process_info support for monitored ports (with named port monitors support); * Exit signals contain type 'process' or 'port'; * Propagation of port exit signals; * Self-cleaning when origin process dies with monitor on; * 8 test cases + testcase for port driver crashing; * Documentation for all of the above (monitor, demonitor, port_info and process_info) updated
2016-06-10Merge branch 'hasse/no_dots_in_map_types/PR-1014'Hans Bolinder
* hasse/no_dots_in_map_types/PR-1014: Remove support for '...' in Maps types
2016-06-09Fixes minor documentation error.Sasan Hezarkhani
2016-06-09erts: Fix erl_nif.xml xmllint errorsBjörn-Egil Dahlberg
2016-06-09ssl: Use cipher suite's PRF in prf/5Kenneth Lakin
Use the negotiated cipher suite's PRF algorithm in calls to ssl:prf/5, rather than a hard-coded one. For TLS 1.0 the PRF algorithm was hard-coded to MD5/SHA1. This was correct 100% of the time. For TLS 1.1 and 1.2 the PRF algorithm was hard-coded to SHA256. This was correct only some of the time for TLS 1.2 and none of the time for TLS 1.1. Because the TLS handshake code calls tls_v1:prf/5 through another path, the handshaking process used the negotiated PRF and did not encounter this bug. A new test (prf) has been added to ssl_basic_SUITE to guard against future breakage.
2016-06-09ssl:recv timeout() can be 0Joe DeVivo
gen_tcp:recv allows this, and if you're doing something like Transport:recv(Socket, 0, 0), TCP will work and SSL will exit with function_clause There were other cases of this throughout the module. This PR cleans them all up.
2016-06-09ssl: ordsets:intersection/2 did not give the expected resultIngela Anderton Andin
Turns out we can not count on the "hashsigns" sent by the client and the supported "hashigns" sets to have required properties of ordsets.
2016-06-09inets: Handle multiple \t in mime types fileIngela Anderton Andin
2016-06-09Update primary bootstrapHans Bolinder
2016-06-09Remove support for '...' in Maps typesHans Bolinder
It is possible that '...' is added later (OTP 20.0), but for now we are not sure of all details.
2016-06-09Merge branch 'siri/cuddle-master'Siri Hansen
* siri/cuddle-master: [ct test] Wait for event receiver to be unregistered [ct test] Flush messages from old client after close in telnet server [ct test] Use monitor instead of ct:sleep [ct test] Check that crypto is loaded, or skip netconf tests [ct test] Reduce amount of data in netconfc1_SUITE:get_a_lot
2016-06-09Merge branch 'zandra/common_test/unmatched_returns/OTP-13345'Zandra Hird
* zandra/common_test/unmatched_returns/OTP-13345: (23 commits) ct logs: Fix unmatched_return warnings ct_util: Fix unmatched_return warnings erl2html2: Fix unmatched_return warnings cth_conn_log: Fix unmatched_return warnings ct_webtool: Fix unmatched_return warnings ct_telnet: Fix unmatched_return warnings ct_ssh: Fix unmatched_return warnings ct_snmp: Fix unmatched_return warnings ct_slave: Fix unmatched_return warnings ct_rpc: Fix unmatched_return warnings ct_repeat: Fix unmatched_return warnings ct_release_test: Fix unmatched_return warnings ct_property_test: Fix unmatched_return warnings ct_master: Fix unmatched_return warnings ct_hooks_lock: Fix unmatched_return warnings ct_hooks: Fix unmatched_return warnings ct_groups: Fix unmatched_return warnings ct_ftp: Fix unmatched_return warnings ct_framework: Fix unmatched_return warnings ct_config: Fix unmatched_return warnings ...
2016-06-09ct logs: Fix unmatched_return warningsZandra
2016-06-09[ct test] Wait for event receiver to be unregisteredSiri Hansen
To avoid badarg when two tests are run within the same test case.
2016-06-09[ct test] Flush messages from old client after close in telnet serverSiri Hansen
Since the same erlang process is used for subsequent telnet connections, messages from old clients must be flushed after close.
2016-06-09[ct test] Use monitor instead of ct:sleepSiri Hansen
ct_gen_conn_SUITE_data/conn_SUITE.erl uses a lot of ct:sleep(100) when waiting for processes to exit. This commit removes all the sleeps and introducess monitor instead.
2016-06-09Merge branch 'egil/fix-simple-crashdump-with-maps/OTP-13657'Björn-Egil Dahlberg
* egil/fix-simple-crashdump-with-maps/OTP-13657: erts: Don't crash on maps on crash dumps
2016-06-09Merge branch 'egil/lttng-change-domain'Björn-Egil Dahlberg
* egil/lttng-change-domain: runtime_tools: Change LTTng dyntrace domain erts: Change LTTng otp domain
2016-06-09ftp: logging of server start in ftp_SUITEHans Nilsson
2016-06-09ftp: Introduce search path for ftp servers to use in ftp_SUITEHans Nilsson
2016-06-09Merge branch 'hans/inets/cuddle_httpc_tests'Hans Nilsson
2016-06-09Merge branch 'hans/ssh/update_tests/OTP-13573'Hans Nilsson
2016-06-09[ct test] Check that crypto is loaded, or skip netconf testsSiri Hansen
Tests for ct_netconfc are failed instead of skipped if crypto can not be loaded. This is now corrected.
2016-06-09[ct test] Reduce amount of data in netconfc1_SUITE:get_a_lotSiri Hansen
This test case often fails with table_trans_timeout in the netconf server (ns.erl) on slow machines. The amount of data was originally reduced by commit 976214f8d738d4852348496df79f84264d899aba, but was faulty reverted by commit 171d7e2a161ef9270240aff0fa15a285df21c1ef. It is now reduced again...
2016-06-09stdlib: Correct types and specsHans Bolinder
2016-06-09dialyzer: Minor adjustmentsHans Bolinder
2016-06-09dialyzer: Suppress unmatched_return for send/2Hans Bolinder
2016-06-09dialyzer: Improve the translation of forms to typesHans Bolinder
Spend less of the limited resources on recursive types.
2016-06-09dialyzer: Use a cache when translating forms to typesHans Bolinder