From 0f423c54e4dc7348b551508fbcb3b479420a196f Mon Sep 17 00:00:00 2001
From: Patrik Nyblom
unicode_binary() = binary() with characters encoded in UTF-8 coding standard
unicode_char() = integer() representing valid unicode codepoint
--
cgit v1.2.3
From d16aa7f83af727f5495dd4883efb603dc8b941bb Mon Sep 17 00:00:00 2001
From: Raimo Niskanen
Date: Thu, 9 Dec 2010 16:28:11 +0100
Subject: Fix ~F.Fs bug, add testcase and improve documentation
---
lib/stdlib/doc/src/io.xml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
(limited to 'lib/stdlib/doc')
diff --git a/lib/stdlib/doc/src/io.xml b/lib/stdlib/doc/src/io.xml
index efbb1fc078..81fb5cad3d 100644
--- a/lib/stdlib/doc/src/io.xml
+++ b/lib/stdlib/doc/src/io.xml
@@ -464,9 +464,9 @@ ok
Prints the argument with the string syntax. The
argument is, if no Unicode translation modifier is present, an
I/O list , a binary, or an atom. If the Unicode translation modifier ('t') is in effect, the argument is chardata(), meaning that binaries are in UTF-8. The characters
- are printed without quotes. In this format, the printed
- argument is truncated to the given precision and field
- width.
+ are printed without quotes. The string is first truncated
+ by the given precision and then padded and justified
+ to the given field width. The default precision is the field width.
This format can be used for printing any object and
truncating the output so it fits a specified field:
@@ -475,6 +475,8 @@ ok
ok
4> io:fwrite("|~10s|~n", [io_lib:write({hey, hey, hey})]).
|{hey,hey,h|
+5> io:fwrite("|~-10.8s|~n", [io_lib:write({hey, hey, hey})]).
+|{hey,hey |
ok
A list with integers larger than 255 is considered an error if the Unicode translation modifier is not given:
--
cgit v1.2.3
From 82106ef01f26a1d1a862b7f57fc580cbe46428b2 Mon Sep 17 00:00:00 2001
From: Ricardo
Date: Thu, 10 Mar 2011 15:07:36 +0100
Subject: Fix typo in filelib module doc
---
lib/stdlib/doc/src/filelib.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'lib/stdlib/doc')
diff --git a/lib/stdlib/doc/src/filelib.xml b/lib/stdlib/doc/src/filelib.xml
index 47d64f245c..e39ce914f7 100644
--- a/lib/stdlib/doc/src/filelib.xml
+++ b/lib/stdlib/doc/src/filelib.xml
@@ -44,7 +44,7 @@
DATA TYPES
-filename() = = string() | atom() | DeepList | RawFilename
+filename() = string() | atom() | DeepList | RawFilename
DeepList = [char() | atom() | DeepList]
RawFilename = binary()
If VM is in unicode filename mode, string() and char() are allowed to be > 255.
--
cgit v1.2.3
From d53be747c945d5e86997e1944446795b271dacb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?=
Date: Fri, 11 Mar 2011 17:34:22 +0100
Subject: Update copyright years
---
lib/stdlib/doc/src/calendar.xml | 2 +-
lib/stdlib/doc/src/dict.xml | 2 +-
lib/stdlib/doc/src/erl_expand_records.xml | 2 +-
lib/stdlib/doc/src/erl_internal.xml | 2 +-
lib/stdlib/doc/src/erl_pp.xml | 2 +-
lib/stdlib/doc/src/filelib.xml | 2 +-
lib/stdlib/doc/src/io_protocol.xml | 2 +-
lib/stdlib/doc/src/log_mf_h.xml | 2 +-
lib/stdlib/doc/src/math.xml | 2 +-
lib/stdlib/doc/src/orddict.xml | 2 +-
lib/stdlib/doc/src/part_notes_history.xml | 2 +-
lib/stdlib/doc/src/pg.xml | 2 +-
lib/stdlib/doc/src/re.xml | 2 +-
lib/stdlib/doc/src/shell_default.xml | 2 +-
lib/stdlib/doc/src/supervisor_bridge.xml | 2 +-
lib/stdlib/doc/src/timer.xml | 2 +-
16 files changed, 16 insertions(+), 16 deletions(-)
(limited to 'lib/stdlib/doc')
diff --git a/lib/stdlib/doc/src/calendar.xml b/lib/stdlib/doc/src/calendar.xml
index f90d8308b6..075c7f9c78 100644
--- a/lib/stdlib/doc/src/calendar.xml
+++ b/lib/stdlib/doc/src/calendar.xml
@@ -4,7 +4,7 @@
- 1996 2009
+ 1996 2011
Ericsson AB. All Rights Reserved.
diff --git a/lib/stdlib/doc/src/dict.xml b/lib/stdlib/doc/src/dict.xml
index 1695e9d14f..40e61d7d33 100644
--- a/lib/stdlib/doc/src/dict.xml
+++ b/lib/stdlib/doc/src/dict.xml
@@ -4,7 +4,7 @@
- 1996 2009
+ 1996 2011
Ericsson AB. All Rights Reserved.
diff --git a/lib/stdlib/doc/src/erl_expand_records.xml b/lib/stdlib/doc/src/erl_expand_records.xml
index 7fb03e7c50..c93248493f 100644
--- a/lib/stdlib/doc/src/erl_expand_records.xml
+++ b/lib/stdlib/doc/src/erl_expand_records.xml
@@ -5,7 +5,7 @@
2005
- 2007
+ 2011
Ericsson AB, All Rights Reserved
diff --git a/lib/stdlib/doc/src/erl_internal.xml b/lib/stdlib/doc/src/erl_internal.xml
index 906b95deb7..732d77c3ae 100644
--- a/lib/stdlib/doc/src/erl_internal.xml
+++ b/lib/stdlib/doc/src/erl_internal.xml
@@ -5,7 +5,7 @@
1996
- 2007
+ 2011
Ericsson AB, All Rights Reserved
diff --git a/lib/stdlib/doc/src/erl_pp.xml b/lib/stdlib/doc/src/erl_pp.xml
index 6b15c5afd3..1fdda48893 100644
--- a/lib/stdlib/doc/src/erl_pp.xml
+++ b/lib/stdlib/doc/src/erl_pp.xml
@@ -5,7 +5,7 @@
1996
- 2007
+ 2011
Ericsson AB, All Rights Reserved
diff --git a/lib/stdlib/doc/src/filelib.xml b/lib/stdlib/doc/src/filelib.xml
index e39ce914f7..fab68ae77c 100644
--- a/lib/stdlib/doc/src/filelib.xml
+++ b/lib/stdlib/doc/src/filelib.xml
@@ -4,7 +4,7 @@
- 2003 2010
+ 2003 2011
Ericsson AB. All Rights Reserved.
diff --git a/lib/stdlib/doc/src/io_protocol.xml b/lib/stdlib/doc/src/io_protocol.xml
index a97d996d98..3e8ab1affc 100644
--- a/lib/stdlib/doc/src/io_protocol.xml
+++ b/lib/stdlib/doc/src/io_protocol.xml
@@ -5,7 +5,7 @@
1999
- 2009
+ 2011
Ericsson AB. All Rights Reserved.
diff --git a/lib/stdlib/doc/src/log_mf_h.xml b/lib/stdlib/doc/src/log_mf_h.xml
index 198a55a63b..f8e11339a7 100644
--- a/lib/stdlib/doc/src/log_mf_h.xml
+++ b/lib/stdlib/doc/src/log_mf_h.xml
@@ -5,7 +5,7 @@
1996
- 2007
+ 2011
Ericsson AB, All Rights Reserved
diff --git a/lib/stdlib/doc/src/math.xml b/lib/stdlib/doc/src/math.xml
index 990a6b4024..02e4d6e495 100644
--- a/lib/stdlib/doc/src/math.xml
+++ b/lib/stdlib/doc/src/math.xml
@@ -5,7 +5,7 @@
1996
- 2007
+ 2011
Ericsson AB, All Rights Reserved
diff --git a/lib/stdlib/doc/src/orddict.xml b/lib/stdlib/doc/src/orddict.xml
index 9d036f0725..1b8b74534b 100644
--- a/lib/stdlib/doc/src/orddict.xml
+++ b/lib/stdlib/doc/src/orddict.xml
@@ -4,7 +4,7 @@
- 2000 2009
+ 2000 2011
Ericsson AB. All Rights Reserved.
diff --git a/lib/stdlib/doc/src/part_notes_history.xml b/lib/stdlib/doc/src/part_notes_history.xml
index 744b009583..5e055ee606 100644
--- a/lib/stdlib/doc/src/part_notes_history.xml
+++ b/lib/stdlib/doc/src/part_notes_history.xml
@@ -5,7 +5,7 @@
2006
- 2007
+ 2011
Ericsson AB, All Rights Reserved
diff --git a/lib/stdlib/doc/src/pg.xml b/lib/stdlib/doc/src/pg.xml
index 66b9702ae0..b174d4f7d4 100644
--- a/lib/stdlib/doc/src/pg.xml
+++ b/lib/stdlib/doc/src/pg.xml
@@ -5,7 +5,7 @@
1996
- 2007
+ 2011
Ericsson AB, All Rights Reserved
diff --git a/lib/stdlib/doc/src/re.xml b/lib/stdlib/doc/src/re.xml
index 056e7bc9b9..9091035392 100644
--- a/lib/stdlib/doc/src/re.xml
+++ b/lib/stdlib/doc/src/re.xml
@@ -5,7 +5,7 @@
2007
- 2008
+ 2011
Ericsson AB, All Rights Reserved
diff --git a/lib/stdlib/doc/src/shell_default.xml b/lib/stdlib/doc/src/shell_default.xml
index 4f8cc6c5bb..f7e7d5388a 100644
--- a/lib/stdlib/doc/src/shell_default.xml
+++ b/lib/stdlib/doc/src/shell_default.xml
@@ -5,7 +5,7 @@
1996
- 2007
+ 2011
Ericsson AB, All Rights Reserved
diff --git a/lib/stdlib/doc/src/supervisor_bridge.xml b/lib/stdlib/doc/src/supervisor_bridge.xml
index b334f57caf..cbd0d9230b 100644
--- a/lib/stdlib/doc/src/supervisor_bridge.xml
+++ b/lib/stdlib/doc/src/supervisor_bridge.xml
@@ -5,7 +5,7 @@
1996
- 2007
+ 2011
Ericsson AB, All Rights Reserved
diff --git a/lib/stdlib/doc/src/timer.xml b/lib/stdlib/doc/src/timer.xml
index 1b34e71490..cae655f801 100644
--- a/lib/stdlib/doc/src/timer.xml
+++ b/lib/stdlib/doc/src/timer.xml
@@ -4,7 +4,7 @@
- 1996 2009
+ 1996 2011
Ericsson AB. All Rights Reserved.
--
cgit v1.2.3
From 91b2e57ea0e3ab794d4b57a12ef10205383525a5 Mon Sep 17 00:00:00 2001
From: Erlang/OTP
Date: Mon, 14 Mar 2011 18:18:42 +0100
Subject: Prepare release
---
lib/stdlib/doc/src/notes.xml | 91 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 91 insertions(+)
(limited to 'lib/stdlib/doc')
diff --git a/lib/stdlib/doc/src/notes.xml b/lib/stdlib/doc/src/notes.xml
index a8fe41f000..8cd499f960 100644
--- a/lib/stdlib/doc/src/notes.xml
+++ b/lib/stdlib/doc/src/notes.xml
@@ -30,6 +30,97 @@
This document describes the changes made to the STDLIB application.
+STDLIB 1.17.3
+
+ Fixed Bugs and Malfunctions
+
+ -
+
+ Two bugs in io:format for ~F.~Ps has been corrected. When
+ length(S) >= abs(F) > P, the precision P was incorrectly
+ ignored. When F == P > lenght(S) the result was
+ incorrectly left adjusted. Bug found by Ali Yakout who
+ also provided a fix.
+
+ Own Id: OTP-8989 Aux Id: seq11741
+
+ -
+
Fix exception generation in the io module
+
+ Some functions did not generate correct badarg exception
+ on a badarg exception.
+
+ Own Id: OTP-9045
+
+ -
+
+ Fixes to the dict and orddict module documentation
+
+ Fixed grammar and one inconsistency (Key - Value instead
+ of key/value, since everywhere else the former is used).
+ (thanks to Filipe David Manana)
+
+ Own Id: OTP-9083
+
+ -
+
+ Add ISO week number calculation functions to the calendar
+ module in stdlib
+
+ This new feature adds the missing week number function to
+ the calendar module of the stdlib application. The
+ implementation conforms to the ISO 8601 standard. The new
+ feature has been implemented tested and documented
+ (thanks to Imre Horvath).
+
+ Own Id: OTP-9087
+
+
+
+
+
+ Improvements and New Features
+
+ -
+
+ Implement the 'MAY' clauses from RFC4648 regarding the
+ pad character to make mime_decode() and
+ mime_decode_to_string() functions more tolerant of badly
+ padded base64. The RFC is quoted below for easy
+ reference.
+
+ "RFC4648 Section 3.3 with reference to MIME decoding:
+ Furthermore, such specifications MAY ignore the pad
+ character, "=", treating it as non-alphabet data, if it
+ is present before the end of the encoded data. If more
+ than the allowed number of pad characters is found at the
+ end of the string (e.g., a base 64 string terminated with
+ "==="), the excess pad characters MAY also be ignored."
+
+ Own Id: OTP-9020
+
+ -
+
+ Supervisors will no longer save start parameters for
+ temporary processes as they will not be restarted. In the
+ case of simple_one_for_one workers such as ssl-connection
+ processes this will substantial reduce the memory
+ footprint of the supervisor.
+
+ Own Id: OTP-9064
+
+ -
+
+ When running escript it is now possible to add the -n
+ flag and the escript will be compiled using +native.
+
+ Own Id: OTP-9076
+
+
+
+
+
+
STDLIB 1.17.2.1
Fixed Bugs and Malfunctions
--
cgit v1.2.3