summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Correction for JER encoding rules so that an INTEGER value outside thekenneth/asn1_paramtype/OTP-17227Kenneth Lundin2021-04-072-3/+12
| | | | declared range are now reported as error during decode. OTP-17306, ERIERL-506
* Change the internal representation of a sequence to a property listKenneth Lundin2021-04-011-9/+11
| | | | | instead of a map to maintain the order of the fields in the resulting JSON object. This is more friendly for debugging. ERIERL-607, OTP-17297
* Merge pull request #4511 from gionea/documentationDan Gudmundsson2021-02-261-79/+75
|\ | | | | Refine Mnesia guide Overview
| * Refine Mnesia guide OverviewRobert Gionea2021-02-121-79/+75
| |
* | Merge pull request #4542 from leoliu/maintDan Gudmundsson2021-02-265-79/+56
|\ \ | | | | | | | | | tools: Fix emacs compiler warnings (#4451) OTP-17225
| * | Address failed tests in emacs_SUITELeo Liu2021-02-254-5/+7
| | |
| * | tools: Fix emacs compiler warnings (#4451)Leo Liu2021-02-222-75/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not depend on cl. Assume presence of before-save-hook (Emacs 22) and remove erlang-check-module-name-init. Remove (run-hooks 'erlang-mode-hook) from erlang-mode definition because define-derived-mode does it already. Replace erlang-caddr with caddr from Emacs 26. erlang.el now compiles cleanly in Emacs 24.5, 25, 26, 27.
* | | Merge branch 'maint-23' into maintIngela Anderton Andin2021-02-257-4/+48
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint-23: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
| * | | Updated OTP versionOTP-23.2.6Erlang/OTP2021-02-242-1/+2
| | | |
| * | | Prepare releaseErlang/OTP2021-02-245-6/+45
| | | |
| * | | Merge branch 'ingela/inets/httpd/mod-head/reject-dir/OTP-17220' into maint-23Erlang/OTP2021-02-242-4/+19
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * ingela/inets/httpd/mod-head/reject-dir/OTP-17220: inets,httpd: HEAD should reject directory link
| * \ \ \ Merge branch 'ingela/inets/httpd/relative-paths/ERIERL-608/OTP-17205' into ↵Erlang/OTP2021-02-242-8/+61
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint-23 * ingela/inets/httpd/relative-paths/ERIERL-608/OTP-17205: inets,httpd: Assure relative paths can not be used to bypass server root directory
| * \ \ \ \ Merge branch 'hans/ssh/ssh_controller_timeout/ERIERL-581/OTP-17173' into ↵Erlang/OTP2021-02-241-7/+15
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint-23 * hans/ssh/ssh_controller_timeout/ERIERL-581/OTP-17173: ssh: Fix crash of controller ssh: Longer timeout for controller calls
* | \ \ \ \ \ Merge branch 'ingela/inets/httpd/relative-paths/ERIERL-608/OTP-17205' into maintIngela Anderton Andin2021-02-242-8/+61
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | * ingela/inets/httpd/relative-paths/ERIERL-608/OTP-17205: inets,httpd: Assure relative paths can not be used to bypass server root directory
| * | | | | | inets,httpd: Assure relative paths can not be used to bypass server root ↵Ingela Anderton Andin2021-02-232-8/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directory Use of uri_string:percent_decode in commmit 5f83a9d719afac0718bff524df6654c9fc94aad5 needs to be combined with uri_string:normalize to assure valid paths. Solves CVE-2021-27563
* | | | | | | Merge branch 'ingela/inets/httpd/mod-head/reject-dir/OTP-17220' into maintIngela Anderton Andin2021-02-242-4/+19
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | * ingela/inets/httpd/mod-head/reject-dir/OTP-17220: inets,httpd: HEAD should reject directory link
| * | | | | | inets,httpd: HEAD should reject directory linkIngela Anderton Andin2021-02-232-4/+19
| |/ / / / /
* | | | | | Merge branch 'hans/ssh/ssh_controller_timeout/ERIERL-581/OTP-17173' into maintHans Nilsson2021-02-221-5/+11
|\ \ \ \ \ \ | | |_|/ / / | |/| | / / | |_|_|/ / |/| | | | * hans/ssh/ssh_controller_timeout/ERIERL-581/OTP-17173: ssh: Fix crash of controller
| * | | | ssh: Fix crash of controllerHans Nilsson2021-02-191-5/+11
| | | | | | | | | | | | | | | | | | | | if the supervisor it tries to kill is already dead.
* | | | | Merge branch 'rickard/armv8-further-membar-improvements/OTP-17195' into maintRickard Green2021-02-213-7/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rickard/armv8-further-membar-improvements/OTP-17195: Improve memory barrier usage on 64-bit ARM when compiling with gcc Remove unnecessary data dependency read barrier on ARM when identified as aarch64 Fix configure test for arm memory barrier instructions
| * | | | | Improve memory barrier usage on 64-bit ARM when compiling with gccRickard Green2021-02-191-0/+8
| | | | | |
| * | | | | Remove unnecessary data dependency read barrier on ARM when identified as ↵Rickard Green2021-02-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | aarch64
| * | | | | Fix configure test for arm memory barrier instructionsRickard Green2021-02-191-6/+9
| | | | | |
* | | | | | Merge pull request #4535 from ↵Björn Gustavsson2021-02-205-15/+80
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | bjorng/bjorn/elixir-abstract-code/GH-4353/OTP-17194 beam_lib, cover: Don't crash when an abstract code backend is missing
| * | | | | | beam_lib, cover: Don't crash when an abstract code backend is missingBjörn Gustavsson2021-02-195-15/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On a computer without Elixir installed, `beam_lib` would crash when asked to retrieve the abstract code for a BEAM file produced by the Elixir compiler. Instead of crashing when the backend module is missing, return `{error,{missing_backend,BeamFile,Backend}}`. Also update `cover` to handle the new error from `beam_lib`. Resolves #4353
* | | | | | | Merge pull request #2964 from gomoripeti/epp_dodger_pattern_macroBjörn Gustavsson2021-02-204-29/+101
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle macros in patterns OTP-17064
| * | | | | | | Handle macros in patternsPéter Gömöri2021-01-114-29/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dodger used to replace a macro with a local function call. That works in expressions but not in patterns like function heads or catch patterns. Instead of a function call a tuple syntax is used which works in more places. This change is motivated by the commonly used `?EXCEPTION` macro ``` try ... catch ?EXCEPTION(Class, Reason, StackToken) -> ... end. ``` Open source examples: https://github.com/devinus/poolboy/commit/5d40cc517edc9bb8ee70756544167b63f66662f0 https://github.com/eproxus/meck/commit/558e925b48ce257b12e381080c851dc49c87d7bb Fixes ERL-1429
* | | | | | | | Merge pull request #4539 from ergl/ergl/docs_fixRickard Green2021-02-191-4/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix punctuation, wording
| * | | | | | | | Fix punctuation, wordingergl2021-02-191-4/+4
|/ / / / / / / /
* | | | | | | | Merge branch 'maint-21' into maintRickard Green2021-02-192-0/+37
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint-21: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # make/otp_version_tickets # otp_versions.table
| * | | | | | | | Updated OTP versionOTP-21.3.8.21Erlang/OTP2021-02-192-1/+2
| | | | | | | | |
| * | | | | | | | Prepare releaseErlang/OTP2021-02-193-2/+39
| | | | | | | | |
| * | | | | | | | Merge branch 'bjorn/macos11-otp21/OTP-16779' into maint-21Erlang/OTP2021-02-1912-58/+39
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bjorn/macos11-otp21/OTP-16779: inets: Eliminate warnings in C code in tests kernel: Eliminate warnings in C code in tests erts: Eliminate warnings in C code in tests Add missing include statements in in6addr tests Update config scripts to compile for Apple Silicon (arm64) macOS: Remove version check in configure script Fix segfault(s) from variadic args on ARM64 Undo perform degradation on macOS
| * \ \ \ \ \ \ \ \ Merge branch 'rickard/aux-work-fix/OTP-17185' into maint-21Erlang/OTP2021-02-191-13/+16
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rickard/aux-work-fix/OTP-17185: Add missing memory barriers in aux work handling
| * \ \ \ \ \ \ \ \ \ Merge branch 'lukas/add-github-actions' into maint-21Erlang/OTP2021-02-195-57/+60
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/add-github-actions: Fix github action base image build Try to fix buildx caches
* | \ \ \ \ \ \ \ \ \ \ Merge branch 'maint-22' into maintRickard Green2021-02-193-4/+37
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint-22: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # make/otp_version_tickets # otp_versions.table
| * | | | | | | | | | | | Updated OTP versionOTP-22.3.4.16Erlang/OTP2021-02-192-1/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | Prepare releaseErlang/OTP2021-02-193-2/+39
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge branch 'bjorn/macos11-otp22/OTP-16779' into maint-22Erlang/OTP2021-02-1912-58/+38
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bjorn/macos11-otp22/OTP-16779: inets: Eliminate warnings in C code in tests kernel: Eliminate warnings in C code in tests erts: Eliminate warnings in C code in tests Add missing include statements in in6addr tests macOS: Remove version check in configure script Update config scripts to compile for Apple Silicon (arm64) Fix segfault(s) from variadic args on ARM64 Undo perform degradation on macOS
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'rickard/aux-work-fix/OTP-17185' into maint-22Erlang/OTP2021-02-191-13/+16
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rickard/aux-work-fix/OTP-17185: Add missing memory barriers in aux work handling
| * | | | | | | | | | | | | Merge branch 'lukas/add-github-actions' into maint-22Erlang/OTP2021-02-195-70/+105
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/add-github-actions: Fix github action base image build Try to fix buildx caches Rework docker build to use new docker build action
* | | | | | | | | | | | | | Merge branch 'hasse/tools/delete_files' into maintHans Bolinder2021-02-192-9/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hasse/tools/delete_files: tools: Delete no longer needed test files
| * | | | | | | | | | | | | | tools: Delete no longer needed test filesHans Bolinder2021-02-172-9/+0
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge branch 'lukas/erts/fix-seq-trace-token-gc/OTP-17209' into maintLukas Larsson2021-02-193-43/+141
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/erts/fix-seq-trace-token-gc/OTP-17209: erts: Fix seq_trace set_on_spawn lock check bug erts: Fix seq_trace token gc
| * | | | | | | | | | | | | | | erts: Fix seq_trace set_on_spawn lock check bugLukas Larsson2021-02-122-40/+117
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | erts: Fix seq_trace token gcLukas Larsson2021-02-082-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the seq_trace tuple is on the mature side of the young heap we need to make a copy as otherwise the tuple will be promited to the old heap before the token which will lead to all kinds of issues.
* | | | | | | | | | | | | | | | Merge branch 'sverker/runtime_tools/scheduler-docs' into maintSverker Eriksson2021-02-191-1/+27
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-17208 PR-4532
| * | | | | | | | | | | | | | | runtime_tools: Clarify scheduler docsSverker Eriksson2021-02-191-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: José Valim <jose.valim@gmail.com> Co-authored-by: Paulo F. Oliveira <paulo.ferraz.oliveira@gmail.com>
* | | | | | | | | | | | | | | | Merge pull request #4510 from ↵Rickard Green2021-02-183-0/+43
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rickard-green/rickard/ppc64-membar-improvements/OTP-17200 Improved memory barrier usage on 64-bit PowerPC
| * | | | | | | | | | | | | | | | Enable use of __atomic acquire/release barriers on 64-bit ppc for gcc >= 9.3.0Rickard Green2021-02-121-1/+13
| | | | | | | | | | | | | | | | |