aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
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-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-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-13jinterface: Fix jinterface_SUITEBjörn-Egil Dahlberg
Let Maps be tested in the suite.
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
2014-02-13Merge branch 'bjorn/otp_build-small-system'Björn Gustavsson
* bjorn/otp_build-small-system: otp_build: Include parsetools in the release of a small system
2014-02-13cover: Use lists:reverse/1 instead of the home-brewn reverse functionBjörn Gustavsson
2014-02-13cover: Remove support for ancient formats of abstract codeBjörn Gustavsson
The raw_abstract_v1 format that is currently used was introduced in R9C. Beam files that old cannot be executed by the current run-time system, so there is no need to continue the old formats. Removing the support will increase coverage.
2014-02-13cover_SUITE: Run part of the test suite when cover is runningBjörn Gustavsson
We used to skip the entire test suite if the cover server had already been started by common_test, but that means that we will get bad coverage for the cover module. Modify the test suite to to run all tests case that don't explicitly start or stop the cover server to increase the coverage. In addition, add a special coverage_analysis/1 test case that only runs when the cover server is already running.
2014-02-13test_server: Allow cover to run on itselfBjörn Gustavsson
2014-02-13Merge branch 'hb/fix_unmatched_returns'Hans Bolinder
* hb/fix_unmatched_returns: Fix a few of Dialyzer's unmatched_return warnings
2014-02-12Fix a few of Dialyzer's unmatched_return warningsHans Bolinder
2014-02-12jinterface: update user's guide with mapsVlad Dumitrescu
2014-02-12[stdlib] Remove a confusing comment in the re moduleHans Bolinder
The line %-opaque mp() :: {re_pattern, _, _, _, _}. has been removed. The mp() tuple is called 'opaque' in re(3), but it is not an opaque type. The out-commented -opaque declaration was confusing.
2014-02-12otp_build: Include parsetools in the release of a small systemBjörn Gustavsson
When releasing a small system like this: ./otp_build setup ./otp_build release TARGET_DIR include the parsetools application. In one of our internal scripts, a previously built and released Erlang/OTP system is used to update the primary bootstrap in a git repository. A small system could not be used for that purpose because parsetools was missing.
2014-02-12dbg: Remove debug printouts and fix file dialogDan Gudmundsson
Use default positions when open windows. Remove io:formats() for unhandled events. Fix file dialog completion window which didn't invoke refrash
2014-02-12sasl: Fix testcase which didn't work on windowsDan Gudmundsson
Quoting on Windows is strange
2014-02-12gs: Minor doc fix, gs is deprecatedDan Gudmundsson
2014-02-12Merge branch 'bjorn/compiler/optimizations/OTP-11584'Björn Gustavsson
* bjorn/compiler/optimizations/OTP-11584: Teach sys_core_fold:eval_case/2 to cope with handwritten Core Erlang sys_core_fold: Remove a redundant word in a comment
2014-02-12Merge branch 'nox/maps-erl_prettypr'Björn-Egil Dahlberg
* nox/maps-erl_prettypr: stdlib: Add tests for Maps in erl_prettypr Support maps in erl_prettypr