aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2013-04-04Fix rest_for_one and one_for_all restarting a child not terminatedJames Fish
In rest_for_one and one_for_all supervisors one child dying can cause multiple children to be restarted. Previously if the child that caused the restart is started successfully but another child fails to start, the supervisor would not terminate this child with the other successfully restarted children as no record of the pid was kept. Thus the supervisor would try to start this child again. This could lead to multiples of the same child or if the child is registered cause repeated attempts at starting this child - until the max restart threshold was reached. Now the child that failed to start becomes the restarting child, instead of staying with the same child, for the next restart attempt. This has the following side effects: 1) In one_for_all the new version of the child that original died is terminated before a restart attempt is made. 2) In rest_for_one all succesfully restarted children are not terminated and restarting continues from the child that failed to start.
2013-04-03Merge branch 'nox/fix-bc-optim/OTP-11005' into maintFredrik Gustafsson
* nox/fix-bc-optim/OTP-11005: Add a new option +clint0 to the compiler Fix optimization of some binary comprehensions
2013-04-03Merge branch 'nox/fix-snmp-gitignore/OTP-11004' into maintFredrik Gustafsson
* nox/fix-snmp-gitignore/OTP-11004: Fix SNMP gitignore files
2013-04-02Merge branch 'mh/emacs-package/OTP-10999' into maintFredrik Gustafsson
* mh/emacs-package/OTP-10999: erlang-mode: Add autoload cookies for file extension associations
2013-04-02Merge branch 'mh/dialyzer-scan-error/OTP-10996' into maintFredrik Gustafsson
* mh/dialyzer-scan-error/OTP-10996: Improve Dialyzer output for scan errors
2013-03-31Fix SNMP gitignore filesAnthony Ramine
2013-03-29Document erl_parse:abstract/2Hans Bolinder
A bug has been fixed: when given the option {encoding,utf8} a list of floating point numbers (in the correct interval) was mistakenly returned as a string.
2013-03-29Merge branch 'hb/stdlib/unicode_bugfix/OTP-10990' into maintHans Bolinder
* hb/stdlib/unicode_bugfix/OTP-10990: Fix a bug in the Erlang scanner
2013-03-28Merge branch 'sk/odbc64/OTP-10993' into maintFredrik Gustafsson
* sk/odbc64/OTP-10993: explain postgres pecularity for param query out parameters postgresql test case for 64bit bug for param_query rollback disabling scrollable_cursors for oracle drop procedure after testing set scrollable_cursors to off for oracle driver drop procedure after testing test case for stored procedure with (32bit) integer out params on 64bit platform odbcserver 64bit bug for SQL_C_SLONG type
2013-03-28Merge branch 'hm/reltool_relaxed_exclude' into maintSiri Hansen
OTP-10988 * hm/reltool_relaxed_exclude: [reltool] Add test case for missing application [reltool] Relax requirements on excluded applications
2013-03-28Fix a bug in the Erlang scannerHans Bolinder
The scanner did not crash when a floating point number was encountered in the input string.
2013-03-28Add a new option +clint0 to the compilerAnthony Ramine
This option makes the compiler run the Core Erlang linting pass before any optimization pass, which can crash if the given code has unbound variables, something that is detected by core_lint.
2013-03-28Fix optimization of some binary comprehensionsAnthony Ramine
If a variable bound in a generator is used as the size of a segment in the comprehension body, v3_core uses this variable in the code generated to compute the initial size given to the `bs_init_writable` primop before the variable is actually bound, as in: << <<0:S>> || S <- Slist >> Reported-By: Peer Stritzinger
2013-03-27Merge branch 'anders/diameter/app_not_configured/OTP-10972' into maintAnders Svensson
* anders/diameter/app_not_configured/OTP-10972: Fix faulty sequence validation Add config suite Deal with config errors detected at transport start less brutally Move most transport_opt() validation into diameter_config Minor doc/spec fix Minor diameter_lib cleanup
2013-03-27Merge branch 'anders/diameter/examples_suite/OTP-10903' into maintAnders Svensson
* anders/diameter/examples_suite/OTP-10903: Compile example dictionaries against both RFC 3588 and 6733 Compile example dicts from the repo when running locally Documentation fixes Move example dict compilation to examples suite Add examples suite for testing example code Minor tweaks and fixes
2013-03-27explain postgres pecularity for param query out parametersRaimo Niskanen
2013-03-27postgresql test case for 64bit bug for param_querySatoshi Kinoshita
2013-03-27rollback disabling scrollable_cursors for oracleSatoshi Kinoshita
2013-03-27drop procedure after testingSatoshi Kinoshita
2013-03-27set scrollable_cursors to off for oracle driverSatoshi Kinoshita
2013-03-27drop procedure after testingSatoshi Kinoshita
2013-03-27test case for stored procedure with (32bit) integer out params on 64bit platformSatoshi Kinoshita
2013-03-27odbcserver 64bit bug for SQL_C_SLONG typeSatoshi Kinoshita
2013-03-27Merge branch 'siri/cover/hanging-proc/OTP-10979' into maintSiri Hansen
* siri/cover/hanging-proc/OTP-10979: [cover] Ensure no process leak when stopping cover on dead node
2013-03-27Merge branch 'ks/hipe-cleanup/OTP-10985' into maintFredrik Gustafsson
* ks/hipe-cleanup/OTP-10985: Fix handling of bs_match_string translation Take out 'constant' type test and unnecessary type declaration Take out 'constant' type test from left over comments Enable more warnings Use remote type instead of relying on hipe_icode.hrl Add type info for hipe_bifs:nstack_used_size/0 Use correct type name Update a comment
2013-03-27[reltool] Add test case for missing applicationSiri Hansen
2013-03-27[reltool] Relax requirements on excluded applicationsHåkan Mattsson
A missing application directory is now classified as a warning if the application is explicitly excluded.
2013-03-27Added testcases for ct_telnet and opportunity to connect to telnet without ↵Fredrik Gustafsson
user and password.
2013-03-27Merge branch 'nox/ssh/fix-ssh-html-doc/OTP-10983' into maintFredrik Gustafsson
* nox/ssh/fix-ssh-html-doc/OTP-10983: Properly ignore everything in lib/ssh/doc/html/
2013-03-26Fix faulty sequence validationAnders Svensson
The validation of {sequence, {H,N}} incorrectly checked that H was an N-bit integer, instead of the intended 32-N.
2013-03-26Add config suiteAnders Svensson
To verify return values from diameter:start_service/2 and diameter:add_transport/2 when passing various config.
2013-03-26Deal with config errors detected at transport start less brutallyAnders Svensson
Crashing watchdog and peer_fsm processes was somewhat unseemly. Emit an error report and die silently instead.
2013-03-26Move most transport_opt() validation into diameter_configAnders Svensson
Faulty configuration was previously passed directly on to watchdog and peer_fsm processes, diameter:add_transport/2 happily returning ok and the error resulting on failure of watchdog and/or peer_fsm processes. Now check for errors before getting this far, returning {error, Reason} from diameter:add_transport/2 when one is detected. There are still some errors that can only be detected after transport start (eg. a misbehaving callback) but most will be caught early.
2013-03-26Minor doc/spec fixAnders Svensson
'infinity' is a valid transport_config timeout.
2013-03-26Merge branch 'vk/fix_ssl_connection/OTP-10980' into maintFredrik Gustafsson
* vk/fix_ssl_connection/OTP-10980: Added comment about proxy certificates Fix ssl_connection to support reading proxy/chain certificates
2013-03-26Improve Dialyzer output for scan errorsMagnus Henoch
To reproduce, create an empty file "foo.erl" and run dialyzer on it. Results without this patch: $ dialyzer --src /tmp/foo.erl Checking whether the PLT /Users/magnus/.dialyzer_r16_plt is up-to-date... yes Proceeding with analysis... dialyzer: Analysis failed with error: Could not scan the following file(s): [{"/tmp/foo.erl", ["/tmp/foo.erl:1: no module definition\n"]}] Last messages in the log cache: Reading files and computing callgraph... Results with this patch: $ dialyzer --src /tmp/foo.erl Checking whether the PLT /Users/magnus/.dialyzer_r16_plt is up-to-date... yes Proceeding with analysis... dialyzer: Analysis failed with error: Could not scan the following file(s): /tmp/foo.erl:1: no module definition Last messages in the log cache: Reading files and computing callgraph...
2013-03-26[cover] Ensure no process leak when stopping cover on dead nodeSiri Hansen
When cover:stop(Node) was called on a non-existing node, a process waiting for cover data from the node would hang forever. This has been corrected.
2013-03-26Merge branch 'dgud/testcase_fixes' into maintDan Gudmundsson
* dgud/testcase_fixes: Fix timers mnesia: Decrease test times Add debug printouts wx: Fix failing testcases stdlib: Ignore symlink tests on windows
2013-03-25Minor diameter_lib cleanupAnders Svensson
Remove unused functions, add dialyzer specs, make wait/1 less fallible.
2013-03-25Merge branch 'maint-r16' into maintLars Thorsen
* maint-r16: [orber] Fix bug in corbaloc/corbaname over ssl
2013-03-25Added comment about proxy certificatesFredrik Gustafsson
2013-03-24Compile example dictionaries against both RFC 3588 and 6733Anders Svensson
2013-03-24Compile example dicts from the repo when running locallyAnders Svensson
Instead of from the installation.
2013-03-24Documentation fixesAnders Svensson
Fix errors and omissions related to dictionary compilation.
2013-03-24Move example dict compilation to examples suiteAnders Svensson
From compiler suite.
2013-03-24Add examples suite for testing example codeAnders Svensson
That is, code installed under examples/code in an installation.
2013-03-24Minor tweaks and fixesAnders Svensson
Fix a broken include in example code, remove an inappropriate ct:pal/2 outside of a testcase, echo more info from test/Makefile.
2013-03-22erlang-mode: Add autoload cookies for file extension associationsMagnus Henoch
The autoload cookies are used when erlang-mode is installed as an Emacs package. In this case, erlang-start will not be loaded at Emacs startup; only the forms marked with ;;;###autoload will be extracted and made available.
2013-03-21Merge branch 'maint-r15' into lars/orber/corbaloc-bug-r16-version/OTP-10675Lars Thorsen
* maint-r15: [orber] Fix bug in corbaloc/corbaname over ssl
2013-03-21Fix ssl_connection to support reading proxy/chain certificatesValentin Kuznetsov