mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[master] Added comment about the potential API incompatibility in
png.h, libpng.3, and libpng-*.txt.
This commit is contained in:
parent
e2d740ae04
commit
756f873a25
6
ANNOUNCE
6
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
|
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.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -46,7 +46,7 @@ version 1.4.5beta04 [November 8, 2010]
|
|||||||
version 1.4.5rc01 [November 19, 2010]
|
version 1.4.5rc01 [November 19, 2010]
|
||||||
No changes.
|
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
|
Removed some extraneous parentheses that appeared in pngrutil.c of
|
||||||
libpng-1.4.3beta01
|
libpng-1.4.3beta01
|
||||||
Revised png_get_uint_32, png_get_int_32, png_get_uint_16 (Cosmin)
|
Revised png_get_uint_32, png_get_int_32, png_get_uint_16 (Cosmin)
|
||||||
@ -70,7 +70,7 @@ version 1.4.5beta06 [November 21, 2010]
|
|||||||
with pngwio.c and pngwutil.c because the 'write' callback and zlib
|
with pngwio.c and pngwutil.c because the 'write' callback and zlib
|
||||||
compression both fail to declare their input buffers with 'const'.
|
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
|
Reverted png_get_uint_16 macro to beta05 and added comment about the
|
||||||
potential API incompatibility.
|
potential API incompatibility.
|
||||||
|
|
||||||
|
|||||||
2
CHANGES
2
CHANGES
@ -2722,7 +2722,7 @@ version 1.4.5beta06 [November 21, 2010]
|
|||||||
with pngwio.c and pngwutil.c because the 'write' callback and zlib
|
with pngwio.c and pngwutil.c because the 'write' callback and zlib
|
||||||
compression both fail to declare their input buffers with 'const'.
|
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
|
Reverted png_get_uint_16 macro to beta05 and added comment about the
|
||||||
potential API incompatibility.
|
potential API incompatibility.
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
libpng.txt - A description on how to use and modify libpng
|
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
|
Updated and distributed by Glenn Randers-Pehrson
|
||||||
<glennrp at users.sourceforge.net>
|
<glennrp at users.sourceforge.net>
|
||||||
Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
||||||
@ -11,7 +11,7 @@ libpng.txt - A description on how to use and modify libpng
|
|||||||
|
|
||||||
Based on:
|
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
|
Updated and distributed by Glenn Randers-Pehrson
|
||||||
Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
||||||
|
|
||||||
@ -3122,6 +3122,12 @@ deprecated since libpng-1.0.18 and 1.2.9, when it was replaced with
|
|||||||
png_set_expand_gray_1_2_4_to_8() because the former function also
|
png_set_expand_gray_1_2_4_to_8() because the former function also
|
||||||
expanded palette images.
|
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
|
We changed the prototype for png_malloc() from
|
||||||
png_malloc(png_structp png_ptr, png_uint_32 size)
|
png_malloc(png_structp png_ptr, png_uint_32 size)
|
||||||
to
|
to
|
||||||
@ -3297,7 +3303,7 @@ Other rules can be inferred by inspecting the libpng source.
|
|||||||
|
|
||||||
XIII. Y2K Compliance in libpng
|
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
|
Since the PNG Development group is an ad-hoc body, we can't make
|
||||||
an official declaration.
|
an official declaration.
|
||||||
|
|||||||
20
libpng.3
20
libpng.3
@ -1,4 +1,4 @@
|
|||||||
.TH LIBPNG 3 "November 24, 2010"
|
.TH LIBPNG 3 "November 25, 2010"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libpng \- Portable Network Graphics (PNG) Reference Library 1.4.5beta07
|
libpng \- Portable Network Graphics (PNG) Reference Library 1.4.5beta07
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -785,7 +785,7 @@ Following is a copy of the libpng.txt file that accompanies libpng.
|
|||||||
.SH LIBPNG.TXT
|
.SH LIBPNG.TXT
|
||||||
libpng.txt - A description on how to use and modify libpng
|
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
|
Updated and distributed by Glenn Randers-Pehrson
|
||||||
<glennrp at users.sourceforge.net>
|
<glennrp at users.sourceforge.net>
|
||||||
Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
||||||
@ -796,7 +796,7 @@ libpng.txt - A description on how to use and modify libpng
|
|||||||
|
|
||||||
Based on:
|
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
|
Updated and distributed by Glenn Randers-Pehrson
|
||||||
Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
||||||
|
|
||||||
@ -3907,6 +3907,12 @@ deprecated since libpng-1.0.18 and 1.2.9, when it was replaced with
|
|||||||
png_set_expand_gray_1_2_4_to_8() because the former function also
|
png_set_expand_gray_1_2_4_to_8() because the former function also
|
||||||
expanded palette images.
|
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
|
We changed the prototype for png_malloc() from
|
||||||
png_malloc(png_structp png_ptr, png_uint_32 size)
|
png_malloc(png_structp png_ptr, png_uint_32 size)
|
||||||
to
|
to
|
||||||
@ -4082,7 +4088,7 @@ Other rules can be inferred by inspecting the libpng source.
|
|||||||
|
|
||||||
.SH XIII. Y2K Compliance in libpng
|
.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
|
Since the PNG Development group is an ad-hoc body, we can't make
|
||||||
an official declaration.
|
an official declaration.
|
||||||
@ -4333,7 +4339,7 @@ possible without all of you.
|
|||||||
|
|
||||||
Thanks to Frank J. T. Wojcik for helping with the documentation.
|
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.
|
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
|
||||||
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
|
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
|
||||||
|
|
||||||
@ -4356,7 +4362,7 @@ this sentence.
|
|||||||
|
|
||||||
This code is released under the libpng license.
|
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
|
Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are
|
||||||
distributed according to the same disclaimer and license as libpng-1.2.5
|
distributed according to the same disclaimer and license as libpng-1.2.5
|
||||||
with the following individual added to the list of Contributing Authors
|
with the following individual added to the list of Contributing Authors
|
||||||
@ -4455,7 +4461,7 @@ certification mark of the Open Source Initiative.
|
|||||||
|
|
||||||
Glenn Randers-Pehrson
|
Glenn Randers-Pehrson
|
||||||
glennrp at users.sourceforge.net
|
glennrp at users.sourceforge.net
|
||||||
November 24, 2010
|
November 25, 2010
|
||||||
|
|
||||||
.\" end of man page
|
.\" end of man page
|
||||||
|
|
||||||
|
|||||||
10
png.h
10
png.h
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/* png.h - header file for PNG reference library
|
/* 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
|
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
||||||
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
||||||
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
|
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
|
||||||
@ -11,7 +11,7 @@
|
|||||||
* Authors and maintainers:
|
* Authors and maintainers:
|
||||||
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
|
* 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.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.
|
* See also "Contributing Authors", below.
|
||||||
*
|
*
|
||||||
* Note about libpng version numbers:
|
* Note about libpng version numbers:
|
||||||
@ -182,7 +182,7 @@
|
|||||||
*
|
*
|
||||||
* This code is released under the libpng license.
|
* 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
|
* Copyright (c) 2004, 2006-2010 Glenn Randers-Pehrson, and are
|
||||||
* distributed according to the same disclaimer and license as libpng-1.2.5
|
* distributed according to the same disclaimer and license as libpng-1.2.5
|
||||||
* with the following individual added to the list of Contributing Authors:
|
* with the following individual added to the list of Contributing Authors:
|
||||||
@ -294,7 +294,7 @@
|
|||||||
* Y2K compliance in libpng:
|
* Y2K compliance in libpng:
|
||||||
* =========================
|
* =========================
|
||||||
*
|
*
|
||||||
* November 24, 2010
|
* November 25, 2010
|
||||||
*
|
*
|
||||||
* Since the PNG Development group is an ad-hoc body, we can't make
|
* Since the PNG Development group is an ad-hoc body, we can't make
|
||||||
* an official declaration.
|
* an official declaration.
|
||||||
@ -358,7 +358,7 @@
|
|||||||
/* Version information for png.h - this should match the version in png.c */
|
/* Version information for png.h - this should match the version in png.c */
|
||||||
#define PNG_LIBPNG_VER_STRING "1.4.5beta07"
|
#define PNG_LIBPNG_VER_STRING "1.4.5beta07"
|
||||||
#define PNG_HEADER_VERSION_STRING \
|
#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_SONUM 14
|
||||||
#define PNG_LIBPNG_VER_DLLNUM 14
|
#define PNG_LIBPNG_VER_DLLNUM 14
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user