[master] Swapped PNG_UNKNOWN_CHUNKS_SUPPORTED and PNG_HANDLE_AS_UNKNOWN_SUPPORTED

in pngset.c to be consistent with other changes in version 1.2.38.
This commit is contained in:
Glenn Randers-Pehrson 2009-12-25 14:22:08 -06:00
parent 8563ac1664
commit 9686172872
3 changed files with 31 additions and 22 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.2.42rc02 - December 23, 2009 Libpng 1.2.42rc03 - December 25, 2009
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.
@ -9,36 +9,36 @@ Files available for download:
Source files with LF line endings (for Unix/Linux) and with a Source files with LF line endings (for Unix/Linux) and with a
"configure" script "configure" script
libpng-1.2.42rc02.tar.xz (LZMA-compressed, recommended) libpng-1.2.42rc03.tar.xz (LZMA-compressed, recommended)
libpng-1.2.42rc02.tar.gz libpng-1.2.42rc03.tar.gz
libpng-1.2.42rc02.tar.bz2 libpng-1.2.42rc03.tar.bz2
Source files with LF line endings (for Unix/Linux) without the Source files with LF line endings (for Unix/Linux) without the
"configure" script "configure" script
libpng-1.2.42rc02-no-config.tar.xz (LZMA-compressed, recommended) libpng-1.2.42rc03-no-config.tar.xz (LZMA-compressed, recommended)
libpng-1.2.42rc02-no-config.tar.gz libpng-1.2.42rc03-no-config.tar.gz
libpng-1.2.42rc02-no-config.tar.bz2 libpng-1.2.42rc03-no-config.tar.bz2
Source files with CRLF line endings (for Windows), without the Source files with CRLF line endings (for Windows), without the
"configure" script "configure" script
lp1242r02.zip lp1242r03.zip
lp1242r02.7z lp1242r03.7z
lp1242r02.tar.bz2 lp1242r03.tar.bz2
Project files Project files
libpng-1.2.42rc02-project-netware.zip libpng-1.2.42rc03-project-netware.zip
libpng-1.2.42rc02-project-wince.zip libpng-1.2.42rc03-project-wince.zip
Other information: Other information:
libpng-1.2.42rc02-README.txt libpng-1.2.42rc03-README.txt
libpng-1.2.42rc02-KNOWNBUGS.txt libpng-1.2.42rc03-KNOWNBUGS.txt
libpng-1.2.42rc02-LICENSE.txt libpng-1.2.42rc03-LICENSE.txt
libpng-1.2.42rc02-Y2K-compliance.txt libpng-1.2.42rc03-Y2K-compliance.txt
libpng-1.2.42rc02-[previous version]-diff.txt libpng-1.2.42rc03-[previous version]-diff.txt
Changes since the last public release (1.2.41): Changes since the last public release (1.2.41):
@ -61,10 +61,15 @@ version 1.2.42beta02 [December 11, 2009]
version 1.2.42rc01 [December 17, 2009] version 1.2.42rc01 [December 17, 2009]
No changes. No changes.
version 1.2.42rc02 [December 23, 2009] version 1.2.42rc02 [December 22, 2009]
Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
(revising changes made in 1.2.41beta17 and 1.2.41rc01) (revising changes made in 1.2.41beta17 and 1.2.41rc01)
version 1.2.42rc03 [December 25, 2009]
Swapped PNG_UNKNOWN_CHUNKS_SUPPORTED and PNG_HANDLE_AS_UNKNOWN_SUPPORTED
in pngset.c to be consistent with other changes in version 1.2.38.
version 1.0.52 and 1.2.42 [December 25, 2009]
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net

View File

@ -2624,10 +2624,14 @@ version 1.2.42beta02 [December 11, 2009]
version 1.2.42rc01 [December 17, 2009] version 1.2.42rc01 [December 17, 2009]
No changes. No changes.
version 1.2.42rc02 [December 23, 2009] version 1.2.42rc02 [December 22, 2009]
Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
(revising changes made in 1.2.41beta17 and 1.2.41rc01) (revising changes made in 1.2.41beta17 and 1.2.41rc01)
version 1.2.42rc03 [December 25, 2009]
Swapped PNG_UNKNOWN_CHUNKS_SUPPORTED and PNG_HANDLE_AS_UNKNOWN_SUPPORTED
in pngset.c to be consistent with other changes in version 1.2.38.
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

View File

@ -1,7 +1,7 @@
/* pngset.c - storage of image information into info struct /* pngset.c - storage of image information into info struct
* *
* Last changed in libpng 1.2.41 [December 23, 2009] * Last changed in libpng 1.2.42 [December 25, 2009]
* Copyright (c) 1998-2009 Glenn Randers-Pehrson * Copyright (c) 1998-2009 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.)
@ -960,7 +960,7 @@ png_set_sPLT(png_structp png_ptr,
} }
#endif /* PNG_sPLT_SUPPORTED */ #endif /* PNG_sPLT_SUPPORTED */
#ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED #ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED
void PNGAPI void PNGAPI
png_set_unknown_chunks(png_structp png_ptr, png_set_unknown_chunks(png_structp png_ptr,
png_infop info_ptr, png_unknown_chunkp unknowns, int num_unknowns) png_infop info_ptr, png_unknown_chunkp unknowns, int num_unknowns)
@ -1066,7 +1066,7 @@ png_permit_mng_features (png_structp png_ptr, png_uint_32 mng_features)
} }
#endif #endif
#ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED
void PNGAPI void PNGAPI
png_set_keep_unknown_chunks(png_structp png_ptr, int keep, png_bytep png_set_keep_unknown_chunks(png_structp png_ptr, int keep, png_bytep
chunk_list, int num_chunks) chunk_list, int num_chunks)