summaryrefslogtreecommitdiff
path: root/lib/reltool
Commit message (Collapse)AuthorAgeFilesLines
* reltool: Ignore ERL_LIBS in test casesLukas Larsson2021-02-191-1/+8
| | | | | | | If ERL_LIBS is set when the testrun is started the reltool_server_SUITE fails to run. So we clear it before we start that suite and restore it afterwards in case in contains something we need.
* reltool: Fix sorting of erl_libsLukas Larsson2020-04-221-1/+1
| | | | | The internal state of reltool does not sort the erl_libs so neither should the test functions.
* otp: Convert all <seealso> to more specific variantsLukas Larsson2020-03-271-4/+4
| | | | | | | | | | | | We add `seemfa`, `seeerl`, `seetype`, `seeapp`, `seecom`, `seecref` , `seefile` and `seeguide` in order to make it easier to reason about what each link points to without examining the target. This information will then be embedded in the EEP-48 chunks for usage by other tools. The tool used can be found here: https://gist.github.com/garazdawi/68527d92ae5b37c8f129bfbdfffdfa68
* otp: Change all MFA links to use "/" syntax for arityLukas Larsson2020-03-201-4/+4
|
* Add DOC_TARGETS makefile variableLukas Larsson2020-02-241-0/+3
| | | | | The variable can be set to pdf, html, man or chunks and also any combination of the above.
* otp: Refactor doc make system and introduce EEP-48Lukas Larsson2020-02-241-76/+1
|
* Merge branch 'maint'Lukas Larsson2019-11-142-1/+3
|\
| * erts: Add -emu_type opt for overriding other -emu_type flagsLukas Larsson2019-11-142-1/+3
| |
* | Add 'make dialyzer' target to top and appsLukas Larsson2019-06-261-0/+2
| |
* | Add "make test" command for root and application directoriesKjell Winblad2019-06-261-0/+1
|/ | | | The added make target is described in HOWTO/TESTING.md.
* Prepare releaseErlang/OTP2019-05-102-2/+35
|
* Revert "Prepare release"Rickard Green2019-04-242-35/+2
| | | | This reverts commit 425889ba69b69a9b6fb14bfbef121d51b78e853a.
* Prepare releaseErlang/OTP2019-04-232-2/+35
|
* Revert "Prepare release"Henrik Nord2019-03-262-35/+2
| | | | This reverts commit 0118046f9bda8dcf3594184fa439b79267db8017.
* Prepare releaseErlang/OTP2019-03-252-2/+35
|
* Revert "Prepare release"Rickard Green2019-02-272-35/+2
| | | | This reverts commit df130102cdeca8d35fec95a0c926fd1cfec54eab.
* Prepare releaseErlang/OTP2019-02-262-2/+35
|
* Merge branch 'siri/cuddle-master'Siri Hansen2019-02-213-42/+96
|\ | | | | | | | | | | | | | | * siri/cuddle-master: Update sasl/test/test_lib.hrl with recent versions of kernel and stdlib [logger] Fix faulty report_cb in logger_disk_log_h_SUITE:logging/1 [cdv] Update compiler directive for release compatibility [reltool] Make test pass when $ERL_LIBS is set
| * [reltool] Make test pass when $ERL_LIBS is setSiri Hansen2019-02-213-42/+96
| |
* | reltool: Add load_dot_erlang rel optionMichael Truog2019-01-196-26/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a rel tuple to the reltool release specific configuration format as {rel, Name, Vsn, RelApps, Opts} to support the use of {rel, Name, Vsn, RelApps, [{load_dot_erlang, false}]} for preventing the insertion of {apply,{c,erlangrc,[]}} into the release script file and the release boot file. This change makes it possible to prevent releases generated with reltool from attempting to load a ${HOME}/.erlang file which is desirable for production deployment of Erlang, to have greater control of what BEAM evaluates. The ${HOME}/.erlang file lacks visibility and its location on the filesystem separate from where the release lives means it can be misused in a way that lacks visibility.
* | Merge branch 'maint'Sverker Eriksson2018-12-131-16/+16
|\ \
| * | Add empty 'since' attribute for old modules and functionsSverker Eriksson2018-12-121-15/+15
| | |
| * | Add "since" attributes in xml for new functions and modulesSverker Eriksson2018-12-111-1/+1
| | | | | | | | | | | | introduced after OTP_R13B03.
* | | Merge branch 'maint'Henrik Nord2018-12-112-2/+20
|\ \ \ | |/ / | | | | | | | | | | | | * maint: Updated OTP version Prepare release
| * | Prepare releaseErlang/OTP2018-12-102-2/+20
| | |
* | | Merge branch 'maint'Siri Hansen2018-11-282-3/+26
|\ \ \ | |/ /
| * | Fix windows backslashes in testStavros Aronis2018-10-291-2/+2
| | |
| * | Make reltool correctly handle Windows 'ERL_LIBS'Stavros Aronis2018-10-262-3/+26
| | | | | | | | | | | | | | | Without this patch reltool would try to split strings like "C:\foo" into ["C","\foo"].
* | | Merge branch 'richcarl/erts/erl_init-cleanup/OTP-15336'Lukas Larsson2018-10-011-2/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * richcarl/erts/erl_init-cleanup/OTP-15336: sasl: Order systools_make:preloaded modules alphabetically Update preloaded modules Move calling on_load for preloaded modules to erl_init Make erl_init.c pass the boot module to erl_init.beam Remove obsolete comment text Remove undocumented and unused -# display_items emulator option Remove broken and undocumented boot function emulator option Replace remaining references to otp_ring0 with erl_init Drop otp_ring0, using erl_init instead Update preloaded modules Add erl_init module Conflicts: erts/emulator/beam/erl_init.c erts/preloaded/ebin/erl_prim_loader.beam erts/preloaded/ebin/erl_tracer.beam erts/preloaded/ebin/erlang.beam erts/preloaded/ebin/erts_code_purger.beam erts/preloaded/ebin/erts_dirty_process_signal_handler.beam erts/preloaded/ebin/erts_internal.beam erts/preloaded/ebin/erts_literal_area_collector.beam erts/preloaded/ebin/init.beam erts/preloaded/ebin/otp_ring0.beam erts/preloaded/ebin/prim_buffer.beam erts/preloaded/ebin/prim_eval.beam erts/preloaded/ebin/prim_file.beam erts/preloaded/ebin/prim_inet.beam erts/preloaded/ebin/prim_zip.beam erts/preloaded/ebin/zlib.beam
| * | Replace remaining references to otp_ring0 with erl_initRichard Carlsson2018-05-231-2/+2
| | |
* | | Merge branch 'maint'Henrik Nord2018-09-252-2/+17
|\ \ \ | | |/ | |/|
| * | Prepare releaseErlang/OTP2018-09-242-2/+17
| | |
* | | Merge branch 'maint'Henrik Nord2018-09-212-2/+2
|\ \ \ | |/ /
| * | Update copyright yearHenrik Nord2018-09-212-2/+2
| | |
* | | Merge branch 'maint'Lukas Larsson2018-08-161-1/+1
|\ \ \ | |/ /
| * | fix double parenthesis and badly formatter <v> tagsMariano Guerra2018-08-151-1/+1
| | | | | | | | | | | | (cherry picked from commit 1b36c8ff81e896f9aa172603962f838d980668a0)
* | | Change "can not" into "cannot"Raimo Niskanen2018-07-272-3/+3
|/ / | | | | | | | | I did not find any legitimate use of "can not", however skipped changing e.g RFCs archived in the source tree.
* | docs: make clean all XMLDIRLukas Larsson2018-07-131-0/+1
| |
* | Prepare releaseErlang/OTP2018-06-192-2/+17
| |
* | Update copyright yearHenrik Nord2018-06-1815-15/+15
| |
* | Revert "Prepare release"Henrik2018-05-292-17/+2
| | | | | | | | This reverts commit fd8e49b5bddceaae803670121b603b5eee8c5c08.
* | Prepare releaseErlang/OTP2018-05-252-2/+17
|/
* Revert "Update release notes"Henrik2018-05-021-16/+1
| | | | This reverts commit 202bb737e3deabfebee683266f4b7c42781eb521.
* Revert "Update version numbers"Henrik2018-05-021-1/+1
| | | | This reverts commit 345f7f527a4c26ef49cef0d81e2c8b71bf01ebc3.
* Update release notesErlang/OTP2018-04-301-1/+16
|
* Update version numbersErlang/OTP2018-04-301-1/+1
|
* Remove error_logger process and add logger processSiri Hansen2018-04-261-1/+1
|
* Implementation of true asynchronous signaling between processesRickard Green2018-03-211-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Communication between Erlang processes has conceptually always been performed through asynchronous signaling. The runtime system implementation has however previously preformed most operation synchronously. In a system with only one true thread of execution, this is not problematic (often the opposite). In a system with multiple threads of execution (as current runtime system implementation with SMP support) it becomes problematic. This since it often involves locking of structures when updating them which in turn cause resource contention. Utilizing true asynchronous communication often avoids these resource contention issues. The case that triggered this change was contention on the link lock due to frequent updates of the monitor trees during communication with a frequently used server. The signal order delivery guarantees of the language makes it hard to change the implementation of only some signals to use true asynchronous signaling. Therefore the implementations of (almost) all signals have been changed. Currently the following signals have been implemented as true asynchronous signals: - Message signals - Exit signals - Monitor signals - Demonitor signals - Monitor triggered signals (DOWN, CHANGE, etc) - Link signals - Unlink signals - Group leader signals All of the above already defined as asynchronous signals in the language. The implementation of messages signals was quite asynchronous to begin with, but had quite strict delivery constraints due to the ordering guarantees of signals between a pair of processes. The previously used message queue partitioned into two halves has been replaced by a more general signal queue partitioned into three parts that service all kinds of signals. More details regarding the signal queue can be found in comments in the erl_proc_sig_queue.h file. The monitor and link implementations have also been completely replaced in order to fit the new asynchronous signaling implementation as good as possible. More details regarding the new monitor and link implementations can be found in the erl_monitor_link.h file.
* reltool: Do not call erlang:get_stacktrace()Hans Bolinder2018-02-064-9/+9
|
* Merge branch 'dgud/dot_erlang/OTP-14439'Dan Gudmundsson2017-10-174-5/+18
|\ | | | | | | | | | | | | | | | | | | | | * dgud/dot_erlang/OTP-14439: fixup! Do not load .erlang from current dir erlc: Do not load .erlang escript: Do not load .erlang dialyzer: Do not load .erlang reltool: Add no_dot_erlang bootfiles Enable usage of no_dot_erlang in bootstrap Do not load .erlang from current dir