aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2014-02-19compiler: Transform list of Args to exact literal typeBjörn-Egil Dahlberg
2014-02-19kernel: Fix an application terminate deadlock possibilityDan Gudmundsson
Could happen if get_child was called during terminate. io (since it is a group_leader) also causes problems after get_child was called. Split up and do it async.
2014-02-19compiler: Test Maps aliasingBjörn-Egil Dahlberg
2014-02-19compiler: Use aliasing in map pair patternsBjörn-Egil Dahlberg
2014-02-19compiler: Check literal order in beam_validatorBjörn-Egil Dahlberg
2014-02-19Build documentation with bootstrap systemRickard Green
Enables build of documentation in source trees that has been cross built
2014-02-19Misc adjustments of OTP versionRickard Green
2014-02-19Merge branch 'anders/diameter/sctp/OTP-11661'Anders Svensson
* anders/diameter/sctp/OTP-11661: Use inet:{peer,sock}names/1 in diameter_sctp
2014-02-19Use inet:{peer,sock}names/1 in diameter_sctpAnders Svensson
OTP-10229 (commit c4592b69) added these function to give access to all addresses on a multihomed endpoint, their singular siblings not returning anything useful in this case. This fixes {accept, Match} config, which matches peer addresses against configured addresses or regexps to decide whether or not a newly established association should be retained. The functionality was added in OTP-10893 (commit 9bbf27eb) but predated OTP-10229 by a few months. It also fixes the addresses shown for SCTP associations in diameter:service_info/2 output.
2014-02-19Merge branch 'nox/compiler/v3_core-comprehensions-cleanup'Björn Gustavsson
* nox/compiler/v3_core-comprehensions-cleanup: Simplify comprehension compilation in v3_core OTP-11720
2014-02-18Fix library application appup filesTobias Schlager
As discussed in issue #240 *all* OTP library applications use the '.*' wildcard as up and down version. This makes library applications always up- and downgradeable. Using the wildcard version obsoletes all maintenance tasks regarding library applications' appup files. Additionally, it prevents upgrade problems caused by automatically included application dependencies when using reltool to create releases. Missing copyright headers are now consistently present.
2014-02-18Fix non-library appup files according to issue #240Tobias Schlager
Fix the appup files of runtime_tools and os_mon with wildcard version regexps. inets, odbc and ssh regexps have been corrected to match as originally intended.
2014-02-18[sasl] Use restart type from .rel when restarting apps during upgradeSiri Hansen
Earlier the 'restart_application' upgrade instruction always cause the application to be restarted as permanent. This could cause the system to end up in an unexpected state after an upgrade. This is now corrected.
2014-02-17Update sasl/test/test_lib.hrl with recent versions of kernel and stdlibSiri Hansen
2014-02-17Simplify comprehension compilation in v3_coreAnthony Ramine
Given that map comprehensions and generators and maybe && generators will be added to the language in the future, v3_core:lc_tq and v3_core:bc_tq could use a rewrite to avoid a complexity explosion, where there are as many related clauses as the product of the number of types of generators and the number of types of comprehensions. The new code abstract over all generators at the same time, there is only one clause for generators per type of comprehension, and all the filter code has been put in a common function filter_tq. It should also be noted that generator inputs are now compiled before the rest of the qualifiers, reversing names of nested comprehensions.
2014-02-17Merge branch 'bjorn/lc-warnings/OTP-11626'Björn Gustavsson
* bjorn/lc-warnings/OTP-11626: dialyzer: Silence useless warnings about list comprehensions
2014-02-17Correct parenthesis expansionBjörn Gustavsson
Commit dfb4ec804a099b539c91e5643090d8183885e71c attempted to add a closing parenthesis to the expansion of a funtion of zero arity if there were no other functions with the same name. Unfortunately it would add the closing parenthesis in many cases when there was another function with another name (e.g. to Mod:module_info/0 even though there is a Mod:module_info/1). Correct logic for adding parenthesis and add a test case.
2014-02-17Clean up edlin_expand_SUITE.erl to facilitate maintainanceBjörn Gustavsson
* Introduce the helper function do_expand/1. * Remove all ?line macros.
2014-02-17Merge branch 'peppe/common_test/parallel_tc_problem'Peter Andersson
* peppe/common_test/parallel_tc_problem: Fix problem with parallel test cases getting identical log file names OTP-11644
2014-02-17Merge branch 'peppe/common_test/ct_test_support_updates'Peter Andersson
* peppe/common_test/ct_test_support_updates: Fix problem with verification for parallel groups in ct_telnet_SUITE
2014-02-17Merge branch 'ia/ssl/cipher-version-mismatch/OTP-11712'Ingela Anderton Andin
* ia/ssl/cipher-version-mismatch/OTP-11712: ssl: Fix possible mismatch between SSL/TLS version and default ciphers ssl: Add test for avoiding a version and chipher suite missmatch
2014-02-14Merge branch 'nox/maps-improve-erl_expand_records'Björn-Egil Dahlberg
* nox/maps-improve-erl_expand_records: Fix expansion of records in maps
2014-02-14ssl: Fix possible mismatch between SSL/TLS version and default ciphersIngela Anderton Andin
2014-02-14ssl: Add test for avoiding a version and chipher suite missmatchIngela Anderton Andin
2014-02-14Merge branch 'weisslj/ssh-spec-doc-fixes'Henrik Nord
* weisslj/ssh-spec-doc-fixes: ssh: Fix dialyzer type specs and documentation OTP-11705
2014-02-14Merge branch 'galaxie/supress-normal-terminates'Henrik Nord
* galaxie/supress-normal-terminates: Suppress error report when child was terminated normally OTP-11685
2014-02-14Suppress error report when child was terminated normallybell
Description: Let's assume we have a supervisor_bridge as a non-permanent child of a supervisor. When the bridge terminates normally it reports by error_logger:error_report, but the supervisor does nothing. So we have tons (especially, when it's simple_one_for_one) of error messages while everything is completely ok. Let's assume we have a supervisor_bridge as a permanent child of a supervisor. When the bridge terminates, it invokes error_logger, but what for? The supervisor will invoke error_logger about this error right after that. So what is the reason for the error_logger to log for normally terminating children in this case?
2014-02-14Merge branch 'vinoski/dialyzer-doc-fix'Henrik Nord
* vinoski/dialyzer-doc-fix: fix -Wno_behaviours doc error in dialyzer man page OTP-11706
2014-02-14Merge branch 'calebh/fix-regestry-type-annotation'Henrik Nord
* calebh/fix-regestry-type-annotation: Fix alternative registry type annotations in supervisor OTP-11707
2014-02-14Merge branch 'josevalim/jv-persistent-set-env'Henrik Nord
* josevalim/jv-persistent-set-env: Allow persistent option on set_env/4 and unset_env/3 OTP-11708
2014-02-14Merge branch 'vlad/maps-jinterface/OTP-11703'Björn-Egil Dahlberg
* vlad/maps-jinterface/OTP-11703: jinterface: Fix jinterface_SUITE jinterface: update user's guide with maps jinterface: implement support for maps
2014-02-14Merge branch 'dgud/observer_fixes'Dan Gudmundsson
* dgud/observer_fixes: observer: catch progressbar errors observer: Fix observer crash when closing crashdumpviewer observer: Fix binary links observer: Fix crash when clicking on pid inside a html-term
2014-02-14Merge branch 'bjorn/asn1/fix-enum-bug/OTP-11700'Björn Gustavsson
* bjorn/asn1/fix-enum-bug/OTP-11700: Correct subtyping of extensible ENUMERATED
2014-02-14Merge branch 'kostis/beam_validator-minor-fix'Björn Gustavsson
* kostis/beam_validator-minor-fix: Change a list comprehension to a foreach/2 call
2014-02-14Merge branch 'dgud/misc-cleanup'Dan Gudmundsson
* dgud/misc-cleanup: dbg: Remove debug printouts and fix file dialog sasl: Fix testcase which didn't work on windows gs: Minor doc fix, gs is deprecated
2014-02-14Merge branch 'dgud/wx/fix-cb-cleanup/OTP-11699'Dan Gudmundsson
* dgud/wx/fix-cb-cleanup/OTP-11699: wx: Test fixes compilation warning wx: Do not warn for our own deprecated functions wx: Rewrite eventhandling again
2014-02-13ssh: Changed order of decode clauses to temp fix decode errorHans Nilsson
2014-02-13ssh: Fixes memory crashHans Nilsson
2014-02-13Fix problem with parallel test cases getting identical log file namesPeter Andersson
2014-02-13wx: Test fixes compilation warningDan Gudmundsson
and more dbg info
2014-02-13wx: Do not warn for our own deprecated functionsDan Gudmundsson
2014-02-13wx: Rewrite eventhandling againDan Gudmundsson
Remove the extra wxEvtListener that only caused confusion, now everything is automatically cleaned up by the destructors and event sent to erlang when it becomes delete for all cases.
2014-02-13Correct subtyping of extensible ENUMERATEDBjörn Gustavsson
Attempting to subtype an extensible ENUMERATED like this: BaseType ::= { foo, bar, ... } SubType ::= BaseType ( foo ) would fail to compile with a message that 'foo' was undefined. Reported-by: Morten Nygaard Åsnes
2014-02-13compiler: Change map instructions for fetching valuesBjörn-Egil Dahlberg
* Combine multiple get values with one instruction * Combine multiple check keys with one instruction
2014-02-13jinterface: Fix jinterface_SUITEBjörn-Egil Dahlberg
Let Maps be tested in the suite.
2014-02-13runtime_tools: Do not turn off scheduler_wall_timeDan Gudmundsson
Until this is reference counted it may interfere with other applications. The performance loss should (according to the implementor) be negligible with it always on.
2014-02-13Change a list comprehension to a foreach/2 callKostis Sagonas
Partly to avoid unmatched return warnings from dialyzer and in order to preserve the style of other similar-looking code in that file. While at it, fix the wording in one comment.
2014-02-13Merge branch 'bjorn/lc-warnings/OTP-11626' (early part)Björn Gustavsson
* 'bjorn/lc-warnings/OTP-11626' (early part): v3_core: Annotate list comprehensions to help out dialyzer
2014-02-13Merge branch 'nox/compiler/v3_core-case-arg-opt'Björn Gustavsson
* nox/compiler/v3_core-case-arg-opt: Optimise case arguments in sys_core_fold Run sys_core_fold twice if any inliner is used
2014-02-13Merge branch 'bjorn/tools/cover/OTP-11692'Björn Gustavsson
* bjorn/tools/cover/OTP-11692: cover: Use lists:reverse/1 instead of the home-brewn reverse function cover: Remove support for ancient formats of abstract code cover_SUITE: Run part of the test suite when cover is running test_server: Allow cover to run on itself cover: Support running cover on itself