aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
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-11Merge pull request #1752 from lucafavatella/httpc-connection-closePéter Dimitrov
Teach httpc to honour server connection close
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-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: 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
2018-03-29ssh: Add ssh_connection_handler:alg/1 for test purposesHans Nilsson
2018-03-29ssh: Unused fields #ssh.hkey and #ssh.kex removedHans Nilsson
2018-03-29ssh: Simplify ssh_connection and ssh_connection_handler and their internal ↵Hans Nilsson
interfaces
2018-03-29Merge branch 'hans/erl_docgen/datatype_title/OTP-15000'Hans Nilsson
* hans/erl_docgen/datatype_title/OTP-15000: erl_docgen: Add datatype-title tag to datatype tag
2018-03-29Merge branch 'ingela/ssl/DTLS-ECC'Ingela Anderton Andin
* ingela/ssl/DTLS-ECC: ssl: Cleaner test setup to avoid unintentional test case dependencies ssl: Correct ECC suite and DTLS ECC handling
2018-03-28erl_docgen: Add datatype-title tag to datatype tagHans Nilsson
2018-03-28ftp,tftp: Update initial version 1.0.0 -> 1.0Péter Dimitrov
Change-Id: I014b191da144c299d056eb155ed99ace710112b1
2018-03-28ftp,tftp: Add AUTHORS to ftp and tftpPéter Dimitrov
Change-Id: Ie0f52e82484462f8f7ec58c37ce16081af432797
2018-03-28tftp: Improve documentationPéter Dimitrov
Change-Id: Ie23a40e7159fe632cf5514ac617de17c5d5b5ce2
2018-03-28common_test: Remove dependency to inets ftpPéter Dimitrov
- Update ct_ftp to use the new FTP application. Change-Id: I84223107361132ea3144cdf7421738c4bebffa40
2018-03-28tftp: Add tests (app, appup, start_tftpd)Péter Dimitrov
Change-Id: I585ba5097632d460705257f03cb44adf8038f0be
2018-03-28inets: Fix inets:services()Péter Dimitrov
Change-Id: I20d44e771577b19060fbba0b2e83f64909c60faa
2018-03-28tftp: Fix dialyzer warningsPéter Dimitrov
Change-Id: Ie1e8a3fa458ee38a1c0b6a0f19e27e76c267688e
2018-03-28inets,tftp: Break out TFTP from inetsPéter Dimitrov
- Create directory structure - Move code, tests, documentation from inets - Add inets_tftp_wrapper - Add tftp app to run-dialyzer script Change-Id: I6a142ae66cecb9a1821cbf9ea6a45f66a836763d
2018-03-28ftp: Fix dialyzer warningsPéter Dimitrov
Change-Id: I695066755f8394619d5f231a1060e467f2c82edf
2018-03-28ftp: Fix ftp test suitePéter Dimitrov
- vsftpd =< 3.0.2 does not support ECDHE ciphers and the ssl application removed ciphers with RSA key exchange from its default cipher list. To allow interoperability with old versions of vsftpd, cipher suites with RSA key exchange are appended to the default cipher list. - Fix regex in ftp.appup.src Change-Id: I53ce3b7f198ae95825eb0b5d39e94bdcebe78391
2018-03-28stdlib: Remove reference to inets:ftp in erl_tar.xmlPéter Dimitrov
Change-Id: I5328d5feeac3b7279a8770e8fc27e2d9e8eed359
2018-03-28inets: Fix broken link warningPéter Dimitrov
Change-Id: I9ec81e25d8135fa624554b5d011b2c554b3481d5
2018-03-28ftp: Update app.src filePéter Dimitrov
Change-Id: I4939a45cde292347975d8b870caeff15724046d2
2018-03-28inets: Fix missing anchor warningsPéter Dimitrov
Change-Id: Ifc3359b62e14b68320645f5d7c90bf1b9ccae016
2018-03-28ftp: Remove references to inetsPéter Dimitrov
Change-Id: I19bd2f1d4a35cbc5c233ebc8b2a9d52bbd37f047
2018-03-28ftp: Remove legacy tracing macrosPéter Dimitrov
Change-Id: Ie9cfc5902f3ec7f97df6f0764ff88b954139d87b