[master] Added comment about the potential API incompatibility in
png.h, libpng.3, and libpng-*.txt.
diff --git a/ANNOUNCE b/ANNOUNCE
index a8a3ee2..8478837 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -1,5 +1,5 @@
-Libpng 1.4.5beta07 - November 24, 2010
+Libpng 1.4.5beta07 - November 25, 2010
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@@ -46,7 +46,7 @@
version 1.4.5rc01 [November 19, 2010]
No changes.
-version 1.4.5beta05 [November 24, 2010]
+version 1.4.5beta05 [November 25, 2010]
Removed some extraneous parentheses that appeared in pngrutil.c of
libpng-1.4.3beta01
Revised png_get_uint_32, png_get_int_32, png_get_uint_16 (Cosmin)
@@ -70,7 +70,7 @@
with pngwio.c and pngwutil.c because the 'write' callback and zlib
compression both fail to declare their input buffers with 'const'.
-version 1.4.5beta07 [November 24, 2010]
+version 1.4.5beta07 [November 25, 2010]
Reverted png_get_uint_16 macro to beta05 and added comment about the
potential API incompatibility.
diff --git a/CHANGES b/CHANGES
index f0348c0..06a3320 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2722,7 +2722,7 @@
with pngwio.c and pngwutil.c because the 'write' callback and zlib
compression both fail to declare their input buffers with 'const'.
-version 1.4.5beta07 [November 24, 2010]
+version 1.4.5beta07 [November 25, 2010]
Reverted png_get_uint_16 macro to beta05 and added comment about the
potential API incompatibility.
diff --git a/libpng-1.4.5beta07.txt b/libpng-1.4.5beta07.txt
index aa7aef4..e101218 100644
--- a/libpng-1.4.5beta07.txt
+++ b/libpng-1.4.5beta07.txt
@@ -1,6 +1,6 @@
libpng.txt - A description on how to use and modify libpng
- libpng version 1.4.5beta07 - November 24, 2010
+ libpng version 1.4.5beta07 - November 25, 2010
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2010 Glenn Randers-Pehrson
@@ -11,7 +11,7 @@
Based on:
- libpng versions 0.97, January 1998, through 1.4.5beta07 - November 24, 2010
+ libpng versions 0.97, January 1998, through 1.4.5beta07 - November 25, 2010
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2010 Glenn Randers-Pehrson
@@ -3122,6 +3122,12 @@
png_set_expand_gray_1_2_4_to_8() because the former function also
expanded palette images.
+Macros for png_get_uint_16, png_get_uint_32, and png_get_int_32
+were added and are used by default instead of the corresponding
+functions. Unfortunately,
+from libpng-1.4.0 until 1.4.4, the png_get_uint_16 macro (but not the
+function) incorrectly returned a value of type png_uint_32.
+
We changed the prototype for png_malloc() from
png_malloc(png_structp png_ptr, png_uint_32 size)
to
@@ -3297,7 +3303,7 @@
XIII. Y2K Compliance in libpng
-November 24, 2010
+November 25, 2010
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
diff --git a/libpng.3 b/libpng.3
index 6a8000e..a4229b3 100644
--- a/libpng.3
+++ b/libpng.3
@@ -1,4 +1,4 @@
-.TH LIBPNG 3 "November 24, 2010"
+.TH LIBPNG 3 "November 25, 2010"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.4.5beta07
.SH SYNOPSIS
@@ -785,7 +785,7 @@
.SH LIBPNG.TXT
libpng.txt - A description on how to use and modify libpng
- libpng version 1.4.5beta07 - November 24, 2010
+ libpng version 1.4.5beta07 - November 25, 2010
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2010 Glenn Randers-Pehrson
@@ -796,7 +796,7 @@
Based on:
- libpng versions 0.97, January 1998, through 1.4.5beta07 - November 24, 2010
+ libpng versions 0.97, January 1998, through 1.4.5beta07 - November 25, 2010
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2010 Glenn Randers-Pehrson
@@ -3907,6 +3907,12 @@
png_set_expand_gray_1_2_4_to_8() because the former function also
expanded palette images.
+Macros for png_get_uint_16, png_get_uint_32, and png_get_int_32
+were added and are used by default instead of the corresponding
+functions. Unfortunately,
+from libpng-1.4.0 until 1.4.4, the png_get_uint_16 macro (but not the
+function) incorrectly returned a value of type png_uint_32.
+
We changed the prototype for png_malloc() from
png_malloc(png_structp png_ptr, png_uint_32 size)
to
@@ -4082,7 +4088,7 @@
.SH XIII. Y2K Compliance in libpng
-November 24, 2010
+November 25, 2010
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
@@ -4333,7 +4339,7 @@
Thanks to Frank J. T. Wojcik for helping with the documentation.
-Libpng version 1.4.5beta07 - November 24, 2010:
+Libpng version 1.4.5beta07 - November 25, 2010:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
@@ -4356,7 +4362,7 @@
This code is released under the libpng license.
-libpng versions 1.2.6, August 15, 2004, through 1.4.5beta07, November 24, 2010, are
+libpng versions 1.2.6, August 15, 2004, through 1.4.5beta07, November 25, 2010, are
Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.2.5
with the following individual added to the list of Contributing Authors
@@ -4455,7 +4461,7 @@
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
-November 24, 2010
+November 25, 2010
.\" end of man page
diff --git a/png.h b/png.h
index 772f890..435e8a5 100644
--- a/png.h
+++ b/png.h
@@ -1,7 +1,7 @@
/* png.h - header file for PNG reference library
*
- * libpng version 1.4.5beta07 - November 24, 2010
+ * libpng version 1.4.5beta07 - November 25, 2010
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
@@ -11,7 +11,7 @@
* Authors and maintainers:
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
* libpng versions 0.89c, June 1996, through 0.96, May 1997: Andreas Dilger
- * libpng versions 0.97, January 1998, through 1.4.5beta07 - November 24, 2010: Glenn
+ * libpng versions 0.97, January 1998, through 1.4.5beta07 - November 25, 2010: Glenn
* See also "Contributing Authors", below.
*
* Note about libpng version numbers:
@@ -182,7 +182,7 @@
*
* This code is released under the libpng license.
*
- * libpng versions 1.2.6, August 15, 2004, through 1.4.5beta07, November 24, 2010, are
+ * libpng versions 1.2.6, August 15, 2004, through 1.4.5beta07, November 25, 2010, are
* Copyright (c) 2004, 2006-2010 Glenn Randers-Pehrson, and are
* distributed according to the same disclaimer and license as libpng-1.2.5
* with the following individual added to the list of Contributing Authors:
@@ -294,7 +294,7 @@
* Y2K compliance in libpng:
* =========================
*
- * November 24, 2010
+ * November 25, 2010
*
* Since the PNG Development group is an ad-hoc body, we can't make
* an official declaration.
@@ -358,7 +358,7 @@
/* Version information for png.h - this should match the version in png.c */
#define PNG_LIBPNG_VER_STRING "1.4.5beta07"
#define PNG_HEADER_VERSION_STRING \
- " libpng version 1.4.5beta07 - November 24, 2010\n"
+ " libpng version 1.4.5beta07 - November 25, 2010\n"
#define PNG_LIBPNG_VER_SONUM 14
#define PNG_LIBPNG_VER_DLLNUM 14