aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-09-13beam_validator: Handle unreachable instructionsBjörn Gustavsson
ab03678e introduced an optimization in the beam_z pass that could introduce unreachable code in BEAM files (a 'jump' instruction is removed after a 'raise' instruction, but the code following the target of the 'jump' is not removed). Since this situation happens very rarely, there is no point in adding another pass that can remove unreachable code after beam_z. Instead we will make sure that beam_validator can skip the unreachable code. Skipping unreachable code is already done in valfun_1/2 (for historical reasons), but we will also need to do it in val_dsetel/2.
2016-09-13Silence warnings in cryptoRaimo Niskanen
2016-09-13Merge branch 'hasse/parsetools/suppress_dialyzer_warnings/OTP-13681' into maintHans Bolinder
* hasse/parsetools/suppress_dialyzer_warnings/OTP-13681: parsetools: Suppress Dialyzer-warnings
2016-09-12Merge branch 'anders/diameter/19.1/OTP-13838' into maintAnders Svensson
* anders/diameter/19.1/OTP-13838: vsn -> 1.12.1 Update appup for 19.1 Fix xmllint errors in documentation Remove documentation overkill Don't run traffic tests in parallel when {string_decode, true} Remove copyright from generated dictionary modules Fix dictionary function typo Fix dictionary typo in relay example
2016-09-12Merge branch 'anders/diameter/failover/OTP-13412' into maintAnders Svensson
* anders/diameter/failover/OTP-13412: Make peer failover more efficient
2016-09-12Merge branch 'anders/diameter/min_heap_size/OTP-13796' into maintAnders Svensson
* anders/diameter/min_heap_size/OTP-13796: Let unfortunate min_heap_size setting be disabled
2016-09-12Merge branch 'anders/diameter/19/listen/OTP-13787' into maintAnders Svensson
* anders/diameter/19/listen/OTP-13787: Close listening sockets at service death
2016-09-12Merge branch 'ferd/bypass-pem-cache/PR-1143/OTP-13883' into maintIngela Anderton Andin
* ferd/bypass-pem-cache/PR-1143/OTP-13883: ssl: Add documentation of bypass_pem_cache application environment configuration ssl: Add new benchmarks to skip file for normal testing Adding PEM cache bypass benchmark entries Fixing CRL searching in cache bypass Add option to bypass SSL PEM cache
2016-09-12Merge branch 'ingela/snmp/ipv6-tests' into maintIngela Anderton Andin
* ingela/snmp/ipv6-tests: snmp: Use ipv6 common test configuration check
2016-09-12snmp: Use ipv6 common test configuration checkIngela Anderton Andin
The test for ipv6 could return false positives which resulted in failing test cases due lack of full ipv6 support.It could be nice with a working run-time check but this will do for now.
2016-09-12Merge branch 'ingela/ssl/clean-env' into maintIngela Anderton Andin
* ingela/ssl/clean-env: ssl: Make sure tests get a clean start
2016-09-12ssl: Add documentation of bypass_pem_cache application environment configurationIngela Anderton Andin
2016-09-12Merge branch 'lars/xmerl-anchor-problems/OTP-13880' into maintLars Thorsen
* lars/xmerl-anchor-problems/OTP-13880: [xmerl] Fix link problems in documentation
2016-09-12parsetools: Suppress Dialyzer-warningsHans Bolinder
When using Yecc's operator precedence declarations (Right, Nonassoc, Left), it is possible that some clauses of the generated code are unreachable. Dialyzer complains, at least if SET_LIMIT in erl_types is set sufficiently high (to avoid sets of integers to collapse to the integer() type). Rather than trying to figure out exactly which clauses are unreachable, Yecc generates a Dialyzer suppression.
2016-09-12Merge branch 'margnus1/dialyzer/fix_maps_opaque/ERL-249/PR-1161/OTP-13878' ↵Hans Bolinder
into maint * margnus1/dialyzer/fix_maps_opaque/ERL-249/PR-1161/OTP-13878: erl_bif_types: Properly unopaque maps:merge/2 args
2016-09-12[xmerl] Fix link problems in documentationLars Thorsen
2016-09-11vsn -> 1.12.1Anders Svensson
2016-09-11Update appup for 19.1Anders Svensson
OTP-13412 more efficient peer failover OTP-13787 close listening sockets OTP-13796 min_heap_size OTP-13838 typo in diameter_traffic No load order requirements.
2016-09-11Let unfortunate min_heap_size setting be disabledAnders Svensson
The setting in all diameter server processes has existed since the beginning of time. Whether it's actually useful is questionable, but it does lead to increased memory usage, especially if there are many peer connections whose processes wouldn't otherwise be large. Let the setting be disabled with -diameter min_heap_size false. (Or any value that isn't a non-negative integer.) The diameter application itself only calls diameter_lib:spawn_opts(server, []), but let other arguments remain for backwards compatibility, since diameter_lib:spawn_opts/2 has been abused from outside of diameter.
2016-09-10Merge branch 'ingela/snmp/app-test' into maintIngela Anderton Andin
* ingela/snmp/app-test: snmp: Uncomment compiler files in app.src file snmp: Use built-in support for testing application files
2016-09-10snmp: Uncomment compiler files in app.src fileIngela Anderton Andin
The files are not used in runtime of the snmp app, but they are still part of the application and beam files are generated. Not including them will make the general app test fail.
2016-09-10snmp: Use built-in support for testing application filesIngela Anderton Andin
2016-09-10Merge branch 'ingela/diameter/cuddle-tests' into maintIngela Anderton Andin
* ingela/diameter/cuddle-tests: diameter: Do not test SCTP on sparc-sun-solaris2.10
2016-09-10diameter: Do not test SCTP on sparc-sun-solaris2.10Ingela Anderton Andin
The SCPT stack has a different behavior in solaris2.10 then in later versions and linux. Diameter implementation does not support this behavior.
2016-09-09Merge branch 'rickard/nif-restore-current/OTP-13877' into maintRickard Green
* rickard/nif-restore-current/OTP-13877: Fix restore of 'current' field when rescheduled NIF completes
2016-09-09Fix restore of 'current' field when rescheduled NIF completesRickard Green
2016-09-07Merge branch 'michaesc/crypto/honour-OPENSSL_NO_DES/ERL-203/OTP-13783' into ↵Raimo Niskanen
maint * michaesc/crypto/honour-OPENSSL_NO_DES/ERL-203/OTP-13783: Add '_cfb' alias for misspelled '_cbf' cipher Fix badarg -> notsup and test cases Honour OPENSSL_NO_DES Conflicts: lib/crypto/c_src/crypto.c
2016-09-07erl_bif_types: Properly unopaque maps:merge/2 argsMagnus Lång
erl_bif_types:type/5 was calling erl_types:map_pairwise_merge/3 directly with its (potentially opaque) arguments, causing Dialyzer crashes. Bug (ERL-249) reported and minimised test case provided by Felipe Ripoll.
2016-09-07ssl: Make sure tests get a clean startIngela Anderton Andin
2016-09-07Merge branch 'egil/hipe/fix-match-order-opaque-types/OTP-13876' into maintBjörn-Egil Dahlberg
* egil/hipe/fix-match-order-opaque-types/OTP-13876: hipe: Fix erl_types opaque match order
2016-09-07Merge branch 'egil/erts/start-scripts-dependency/ERL-241/OTP-13871' into maintBjörn-Egil Dahlberg
* egil/erts/start-scripts-dependency/ERL-241/OTP-13871: erts: Fix start scripts generation dependency in Makefile
2016-09-07Merge branch 'bjorn/compiler/lc-internal-failure/OTP-13863' into maintBjörn Gustavsson
* bjorn/compiler/lc-internal-failure/OTP-13863: sys_core_fold: Don't move a fun into a guard
2016-09-07Merge branch 'lars/utf-8-path-bugs/ERL-179/OTP-13718' into maintLars Thorsen
* lars/utf-8-path-bugs/ERL-179/OTP-13718: [snmp] Correct bug when path to mib contains UTF-8 characters [ic] Fix but when UTF-8 character in path to idl spec
2016-09-07[snmp] Correct bug when path to mib contains UTF-8 charactersLars Thorsen
2016-09-07[ic] Fix but when UTF-8 character in path to idl specLars Thorsen
The path is only used when writing a comment so the correction just allowed UTF-8 characters in that io_lib:format call. IC don't support UTF-8 in the specs or their names (generated modules contains coding: latin-1) but the path is only used in a comment so it's not a problem if it can't be written correctly as long as nothing fails.
2016-09-07Merge branch 'peppe/stdlib/zip-security-flaw/OTP-13633' into maintPeter Andersson
OTP-13633
2016-09-07Merge branch 'ingela/ssl/ssl_basic_SUITE-timeouts' into maintIngela Anderton Andin
* ingela/ssl/ssl_basic_SUITE-timeouts: ssl: Tune timeout ssl: Consistent timeout handling
2016-09-07ssl: Tune timeoutIngela Anderton Andin
2016-09-07ssl: Consistent timeout handlingIngela Anderton Andin
init_per_testcase timeout for renegotiation tests would be overridden by local timeout in test case help function.
2016-09-06Bump inets versionRaimo Niskanen
2016-09-06Merge branch 'ingela/ssl/dtls-progress/connection-states-as-maps' into maintIngela Anderton Andin
* ingela/ssl/dtls-progress/connection-states-as-maps: dtls: fix encoding of client hello cookie dtls: Prepare start of DTLS connection manager with SSL app ssl: Refactor to use maps for the connection states ssl, dtls: Refactor sni handling dtls: Add close/5 dtls: Add renegotiate/2 dtls: Add protocol event handling ssl: Refactor code so that tls and dtls can share more code ssl, dtls: Disable V2 compatibility clause from ssl_handshake:update_handshake_history ssl: Make sure common code for TLS and DTLS uses the TLS Version ssl: remove unused RecordCB argument from master_secret dtls: Add reinit_handshake_data/1 to dtls dtls: replace tls_record with RecordCB in connection_info Fix version numbers and dependencies
2016-09-06Merge branch 'sverker/beam-too-few-functions/ERL-244/OTP-13848' into maintSverker Eriksson
* sverker/beam-too-few-functions/ERL-244: erts: Reject beam file with too few functions
2016-09-06erts: Fix start scripts generation dependency in MakefileBjörn-Egil Dahlberg
Reported-by: Kent Fredric
2016-09-06Merge branch 'hans/ssh/keyboard_interactive_defensics' into maintHans Nilsson
2016-09-06Merge branch 'hans/ssh/strengthen_pubkey/OTP-13847' into maintHans Nilsson
Conflicts: lib/ssh/src/ssh_auth.erl
2016-09-06Merge branch 'hans/ssh/correct_sha_ecdsa/OTP-13850' into maintHans Nilsson
2016-09-06Merge branch 'hans/ssh/channel_no_detect_close/OTP-13859' into maintHans Nilsson
2016-09-06Merge branch 'hasse/doc/format_man_pages_utf8' into maintHans Bolinder
* hasse/doc/format_man_pages_utf8: doc: Use groff with -Tutf8
2016-09-06Merge branch 'rickard/thr-prgr-unmanaged-delay-bug/OTP-13869' into maintRickard Green
* rickard/thr-prgr-unmanaged-delay-bug/OTP-13869: Fix erts_thr_progress_unmanaged_delay()
2016-09-06Merge branch 'rickard/drv-send-term-thr-bug/OTP-13866' into maintRickard Green
* rickard/drv-send-term-thr-bug/OTP-13866: Fix thread calls to erl_drv_send_term()/erl_drv_output_term() Conflicts: erts/emulator/beam/io.c