aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2018-04-19Merge branch 'maint'Siri Hansen
* maint: Updated OTP version Prepare release Update appup file for sasl Fix bug in hybrid boot file used for restart_new_emulator Conflicts: OTP_VERSION lib/sasl/src/sasl.appup.src
2018-04-19Merge branch 'maint-20' into maintSiri Hansen
* maint-20: Updated OTP version Prepare release Update appup file for sasl Fix bug in hybrid boot file used for restart_new_emulator
2018-04-18Merge branch 'sverker/lock-check-matrix'Sverker Eriksson
2018-04-18Prepare releaseErlang/OTP
2018-04-18Update appup file for saslSiri Hansen
2018-04-17Merge branch 'maint'Péter Dimitrov
* maint: inets: Fix broken httpc options handling Change-Id: I9e44f0e53237a390048cab3aaf52ea0e1a5358a2
2018-04-17Merge branch 'peterdmv/httpc_delete_requests/ERL-536/OTP-15006'Péter Dimitrov
* peterdmv/httpc_delete_requests/ERL-536/OTP-15006: inets: Fix broken handling of header Content-Type Change-Id: I8d6f23d830961f71a198377351f14b0e97dcd44b
2018-04-16Fix bug in hybrid boot file used for restart_new_emulatorSiri Hansen
The old hybrid did not update preloaded and mandatory module lists and kernel processes.
2018-04-16Merge branch 'bjorn/compiler/beam_validator'Björn Gustavsson
* bjorn/compiler/beam_validator: beam_validator: Remove repeated "this" beam_validator: Remove unnecessary inclusion of beam_disasm.hrl beam_validator: Strengthen validation of remaining GC instructions
2018-04-16Merge pull request #1780 from erlang/HansN-patch-1Hans Nilsson
Update SSH(6) documentation
2018-04-16Merge pull request #1776 from surik/patch-1Hans Nilsson
Fix typo in ssh key_cb type description
2018-04-13Add zzz_SUITE with erts_debug:lc_graph last in testsSverker Eriksson
for erts, stdlib, kernel and runtime_tools.
2018-04-13erts: Add erts_debug:lc_graph/0Sverker Eriksson
Run debug VM or config with --enable-lock-checking. Exercise VM and then run erts_debug:lc_graph(). to create a file "lc_graph.<pid>" in current working directory.
2018-04-13Merge branch 'rickard/auth-timeout/ERL-601/OTP-15009'Rickard Green
* rickard/auth-timeout/ERL-601/OTP-15009: Set infinity timeout for auth requests
2018-04-12inets: Fix broken httpc options handlingPéter Dimitrov
- Add support for setting socket options per request. - Add http_ipv6 test group. Change-Id: Ia2aca37c0b5fe64a41995c79ae3399434b17ab8a
2018-04-12Merge branch 'lukas/erl_docgen/add_github_contrib_link/OTP-14979'Lukas Larsson
* lukas/erl_docgen/add_github_contrib_link/OTP-14979: erl_docgen: Remove git dependency in github link script stdlib: Fix timer monotonic time link erl_docgen: Use name based anchors where possible erl_docgen: Change ghlink icon to pencil erl_docgen: Fix ghlinks to .xmlsrc erl_docgen: Add hover links for ghlink erl_docgen: Add ghlink step for all non-generated doc xml files Fix erlang:abs/2 type docs Tickets missed in 9033a41375f3a31a18eb0cba3ea OTP-14651: temp_alloc disabling OTP-14652: msacc bugs
2018-04-11Update SSH(6) documentationHansN-patch-1Hans Nilsson
Two drafts have now been RFCs. Only editorial changes in them from implementation point of view.
2018-04-11Merge pull request #1752 from lucafavatella/httpc-connection-closePéter Dimitrov
Teach httpc to honour server connection close
2018-04-11beam_validator: Remove repeated "this"Björn Gustavsson
2018-04-11beam_validator: Remove unnecessary inclusion of beam_disasm.hrlBjörn Gustavsson
2018-04-11beam_validator: Strengthen validation of remaining GC instructionsBjörn Gustavsson
1ee21858db7e strengenthed validatation of GC instructions, but forgot the following instructions: bs_start_match2/5 bs_get_binary2/7 bs_get_float2/7 bs_get_integer2/7 bs_get_utf8/5 bs_get_utf16/5 bs_get_utf32/5 bs_skip_utf8/4 bs_skip_utf16/4 bs_skip_utf32/4
2018-04-10Set infinity timeout for auth requestsRickard Green
2018-04-10stdlib: Fix timer monotonic time linkLukas Larsson
2018-04-10erl_docgen: Use name based anchors where possibleLukas Larsson
We don't want to use generate-id as it varies across builds so it becomes impossible to link permanently to specific sections.
2018-04-10erl_docgen: Change ghlink icon to pencilLukas Larsson
2018-04-10erl_docgen: Fix ghlinks to .xmlsrcLukas Larsson
2018-04-10erl_docgen: Add hover links for ghlinkLukas Larsson
All functions, datatype and h3 headings have gotten a hover attribute that shows a link directly to the edit page on github for easy editing of documentation. The github link links to the maint branch. An early attempt was done to use the SHA of the current branch, but that did not work well as github can only take pull requests from branches.
2018-04-10Merge pull request #1751 from fhunleth/heart-timeoutLukas Larsson
Remove note about heart rebooting on NTP updates
2018-04-10kernel: Update note about heart rebooting on NTP updatesFrank Hunleth
The timestamp code in heart uses monotonic time so it is immune to NTP changes.
2018-04-09erl_docgen: Add ghlink step for all non-generated doc xml filesLukas Larsson
In order to get line numbers into the ghlink we have to add a post processing step for all xml files.
2018-04-08Reflect actual timer:tc behaviour in documentationTobias Pfeiffer
It was switched to monotnic_time from timestamp 3 years ago in d927209aa36fe370eb4ecf0a081923b0b951458b
2018-04-06Fix typo in ssh key_cb type descriptionYury Gargay
`ssh_server_key_api` was missed instead`ssh_client_key_api` mentioned two times.
2018-04-06Merge pull request #1773 from bjorng/bjorn/compiler/beam_validator-receiveBjörn Gustavsson
Check that messages outside of the heap are not corrupted
2018-04-06Check that messages outside of the heap are not corruptedBjörn Gustavsson
Waiting messages for a process may be stored in a queue outside of any heap or heap fragment belonging to the process. This is an optimization added in a recent major release to avoid garbage collection messages again and again if there is a long message queue. Until such message has been matched and accepted by the remove_message/0 instruction, the message must not be included in the root set for a garbage collection, as that would corrupt the message. The loop_rec/2 instruction explicitly turns off garbage collection of the process as long messages are being matched. However, if the compiler were to put references to a message outside of the heap in an Y register (on the stack) and there happened to be a GC when the process had been scheduled out, the message would be corrupted and the runtime system would crash sooner or later. To ensure that doesn't happen, teach beam_validator to check for references on the stack to messages outside of the heap.
2018-04-06Merge branch 'maint'Hans Nilsson
* maint: Updated OTP version Prepare release ssh: Fix ssh_sftpd:handle_op not returning State
2018-04-06Merge branch 'maint-19' into maintHans Nilsson
* maint-19: Updated OTP version Prepare release ssh: Fix ssh_sftpd:handle_op not returning State Conflicts: OTP_VERSION lib/ssh/doc/src/notes.xml lib/ssh/vsn.mk otp_versions.table
2018-04-06inets: Improve readability of handling of server `Connection: close`Luca Favatella
Addresses https://github.com/erlang/otp/pull/1752#discussion_r177970060
2018-04-06inets: Fix broken handling of header Content-TypePéter Dimitrov
Strict REST APIs does not accept HTTP requests that have no body but still include a 'Content-Type' header. RFC7231 does not forbid this corner case but as it causes interoperatbility problems in client software we opt to not send the 'Content-Type' header when the body is not present. Change-Id: I36c43225fd156fb1b651037fcbe69b448665ec23
2018-04-06inets: Work around warning in testLuca Favatella
... addressing PR comment https://github.com/erlang/otp/pull/1752#pullrequestreview-107945563
2018-04-05inets: Avoid `erlang:get_stacktrace/0` deprecated in OTP 21Luca Favatella
2018-04-05Prepare releaseErlang/OTP
2018-04-05Merge pull request #1769 from bjorng/bjorn/compiler/beam_utilsBjörn Gustavsson
Fix unsafe optimization of record test
2018-04-05ssh: Fix ssh_sftpd:handle_op not returning StateHans Nilsson
2018-04-04Fix unsafe optimization of record testBjörn Gustavsson
beam_record would make an unsafe optimization for the not_used_p/4 function added to beam_utils_SUITE in this commit. The bug is in beam_utils, which would falsely report that {x,4} was unused when it in fact was used. The bug was in the function not_used/1. The purpose of not_used/1 is to return a 'not_used' result unless the actual result is 'used'. Unfortunately it was not implemented in that way. It would let a 'transparent' result slip through, which the caller in this case would convert to 'killed' (because the register was killed on all other paths). Reported-by: Richard Carlsson
2018-04-04Merge pull request #1725 from michalmuskala/fun-literalsBjörn Gustavsson
Compile external fun expressions to literals OTP-15003
2018-03-29Merge branch 'lukas/ei/fix_tmo_test'Lukas Larsson
* lukas/ei/fix_tmo_test: ei: Include stdlib.h to fix malloc usage in ei test
2018-03-29Merge pull request #1765 from peterdmv/split_inets/OTP-14113Péter Dimitrov
Split inets OTP-14113
2018-03-29ssh: New test suite ssh_dbg_SUITE for testing ssh_dbgHans Nilsson
2018-03-29ssh: Use the new ssh_dbg moduleHans Nilsson
2018-03-29ssh: New ssh_dbg moduleHans Nilsson