summaryrefslogtreecommitdiff
path: root/lib/sasl
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge branch 'maint'Rickard Green2021-12-153-3/+24
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # lib/crypto/doc/src/crypto.xml # lib/kernel/src/kernel.app.src
| * | | | Prepare releaseErlang/OTP2021-12-143-3/+24
| | | | |
* | | | | Merge branch 'maint'Rickard Green2021-12-1320-20/+20
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | | * maint: Update copyright year
| * | | Update copyright yearRickard Green2021-12-1320-20/+20
| | | |
* | | | Merge branch 'maint'Lukas Larsson2021-11-301-0/+2
|\ \ \ \ | |/ / /
| * | | Merge branch 'lukas/24/test-fixes' into maintLukas Larsson2021-11-301-0/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/24/test-fixes: erts: Fix unicode printing in statistics testcase erts: Unlink with nc checker to avoid noconnect signal erts: Restore the number of dirty schedulers in scheduler SUITE erts: Cleanup error_logger after max_heap testcase erts: Try to make dump_SUITE:abort_signal more stable erts: Only run perf tests on linux platforms with jit support erts: Filter ERL env flags to old test nodes erts: Handle length offset mark in debug function sasl: Allow beam.emu to be installed for testing erts: Fix port test error on MacOS catalina stdlib: Add comment about why unlink at supervisor shutdown
| | * | | sasl: Allow beam.emu to be installed for testingLukas Larsson2021-11-301-0/+2
| | | | |
* | | | | Merge branch 'maint'Sverker Eriksson2021-11-181-4/+9
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'sverker/sasl/release_handler-fix/GH-5387/OTP-17748' into maintSverker Eriksson2021-11-181-4/+9
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | sasl: Be even more resilient of exiting processesSverker Eriksson2021-11-181-4/+9
| | | | | | | | | | | | | | | | | | | | same kind of fix as 2bb7e4844c8a5a76e6f1197137b763dca39764e4.
* | | | | Merge branch 'rickard/rpc-require-erpc/OTP-17681'Rickard Green2021-11-168-68/+244
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rickard/rpc-require-erpc/OTP-17681: hash_property_test_SUITE: Adjust test between versions sasl: replace manually updated versions with read of actual versions Adjust appup tests in sasl, kernel, stdlib rpc_SUITE: Peerify suite erpc_SUITE: also test against ei node on windows erpc_SUITE: Peerify suite erpc_SUITE: Improve testing against old nodes erpc_SUITE: Test against an ei node instead of an OTP 22 node erl_distribution_wb_SUITE: Adjust usage of rpc Drop support for 'rpc' communication with nodes lacking 'erpc'
| * | | | | sasl: replace manually updated versions with read of actual versionsRickard Green2021-10-217-16/+58
| | | | | |
| * | | | | Adjust appup tests in sasl, kernel, stdlibRickard Green2021-10-213-55/+189
| | | | | |
* | | | | | Merge pull request #5302 from ↵Lukas Larsson2021-11-164-2/+42
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ferd/systools_make-recursive-module-check/OTP-17752 Add recursion in systools_make module checks
| * | | | | | Add recursion in systools_make module checksFred Hebert2021-10-214-2/+42
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current OTP release mechanisms, systools can be configured to do a source file check to make sure any built module has a matching source file. When such a source file is not found, a warning is emitted. The current mechanism only supports looking in two directories: $app/src/ and $app/e_src/. This causes issues with existing OTP applications, such as Wx, which uses $app/src/gen/ for auto-generated modules, for example, meaning that any release relying on sub-directories as part of its build process will not pass any of the sanity checks. This patch changes the behaviour to look in all the subdirectories of $app/src and $app/e_src (on top of these directories specifically) for source files. This makes release creation warning-free for most applications. The only potential incompatibilities for this change would be: - An OTP application which has various source files with the same name, where there is specifically one of them in a subdirectory of src/ and the desired one at the top-level of e_src/, where a new file is now going to be favoured - Any subdirectory structure that loops onto itself or throws `filelib:wildcard/2` into exponential behaviour but somehow was not an issue when compiling the application normally might now be triggered. These two possible incompatibilities are something we should consider less likely than trying to build releases that contain the built-in Wx OTP application, for example.
* | | | | | [ct_slave] replace ct_slave with ?CT_PEER()Maxim Fedorov2021-11-082-11/+6
| |/ / / / |/| | | | | | | | | | | | | | Converge to using ?CT_PEER() in all OTP test cases.
* | | | | Stop using the r18, r19, r20, and r21 optionsBjörn Gustavsson2021-09-271-1/+1
| | | | |
* | | | | Merge branch 'maint'Ingela Anderton Andin2021-09-136-87/+87
|\ \ \ \ \ | |/ / / /
| * | | | test suites: replace ?t: with test_server:Maxim Fedorov2021-09-086-87/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing ?t retained for backward compatibility allows to search for test_server callsites easier. Replace ?t:fail and test_server:fail with ct:fail.
* | | | | Add app-file runtime_dependencies test and incorrect dependencies fixesKjell Winblad2021-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a test case to check that app files for the Erlang/OTP applications specifies correct versions for the dependencies in the runtime_dependencies field. The test is designed to work on the Erlang/OTP team's test servers as it assumes that all released applications are installed in particular places and that all app versions have been increased in the correct way (which is done by scripts in the Erlang/OTP team's test infrastructure). The test uses xref to try to find undefined function calls in all Erlang/OTP applications. When running xref to test an application, `xref`'s library path is set to point to folders containing beam-files for the applications that are specified as the minimum correct versions by the `runtime_dependencies` field in the application's app file. This commit also bumps the versions of several dependencies that the test found to have incorrect versiosn so they instead get the first version of the dependencies that makes the test pass.
* | | | | Fix doc spellingCheng Zhe2021-06-101-1/+1
| | | | | | | | | | | | | | | Fix doc spelling
* | | | | Merge branch 'qrede/fix-spelling'Lukas Larsson2021-06-091-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * qrede/fix-spelling: Fix doc spelling
| * | | | | Fix doc spellingCheng Zhe2021-06-091-1/+1
| | | | | |
* | | | | | Fix doc spellingCheng Zhe2021-06-081-1/+1
|/ / / / / | | | | | | | | | | Fix doc spelling
* | | | | Merge pull request #4942 from qrede/patch-6Lukas Larsson2021-06-081-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix doc spelling
| * | | | | Fix doc spellingCheng Zhe2021-06-081-1/+1
| |/ / / / | | | | | | | | | | Fix doc spelling
* | | | | Fix doc spellingCheng Zhe2021-06-081-1/+1
|/ / / / | | | | | | | | Fix doc spelling
* | | | Prepare releaseErlang/OTP2021-05-103-16/+39
| | | |
* | | | Revert "Prepare release"Henrik Nord2021-04-213-39/+16
| | | | | | | | | | | | | | | | This reverts commit 221e41bd32e433f6e08bbfedb013fc49c9aa1283.
* | | | Prepare releaseErlang/OTP2021-04-193-16/+39
| | | |
* | | | Adapt for EEP 56 changesjuhlig2021-04-141-2/+2
| | | |
* | | | sasl: Make release scripts build reproduciblyJérôme de Bretagne2021-03-281-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Remove the current date/time in scripts generated by systools_make. Contributes to #4417 (ERL-1445) and #4482 (ERL-1446).
* | | | Revert "Prepare release"Henrik Nord2021-03-263-33/+16
| | | | | | | | | | | | | | | | This reverts commit 1cc1d15c4e54c1d9d8c34a4c66193a95b10c479a.
* | | | Prepare releaseErlang/OTP2021-03-253-16/+33
| | | |
* | | | Merge branch 'maint'Henrik Nord2021-03-243-3/+30
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION
| * | | Prepare releaseErlang/OTP2021-03-223-3/+30
| | | |
* | | | Merge branch 'maint'Lukas Larsson2021-03-121-8/+13
|\ \ \ \ | |/ / /
| * | | sasl: Fix no_dot_erlang testcaseLukas Larsson2021-02-191-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set HOME to priv_dir in order to not have to change the ~/.erlang cookie on the machine we do the test on. We do not want to change the ~/.erlang as there could be other erlang services running that would be unhappy when it is changed. For instance the erlang compiler.
* | | | Eliminate warnings for underscore variables multiply boundBjörn Gustavsson2021-03-012-8/+8
| | | |
* | | | Revert "Prepare release"Henrik Nord2021-02-243-33/+16
| | | | | | | | | | | | | | | | This reverts commit bbc0f3386c2546af25936730742d8dee1664f1dd.
* | | | Prepare releaseErlang/OTP2021-02-233-16/+33
| | | |
* | | | Add optional_applications to .app resource filesJosé Valim2021-01-197-11/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both Mix and Rebar allow some applications to be absent at runtime - sometimes also known as optional dependencies. However, given optional applications are not stored in .app resource files, releases do not consider optional applications in its boot order, leaving it up to chance if an optional app will be started before its parent. Users can try to explicitly list optional applications on their release definition files, but given the order is not enforced, this manual specification may be reordered when new apps are added, leaving developers with broken releases. This PR introduces the "optional_applications" field to .app resource files. If an application is listed on both "applications" and "optional_applications", it will be attempted to be started before its parent but the parent won't fail to start in case it is missing: If application "b" is an optional application for application "a", and application "b" is missing, "application:start(a)" will still succeed. If application "b" is an optional application for application "a", and application "b" is available, "application:ensure_all_started(a)" will automatically start application "b" before "a". systools and reltool have also been modified to consider optional_applications.
* | | | Merge branch 'maint'Lukas Larsson2021-01-1815-9/+131
|\ \ \ \ | |/ / /
| * | | sasl: Fix release upgrade when replacing dependencyLukas Larsson2021-01-1815-9/+131
| | | |
* | | | otp: Remove HiPE and HiPE-related accessoriesJohn Högberg2020-11-092-39/+4
| | | |
* | | | Merge branch 'maint'Henrik Nord2020-09-233-3/+23
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION
| * | | Prepare releaseErlang/OTP2020-09-233-3/+23
| | | |
* | | | Merge branch 'maint'Sverker Eriksson2020-07-021-5/+14
|\ \ \ \ | |/ / /
| * | | Merge PR-2666 from sverker/sasl/release_handler-fix/ERL-1247/OTP-16744Sverker Eriksson2020-07-021-5/+14
| |\ \ \ | | |/ / | | | | release_handler more resilient of exiting processes during upgrade
| | * | sasl: Be more resilient of exiting processesSverker Eriksson2020-07-021-5/+14
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when asking about their status. If Proc dies during sys:get_status(Proc), then treat that the same as if it died before the call (noproc). The case of disconnection is unchanged. Not because I'm convinced it's the correct thing to do, but rather because I'm not convinced it's wrong.