Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-05-31 | Do not fail if there is no variables file | Lukas Larsson | |
2013-05-30 | Merge branch 'maint' | Fredrik Gustafsson | |
2013-05-30 | Merge branch 'sla/odbc_in_non_standard_location/OTP-11126' into maint | Fredrik Gustafsson | |
* sla/odbc_in_non_standard_location/OTP-11126: Fix checking for odbc in standard locations when "with-odbc" flag present. | |||
2013-05-30 | [snmp/agent] Fixed expect macro | Micael Karlberg | |
2013-05-30 | [snmp/agent] Changed the test suite expect function | Micael Karlberg | |
There was an id as the first agument to each expect call. Ufortunatly, this id was often 1 and since the same test function(s) was called in many test cases, there was many "Expect 1", and therefor no way of knowing which expect actually was performed. The expect functions has been changed to instead take module and line number. | |||
2013-05-30 | Don't send default Inband-Security-Id in CER/CEA | Anders Svensson | |
RFC 6733 recommends against the use of Inband-Security-Id, so only send a value that differs from the default. | |||
2013-05-29 | Merge branch 'maint' | Anders Svensson | |
2013-05-29 | Merge branch 'anders/diameter/watchdog_function_clause/OTP-11115' into maint | Anders Svensson | |
* anders/diameter/watchdog_function_clause/OTP-11115: Fix watchdog function_clause | |||
2013-05-29 | Merge branch 'maint' | Anders Svensson | |
2013-05-29 | Merge branch 'anders/diameter/missed_5001/OTP-11087' into maint | Anders Svensson | |
* anders/diameter/missed_5001/OTP-11087: Remove redundant integer type specifiers from binaries Fix recognition of 5001 on mandatory AVP's | |||
2013-05-29 | Merge branch 'anders/diameter/avp_decode/OTP-11007' into maint | Anders Svensson | |
* anders/diameter/avp_decode/OTP-11007: Detect all 5005 (MISSING_AVP) errors and don't reverse errors Adapt Failed-AVP setting to RFC 6733 Add spec to diameter_codec Add spec to diameter_gen Fix recognition of 5014 (INVALID_AVP_LENGTH) errors Ensure setting Failed-AVP is appropriate Correct AVP Length error testcases | |||
2013-05-29 | Merge branch 'anders/diameter/avp_length_failure/OTP-11026' into maint | Anders Svensson | |
* anders/diameter/avp_length_failure/OTP-11026: Fix decode failure when AVP Length < 8 | |||
2013-05-29 | Merge branch 'maint' | Fredrik Gustafsson | |
2013-05-29 | Merge branch 'md/httpc-stream-once-fix/OTP-11122' into maint | Fredrik Gustafsson | |
* md/httpc-stream-once-fix/OTP-11122: Remove http_chunk:decode/4 as it is no longer used Fix {stream, {self, once}} in httpc | |||
2013-05-29 | Remove redundant integer type specifiers from binaries | Anders Svensson | |
2013-05-29 | Fix recognition of 5001 on mandatory AVP's | Anders Svensson | |
An AVP setting the M-bit was not regarded as erroneous if it was defined in the dictionary in question and its container (message or Grouped AVP) had an 'AVP' field. It's now regarded as a 5001 error (AVP_UNSUPPORTED), as in the case that the AVP is not defined. | |||
2013-05-29 | Merge branch 'bjorn/stdlib/improve-ls/OTP-11108' into maint | Björn Gustavsson | |
* bjorn/stdlib/improve-ls/OTP-11108: Teach c:ls/1 to show non-directory files | |||
2013-05-29 | compiler: Correct liveness optimization for wait/1 | Björn Gustavsson | |
The live optimization in beam_utils:live_opt/4 did not take into account that the wait/1 instruction *never* falls through to the next instruction (it has the same effect on the control flow as the jump/1 instruction). | |||
2013-05-29 | [snmp/agent] Mib data tttn comments | Micael Karlberg | |
2013-05-29 | Remove incorrect warning about missing end_per_testcase | Peter Andersson | |
OTP-11052 | |||
2013-05-29 | [snmp/agent] Moved agent config type definition to main agent interface module | Micael Karlberg | |
2013-05-29 | Add test suite | Peter Andersson | |
OTP-10126 | |||
2013-05-29 | Merge branch 'maint' | Anders Svensson | |
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-29 | Fix faulty connection handling | Peter Andersson | |
OTP-10126 | |||
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 | Support callback attributes in erl_pp | Anthony Ramine | |
2013-05-28 | stdlib: re-factored erl_lint.erl | Fredrik Gustafsson | |
2013-05-28 | Improve erl_lint performance | José Valim | |
The default_types() in erl_lint returned a dictionary with all default types. However, calculating this dict was expensive and we actually didn't use the default values in this dictionary. This patch replaces the dictionary use for one function that checks if the type is a default type or not, and remove the bits that checked explicitly for those default types when iterating the dictionary. | |||
2013-05-28 | [stdlib] Updated for snmp deprecations | Micael Karlberg | |
2013-05-28 | [snmp/agent] Updated deprecated attribute | Micael Karlberg | |
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 | Updated primary bootstrap | Fredrik Gustafsson | |
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 | Merge remote-tracking branch 'upstream/maint' | Ingela Anderton Andin | |
Conflicts: bootstrap/lib/stdlib/ebin/beam_lib.beam lib/public_key/test/erl_make_certs.erl | |||
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 | 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 'maint' | Siri Hansen | |
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. |