[libpng17] Update CHANGES and ANNOUNCE, update dates in png.c and png.h

This commit is contained in:
Glenn Randers-Pehrson 2015-11-30 16:57:23 -06:00
parent 4792c8a751
commit 8978eba436
4 changed files with 71 additions and 26 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.7.0beta70 - November 25, 2015 Libpng 1.7.0beta70 - November 30, 2015
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.
@ -15,8 +15,8 @@ Source files with LF line endings (for Unix/Linux) and with a
Source files with CRLF line endings (for Windows), without the Source files with CRLF line endings (for Windows), without the
"configure" script "configure" script
lp170b70.7z (LZMA-compressed, recommended) /scratch/glennrp/Libpng17/lp170b70.7z (LZMA-compressed, recommended)
lp170b70.zip /scratch/glennrp/Libpng17/lp170b70.zip
Other information: Other information:
@ -1022,7 +1022,7 @@ Version 1.7.0beta69 [November 24, 2015]
Temporarily disabled filter selection while writing, and temporarily Temporarily disabled filter selection while writing, and temporarily
replaced pngtest.png accordingly. replaced pngtest.png accordingly.
Version 1.7.0beta70 [November 25, 2015] Version 1.7.0beta70 [November 30, 2015]
Fixed a simple bracket problem that prevented reading non-interlaced Fixed a simple bracket problem that prevented reading non-interlaced
PNG files with height == 1. PNG files with height == 1.
The code failed to zero out the row buffer at the start of a pass where The code failed to zero out the row buffer at the start of a pass where
@ -1031,12 +1031,39 @@ Version 1.7.0beta70 [November 25, 2015]
been zeroed when allocated was not always correct for non-interlaced been zeroed when allocated was not always correct for non-interlaced
images. Revealed by pngvalid --size with a hack to make it always images. Revealed by pngvalid --size with a hack to make it always
use AVG. use AVG.
Fixed an error in handling of bad zlib CMINFO field, found by American Fixed an error in handling of bad zlib CMINFO field in pngfix, found by
Fuzzy Lop, reported by Brian Carpenter. inflate() doesn't immediately American Fuzzy Lop, reported by Brian Carpenter. inflate() doesn't
fault a bad CMINFO field; instead a 'too far back' error happens later immediately fault a bad CMINFO field; instead a 'too far back' error
(at least some times). pngfix failed to limit CMINFO to the allowed happens later (at least some times). pngfix failed to limit CMINFO to
values but then assumed that window_bits was in range, triggering an the allowed values but then assumed that window_bits was in range,
assert. The bug is mostly harmless; the file can't be fixed. triggering an assert. The bug is mostly harmless; the PNG file cannot
be fixed.
Test the 'size' images in the sequential reader. The existing test
case only uses the progressive reader which means that important parts of
the filter code never got tested.
Improved pngvalid coverage of filter combinations, remove the (new in 1.7)
code which disabled previous-row filters on the first row of an image in
some cases.
Removed all trailing spaces from source files in contrib
Moved code round and changed the filter write interfaces that took
png_uint_32 buffer pixel counts to unsigned int. Also moved compression
code and definitions into pngwutil.c so that the compression code is
isolated from other definitions.
Unified the compression code so that inflate calls are localized to a common
routine. Ground work for filter selection support. Minor API changes to
use void* not byte* for data parameters. Unification of some of the
compression code with the decompression code; IDAT_size replaces
IDAT_read_size and zbuffer_size, IDAT reading and writing is no longer
controlled by the size of the compression buffer.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
to subscribe)
or to glennrp at users.sourceforge.net
Glenn R-P
#endif
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

34
CHANGES
View File

@ -5321,7 +5321,7 @@ Version 1.7.0beta69 [November 24, 2015]
Temporarily disabled filter selection while writing, and temporarily Temporarily disabled filter selection while writing, and temporarily
replaced pngtest.png accordingly. replaced pngtest.png accordingly.
Version 1.7.0beta70 [November 25, 2015] Version 1.7.0beta70 [November 30, 2015]
Fixed a simple bracket problem that prevented reading non-interlaced Fixed a simple bracket problem that prevented reading non-interlaced
PNG files with height == 1. PNG files with height == 1.
The code failed to zero out the row buffer at the start of a pass where The code failed to zero out the row buffer at the start of a pass where
@ -5330,13 +5330,31 @@ Version 1.7.0beta70 [November 25, 2015]
been zeroed when allocated was not always correct for non-interlaced been zeroed when allocated was not always correct for non-interlaced
images. Revealed by pngvalid --size with a hack to make it always images. Revealed by pngvalid --size with a hack to make it always
use AVG. use AVG.
Fixed an error in handling of bad zlib CMINFO field, found by American Fixed an error in handling of bad zlib CMINFO field in pngfix, found by
Fuzzy Lop, reported by Brian Carpenter. inflate() doesn't immediately American Fuzzy Lop, reported by Brian Carpenter. inflate() doesn't
fault a bad CMINFO field; instead a 'too far back' error happens later immediately fault a bad CMINFO field; instead a 'too far back' error
(at least some times). pngfix failed to limit CMINFO to the allowed happens later (at least some times). pngfix failed to limit CMINFO to
values but then assumed that window_bits was in range, triggering an the allowed values but then assumed that window_bits was in range,
assert. The bug is mostly harmless; the file can't be fixed. triggering an assert. The bug is mostly harmless; the PNG file cannot
be fixed.
Test the 'size' images in the sequential reader. The existing test
case only uses the progressive reader which means that important parts of
the filter code never got tested.
Improved pngvalid coverage of filter combinations, remove the (new in 1.7)
code which disabled previous-row filters on the first row of an image in
some cases.
Removed all trailing spaces from source files in contrib
Moved code round and changed the filter write interfaces that took
png_uint_32 buffer pixel counts to unsigned int. Also moved compression
code and definitions into pngwutil.c so that the compression code is
isolated from other definitions.
Unified the compression code so that inflate calls are localized to a common
routine. Ground work for filter selection support. Minor API changes to
use void* not byte* for data parameters. Unification of some of the
compression code with the decompression code; IDAT_size replaces
IDAT_read_size and zbuffer_size, IDAT reading and writing is no longer
controlled by the size of the compression buffer.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement https://lists.sourceforge.net/lists/listinfo/png-mng-implement

4
png.c
View File

@ -712,13 +712,13 @@ png_get_copyright(png_const_structrp png_ptr)
#else #else
# ifdef __STDC__ # ifdef __STDC__
return PNG_STRING_NEWLINE \ return PNG_STRING_NEWLINE \
"libpng version 1.7.0beta70 - November 24, 2015" PNG_STRING_NEWLINE \ "libpng version 1.7.0beta70 - November 30, 2015" PNG_STRING_NEWLINE \
"Copyright (c) 1998-2015 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \ "Copyright (c) 1998-2015 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \ "Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \ "Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
PNG_STRING_NEWLINE; PNG_STRING_NEWLINE;
# else # else
return "libpng version 1.7.0beta70 - November 24, 2015\ return "libpng version 1.7.0beta70 - November 30, 2015\
Copyright (c) 1998-2015 Glenn Randers-Pehrson\ Copyright (c) 1998-2015 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\ Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."; Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.";

12
png.h
View File

@ -1,7 +1,7 @@
/* png.h - header file for PNG reference library /* png.h - header file for PNG reference library
* *
* libpng version 1.7.0beta70, November 24, 2015 * libpng version 1.7.0beta70, November 30, 2015
* *
* Copyright (c) 1998-2015 Glenn Randers-Pehrson * Copyright (c) 1998-2015 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@ -12,7 +12,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.89, June 1996, through 0.96, May 1997: Andreas Dilger * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
* libpng versions 0.97, January 1998, through 1.7.0beta70, November 24, 2015: * libpng versions 0.97, January 1998, through 1.7.0beta70, November 30, 2015:
* Glenn Randers-Pehrson. * Glenn Randers-Pehrson.
* See also "Contributing Authors", below. * See also "Contributing Authors", below.
*/ */
@ -25,7 +25,7 @@
* *
* This code is released under the libpng license. * This code is released under the libpng license.
* *
* libpng versions 1.0.7, July 1, 2000, through 1.7.0beta70, November 24, 2015, are * libpng versions 1.0.7, July 1, 2000, through 1.7.0beta70, November 30, 2015, are
* Copyright (c) 2000-2002, 2004, 2006-2015 Glenn Randers-Pehrson, are * Copyright (c) 2000-2002, 2004, 2006-2015 Glenn Randers-Pehrson, are
* derived from libpng-1.0.6, and are distributed according to the same * derived from libpng-1.0.6, and are distributed according to the same
* disclaimer and license as libpng-1.0.6 with the following individuals * disclaimer and license as libpng-1.0.6 with the following individuals
@ -190,7 +190,7 @@
* 1.6.19rc01-03 16 10619 16.so.16.19[.0] * 1.6.19rc01-03 16 10619 16.so.16.19[.0]
* ... * ...
* 1.7.0alpha01-10 17 10700 17.so.17.0[.0] * 1.7.0alpha01-10 17 10700 17.so.17.0[.0]
* 1.7.0beta01-68 17 10700 17.so.17.0[.0] * 1.7.0beta01-70 17 10700 17.so.17.0[.0]
* *
* Henceforth the source version will match the shared-library major * Henceforth the source version will match the shared-library major
* and minor numbers; the shared-library major version number will be * and minor numbers; the shared-library major version number will be
@ -218,7 +218,7 @@
* Y2K compliance in libpng: * Y2K compliance in libpng:
* ========================= * =========================
* *
* November 24, 2015 * November 30, 2015
* *
* 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.
@ -288,7 +288,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.7.0beta70" #define PNG_LIBPNG_VER_STRING "1.7.0beta70"
#define PNG_HEADER_VERSION_STRING \ #define PNG_HEADER_VERSION_STRING \
" libpng version 1.7.0beta70 - November 24, 2015\n" " libpng version 1.7.0beta70 - November 30, 2015\n"
#define PNG_LIBPNG_VER_SONUM 17 #define PNG_LIBPNG_VER_SONUM 17
#define PNG_LIBPNG_VER_DLLNUM 17 #define PNG_LIBPNG_VER_DLLNUM 17