aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-04-11Add scripts/diffableBjörn Gustavsson
Run scripts/diffable without arguments to print a description and a few examples.
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-10erts: Workaround test t_float_to_string for windowsSverker Eriksson
2018-04-10Set infinity timeout for auth requestsRickard Green
2018-04-10Teach erlang:monotonic_time/1 the perf_counter time unitRickard Green
2018-04-10erl_docgen: Remove git dependency in github link scriptLukas Larsson
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-10erts: Flush messages before doing init restartLukas Larsson
If messages are not flushed they would cause problems when the system is booting. For instance module load requests would be issued before the prim loader has been launched.
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-09Fix erlang:abs/2 type docsLukas Larsson
2018-04-09Update primary bootstrapBjörn Gustavsson
2018-04-09Fix makefile mkdir warningLukas Larsson
2018-04-09Merge pull request #1777 from PragTob/fix-timer.tc-documentationLukas Larsson
Reflect actual timer:tc behaviour in documentation
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-06erts: Fix doc typo for enif_free_iovecSverker Eriksson
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 pull request #1774 from bjorng/bjorn/erts/dump-literal-funsBjörn Gustavsson
Support dumping of external fun literals to a crash dump
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-06Merge pull request #1775 from MonsieurV/patch-1Lukas Larsson
Doc: use that node name between code and commands
2018-04-05Doc: use that node name between code and commandsYoan Tournade
The server_node() function in the sample code was referring to messenger@bill, while the commands that follow use messenger@super as node name. Making both names consistent make it easier for newbies to test the code.
2018-04-05inets: Avoid `erlang:get_stacktrace/0` deprecated in OTP 21Luca Favatella
2018-04-05Support dumping of external fun literals to a crash dumpBjörn Gustavsson
63e1c58d27ab (PR #1725) started to compile external funs as literals. This commit updates the dumping of literal areas to dump external fun literals to the crash dump.
2018-04-05Updated OTP versionOTP-19.3.6.8Erlang/OTP
2018-04-05Prepare releaseErlang/OTP
2018-04-05Merge branch 'hans/ssh/sftpd_rm_dir_err_19/OTP-15004' into maint-19Erlang/OTP
* hans/ssh/sftpd_rm_dir_err_19/OTP-15004: ssh: Fix ssh_sftpd:handle_op not returning State
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-05ssh: Fix ssh_sftpd:handle_op not returning StateHans Nilsson
2018-04-05Fix seq traceRickard Green
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 branch 'sverker/monitor-frenzy-fix'Sverker Eriksson
2018-04-04erts: Fix float_to_list(F, [{decimals,D}])Sverker Eriksson
to better conform with io_lib:format("~.*f", [D,F])
2018-04-04Merge pull request #1725 from michalmuskala/fun-literalsBjörn Gustavsson
Compile external fun expressions to literals OTP-15003
2018-04-04Add new "constants" to wxGLCanvasDan Gudmundsson
They can't be constants because the order differ between 3.0.3 and 3.1. So they must be looked up in runtime.
2018-04-03Add backwards compatibility for wxWidgets-3.1.1Dan Gudmundsson
wx did not build with wxWidgets-3.1.1 since they have removed wxGraphicsRenderer:CreatePen(wxPen). Get the pen info and create the pen from that in 3.1.1 as is done for wxGrahicsContext:CreatePen(wxPen).