aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-02-09Add support for IPv6 connectionsEdwin Fine
Currently, eldap assumes that only IPv4 will be used. This change enables callers to use IPv6 by including the [inet6] option in the eldap:open/2 options list. This adds inet6 to the gen_tcp or ssl connect. For backward compatibility, [inet] is the default if inet6 is omitted.
2014-02-07Merge branch 'nox/tools/cover-record-update'Björn Gustavsson
* nox/tools/cover-record-update: Properly munge record updates in cover Don't munge record and field names in cover
2014-02-07Merge branch 'nox/eep37/OTP-11537'Björn Gustavsson
* nox/eep37/OTP-11537: Support named funs in erl_prettypr
2014-02-07Merge branch 'vladdu/debugger/fixes'Björn Gustavsson
* vladdu/debugger/fixes: remove warning for variable exported from case remove useless match remove unused parameter
2014-02-07Merge branch 'hsv/using_lists_droplast'Henrik Nord
* hsv/using_lists_droplast: lib/mnesia/test/ - Replace reverse(tl(reverse(L))) with lists:droplast/1 lib/ssh - Replace reverse(tl(reverse(L))) with lists:droplast/1 lib/wx - Replace reverse(tl(reverse(L))) with lists:droplast/1 Use lists:droplast/1 in orber/orber_interceptors.erl Import and use lists:droplast/1 in v3_core/v3_kernel OTP-11678 OTP-11677
2014-02-07Merge branch 'hsv/add_droplast_to_lists'Henrik Nord
* hsv/add_droplast_to_lists: Added documentation of lists:droplast/1 Added tests for lists:droplast/1 to stdlib/lists_SUITE stdlib/lists: Add function droplast/1 This functions drops the last element of a non-empty list.
2014-02-07Merge branch 'egil/erts/fix-maps-beam_load'Björn-Egil Dahlberg
* egil/erts/fix-maps-beam_load: compiler: Update map_SUITE with error case test erts: Maps must fail on exact updates of empty Maps erts: Fix Maps for beam_load
2014-02-07compiler: Update map_SUITE with error case testBjörn-Egil Dahlberg
M#{ key := V } should fail when M is not a Map
2014-02-07erts: Maps must fail on exact updates of empty MapsBjörn-Egil Dahlberg
Exact updates on empty Maps must fail directly.
2014-02-07Merge branch 'kostis/dialyzer-r17c0-fixes'Henrik Nord
* kostis/dialyzer-r17c0-fixes: Shut off a dialyzer unmatched return warning Add a spec for a function that does not return
2014-02-07Merge branch 'ia/ssl/unicode-adapt'Ingela Anderton Andin
* ia/ssl/unicode-adapt: ssl: Unicode adaptions
2014-02-07Merge branch 'hb/doc/release_name'Hans Bolinder
* hb/doc/release_name: Make the references to various Erlang/OTP releases verbose
2014-02-07Merge branch 'hb/dialyzer/fix_app_file'Hans Bolinder
* hb/dialyzer/fix_app_file: Add app-test and correct dialyzer.app.src
2014-02-06Merge branch 'bjorn/erts/zlib-1.2.8/OTP-11669'Björn Gustavsson
* bjorn/erts/zlib-1.2.8/OTP-11669: gzio.c: Remove unnecessary usage of the OF() macro
2014-02-06Make the references to various Erlang/OTP releases verboseHans Bolinder
2014-02-06Add app-test and correct dialyzer.app.srcHans Bolinder
2014-02-06Merge branch 'nox/maps-absform'Björn-Egil Dahlberg
* nox/maps-absform: Document maps-related abstract syntax trees
2014-02-06Merge branch 'nox/debugger/maps-support/OTP-11673'Björn-Egil Dahlberg
* nox/debugger/maps-support/OTP-11673: debugger: Fix release_tests Support maps in the debugger
2014-02-06debugger: Fix release_testsBjörn-Egil Dahlberg
2014-02-06Update primary bootstrapBjörn Gustavsson
2014-02-06Merge branch 'bjorn/compiler/applying-binary-crash/OTP-11672'Björn Gustavsson
* bjorn/compiler/applying-binary-crash/OTP-11672: beam_bsm: Eliminate emulator crash when a binary is called beam_validator: Validate the "fun" argument for a call_fun/1 instruction
2014-02-06Merge branch 'bjorn/compiler/optimizations/OTP-11584'Björn Gustavsson
* bjorn/compiler/optimizations/OTP-11584: sys_core_fold: Prevent case expressions from being evaluated twice sys_core_fold_SUITE: For cleanliness, move id/1 to the end
2014-02-06ssl: Unicode adaptionsIngela Anderton Andin
2014-02-05erts: Fix Maps for beam_loadBjörn-Egil Dahlberg
Map source may be anything, not only registers.
2014-02-05remove warning for variable exported from caseVlad Dumitrescu
2014-02-05remove useless matchVlad Dumitrescu
2014-02-05remove unused parameterVlad Dumitrescu
2014-02-05beam_bsm: Eliminate emulator crash when a binary is calledBjörn Gustavsson
We must not do the delayed binary creation optimization if the code attempts to call the matched out binary. Calling a matchstate will crash the run-time system. Reported-by: Loïc Hoguin
2014-02-05beam_validator: Validate the "fun" argument for a call_fun/1 instructionBjörn Gustavsson
The fun argument for a call_fun/1 instruction was not validated.
2014-02-05Merge branch 'hans/ssh/known_hosts/OTP-11671'Hans Nilsson
* hans/ssh/known_hosts/OTP-11671: ssh: fix 'known_hosts' bug in ssh_file
2014-02-05ssh: fix 'known_hosts' bug in ssh_fileHans Nilsson
2014-02-05Merge branch 'hans/ssh/decode_error/OTP-11667'Hans Nilsson
* hans/ssh/decode_error/OTP-11667: Fix that result on stderr sent back to ssh:exec had length info present
2014-02-05Fix that result on stderr sent back to ssh:exec had length info presentHans Nilsson
2014-02-05Merge branch 'peppe/common_test/ts_mods'Peter Andersson
* peppe/common_test/ts_mods: Add more Common Test start arguments to the ts run interface
2014-02-05Merge branch 'bjorn/eep37/OTP-11537'Björn Gustavsson
* bjorn/eep37/OTP-11537: Issue a warning when a named fun is constructed but not used
2014-02-04Add more Common Test start arguments to the ts run interfacePeter Andersson
2014-02-04gzio.c: Remove unnecessary usage of the OF() macroBjörn Gustavsson
Daniel Goertzen reported that commit 8a147a7365 broke building of Erlang/OTP on Gentoo Linux because the macro OF() was missing. Apparently, on Gentoo the OF() macro in zconf.h has been renamed to _Z_OF() (to avoid polluting the global namespace). Don't use the OF() macro in gzio.c since it no longer serves any useful purpose (it provided compatibility with pre-ANSI/ISO C compilers, but the rest of Erlang/OTP requires an ANSI/ISO C compiler anyway).
2014-02-04Merge branch 'nox/syntax_tools/maps-support/OTP-11663'Björn-Egil Dahlberg
* nox/syntax_tools/maps-support/OTP-11663: Support maps in erl_prettypr Complete support of maps in erl_syntax
2014-02-04sys_core_fold: Prevent case expressions from being evaluated twiceBjörn Gustavsson
In e12b7d5331c58b41db06cadfa4af75b78b62a2b1, a bug was introduced that would cause case expressions to be evaluated more than once if there were aliases in the pattern. Example: X = Y = io:put_chars("some chars"), {X,Y} That would be rewritten to code similar to (but in Core Erlang): X = io:put_chars("some chars"), X = io:put_chars("some chars"), {X,Y} Make sure that we only evalute the expression once by doing a transformation similar to (but in Core Erlang): NewVar = io:put_chars("some chars"), X = NewVar, Y = NewVar, {X,Y} Reported-by: José Valim Reported-by: Anthony Ramine
2014-02-04sys_core_fold_SUITE: For cleanliness, move id/1 to the endBjörn Gustavsson
2014-02-04Support maps in the debuggerAnthony Ramine
A test is commented-out in map_SUITE:t_update_exact/1, waiting for a fixed maps:update/3 function with correct integer/float semantics.
2014-02-03Merge branch 'sverk/erts/binary_to_term-maps-bug'Sverker Eriksson
* sverk/erts/binary_to_term-maps-bug: erts: Fix bug in binary_to_term for maps
2014-02-03erts: Fix bug in binary_to_term for mapsSverker Eriksson
'maps_head' was not restored when yielding. Risk for crash increases with size and number of maps in term.
2014-02-03lib/mnesia/test/ - Replace reverse(tl(reverse(L))) with lists:droplast/1Hans Svensson
2014-02-03Merge branch 'egil/compiler/strengthen-tests'Björn-Egil Dahlberg
* egil/compiler/strengthen-tests: compiler: Teach beam_disasm has_map_field instruction compiler: Fold binary Map key patterns to literals compiler: Strengthen listings tests compiler: Strengthen Maps tests
2014-02-01Properly munge record updates in coverAnthony Ramine
Trees {record,Line,Arg,Name,Fields} were not munged.
2014-02-01Don't munge record and field names in coverAnthony Ramine
They are bare atoms, atoms or variables in the abstract format, there is no need to pass them through munge_expr/2.
2014-02-01Support maps in erl_prettyprAnthony Ramine
2014-02-01Support named funs in erl_prettyprAnthony Ramine
2014-01-31Complete support of maps in erl_syntaxAnthony Ramine
map_expr/1 map_expr/2 map_expr_argument/1 map_expr_fields/1 map_field_assoc/2 map_field_assoc_name/1 map_field_assoc_value/1 map_field_exact/2 map_field_exact_name/1 map_field_exact_value/1