summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Prepare releaseErlang/OTP2023-05-1595-168/+2463
|
* Update copyright yearErlang/OTP2023-05-1537-37/+37
|
* [stdlib] doc fixRickard Green2023-05-121-16/+13
|
* Merge pull request #7225 from frazze-jobb/frazze/kernel/escript_doc_raw_bytesFredrik Frantzen2023-05-121-0/+9
|\ | | | | | | stdlib: update doc regarding escript raw bytes incompatibility OTP-17932
| * stdlib: update doc regarding escript raw bytes incompatibilityfrazze-jobb2023-05-111-0/+9
| |
* | Merge branch 'master' into frazze/stdlib/multiline_editingFredrik Frantzen2023-05-1111-39/+220
|\ \ | |/
| * Merge pull request #7211 from frazze-jobb/frazze/kernel/send_bytes_over_stdoutFredrik Frantzen2023-05-114-13/+76
| |\ | | | | | | kernel: support sending raw byte data over stdout
| | * Testcase io_proto_SUITE:raw_stdout_isattyfrazze-jobb2023-05-101-3/+9
| | |
| | * Testcase io_proto_SUITE:raw_stdoutRickard Green2023-05-091-2/+37
| | |
| | * kernel: support sending raw byte data over stdoutfrazze-jobb2023-05-053-11/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After rewriting the shell, group.erl converts everything to Unicode. However, this is problematic if you want to send raw byte data over stdout which may contain Erlang terms converted to binary that you want to convert back to Erlang term after data transfer. If io:setopts(_, {encoding, latin1}) is set, group.erl will just send the data directly to user_drv.erl which will send the data to prim_tty.erl without converting it to Unicode.
| * | ssl: Put back premature removed default of TLS-1.3 legacy schemesIngela Anderton Andin2023-05-101-1/+1
| | |
| * | Merge pull request #7214 from ↵Ingela Andin2023-05-091-2/+8
| |\ \ | | | | | | | | | | | | | | | | IngelaAndin/ingela/ssl/better-middlebox-assert-error ssl: Improve error information when middlebox assert fails
| | * | ssl: Improve error information when middlebox assert failsIngela Anderton Andin2023-05-081-2/+8
| | |/
| * | Merge pull request #7203 from ↵Ingela Andin2023-05-095-24/+132
| |\ \ | | | | | | | | | | | | | | | | IngelaAndin/ingela/ssl/signature-algs-list/OTP-18572 ssl: Add signature_algs/2
| | * | ssl: Add signature_algs/2Ingela Anderton Andin2023-05-085-24/+132
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make it easier to configure signature algorithms with algorithms that are moved from the default add the API function signature_algs/2 that lists possible values. Also adjust signature algorithms according to TLS-1.3 RFC. That is TLS-1.3 legacy algorithms/schemes names should be used insted of TLS-1.2 algorithms names to be supported in TLS-1.2-TLS-1.3 combination. sha224 is also considered legacy and should not be part of the defaults.
| * | Merge branch 'dgud/wx/win32-debug-info'Dan Gudmundsson2023-05-081-1/+5
| |\ \ | | | | | | | | | | | | | | | | * dgud/wx/win32-debug-info: Add win32 debug info to installer
| | * | Add win32 debug info to installerDan Gudmundsson2023-04-261-1/+5
| | | | | | | | | | | | | | | | So the released wx can be debugged
* | | | kernel, stdlib: multiline editing in the shellfrazze-jobb2023-05-105-487/+1041
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Support inputting expressions that span multiple lines in erl shell. -Adding new keybindings: navigate up (ctrl+up)/(alt+up) navigate down (ctrl+down)/(alt+down) insert newline in middle of line (alt+enter) navigate top (alt+<)/(alt+shift+up) navigate bottom (alt+>)/(alt+shift+down) clear current expression (alt+c) cancel search (alt+c) -Modifies the prompt for new lines to make it clearer that the prompt has entered multiline mode. -Modifies the search prompt to support multiline statements. -Including keybinding for opening editor on mac (option+o)/(alt+o) -Redraw the prompt after continuing from jcl menu.
* | | Merge pull request #7189 from u3s/kuba/ct/doc_fix/GH-6951Jakub Witczak2023-05-054-8/+12
|\ \ \ | | | | | | | | ct: various doc fixes
| * | | ct: various doc fixesJakub Witczak2023-04-284-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix typo group/0 -> groups/1 - in groups example, wrap result term in a list - add testcase tuple in type specs for all/0 and groups/0 - add list to ct_testcase_repeat_prop() type
* | | | Merge pull request #7207 from frej/frej/private-append-fixBjörn Gustavsson2023-05-054-4/+65
|\ \ \ \ | | | | | | | | | | Fix bug in private-append transform
| * | | | compiler: Avoid invalid code for bs_create_bin with initial literalFrej Drejhammar2023-05-042-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change stops the compiler from generating invalid code when bs_create_bin is given a literal <<>> as its first fragment. As the type analyzer considers a literal <<>> an appendable bitstring, code sequences such as: _6 = bs_create_bin `append`, `[8,{segment,1}]`, `<<>>`, `all` ... _14 = bs_create_bin `append`, `[8,{segment,1}]`, _6, `all` would be rewritten to: _6 = bs_create_bin `private_append`, `[8,{segment,1}]`, `<<>>`, `all` ... _14 = bs_create_bin `private_append`, `[8,{segment,1}]`, _6, `all` which is not legal, as private_append on a literal will crash the runtime system. By inserting a bs_init_writable in front of bs_create_bin instructions with a literal <<>> as the first fragment, and then using the freshly created writable binary instead of the literal, the code sequence becomes valid: _1 = bs_init_writable `256` _6 = bs_create_bin `private_append`, `[8,{segment,1}]`, _1, `all` ... _14 = bs_create_bin `private_append`, `[8,{segment,1}]`, _6, `all`
| * | | | compiler: Fix bug in SSA-checkerFrej Drejhammar2023-05-042-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | Fix a bug in the SSA-checker where it trashes the environment after matching a literal bitstring.
* | | | | Merge branch 'maint' into masterSverker Eriksson2023-05-054-2/+34
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * | | | Merge branch 'maint-25' into maintSverker Eriksson2023-05-057-5/+37
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint-25: Updated OTP version Prepare release Update copyright year
| | * | | | Prepare releaseErlang/OTP2023-05-044-2/+34
| | | | | |
| | * | | | Update copyright yearErlang/OTP2023-05-043-3/+3
| | | | | |
| | * | | | Merge branch 'sverker/cpu_sup-port-close-error/OTP-18559' into maint-25Erlang/OTP2023-05-042-3/+3
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sverker/cpu_sup-port-close-error/OTP-18559: os_mon: Fix failing port_close
| | * \ \ \ \ Merge branch 'bjorn/compiler/beam_validator/25/GH-7147/OTP-18565' into maint-25Erlang/OTP2023-05-044-9/+110
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bjorn/compiler/beam_validator/25/GH-7147/OTP-18565: Fix two type-related bugs
* | | \ \ \ \ \ Merge pull request #7206 from qzhuyan/doc/william/typo-tls-root-funIngela Andin2023-05-051-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | doc(ssl): fix root_fun typo
| * | | | | | | | doc(ssl): fix root_fun typoWilliam Yang2023-05-041-1/+1
| | | | | | | | |
* | | | | | | | | Merge pull request #7195 from ↵Björn Gustavsson2023-05-052-86/+130
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bjorng/bjorn/stdlib/erl_lint-type-unions/GH-7116/OTP-18389 Merely warn for unbound variables in union types
| * | | | | | | | | Merely warn for unbound variables in union typesBjörn Gustavsson2023-05-032-86/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In #6864, it became an error to have unbound variables in a union. Before that, unbound variables in unions were silently ignored. For compatibility with code that used to compile before Erlang/OTP 26, change the error to a warning. The warning can be disabled with the `nowarn_singleton_typevar` option. It is expected that unbound variables in unions will again become an error in Erlang/OTP 27. Closes #7116
* | | | | | | | | | Merge branch 'ingela/inets/httpc-put-back-default-ssl-opts'Ingela Anderton Andin2023-05-051-1/+3
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ingela/inets/httpc-put-back-default-ssl-opts: inets: httpc - add back http client ssl verify options accidently removed
| * | | | | | | | | | inets: httpc - add back http client ssl verify options accidently removedIngela Anderton Andin2023-05-041-1/+3
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'maint'Sverker Eriksson2023-05-042-3/+3
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge branch 'sverker/cpu_sup-port-close-error/OTP-18559' into maintSverker Eriksson2023-05-042-3/+3
| |\ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|/ / / / | | |/| | | | | | | |
| | * | | | | | | | | os_mon: Fix failing port_closeSverker Eriksson2023-04-212-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use asynchtonous close message to not fail on already closed port.
* | | | | | | | | | | Merge pull request #7196 from juhlig/sets_v2_filter_mapgenBjörn Gustavsson2023-05-041-14/+3
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use map generator in sets:filter/2 for version 2 sets
| * | | | | | | | | | | Use map generator in sets:filter/2 for version 2 setsJan Uhlig2023-05-031-14/+3
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #7176 from robertoaloi/handle-feature-attribute-in-epp-dodgerBjörn Gustavsson2023-05-043-2/+17
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / |/| | | | | | | | | | | Handle feature attribute in epp_dodger
| * | | | | | | | | | | Handle feature attribute in epp_dodgerRoberto Aloi2023-04-263-2/+17
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #7200 from bjorng/bjorn/compiler/fix-beam_types-crash/GH-7198Björn Gustavsson2023-05-042-14/+17
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate crash in beam_types
| * | | | | | | | | | | | Eliminate crash in beam_typesBjörn Gustavsson2023-05-032-14/+17
| | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #7198
* | | | | | | | | | | | Eliminate crash in beam_ssa_typeBjörn Gustavsson2023-05-032-15/+34
| |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #7197
* | | | | | | | | | | Merge pull request #7112 from frej/frej/erl_interface-warning-fixesRickard Green2023-05-032-6/+6
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | erl_interface and escript warning fixes
| * | | | | | | | | | | erl_interface: Avoid warnings about safe sprintf usageFrej Drejhammar2023-05-022-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In erl_interface there are three uses of `sprintf` to construct host name strings. GCC 12 gives a `‘%s’ directive writing up to 254 bytes into a region of size between 1 and 256` warning at these locations, as it isn't smart enough to see that the manual bounds check is correct and that the write is safe. By switching to `snprintf` and removing the manual size calculation of the resulting string, we can both simplify the relevant code and avoid the warnings.
* | | | | | | | | | | | Merge pull request #7182 from Maria-12648430/patch-9Björn Gustavsson2023-05-033-42/+74
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | | Remove incorrect compatibility section from `gb_sets` docs
| * | | | | | | | | | | Move compatibility section to sets documentationMaria Scott2023-05-033-42/+74
| | | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'dgud/ssl/default-fail-no-peercert/OTP-18567'Dan Gudmundsson2023-05-036-25/+30
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dgud/ssl/default-fail-no-peercert/OTP-18567: ssl: Fix that users can send data during renegotiation ssl: Make fail_if_no_peer_cert default true if verify_peer is set