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/src')
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/src')
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/src')
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/src')
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
From 2fb83f9b723caedf9b6dab32839fa3fc9c892844 Mon Sep 17 00:00:00 2001
From: Tuncer Ayaz
Date: Wed, 23 Feb 2011 18:53:51 +0100
Subject: Fix typos in zip manpage
---
lib/stdlib/doc/src/zip.xml | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
(limited to 'lib/stdlib/doc/src')
diff --git a/lib/stdlib/doc/src/zip.xml b/lib/stdlib/doc/src/zip.xml
index 4d98a20206..529a70a23d 100644
--- a/lib/stdlib/doc/src/zip.xml
+++ b/lib/stdlib/doc/src/zip.xml
@@ -34,11 +34,11 @@
zip
Utility for reading and creating 'zip' archives.
- The zip module archives and extract files to and from a zip
+
The zip module archives and extracts files to and from a zip
archive. The zip format is specified by the "ZIP Appnote.txt" file
available on PKWare's website www.pkware.com.
The zip module supports zip archive versions up to 6.1. However,
- password-protection and Zip64 is not supported.
+ password-protection and Zip64 are not supported.
By convention, the name of a zip file should end in ".zip ".
To abide to the convention, you'll need to add ".zip " yourself
to the name.
@@ -52,7 +52,7 @@
unzip/2 function. (They are
also available as extract .)
To fold a function over all files in a zip archive, use the
- foldl_3 .
+ foldl_3 function.
To return a list of the files in a zip archive, use the
list_dir/1 or the
list_dir/2 function. (They
@@ -155,13 +155,13 @@ zip_file()
Files will be compressed using the DEFLATE compression, as
described in the Appnote.txt file. However, files will be
stored without compression if they already are compressed.
- The zip/2 and zip/3 checks the file extension
+ The zip/2 and zip/3 functions check the file extension
to see whether the file should be stored without compression.
Files with the following extensions are not compressed:
.Z , .zip , .zoo , .arc , .lzh ,
.arj .
It is possible to override the default behavior and
- explicitly control what types of files that should be
+ explicitly control what types of files should be
compressed by using the {compress, What} and
{uncompress, What} options. It is possible to have
several compress and uncompress options. In
@@ -208,7 +208,7 @@ zip_file()
Controls what types of files that will be +
Controls what types of files will be
compressed. It is by default set to
Controls what types of files that will be uncompressed. It is by +
Controls what types of files will be uncompressed. It is by
default set to
By default, the
By default, all existing files with the same name as file in
the zip archive will be overwritten. With the
By default, the
1> Bin = <<1,2,3,4,5,6,7,8,9,10>>.
-2> binary:part(Bin,{byte_size(Bin), -5)).
+2> binary:part(Bin,{byte_size(Bin), -5}).
<<6,7,8,9,10>>
--
cgit v1.2.3