Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-05-29 | Merge branch 'anders/diameter/timetraps/OTP-10914' into maint | Anders Svensson | |
* anders/diameter/timetraps/OTP-10914: Add examples testcase to help identify timetrap failures Minor traffic suite fix Add gen_tcp suite Lighten up on suite timetraps Add more information to traffic suite timeout failures | |||
2013-05-28 | [snmp/agent] Corrected the mib_storage type | Micael Karlberg | |
2013-05-28 | Merge branch 'bmk/snmp/agent/mib_storage_behaviour/OTP-11107' into ↵ | Micael Karlberg | |
bmk/snmp/snmp424_integration/r16 Conflicts: lib/snmp/doc/src/notes.xml | |||
2013-05-28 | Merge branch 'bmk/snmp/agent/mib_server_data_callback/OTP-11101' into ↵ | Micael Karlberg | |
bmk/snmp/snmp424_integration/r16 Conflicts: lib/snmp/doc/src/notes.xml | |||
2013-05-28 | [snmp] Updated version and release notes | Micael Karlberg | |
OTP-11009 | |||
2013-05-28 | [snmp] Updated (all) test code to support new crypto interface | Micael Karlberg | |
Test suite utility function for verifying crypto support updated to use new crypto interface. OTP-11009 | |||
2013-05-28 | [snmp] Some cosmetic cleanup (tmp verbosity printouts commented) | Micael Karlberg | |
OTP-11009 | |||
2013-05-28 | [snmp] Use of new crypto interface correctd in manager | Micael Karlberg | |
Added a common utility function (in the snmp_misc module) for testing for crypto support (sed both by the manager and agent code). OTP-11009 | |||
2013-05-28 | Merge branch 'nox/fix-ignore/OTP-11117' into maint | Fredrik Gustafsson | |
* nox/fix-ignore/OTP-11117: Properly ignore os_mon and otp_mibs generated includes | |||
2013-05-28 | Update primary bootstrap | Fredrik Gustafsson | |
2013-05-28 | Support callback attributes in erl_pp | Anthony Ramine | |
2013-05-28 | Updated primary bootstrap for erl_eval | Fredrik Gustafsson | |
2013-05-28 | [stdlib] Updated for snmp deprecations | Micael Karlberg | |
2013-05-28 | [snmp/agent] Updated deprecated attribute | Micael Karlberg | |
2013-05-28 | Added preloaded prim_eval | Fredrik Gustafsson | |
2013-05-28 | Fix receive support in erl_eval with a BEAM module | Anthony Ramine | |
Using the low-level BEAM instructions, we can loop over each message in the process queue and removes the first message that matches, without receiving them all to later send them back to itself. The function prim_eval:'receive'/2 is equivalent to the following pseudo-code: 'receive'(F, T) -> RESET MESSAGE QUEUE POINTER, LOOP: case PEEK CURRENT MESSAGE WITH TIMEOUT T of {ok,Msg} -> case F(Msg) of nomatch -> DECREMENT TIMEOUT T, ADVANCE MESSAGE QUEUE POINTER, GOTO LOOP; Result -> RESET MESSAGE QUEUE POINTER, Result end; timeout -> RESET MESSAGE QUEUE POINTER, timeout end. To not break Dialyzer and other tools, we use a stub Erlang module which abstract code is forcefully inserted into prim_inet.erl afterwards compilation. | |||
2013-05-28 | Merge branch 'avi/fix-os-cmd-win/OTP-11104' into maint | Fredrik Gustafsson | |
* avi/fix-os-cmd-win/OTP-11104: Add testcase to exported Added primary bootstrap for os.beam kernel: redefined deep_list_command test Remove unnecessary whitespaces in os.erl and os_SUITE.erl Fix deep list argument error under Windows in os:cmd/1 | |||
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-28 | add support for hipe on Raspberry Pi (armv6l) | Klaus Alfert | |
To enable hipe on a Raspberry Pi, configure has to detect the ARM processor correctly. On a Pi, uname detects the CPU as armv6l. Other CPU variants are already detected with ARCH=arm, so does now the armv6l of the Raspberry Pi. | |||
2013-05-27 | Fix watchdog function_clause | Anders Svensson | |
Commit 0b7c87dc caused diameter_watchdog:restart/2 to start returning 'stop', so that a watchdog process for a listening transport that allowed multiple connections to the same peer would die one watchdog timeout after losing a connection. The new return value was supposed to be passed up to transition/2, but was instead passed to set_watchdog/1, resulting in a function_clause error. The resulting crash was harmless but unseemly. Not detected by dialyzer. Thanks to Aleksander Nycz. | |||
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 'raimo/race-in-prim_inet-close/OTP-10497' into maint | Raimo Niskanen | |
* raimo/race-in-prim_inet-close/OTP-10497: Do not unlink before closing port | |||
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 | [snmp/agent] Some restructuring and some new test cases of mib-server suite | Micael Karlberg | |
2013-05-24 | [snmp/agent] Improved mib-storage ets module error handling | Micael Karlberg | |
Also fixed some of the debug printouts. | |||
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-24 | Do not unlink before closing port | Raimo Niskanen | |
2013-05-23 | system: Prevent z_SUITE from changing the timestamp on core files | Sverker Eriksson | |
2013-05-23 | [snmp/agent] Make the mib-server test (sub-) suite use new mib-storage | Micael Karlberg | |
2013-05-23 | [snmp/agent] Handle mib-storage ets module non-ex file | Micael Karlberg | |
Make sure snmpa_mib_storage_ets can handle a non-ex file whe n openning a table (it should simply create it). | |||
2013-05-23 | [snmp/agent] Merging test case specific and common config env | Micael Karlberg | |
There is a set of default agent config environment values used when starting an agent. For specififc group of test cases, other values is used. These two groups of environment is now merged in a more controlled way. Also test case grouping make use of more test cases functions (in order to make the groups() function more readable). | |||
2013-05-23 | observer: Improve initial call info | Dan Gudmundsson | |
2013-05-23 | [snmp/agent] Updated open options for the mnesia mib-storage module | Micael Karlberg | |
Updated the snmpa_mib_storage_mnesia module to handle alias atoms for the nodes option. Also, (git) added mib-storage behaviour ref-man. | |||
2013-05-23 | Properly ignore os_mon and otp_mibs generated includes | Anthony Ramine | |
2013-05-23 | [snmp/agent] Update agent test (sub-) suite | Micael Karlberg | |
The agent test (sub-) suite updated according to the new mib-storage format. Also changed config of started agent to the "new" format. | |||
2013-05-23 | [snmp/agent] Updated the config tool with new mib-storage format | Micael Karlberg | |
2013-05-23 | [snmp/agent] Add more verbosity printouts to the mnesia mib-storage module | Micael Karlberg | |
2013-05-23 | observer: Add allocator info to gui | Siri Hansen | |
2013-05-22 | [snmp/agent] Cosmetic | Micael Karlberg | |
2013-05-22 | [snmp/agent] No default value for mib_storage and some cleanup | Micael Karlberg | |
2013-05-22 | [snmp/agent] Add info/2 and some record checks | Micael Karlberg | |
Add a new function/2 to behaviour. Also changed returnj type for info/1. Also make sure even ets and dets implementation(s) check that the correct type is written. | |||
2013-05-22 | [snmp/agent] Make use of new mib_storage | Micael Karlberg | |
The new mib-storage is now used by both the mib-server and the symbolic-store. | |||
2013-05-22 | [snmp/agent] Mib server assumes no default value for mib_storage | Micael Karlberg | |