From 68b804f34d4ec420d86953e3f519179a40fbee8f Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 29 Jan 2013 11:38:41 +0100 Subject: Prepare release --- lib/stdlib/doc/src/notes.xml | 206 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 206 insertions(+) (limited to 'lib/stdlib/doc/src/notes.xml') diff --git a/lib/stdlib/doc/src/notes.xml b/lib/stdlib/doc/src/notes.xml index 2a308cbe09..13575588fd 100644 --- a/lib/stdlib/doc/src/notes.xml +++ b/lib/stdlib/doc/src/notes.xml @@ -30,6 +30,212 @@

This document describes the changes made to the STDLIB application.

+
STDLIB 1.19 + +
Fixed Bugs and Malfunctions + + +

+ Wildcards such as "some/path/*" passed to + filelib:wildcard/2 would fail to match any file. + (Thanks to Samuel Rivas for reporting this bug.)

+

+ Own Id: OTP-6874 Aux Id: kunagi-190 [101]

+
+ +

+ Fixed error handling in proc_lib:start which could hang + if the spawned process died in init.

+

+ Own Id: OTP-9803 Aux Id: kunagi-209 [120]

+
+ +

+ Allow ** in filelib:wildcard

+

+ Two adjacent * used as a single pattern will match all + files and zero or more directories and subdirectories. + (Thanks to José Valim)

+

+ Own Id: OTP-10431

+
+ +

+ Add the \gN and \g{N} syntax for back references in + re:replace/3,4 to allow use with numeric replacement + strings. (Thanks to Vance Shipley)

+

+ Own Id: OTP-10455

+
+ +

+ Export ets:match_pattern/0 type (Thanks to Joseph Wayne + Norton)

+

+ Own Id: OTP-10472

+
+ +

+ Fix printing the empty binary at depth 1 with ~W (Thanks + to Andrew Thompson)

+

+ Own Id: OTP-10504

+
+ +

The type ascii_string() in the base64 + module has been corrected. The type + file:file_info() has been cleaned up. The type + file:fd() has been made opaque in the + documentation.

+

+ Own Id: OTP-10624 Aux Id: kunagi-352 [263]

+
+
+
+ + +
Improvements and New Features + + +

Dets tables are no longer fixed while traversing with + a bound key (when only the objects with the right key are + matched). This optimization affects the functions + match/2, match_object/2, select/2, + match_delete/2, and select_delete/2.

+

+ Own Id: OTP-10097

+
+ +

Support for Unicode has been implemented.

+

+ Own Id: OTP-10302

+
+ +

The linter now warns for opaque types that are not + exported, as well as for under-specified opaque types. +

+

+ Own Id: OTP-10436

+
+ +

The type file:name() has been substituted for + the type file:filename() in the following + functions in the filename module: + absname/2, absname_join/2, join/1,2, + and split/1.

+

+ Own Id: OTP-10474

+
+ +

+ If a child process fails in its start function, then the + error reason was earlier only reported as an error report + from the error_handler, and supervisor:start_link would + only return {error,shutdown}. This has been + changed so the supervisor will now return + {error,{shutdown,Reason}}, where Reason + identifies the failing child and its error reason. + (Thanks to Tomas Pihl)

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-10490

+
+ +

Where necessary a comment stating encoding has been + added to Erlang files. The comment is meant to be removed + in Erlang/OTP R17B when UTF-8 becomes the default + encoding.

+

+ Own Id: OTP-10630

+
+ +

The contracts and types of the modules + erl_scan and sys have been corrected and + improved. (Thanks to Kostis Sagonas.)

+

+ Own Id: OTP-10658

+
+ +

The Erlang shell now skips the rest of the line when + it encounters an Erlang scanner error.

+

+ Own Id: OTP-10659

+
+ +

+ Clean up some specs in the proplists module. (Thanks to + Kostis Sagonas.)

+

+ Own Id: OTP-10663

+
+ +

Some examples overflowing the width of PDF pages have + been corrected.

+

+ Own Id: OTP-10665

+
+ +

+ Enable escript to accept emulator arguments when script + file has no shebang. Thanks to Magnus Henoch

+

+ Own Id: OTP-10691

+
+ +

+ Fix bug in queue:out/1, queue:out_r/1 that makes it + O(N^2) in worst case. Thanks to Aleksandr Erofeev.

+

+ Own Id: OTP-10722

+
+ +

There are new functions in the epp module + which read the character encoding from files. See + epp(3) for more information.

+

+ Own Id: OTP-10742 Aux Id: OTP-10302

+
+ +

The functions in io_lib have been adjusted for + Unicode. The existing functions write_string() and + so on now take Unicode strings, while the old behavior + has been taken over by new functions + write_latin1_string() and so on. There are also + new functions to write Unicode strings as Latin-1 + strings, mainly targetted towards the Erlang pretty + printer (erl_pp).

+

+ Own Id: OTP-10745 Aux Id: OTP-10302

+
+ +

The new functions proc_lib:format/2 and + erl_parse:abstract/2 accept an encoding as second + argument.

+

+ Own Id: OTP-10749 Aux Id: OTP-10302

+
+ +

+ Increased potential concurrency in ETS for + write_concurrency option. The number of internal + table locks has increased from 16 to 64. This makes it + four times less likely that two concurrent processes + writing to the same table would collide and thereby + serialized. The cost is an increased constant memory + footprint for tables using write_concurrency. The memory + consumption per inserted record is not affected. The + increased footprint can be particularly large if + write_concurrency is combined with + read_concurrency.

+

+ Own Id: OTP-10787

+
+
+
+ +
+
STDLIB 1.18.3
Fixed Bugs and Malfunctions -- cgit v1.2.3