summaryrefslogtreecommitdiff
path: root/lib/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/doc/src/c.xml12
-rw-r--r--lib/stdlib/doc/src/gen_event.xml6
-rw-r--r--lib/stdlib/doc/src/gen_server.xml4
-rw-r--r--lib/stdlib/doc/src/gen_statem.xml4
-rw-r--r--lib/stdlib/doc/src/notes.xml197
-rw-r--r--lib/stdlib/doc/src/proc_lib.xml6
-rw-r--r--lib/stdlib/doc/src/shell_docs.xml24
-rw-r--r--lib/stdlib/src/stdlib.app.src2
-rw-r--r--lib/stdlib/src/stdlib.appup.src3
-rw-r--r--lib/stdlib/vsn.mk2
10 files changed, 30 insertions, 230 deletions
diff --git a/lib/stdlib/doc/src/c.xml b/lib/stdlib/doc/src/c.xml
index b481596379..50e1dea52b 100644
--- a/lib/stdlib/doc/src/c.xml
+++ b/lib/stdlib/doc/src/c.xml
@@ -120,7 +120,7 @@
</func>
<func>
- <name name="h" arity="1" since="OTP 23.0"/>
+ <name name="h" arity="1" since="OTP @OTP-16222@"/>
<fsummary>Module help information</fsummary>
<type name="h_return"/>
<desc>
@@ -129,7 +129,7 @@
</func>
<func>
- <name name="h" arity="2" since="OTP 23.0"/>
+ <name name="h" arity="2" since="OTP @OTP-16222@"/>
<fsummary>Function help information</fsummary>
<type name="h_return"/>
<type name="hf_return"/>
@@ -139,7 +139,7 @@
</func>
<func>
- <name name="h" arity="3" since="OTP 23.0"/>
+ <name name="h" arity="3" since="OTP @OTP-16222@"/>
<fsummary>Function help information</fsummary>
<type name="h_return"/>
<type name="hf_return"/>
@@ -149,7 +149,7 @@
</func>
<func>
- <name name="ht" arity="1" since="OTP 23.0"/>
+ <name name="ht" arity="1" since="OTP @OTP-16222@"/>
<fsummary>Type help information</fsummary>
<type name="h_return"/>
<desc>
@@ -158,7 +158,7 @@
</func>
<func>
- <name name="ht" arity="2" since="OTP 23.0"/>
+ <name name="ht" arity="2" since="OTP @OTP-16222@"/>
<fsummary>Type help information</fsummary>
<type name="h_return"/>
<type name="ht_return"/>
@@ -168,7 +168,7 @@
</func>
<func>
- <name name="ht" arity="3" since="OTP 23.0"/>
+ <name name="ht" arity="3" since="OTP @OTP-16222@"/>
<fsummary>Type help information</fsummary>
<type name="h_return"/>
<type name="ht_return"/>
diff --git a/lib/stdlib/doc/src/gen_event.xml b/lib/stdlib/doc/src/gen_event.xml
index 2ddff240d2..3a5e4cb619 100644
--- a/lib/stdlib/doc/src/gen_event.xml
+++ b/lib/stdlib/doc/src/gen_event.xml
@@ -524,9 +524,9 @@ gen_event:stop -----> Module:terminate/2
</func>
<func>
- <name since="OTP 23.0">start_monitor() -> Result</name>
- <name since="OTP 23.0">start_monitor(EventMgrName | Options) -> Result</name>
- <name since="OTP 23.0">start_monitor(EventMgrName, Options) -> Result</name>
+ <name since="OTP @OTP-16120@">start_monitor() -> Result</name>
+ <name since="OTP @OTP-16120@">start_monitor(EventMgrName | Options) -> Result</name>
+ <name since="OTP @OTP-16120@">start_monitor(EventMgrName, Options) -> Result</name>
<fsummary>Create a stand-alone event manager process.</fsummary>
<type>
<v>EventMgrName = {local,Name} | {global,GlobalName} | {via,Module,ViaName}</v>
diff --git a/lib/stdlib/doc/src/gen_server.xml b/lib/stdlib/doc/src/gen_server.xml
index 4abb91439e..4ab8360fd1 100644
--- a/lib/stdlib/doc/src/gen_server.xml
+++ b/lib/stdlib/doc/src/gen_server.xml
@@ -551,8 +551,8 @@ gen_server:abcast -----> Module:handle_cast/2
</func>
<func>
- <name since="OTP 23.0">start_monitor(Module, Args, Options) -> Result</name>
- <name since="OTP 23.0">start_monitor(ServerName, Module, Args, Options) -> Result</name>
+ <name since="OTP @OTP-16120@">start_monitor(Module, Args, Options) -> Result</name>
+ <name since="OTP @OTP-16120@">start_monitor(ServerName, Module, Args, Options) -> Result</name>
<fsummary>Create a standalone <c>gen_server</c> process.</fsummary>
<type>
<v>ServerName = {local,Name} | {global,GlobalName}</v>
diff --git a/lib/stdlib/doc/src/gen_statem.xml b/lib/stdlib/doc/src/gen_statem.xml
index fa3f20535d..4c3197ef4d 100644
--- a/lib/stdlib/doc/src/gen_statem.xml
+++ b/lib/stdlib/doc/src/gen_statem.xml
@@ -2049,8 +2049,8 @@ handle_event(_, _, State, Data) ->
</func>
<func>
- <name name="start_monitor" arity="3" since="OTP 23.0"/>
- <name name="start_monitor" arity="4" since="OTP 23.0"/>
+ <name name="start_monitor" arity="3" since="OTP @OTP-16120@"/>
+ <name name="start_monitor" arity="4" since="OTP @OTP-16120@"/>
<fsummary>Create a standalone <c>gen_statem</c> process.</fsummary>
<desc>
<p>
diff --git a/lib/stdlib/doc/src/notes.xml b/lib/stdlib/doc/src/notes.xml
index 0fdc04dc01..f1737f071b 100644
--- a/lib/stdlib/doc/src/notes.xml
+++ b/lib/stdlib/doc/src/notes.xml
@@ -31,203 +31,6 @@
</header>
<p>This document describes the changes made to the STDLIB application.</p>
-<section><title>STDLIB 3.13</title>
-
- <section><title>Fixed Bugs and Malfunctions</title>
- <list>
- <item>
- <p>
- Compiling a match specification with excessive nesting
- caused the runtime system to crash due to scheduler stack
- exhaustion. Instead of crashing the runtime system,
- effected functions will now raise a <c>system_limit</c>
- error exception in this situation.</p>
- <p>
- Own Id: OTP-16431 Aux Id: ERL-592 </p>
- </item>
- <item>
- <p> Initialization of record fields using <c>_</c> is no
- longer allowed if the number of affected fields is zero.
- </p>
- <p>
- Own Id: OTP-16516</p>
- </item>
- <item>
- <p> Fix bugs in <c>eval_bits</c>. </p>
- <p>
- Own Id: OTP-16545</p>
- </item>
- </list>
- </section>
-
-
- <section><title>Improvements and New Features</title>
- <list>
- <item>
- <p>
- Improved the printout of single line logger events for
- most of the OTP behaviours in STDLIB and Kernel. This
- includes <c>proc_lib</c>, <c>gen_server</c>,
- <c>gen_event</c>, <c>gen_statem</c>, <c>gen_fsm</c>,
- <c>supervisor</c>, <c>supervisor_bridge</c> and
- <c>application</c>.</p>
- <p>
- Improved the <seeerl
- marker="kernel:logger_formatter#chars_limit"><c>chars_limit</c></seeerl>
- and <seeerl
- marker="kernel:logger_formatter#depth"><c>depth</c></seeerl>
- handling in <c>proc_lib</c> and when formatting of
- exceptions.</p>
- <p>
- Own Id: OTP-15299</p>
- </item>
- <item>
- <p>
- Remove usage and documentation of old requests of the
- I/O-protocol.</p>
- <p>
- Own Id: OTP-15695</p>
- </item>
- <item>
- <p>Improved ETS scalability of concurrent calls that
- change the size of a table, like <c>ets:insert/2</c> and
- <c>ets:delete/2</c>.</p> <p>This performance feature was
- implemented for <c>ordered_set</c> in OTP 22.0 and does
- now apply for all ETS table types.</p> <p>The improved
- scalability may come at the cost of longer latency of
- <c>ets:info(T,size)</c> and <c>ets:info(T,memory)</c>. A
- new table option <c>decentralized_counters</c> has
- therefore been added. It is default <c>true</c> for
- <c>ordered_set</c> with <c>write_concurrency</c> enabled
- and default <c>false</c> for all other table types.</p>
- <p>
- Own Id: OTP-15744 Aux Id: OTP-15623, PR-2229 </p>
- </item>
- <item>
- <p> Handle Unicode filenames in the <c>zip</c> module.
- </p>
- <p>
- Own Id: OTP-16005 Aux Id: ERL-1003, ERL-1150 </p>
- </item>
- <item>
- <p>
- Unicode support was updated to the Unicode 12.1 standard.</p>
- <p>
- Own Id: OTP-16073 Aux Id: PR-2339 </p>
- </item>
- <item>
- <p>
- All of the modules <seemfa
- marker="stdlib:proc_lib#start_monitor/3"><c>proc_lib</c></seemfa>,
- <seemfa
- marker="stdlib:gen_server#start_monitor/3"><c>gen_server</c></seemfa>,
- <seemfa
- marker="stdlib:gen_statem#start_monitor/3"><c>gen_statem</c></seemfa>,
- and <seemfa
- marker="stdlib:gen_event#start_monitor/0"><c>gen_event</c></seemfa>
- have been extended with a <c>start_monitor()</c>
- function. For more information, see the documentation of
- <c>start_monitor()</c> for these modules.</p>
- <p>
- Own Id: OTP-16120 Aux Id: ERIERL-402, PR-2427 </p>
- </item>
- <item>
- <p>
- Updates for new <c>erlang:term_to_iovec()</c> BIF.</p>
- <p>
- Own Id: OTP-16128 Aux Id: OTP-15618 </p>
- </item>
- <item>
- <p>Documented a quirk regarding extraction from file
- descriptors in <c>erl_tar</c>.</p>
- <p>
- Own Id: OTP-16171 Aux Id: ERL-1057 </p>
- </item>
- <item>
- <p>
- Added <c>ok</c> as return value to
- <c>gen_server:reply/2</c></p>
- <p>
- Own Id: OTP-16210 Aux Id: PR-2411 </p>
- </item>
- <item>
- <p>New functions have been added to <seeerl
- marker="c"><c>c(3)</c></seeerl> for printing embedded
- documentation for Erlang modules. The functions are:</p>
- <taglist> <tag>h/1,2,3</tag> <item>Print the
- documentation for a Module:Function/Arity.</item>
- <tag>ht/1,2,3</tag> <item>Print the type documentation
- for a Module:Type/Arity.</item> </taglist> <p>The
- embedded documentation is created when building the
- Erlang/OTP documentation.</p>
- <p>
- Own Id: OTP-16222</p>
- </item>
- <item>
- <p> Add <c>indent</c> and <c>linewidth</c> to the options
- of the <c>erl_pp</c> module's functions. </p>
- <p>
- Own Id: OTP-16276 Aux Id: PR-2443 </p>
- </item>
- <item>
- <p>
- Minor updates due to the new spawn improvements made.</p>
- <p>
- Own Id: OTP-16368 Aux Id: OTP-15251 </p>
- </item>
- <item>
- <p>The compiler will now raise a warning when inlining is
- used in modules that load NIFs.</p>
- <p>
- Own Id: OTP-16429 Aux Id: ERL-303 </p>
- </item>
- <item>
- <p>Refactored the internal handling of deprecated and
- removed functions.</p>
- <p>
- Own Id: OTP-16469</p>
- </item>
- <item>
- <p> Extend <c>erl_parse:abstract/1,2</c> to handle
- external fun expressions (<c>fun M:F/A</c>). </p>
- <p>
- Own Id: OTP-16480</p>
- </item>
- <item>
- <p>Added <c>filelib:safe_relative_path/2</c> to replace
- <c>filename:safe_relative_path/1</c>, which did not
- safely handle symbolic links.</p>
- <p><c>filename:safe_relative_path/1</c> has been
- deprecated.</p>
- <p>
- Own Id: OTP-16483 Aux Id: PR-2542 </p>
- </item>
- <item>
- <p>
- The module <c>shell_docs</c> has been added. The module
- contains functions for rendering, validating and
- normalizing embedded documentation.</p>
- <p>
- Own Id: OTP-16500</p>
- </item>
- <item>
- <p>
- Module and function auto-completion in the shell now
- looks at all available modules instead of only those
- loaded. A module is considered available if it either is
- loaded already or would be loaded if called.</p>
- <p>
- The auto-completion has also been expanded to work in the
- new <c>h/1,2,3</c> function in <c>c(3)</c>.</p>
- <p>
- Own Id: OTP-16501 Aux Id: OTP-16494, OTP-16222,
- OTP-16406, OTP-16499, OTP-16500, PR-2545, ERL-708 </p>
- </item>
- </list>
- </section>
-
-</section>
-
<section><title>STDLIB 3.12.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
diff --git a/lib/stdlib/doc/src/proc_lib.xml b/lib/stdlib/doc/src/proc_lib.xml
index aa649a280a..709f157b14 100644
--- a/lib/stdlib/doc/src/proc_lib.xml
+++ b/lib/stdlib/doc/src/proc_lib.xml
@@ -360,9 +360,9 @@ init(Parent) ->
</func>
<func>
- <name name="start_monitor" arity="3" since="OTP 23.0"/>
- <name name="start_monitor" arity="4" since="OTP 23.0"/>
- <name name="start_monitor" arity="5" since="OTP 23.0"/>
+ <name name="start_monitor" arity="3" since="OTP @OTP-16120@"/>
+ <name name="start_monitor" arity="4" since="OTP @OTP-16120@"/>
+ <name name="start_monitor" arity="5" since="OTP @OTP-16120@"/>
<fsummary>Start a new process synchronously.</fsummary>
<desc>
<p>
diff --git a/lib/stdlib/doc/src/shell_docs.xml b/lib/stdlib/doc/src/shell_docs.xml
index c8fba1b43e..473aabcd54 100644
--- a/lib/stdlib/doc/src/shell_docs.xml
+++ b/lib/stdlib/doc/src/shell_docs.xml
@@ -32,7 +32,7 @@
<rev>A</rev>
<file>shell_docs.xml</file>
</header>
- <module since="OTP 23.0">shell_docs</module>
+ <module since="OTP @OTP-16222@">shell_docs</module>
<modulesummary>Functions used to render EEP-48 style documentation for a shell.</modulesummary>
<description>
<p>This module can be used to render function and type documentation
@@ -70,45 +70,45 @@
<funcs>
<func>
- <name name="render" arity="2" since="OTP 23.0"/>
+ <name name="render" arity="2" since="OTP @OTP-16222@"/>
<fsummary>Render the documentation for a module.</fsummary>
<desc>
<p>Render the documentation for a module.</p>
</desc>
</func>
<func>
- <name name="render" arity="3" since="OTP 23.0"/>
- <name name="render" arity="4" since="OTP 23.0"/>
+ <name name="render" arity="3" since="OTP @OTP-16222@"/>
+ <name name="render" arity="4" since="OTP @OTP-16222@"/>
<fsummary>Render the documentation for a function.</fsummary>
<desc>
<p>Render the documentation for a function.</p>
</desc>
</func>
<func>
- <name name="render_type" arity="2" since="OTP 23.0"/>
+ <name name="render_type" arity="2" since="OTP @OTP-16222@"/>
<fsummary>Render a list of all available types in a module.</fsummary>
<desc>
<p>Render a list of all available types in a module.</p>
</desc>
</func>
<func>
- <name name="render_type" arity="3" since="OTP 23.0"/>
- <name name="render_type" arity="4" since="OTP 23.0"/>
+ <name name="render_type" arity="3" since="OTP @OTP-16222@"/>
+ <name name="render_type" arity="4" since="OTP @OTP-16222@"/>
<fsummary>Render the documentation of a type in a module.</fsummary>
<desc>
<p>Render the documentation of a type in a module.</p>
</desc>
</func>
<func>
- <name name="render_callback" arity="2" since="OTP 23.0"/>
+ <name name="render_callback" arity="2" since="OTP @OTP-16222@"/>
<fsummary>Render a list of all available callbacks in a module.</fsummary>
<desc>
<p>Render a list of all available callbacks in a module.</p>
</desc>
</func>
<func>
- <name name="render_callback" arity="3" since="OTP 23.0"/>
- <name name="render_callback" arity="4" since="OTP 23.0"/>
+ <name name="render_callback" arity="3" since="OTP @OTP-16222@"/>
+ <name name="render_callback" arity="4" since="OTP @OTP-16222@"/>
<fsummary>Render the documentation of a callback in a module.</fsummary>
<desc>
<p>Render the documentation of a callback in a module.</p>
@@ -116,7 +116,7 @@
</func>
<func>
- <name name="validate" arity="1" since="OTP 23.0"/>
+ <name name="validate" arity="1" since="OTP @OTP-16222@"/>
<fsummary>Validate the documentation</fsummary>
<desc>
<p>This function can be used to do a basic validation of
@@ -125,7 +125,7 @@
</func>
<func>
- <name name="normalize" arity="1" since="OTP 23.0"/>
+ <name name="normalize" arity="1" since="OTP @OTP-16222@"/>
<fsummary>Normalize the documentation</fsummary>
<desc>
<p>This function can be used to do whitespace normalization
diff --git a/lib/stdlib/src/stdlib.app.src b/lib/stdlib/src/stdlib.app.src
index b59e3b28c0..774f7eaa9c 100644
--- a/lib/stdlib/src/stdlib.app.src
+++ b/lib/stdlib/src/stdlib.app.src
@@ -109,6 +109,6 @@
dets]},
{applications, [kernel]},
{env, []},
- {runtime_dependencies, ["sasl-3.0","kernel-7.0","erts-11.0","crypto-3.3",
+ {runtime_dependencies, ["sasl-3.0","kernel-@OTP-15251@","erts-@OTP-15251:OTP-16431@","crypto-3.3",
"compiler-5.0"]}
]}.
diff --git a/lib/stdlib/src/stdlib.appup.src b/lib/stdlib/src/stdlib.appup.src
index 85fba9ebbd..6d6ee14d29 100644
--- a/lib/stdlib/src/stdlib.appup.src
+++ b/lib/stdlib/src/stdlib.appup.src
@@ -21,7 +21,6 @@
%% versions from the following OTP releases:
%% - OTP 21
%% - OTP 22
-%% - OTP 23
%%
%% We also allow upgrade from, and downgrade to all
%% versions that have branched off from the above
@@ -36,7 +35,6 @@
{<<"^3\\.11\\.2(?:\\.[0-9]+)*$">>,[restart_new_emulator]},
{<<"^3\\.12$">>,[restart_new_emulator]},
{<<"^3\\.12\\.0(?:\\.[0-9]+)+$">>,[restart_new_emulator]},
- {<<"^3\\.12\\.1(?:\\.[0-9]+)*$">>,[restart_new_emulator]},
{<<"^3\\.5$">>,[restart_new_emulator]},
{<<"^3\\.5\\.0(?:\\.[0-9]+)+$">>,[restart_new_emulator]},
{<<"^3\\.5\\.1(?:\\.[0-9]+)*$">>,[restart_new_emulator]},
@@ -61,7 +59,6 @@
{<<"^3\\.11\\.2(?:\\.[0-9]+)*$">>,[restart_new_emulator]},
{<<"^3\\.12$">>,[restart_new_emulator]},
{<<"^3\\.12\\.0(?:\\.[0-9]+)+$">>,[restart_new_emulator]},
- {<<"^3\\.12\\.1(?:\\.[0-9]+)*$">>,[restart_new_emulator]},
{<<"^3\\.5$">>,[restart_new_emulator]},
{<<"^3\\.5\\.0(?:\\.[0-9]+)+$">>,[restart_new_emulator]},
{<<"^3\\.5\\.1(?:\\.[0-9]+)*$">>,[restart_new_emulator]},
diff --git a/lib/stdlib/vsn.mk b/lib/stdlib/vsn.mk
index 3aa3690d12..02eee400bf 100644
--- a/lib/stdlib/vsn.mk
+++ b/lib/stdlib/vsn.mk
@@ -1 +1 @@
-STDLIB_VSN = 3.13
+STDLIB_VSN = 3.12.1