Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-05-28 | Fix renaming of bs_put_string instructions | Anthony Ramine | |
The clause was formerly commented-out because at this point in the code, no bs_put_string instruction has been generated yet when compiling from Erlang. If an Erlang module is compiled to BEAM assembly and the result contains a bs_put_string instruction, the output can't be compiled to binary anymore and the compiler crashes with the following error: $ erlc prs.S Function: compress/1 prs.S:none: internal error in beam_block; crash reason: {{case_clause, {'EXIT', {function_clause, [{beam_utils,live_opt, [[{bs_put_string,1,{string,[0]}}, {bs_init, {f,0}, {bs_append,0,8,{field_flags,[]}}, 0, [{integer,8},{x,0}], {x,1}}, {label,2}], 2, {1,{1,1,nil,nil}}, [{block, [{'%live',2}, {set,[{x,0}],[{x,1}],move}, {'%live',1}]}, return]], [{file,"beam_utils.erl"},{line,639}]}, {beam_utils,live_opt,1, [{file,"beam_utils.erl"},{line,205}]}, {beam_block,function,2, [{file,"beam_block.erl"},{line,38}]}, {lists,mapfoldl,3, [{file,"lists.erl"},{line,1329}]}, {beam_block,module,2, [{file,"beam_block.erl"},{line,29}]}, {compile,'-select_passes/2-anonymous-2-',2, [{file,"compile.erl"},{line,476}]}, {compile,'-internal_comp/4-anonymous-1-',2, [{file,"compile.erl"},{line,276}]}, {compile,fold_comp,3, [{file,"compile.erl"},{line,294}]}]}}}, [{compile,'-select_passes/2-anonymous-2-',2, [{file,"compile.erl"},{line,476}]}, {compile,'-internal_comp/4-anonymous-1-',2, [{file,"compile.erl"},{line,276}]}, {compile,fold_comp,3,[{file,"compile.erl"},{line,294}]}, {compile,internal_comp,4,[{file,"compile.erl"},{line,278}]}, {compile,'-do_compile/2-anonymous-0-',2, [{file,"compile.erl"},{line,152}]}]} | |||
2013-05-28 | Merge branch 'ia/ssl/public_key/crypto/elliptic_curve/OTP-11009' into maint | Ingela Anderton Andin | |
* ia/ssl/public_key/crypto/elliptic_curve/OTP-11009: (21 commits) ssl: Do not advertise EC ciphers if crypto support is insufficient crypto: Ctify tests and test new API crypto: Allow integer as srp_private arguments according to docs ssl: Remove unused `srp_parameters` type spec crypto, public_key & ssl: Make more functions accept integer keys snmp: Remove use of deprecated crypto functions crypto,ssh, netconf, inets: binary_to_integer -> bytes_to_integer netconf: Remove use of deprecated crypto functions crypto: Documentation fixes from review crypto: Change argument order of crypto:next_iv/3 crypto,public_key,ssl: Change return value of crypto:generate_key(ecdh,..) ssl, public_key, crypto: crypto:algorithms/0 -> crypto:supports/0 ssl, public_key & inets: Remove use of deprecated crypto functions from test code ssl: Remove use of deprecated crypto functions public_key: Remove use of deprecated crypto functions dialyzer: Remove use of deprecated crypto functions ssh & crypto: Remove use of deprecated crypto functions from ssh Update primary bootstrap common_test: Replace use of deprecated crypto functions beam_lib, compile: Replace use of deprecated crypto functions ... | |||
2013-05-28 | ssl: Do not advertise EC ciphers if crypto support is insufficient | Ingela Anderton Andin | |
2013-05-27 | crypto: Ctify tests and test new API | Ingela Anderton Andin | |
Also fix bugs found by new tests | |||
2013-05-27 | Merge branch 'siri/ct_telnet/no-more-after-timetrap/OTP-10648' into maint | Siri Hansen | |
* siri/ct_telnet/no-more-after-timetrap/OTP-10648: [common_test] Unregister connection if killed | |||
2013-05-24 | crypto: Allow integer as srp_private arguments according to docs | Sverker Eriksson | |
2013-05-24 | ssl: Remove unused `srp_parameters` type spec | Klaus Trainer | |
As the file 'lib/ssl/src/ssl_srp_primes.hrl' only contains a specification of a `srp_parameters` type that isn't exported and also isn't referenced anywhere (neither in the code nor in the documentation), the type specification (and hence the file as well) can be removed. | |||
2013-05-24 | crypto, public_key & ssl: Make more functions accept integer keys | Sverker Eriksson | |
2013-05-24 | snmp: Remove use of deprecated crypto functions | Ingela Anderton Andin | |
2013-05-24 | [common_test] Unregister connection if killed | Siri Hansen | |
The symptom of this bug was that a (named) telnet connection which was open and hanging during a timetrap timeout could no longer be opened again in subsequent test cases. Since the connection was hanging, ct_telnet:close/1 which was called during end_per_testcase would fail (timeout) and cause common_test to brutally kill the connection. The bug was that the connection was not unregistered at this point. When trying to open the connection again in the next testcase, common_test attempted to reuse the same connection since it had not been unregistered. This failed since the connection in fact was dead. | |||
2013-05-24 | Merge branch 'nox/fix-silent-rules/OTP-11111' into maint | Fredrik Gustafsson | |
* nox/fix-silent-rules/OTP-11111: Fix some Makefile rules that didn't support silent rules | |||
2013-05-22 | crypto,ssh, netconf, inets: binary_to_integer -> bytes_to_integer | Ingela Anderton Andin | |
2013-05-21 | Merge branch 'siri/ct/no_prompt_check/OTP-11095' into maint | Siri Hansen | |
* siri/ct/no_prompt_check/OTP-11095: [common_test] Refactor ct_telnet_SUITE.erl [common_test] Add new option 'no_prompt_check' to ct_telnet:expect/3. [common_test] Add debug printouts in ct_telnet_client [common_test] Backed out wait_for_linebreak option from ct_telnet [common_test] Add test for ct_telnet using own telnet server [common_test] Add telnet server to use for testing | |||
2013-05-20 | Merge branch 'maint-r16' into maint | Micael Karlberg | |
2013-05-20 | netconf: Remove use of deprecated crypto functions | Ingela Anderton Andin | |
2013-05-20 | crypto: Documentation fixes from review | Ingela Anderton Andin | |
Conflicts: lib/crypto/doc/src/crypto.xml Conflicts: lib/crypto/doc/src/crypto.xml | |||
2013-05-20 | crypto: Change argument order of crypto:next_iv/3 | Sverker Eriksson | |
to harmonize with next_iv/2 | |||
2013-05-20 | crypto,public_key,ssl: Change return value of crypto:generate_key(ecdh,..) | Sverker Eriksson | |
to conform with the return value of the other types. | |||
2013-05-20 | ssl, public_key, crypto: crypto:algorithms/0 -> crypto:supports/0 | Ingela Anderton Andin | |
2013-05-20 | ssl, public_key & inets: Remove use of deprecated crypto functions from | Ingela Anderton Andin | |
test code | |||
2013-05-20 | ssl: Remove use of deprecated crypto functions | Ingela Anderton Andin | |
2013-05-20 | public_key: Remove use of deprecated crypto functions | Ingela Anderton Andin | |
2013-05-20 | dialyzer: Remove use of deprecated crypto functions | Ingela Anderton Andin | |
2013-05-20 | ssh & crypto: Remove use of deprecated crypto functions from ssh | Ingela Anderton Andin | |
2013-05-20 | common_test: Replace use of deprecated crypto functions | Björn Gustavsson | |
2013-05-20 | beam_lib, compile: Replace use of deprecated crypto functions | Björn Gustavsson | |
Since both the STDLIB and compiler applications turn warnings into errors, we must stop using the old deprecated crypto functions. While we are at it, generalize the format of the key tuple returned by beam_lib:make_crypto_key/2 to facilitate introducing new crypto methods in the future. Change the format to: {Type,Key,IV,BlockSize} where Type, Key, and IV are the first three arguments for either crypto:block_encrypt4/ or crypto:block_decrypt/4, and BlockSize is the block size for the crypto algorithm (it is needed to properly pad the plaintext blocks before encryption). | |||
2013-05-20 | crypto: Correct deprecated information | Ingela Anderton Andin | |
2013-05-17 | Merge branch 'siri/cuddle-with-tests' into maint | Siri Hansen | |
* siri/cuddle-with-tests: Fix gen_server_SUITE:call_with_huge_message_queue Fix zip_SUITE:borderline test | |||
2013-05-17 | [common_test] Refactor ct_telnet_SUITE.erl | Siri Hansen | |
2013-05-17 | [common_test] Add new option 'no_prompt_check' to ct_telnet:expect/3. | Siri Hansen | |
If this option is used, ct_telnet will not search for a prompt before attempting to match the given pattern. This is useful if, for instance, the Pattern itself matches the prompt or if the telnet session starts interactive programs which do not display the normal prompt. | |||
2013-05-17 | Merge branch 'nm/mnesia_idx_insert_speedup/OTP-11103' into maint | Fredrik Gustafsson | |
* nm/mnesia_idx_insert_speedup/OTP-11103: Fix missing case clause for ordered_set tables Optimize index creation for Mnesia set tables | |||
2013-05-17 | Merge branch 'hb/stdlib/erl_pp_options/OTP-11100' into maint | Hans Bolinder | |
* hb/stdlib/erl_pp_options/OTP-11100: [stdlib] Fix pretty printing of invalid forms | |||
2013-05-16 | Merge branch 'rickard/inet_opts/OTP-11075' into maint | Rickard Green | |
* rickard/inet_opts/OTP-11075: Make high_msgq_watermark and low_msgq_watermark generic inet options Conflicts: erts/preloaded/ebin/prim_inet.beam | |||
2013-05-16 | [stdlib] Fix pretty printing of invalid forms | Hans Bolinder | |
Thanks to Tomáš Janoušek. | |||
2013-05-16 | Merge branch 'fredrik/close_socket_ei' into maint | Fredrik Gustafsson | |
* fredrik/close_socket_ei: erl_interface: check if file descriptor is valid before closing | |||
2013-05-16 | Merge branch 'sla/reltool_copy_file_not_owner_fix/OTP-11099' into maint | Fredrik Gustafsson | |
* sla/reltool_copy_file_not_owner_fix/OTP-11099: Fix possibly "not owner" error while file copy with reltool. | |||
2013-05-15 | Merge branch 'dgud/mnesia/schema_info_in_table/OTP-11030' into maint | Dan Gudmundsson | |
* dgud/mnesia/schema_info_in_table/OTP-11030: mnesia: Fixed bad data in table | |||
2013-05-15 | [common_test] Add debug printouts in ct_telnet_client | Siri Hansen | |
2013-05-14 | [common_test] Backed out wait_for_linebreak option from ct_telnet | Siri Hansen | |
2013-05-14 | [common_test] Add test for ct_telnet using own telnet server | Siri Hansen | |
The new test suite ct_telnet_SUITE_data/ct_telnet_own_server_SUITE uses the very simple telnet_server.erl located in the common_test test directory. | |||
2013-05-14 | [common_test] Add telnet server to use for testing | Siri Hansen | |
2013-05-13 | Merge branch ↵ | Erlang/OTP | |
'bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r16' into maint-r16 * bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r16: [megaco] Appup cleanup [megaco] Retroactive version bump [megaco] Used wrong downgrade tag for (flex) handler [megaco] Fixrd appup sub-test suite [megaco] Debug printouts in megaco test server [megaco] Internal test server not handling failing cases [megaco] Fix merge [megaco] Misc codec tickets test case fixes [megaco] Misc fixes of the (internal) megaco test server Changed name of test case functions (from seq12263 to otp10998) Assign correct version and updated release notes accordingly. Removed comments Ensure of incorrect number of terms when scanning property groups Uncommented test cases Add new messages Calculation of term_spec size (initial and next) changed Minor test case rework Test case cleanup Add rule for test beam'es Preliminary test case updates | |||
2013-05-08 | erl_interface: check if file descriptor is valid before closing | Fredrik Gustafsson | |
2013-05-08 | ssl: Fix dialyzer spec | Ingela Anderton Andin | |
2013-05-08 | crypto: Remove debug printouts | Sverker Eriksson | |
2013-05-08 | ssl: Only send ECC-hello extension if ECC-cipher suites are advertised | Ingela Anderton Andin | |
2013-05-08 | ssl & public_key: Use standard name | Ingela Anderton Andin | |
2013-05-08 | ssl & crypto: Generalize the remaining crypto API | Ingela Anderton Andin | |
2013-05-08 | public_key: Add new API functions to the documentation | Ingela Anderton Andin | |
2013-05-08 | ssl & public_key: Use new crypto API functions | Ingela Anderton Andin | |