aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2014-05-06Set.py: Correct illegal DEFAULT valueBjörn Gustavsson
If SetIn is defined like this: SetIn ::= SET { boolIn BOOLEAN, intIn INTEGER } then it may not be used with an empty DEFAULT value like this: SetDef1 ::= SET { set1 SetIn DEFAULT {} } The ASN.1 compiler prints an warning message, but still generates code. (That should be fixed.) Fix the incorrect ASN.1 specification by making the components in SetIn optional: SetIn ::= SET { boolIn BOOLEAN OPTIONAL, intIn INTEGER OPTIONAL }
2014-05-06BER: Optimize decoding of ENUMERATEDBjörn Gustavsson
2014-05-06BER: Suppress dialyzer warnings for encode_bit_string/4Björn Gustavsson
We don't want to touch the code used for encoding BIT STRINGs when 'legacy_erl_types' is active, since it will be removed within two or three major releases. But we do want to suppress the dialyzer warnings in the meantime. The easiest way is to call encode_bit_string/4 with unknown types from an exported function that is never actually called like this: -export(['dialyzer-suppressions'/0]). 'dialyzer-suppressions'(Arg) -> {A,B,C,D} = Arg, encode_bit_string(A, B, C, D), ok.
2014-05-05Merge branch 'lukas/kernel/fix_sendfile_no_async_tests/OTP-11903' into maintLukas Larsson
* lukas/kernel/fix_sendfile_no_async_tests/OTP-11903: kernel: Skip sendfile tests that force async threads
2014-05-05Fix regexp in release_handler test so versions are correctly replacedSiri Hansen
In order to fake an earlier release to upgrade from, version numbers are replaced in some .app files. This commit adds a backslash before the dot in the pattern to replace, so the dot is not mistaken for a wildcard.
2014-05-04Support maps in cerl:ann_make_tree/3Anthony Ramine
2014-05-03Fix evaluation of map updates in the debugger and erl_evalAnthony Ramine
Reported-by: José Valim
2014-05-02Merge remote branch 'origin/peppe/common_test/ct_comment_problem' into maintPeter Andersson
* origin/peppe/common_test/ct_comment_problem: Fix problem with comments getting lost when running parallel test cases
2014-05-02Merge remote branch 'origin/peppe/common_test/telnet_reversed_strings' into ↵Peter Andersson
maint * origin/peppe/common_test/telnet_reversed_strings: Fix problem with send printout not being tagged with connection name Fix problem with substring in large message getting incorrectly reversed OTP-11871
2014-04-30kernel: Fix erts_debug:size/1 to handle Map sizesBjörn-Egil Dahlberg
2014-04-30inets: Fix streaming with single chunk bodySergey Sinkovskiy
Receiving HTTP response with chunked transfer encoding in a single TCP message should produce stream messages for response body when streaming mode is used for httpc.
2014-04-30ssl: Add checks to avoid processing of illegal alertsIngela Anderton Andin
2014-04-30Fix problem with comments getting lost when running parallel test casesPeter Andersson
OTP-11898
2014-04-29Support binary standard_input in ssh_ioJosé Valim
2014-04-29dialyzer: Add Maps type mismatch testBjörn-Egil Dahlberg
2014-04-29Add AES-CBF8 cypher to crypto moduleBernard Duggan
This adds the aes_cfb8 cypher type (and associated tests and documentation) to the crypto module.
2014-04-29Add five new test files for maps in the HiPE test suiteKostis Sagonas
2014-04-29Copy the tests for maps from the compiler application to a new HiPE test suiteMagnus Lång
Change the maps_guard_fun test to accept the HiPE trace format.
2014-04-29Translate the put_map_assoc and put_map_exact BEAM instructions to ICodeErik Norgren
2014-04-29Translate the has_map_fields and get_map_elements BEAM instructions to ICodeKostis Sagonas
2014-04-29BER: Inline testing of constraints when decodingBjörn Gustavsson
Calling library routines for validation of constraints may cause dialyzer warnings if some type of constraints handled by the library routine are not used in a specific ASN.1 module. To avoid those warnings (and slightly speed up the decoding), inline the constraint checking.
2014-04-28hipe,compiler: Fix Map literals pretty printingBjörn-Egil Dahlberg
2014-04-25Merge branch 'hans/ssh/max_sessions/OTP-11885' into maintHans Nilsson
* hans/ssh/max_sessions/OTP-11885: ssh: Doc change on max_session param ssh: Add max_session parameter to ssh:daemon
2014-04-24ssh: Doc change on max_session paramHans Nilsson
2014-04-24ssh: Add max_session parameter to ssh:daemonHans Nilsson
2014-04-24ssh: remove confusing info in some reportsHans Nilsson
2014-04-24ssl: Fixes ssl_crl_SUITE errors on mixed ipv6-v4 interfacesHans Nilsson
2014-04-24ssl: Remove outdated documentationIngela Anderton Andin
2014-04-24mnesia: Handle failed net_loads betterDan Gudmundsson
In case of a failed net load and no more available copies, remove the table from late_load_queue, otherwise tables can not be forced loaded.
2014-04-24Merge branch 'ia/pr/339' into maintIngela Anderton Andin
* ia/pr/339: ssl: Fix crash on garbage during handshake
2014-04-24Merge branch 'ia/pr/340' into maintIngela Anderton Andin
* ia/pr/340: ssl: Refactor so that there is only one source for the default hashsign values ssl: always pass negotiated version when selecting hashsign ssl: TLSv1.2: proper default sign algo for RSA
2014-04-23ssl: Fix crash on garbage during handshakeDanil Zagoskin
If a client sends some garbage in ssl record instead of valid fragment, server crashes with function_clause while receiving next record from client. This patch makes server raise handshake failure instead of crashing and exposing internal state to user code.
2014-04-23ssl: Refactor so that there is only one source for the default hashsign valuesIngela Anderton Andin
Also fix DTLS call to supply its corresponding TLS version
2014-04-23Update kernel, stdlib and sasl appup testsSiri Hansen
Add test of update instructions from current major to current minor. Earlier only previous major to current was tested.
2014-04-23ssl: always pass negotiated version when selecting hashsignDanil Zagoskin
Negotiated version is now always passed to ssl_handshake:select_hashsign because ssl_handshake:select_cert_hashsign has different rsa defaults on tlsv1.2 and older versions.
2014-04-23ssl: TLSv1.2: proper default sign algo for RSADanil Zagoskin
2014-04-22Minor update to test_server for finding old releasesSiri Hansen
This is valid internal in OTP test environment only Links starting with 'otp_beam_linux_' are removed.
2014-04-22Merge branch 'siri/ac-change_app_data/OTP-11864' into maintSiri Hansen
* siri/ac-change_app_data/OTP-11864: Store expanded config in application_controller:change_application_data
2014-04-22Merge branch 'siri/kernel_app-doc-links/OTP-11862' into maintSiri Hansen
* siri/kernel_app-doc-links/OTP-11862: Add hyperlinks to modules in reference manual for kernel application
2014-04-22Merge branch 'siri/cuddle-with-tests' into maintSiri Hansen
* siri/cuddle-with-tests: [reltool] Adapt tests to better quoting of paths on windows [reltool] Increase timetrap timeout to handle slow test machines Skip test when needed applications are missing Don't allow slave nodes to survive their test case
2014-04-22Merge branch 'ia/ssl/decrypt-alert/OTP-11880' into maintIngela Anderton Andin
* ia/ssl/decrypt-alert/OTP-11880: ssl: Correct decryption error handling
2014-04-22Merge branch 'ia/ssl/recv/OTP-11878' into maintIngela Anderton Andin
* ia/ssl/recv/OTP-11878: ssl: recv shall ruturn {error, einval} on active socket
2014-04-22Merge branch 'ia/ssl/suites-match-negotiated-version/OTP-11875' into maintIngela Anderton Andin
* ia/ssl/suites-match-negotiated-version/OTP-11875: ssl: Select supported cipher suites for the negotiated SSL/TLS-version
2014-04-22Merge branch 'ia/ssl/warning-alert/OTP-11874' into maintIngela Anderton Andin
* ia/ssl/warning-alert/OTP-11874: ssl: Graceful handling of warning alerts
2014-04-17ssl: Correct decryption error handlingIngela Anderton Andin
2014-04-17observer: Let wx create statusbarDan Gudmundsson
wx can not catch the delete of the status bar if it have not created it, which might cause a crash.
2014-04-17ssl: recv shall ruturn {error, einval} on active socketIngela Anderton Andin
2014-04-17observer: Destroy the wx envDan Gudmundsson
Ensure that the server exists on close, even though linked to the test process
2014-04-17ssl: Graceful handling of warning alertsIngela Anderton Andin
Generalize last warning alert function clause
2014-04-17hipe, dialyzer: Fix a bug concerning opaque typesHans Bolinder
Dialyzer sometimes output warnings like Attempt to test for inequality between a term of type 'false' and a term of opaque type 'false' | gb_set() The reason was that erl_types:t_inf/3 when called from erl_types:t_find_unknown_opaque() did not return 'false' but found the mismatch. It should not return the mismatch unless the intersection is empty ('none'). Thanks to Shayan Pooya [[email protected]] for pointing out the bug.