aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2017-04-28Merge branch 'raimo/gen_statem-dev'Raimo Niskanen
OTP-14531 Generic time-outs in gen_statem Conflicts: lib/stdlib/test/erl_internal_SUITE.erl
2017-04-28Merge branch 'ingela/ssl/cacha-default/OTP-14382'Ingela Anderton Andin
* ingela/ssl/cacha-default/OTP-14382: ssl: Cacha is currently not tested enough to be most prefered.
2017-04-28ssl: Cacha is currently not tested enough to be most prefered.Ingela Anderton Andin
2017-04-28Merge branch 'ingela/dtls/mac'Ingela Anderton Andin
* ingela/dtls/mac: ssl: Correct DTLS mac handling
2017-04-28Merge branch 'dgud/wx/pr/1425'Dan Gudmundsson
* dgud/wx/pr/1425: wxe_impl.cpp: pointer comparison fix
2017-04-28Merge branch 'dgud/emacs/update-bifs'Lukas Larsson
* dgud/emacs/update-bifs: Update available bifs for 20
2017-04-28Update available bifs for 20Dan Gudmundsson
2017-04-28Merge branch 'hasse/stdlib/fix_qlc_bug/OTP-14296'Hans Bolinder
* hasse/stdlib/fix_qlc_bug/OTP-14296: stdlib: Fix a test in sofs_SUITE debugger: Improve handling of pids, ports, and refs stdlib: Improve handling of pids, ports, and refs in qlc stdlib: Improve the Erlang shell's handling of references
2017-04-27Restore Emacs 25 supportJohan Claesson
Fix loading of byte-compiled erlang.elc on Emacs 25 and the erlang shell.
2017-04-27Merge branch 'zandra/kernel/file_name_SUITE-cuddle'Zandra Norman
* zandra/kernel/file_name_SUITE-cuddle: Kernel: fix file_name_SUITE:icky test case
2017-04-27Merge branch 'rickard/ets-tid-fix/OTP-14094'Rickard Green
* rickard/ets-tid-fix/OTP-14094: Fix typespec of the opaque type tid() of the ETS module
2017-04-27[erl_docgen] Update the reference manual function name sortLars Thorsen
The function for sorting the table of contents is updated to handle reference manuals with C functions.
2017-04-27Merge pull request #1369 from JYZR/fix-xmerl_scan-accLars Thorsén
Improves accumulator fun in xmerl_scan so that only one #xmlText record is returned for strings which have character references. OTP-14377 Improves accumulator fun in xmerl_scan
2017-04-27Merge remote-tracking branch ↵Hans Bolinder
'siri/siri/observer/ports-tab-unavailable/ERL-399/OTP-14345' * siri/siri/observer/ports-tab-unavailable/ERL-399/OTP-14345: [observer] Don't crash if port info can not be fetched
2017-04-27Merge remote-tracking branch 'siri/siri/reltool/revert-remove-typer-from-filter'Hans Bolinder
* siri/siri/reltool/revert-remove-typer-from-filter: Revert changes in exclude filters from 6a4d4b43914a5
2017-04-27Merge branch 'hasse/unicode_atoms/OTP-14285'Hans Bolinder
* hasse/unicode_atoms/OTP-14285: stdlib: Add Unicode modifier t to control sequence a stdlib: Add Unicode modifier t to control sequences w and W
2017-04-27Merge branch 'hasse/edoc/revert_string_fix'Hans Bolinder
* hasse/edoc/revert_string_fix: edoc: Revert fixes for string:length/1
2017-04-27Merge branch 'ingela/deprecate/gen_fsm/OTP-14183'Ingela Anderton Andin
* ingela/deprecate/gen_fsm/OTP-14183: stdlib: Deprecate gen_fsm Conflicts: lib/stdlib/doc/src/gen_fsm.xml
2017-04-27stdlib: Deprecate gen_fsmIngela Anderton Andin
2017-04-27stdlib: Fix a test in sofs_SUITEHans Bolinder
2017-04-27debugger: Improve handling of pids, ports, and refsHans Bolinder
The extended parser is used by the debugger for handling pids, ports, references, and external funs in the evaluator area and in the bindings area. Notice that pids, ports, references, and external funs that cannot be created in the currently running are ignored (as before).
2017-04-27stdlib: Improve handling of pids, ports, and refs in qlcHans Bolinder
The extended parser introduced in last commit is used in qlc for solving an old bug: pids and refs could not be parsed by string_to_handle(). The parser is also used for adjustments regarding ETS identifiers (now references) in qlc_SUITE. Notice that pids, references, ports, and external functions that cannot be created in the currently running system cause syntax errors (as before).
2017-04-27stdlib: Improve the Erlang shell's handling of referencesHans Bolinder
As of Erlang/OTP 20.0, the type of ETS tables, ets:tid(), is a reference(). A request was put forward that the Erlang shell should be able to handle references in its input. This commit introduces an extended parser in module lib. It can parse pids, ports, references, and external funs under the condition that they can be created in the running system. The parser is meant to be used internally in Erlang/OTP. The alternative, to extend erl_scan and erl_parse, was deemed inferior as it would require the abstract format be able to represent pids, ports, references, and funs, which would be confusing as they are not expressions as such, but data types.
2017-04-27Merge branch 'rand/arbitrary_normal_distributions'Raimo Niskanen
* rand/arbitrary_normal_distributions: Show test case progress
2017-04-27Merge branch 'raimo/rand-dev/OTP-14295'Raimo Niskanen
* raimo/rand-dev/OTP-14295: Select better test measure points
2017-04-27Show test case progressRaimo Niskanen
2017-04-26Select better test measure pointsRaimo Niskanen
2017-04-26ssl: Correct DTLS mac handlingIngela Anderton Andin
2017-04-26Merge branch 'siri/unicode-atoms'Siri Hansen
* siri/unicode-atoms: Document that app names and nodes names are restricted to latin-1 Conflicts: lib/stdlib/doc/src/unicode_usage.xml
2017-04-26edoc: Revert fixes for string:length/1Hans Bolinder
Reverts commits cef44e1 and 548f4e3.
2017-04-26Merge pull request #1215 from marianoguerra/improve-docs-styleLars Thorsén
Merge PR-1215 from 'marianoguerra/improve-docs-style' OTP-14371 Improve Documentation Style
2017-04-26Merge pull request #1367 from josevalim/jv-dbgi-chunkBjörn Gustavsson
Introduce new "Dbgi" chunk OTP-14369
2017-04-26Merge branch 'raimo/rand-dev/OTP-14295'Raimo Niskanen
* raimo/rand-dev/OTP-14295: Polish
2017-04-26Revert changes in exclude filters from 6a4d4b43914a5Siri Hansen
typer.c is re-introduced in the OTP-repository, so the typer executable should still be listed in default exclude filters in reltool.
2017-04-26PolishRaimo Niskanen
2017-04-25Merge branch 'sverker/refactor'Sverker Eriksson
* sverker/refactor: erts: Introduce struct binary_internals erts: Introduce erts_bin_release erts: Init refc=1 in erts_bin_drv_alloc* erts: Init refc=1 in erts_bin_nrml_alloc erts: Remove deliberate leak of hipe fun entries erts: Remove hipe_bifs:remove_refs_from/1 Refactor hipe specific code to use ErtsCodeInfo erts: Refactor ErtsCodeInfo.native
2017-04-25[observer] Don't crash if port info can not be fetchedSiri Hansen
When the observed node is older than OTP-19.0, observer_backend:get_port_list/1 does not exist. Observer would earliger crash in this situation. This is now corrected and a popup is displayed instead.
2017-04-25Kernel: fix file_name_SUITE:icky test caseZandra Norman
2017-04-25Merge branch 'ingela/available_hash_signature_algs/OTP-13820'Ingela Anderton Andin
* ingela/available_hash_signature_algs/OTP-13820: ssl: TLS-1.2 clients will now always send hello messages on its own format.
2017-04-25Fix typespec of the opaque type tid() of the ETS moduleRickard Green
2017-04-25Merge pull request #1411 from bbatsov/drop-legacy-codeDan Gudmundsson
Drop some legacy Emacs compatibility code
2017-04-25Document that app names and nodes names are restricted to latin-1Siri Hansen
2017-04-25Merge branch 'lukas/erts/list_to_port/OTP-14348'Lukas Larsson
* lukas/erts/list_to_port/OTP-14348: erts: Add erlang:list_to_port/1 debug bif erts: Auto-import port_to_list for consistency erts: Polish off erlang:list_to_ref/1
2017-04-25erts: Add erlang:list_to_port/1 debug bifLukas Larsson
2017-04-25erts: Auto-import port_to_list for consistencyLukas Larsson
Follow the same pattern as pid_to_list
2017-04-25warnings_as_errors and outdir do not affect code generationJosé Valim
By moving to effects_code_generation/1, there is no need to explicitly remove those options when storing compile information in the DebugInfo chunk.
2017-04-25Store abstract code in the Dbgi chunkJosé Valim
The new Dbgi chunk returns data in the following format: {debug_info_v1, Backend, Data} This allows compilers to store the debug info in different formats. In order to retrieve a particular format, for instance, Erlang Abstract Format, one may invoke: Backend:debug_info(erlang_v1, Module, Data, Opts) Besides introducing the chunk above, this commit also: * Changes beam_lib:chunk(Beam, [:abstract_code]) to read from the new Dbgi chunk while keeping backwards compatibility with old .beams * Adds the {debug_info, {Backend, Data}} option to compile:file/2 and friends that are stored in the Dbgi chunk. This allows the debug info encryption mechanism to work across compilers * Improves dialyzer to work directly on Core Erlang, allowing languages that do not have the Erlang Abstract Format to be dialyzer as long as they emit the new chunk and their backend implementation is available Backwards compatibility is kept across the board except for those calling beam_lib:chunk(Beam, ["Abst"]), as the old chunk is no longer available. Note however the "Abst" chunk has always been optional. Future OTP versions may remove parsing the "Abst" chunk altogether from beam_lib once Erlang 19 and earlier is no longer supported. The current Dialyzer implementation still supports earlier .beam files and such may also be removed in future versions.
2017-04-25Merge branch 'maint'Hans Bolinder
* maint: stdlib: Fix documentation on sets’ representation
2017-04-25Merge branch 'lukas/erts/deprecate-non-smp/OTP-14272'Lukas Larsson
* lukas/erts/deprecate-non-smp/OTP-14272: erts: Fix testcases for smp +S 1:1 erts: Deprecate the non-smp emulators
2017-04-25stdlib: Remove the shell's support for Unicode node namesHans Bolinder
The Erlang shell's temporary support for Unicode node names is removed. There will be no support for Unicode node names in Erlang/OTP 20.0.