aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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-19erts: Introduce new instructions for combined key fetchesBjö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-19beam/utils.c: Change back cmp() to only take two argumentsBjörn Gustavsson
Commit d5c238473b9cec819d93faaef4ccc00ddb60465f added a third argument to the cmp() function, but did not change the code generation of native code that called cmp(). Name the new functions with an "erts_" prefix, and reinstate the old cmp() function with two arguments. We don't have to keep a cmp() function in the halfword emulator, since HiPE does not support the halfword emulator.
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-19Update primary bootstrapBjörn Gustavsson
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-18Updated Copyright year and recent Erlang booksByaruhanga Franklin
Added "Introducing Erlang" & "Learn You Some Elrlang for Great Good" Also changed the href for "Programming Erlang" to the new second edition.
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-17allow optional whitespace in dirty scheduler erl optionsSteve Vinoski
The +SDcpu, +SDPcpu, and +SDio options did not properly handle having their arguments immediately following them without intervening whitespace, e.g. +SDio20 was treated as an error. Fix all the dirty scheduler command line options so they handle optional whitespace between them and their associated arguments.
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-17Merge branch 'siri/patch_app/OTP-11711'Siri Hansen
* siri/patch_app/OTP-11711: Add patch_app option to otp_build
2014-02-14compiler: update 'asm' deprecation messageTuncer Ayaz
Adapt 'asm' deprecation message to new version scheme.
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 'rickard/default_acul_mod/OTP-11604'Rickard Green
* rickard/default_acul_mod/OTP-11604: Fix +Mea config
2014-02-14fix calculation of variableHenrik Nord
thanks to Alexander Demidenko
2014-02-14ssh: The server ssh_cli does not delay tty_geometry requests in case no tty ↵Hans Nilsson
is allocated
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-14Fix edoc usage errorsPierre Fenoll
Errors discovered using `erldocs`: Superfluous @hidden tag would exit edoc application; 'Multiple @spec tag': appended a @clear tag after macro condition; '@spec arity does not match': added missing argument.
2014-02-14ssh: fix 'known_hosts' bug in ssh_fileHans Nilsson
2014-02-14ssh: Changed order of decode clauses to temp fix decode errorHans Nilsson
2014-02-14ssh: Fixes memory crashHans Nilsson
2014-02-14Fix that result on stderr sent back to ssh:exec had length info presentHans Nilsson
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-13Merge branch 'hans/ssh/decodebug/OTP_11698'Hans Nilsson
* hans/ssh/decodebug/OTP_11698: ssh: Changed order of decode clauses to temp fix decode error
2014-02-13ssh: Changed order of decode clauses to temp fix decode errorHans Nilsson