diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-11-08 19:22:22 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-11-08 19:31:21 -0600 |
commit | 5aabf5b8eb5f310da7bd90683b2c7f05608062ab (patch) | |
tree | ff57f8879244806c983d727c0ea139c86efe5eb8 | |
parent | 20e82ae2a2cb2ab0797b1405b2da7cb7b9a4be0c (diff) | |
download | libpng-5aabf5b8eb5f310da7bd90683b2c7f05608062ab.tar.gz |
[master] Imported from libpng-1.2.41beta15.tarv1.2.41beta15
-rw-r--r-- | ANNOUNCE | 13 | ||||
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | INSTALL | 2 | ||||
-rw-r--r-- | LICENSE | 4 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | Y2KINFO | 2 | ||||
-rw-r--r-- | libpng-1.2.41beta15.txt | 38 | ||||
-rw-r--r-- | libpng.3 | 46 | ||||
-rw-r--r-- | libpngpf.3 | 2 | ||||
-rw-r--r-- | png.5 | 2 | ||||
-rw-r--r-- | png.c | 6 | ||||
-rw-r--r-- | pngget.c | 2 | ||||
-rw-r--r-- | pngread.c | 2 | ||||
-rw-r--r-- | pngrio.c | 2 | ||||
-rw-r--r-- | pngrtran.c | 2 | ||||
-rw-r--r-- | pngrutil.c | 2 | ||||
-rw-r--r-- | pngset.c | 2 | ||||
-rw-r--r-- | pngtest.c | 2 | ||||
-rw-r--r-- | pngtrans.c | 2 | ||||
-rw-r--r-- | pngwio.c | 2 | ||||
-rw-r--r-- | pngwrite.c | 2 | ||||
-rw-r--r-- | pngwtran.c | 2 | ||||
-rw-r--r-- | pngwutil.c | 2 |
23 files changed, 47 insertions, 98 deletions
@@ -117,6 +117,7 @@ version 1.2.41beta13 [November 3, 2009] Added PNG_CONVERT_tIME_SUPPORTED macro. version 1.2.41beta14 [November 8, 2009] + versions 1.2.41beta05 through 1.2.41beta13 were abandoned. Make inclusion of time.h in pngconf.h depend on PNG_CONVERT_tIME_SUPPORTED Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED Reverted iTXt compatibility stuff from 1.2.41beta05, 1.2.41beta11, and @@ -127,6 +128,18 @@ version 1.2.41beta14 [November 8, 2009] and removed reference to png_calloc from scripts/*.def version 1.2.41beta15 [November 9, 2009] + Added PNG_DEPSTRUCT, PNG_DEPRECATED, PNG_USE_RESULT, PNG_NORETURN, and + PNG_ALLOCATED macros to detect deprecated direct access to the + png_struct or info_struct members and other deprecated usage in + applications (John Bowler). + Updated scripts/makefile* to add "-DPNG_CONFIGURE_LIBPNG" to CFLAGS, + to prevent warnings about direct access to png structs by libpng + functions while building libpng. They need to be tested, especially + those using compilers other than gcc. + Updated projects/visualc6 and visualc71 with "/d PNG_CONFIGURE_LIBPNG". + Removed three direct references to read_info_ptr members in pngtest.c + that were detected by the new PNG_DEPSTRUCT macro. + Send comments/corrections/commendations to png-mng-implement at lists.sf.net @@ -2547,6 +2547,8 @@ version 1.2.41beta13 [November 3, 2009] Added PNG_CONVERT_tIME_SUPPORTED macro. version 1.2.41beta14 [November 8, 2009] + versions 1.2.41beta05 through 1.2.41beta13 were abandoned. + The 1.0.x/1.2.x series will only receive security updates from now on. Make inclusion of time.h in pngconf.h depend on PNG_CONVERT_tIME_SUPPORTED Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED Reverted iTXt compatibility stuff from 1.2.41beta05, 1.2.41beta11, and @@ -2577,8 +2579,6 @@ or to glennrp at users.sourceforge.net Glenn R-P */ -versions 1.2.41beta01 through 1.2.41beta13 were abandoned [November 5, 2009]. - The 1.0.x/1.2.x series will only receive security updates from now on. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit @@ -1,5 +1,5 @@ -Installing libpng version 1.2.41beta15 - November 8, 2009 +Installing libpng version 1.2.41beta15 - November 9, 2009 On Unix/Linux and similar systems, you can simply type @@ -10,7 +10,7 @@ this sentence. This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.2.41beta15, November 8, 2009, are +libpng versions 1.2.6, August 15, 2004, through 1.2.41beta15, November 9, 2009, are Copyright (c) 2004, 2006-2009 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 @@ -108,4 +108,4 @@ certification mark of the Open Source Initiative. Glenn Randers-Pehrson glennrp at users.sourceforge.net -November 8, 2009 +November 9, 2009 @@ -1,4 +1,4 @@ -README for libpng version 1.2.41beta15 - November 8, 2009 (shared library 12.0) +README for libpng version 1.2.41beta15 - November 9, 2009 (shared library 12.0) See the note about version numbers near the top of png.h See INSTALL for instructions on how to install libpng. @@ -1,7 +1,7 @@ Y2K compliance in libpng: ========================= - November 8, 2009 + November 9, 2009 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. diff --git a/libpng-1.2.41beta15.txt b/libpng-1.2.41beta15.txt index 97fa0fec9..b3e83582c 100644 --- a/libpng-1.2.41beta15.txt +++ b/libpng-1.2.41beta15.txt @@ -1,6 +1,6 @@ libpng.txt - A description on how to use and modify libpng - libpng version 1.2.41beta15 - November 8, 2009 + libpng version 1.2.41beta15 - November 9, 2009 Updated and distributed by Glenn Randers-Pehrson <glennrp at users.sourceforge.net> Copyright (c) 1998-2009 Glenn Randers-Pehrson @@ -11,7 +11,7 @@ libpng.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.2.41beta15 - November 8, 2009 + libpng versions 0.97, January 1998, through 1.2.41beta15 - November 9, 2009 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2009 Glenn Randers-Pehrson @@ -3039,38 +3039,6 @@ The deprecated function which also expands tRNS to alpha was replaced with png_set_expand_gray_1_2_4_to_8() which does not. It has been deprecated since libpng-1.0.18 and 1.2.9. - -Functions png_set_benign_errors(), png_benign_error(), and -png_chunk_benign_error() were added. - -Support for setting the maximum amount of memory that the application -will allocate for reading chunks was added, as a security measure. -The functions png_set_chunk_cache_max() and png_get_chunk_cache_max() -were added to the library. - -We implemented support for I/O states. Added png_ptr member io_state, and -functions png_get_io_chunk_name() and png_get_io_state() in pngget.c - -The png_calloc() function was added and is used in place of -of "png_malloc(); png_memset();" except in the case in png_read_png() -where the array consists of pointers; in this case a "for" loop is used -after the png_malloc() to set the pointers to NULL. - -We added PNG_TRANSFORM_GRAY_TO_RGB to the available high-level -input transforms. - -We added the png_set_premultiply_alpha and -png_do_read_premultiply_alpha() functions. - -The call to png_do_chop() in pngrtran.c, which reduces 16-bit input -files to 8-bit bit depth, was relocated ahead of the building -of gamma tables. This allows us to build 8-bit tables instead -of 16-bit tables, when only 8-bit tables are needed. This avoids -wasting some computing resources when the application has called -the png_set_strip_16() function and encounters a 16-bit PNG file. - -Checking for and reporting of errors in the IHDR chunk is more thorough. - IX. (Omitted) X. Detecting libpng @@ -3209,7 +3177,7 @@ source. XIII. Y2K Compliance in libpng -November 8, 2009 +November 9, 2009 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. @@ -1,4 +1,4 @@ -.TH LIBPNG 3 "November 8, 2009" +.TH LIBPNG 3 "November 9, 2009" .SH NAME libpng \- Portable Network Graphics (PNG) Reference Library 1.2.41beta15 .SH SYNOPSIS @@ -821,7 +821,7 @@ Following is a copy of the libpng.txt file that accompanies libpng. .SH LIBPNG.TXT libpng.txt - A description on how to use and modify libpng - libpng version 1.2.41beta15 - November 8, 2009 + libpng version 1.2.41beta15 - November 9, 2009 Updated and distributed by Glenn Randers-Pehrson <glennrp at users.sourceforge.net> Copyright (c) 1998-2009 Glenn Randers-Pehrson @@ -832,7 +832,7 @@ libpng.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.2.41beta15 - November 8, 2009 + libpng versions 0.97, January 1998, through 1.2.41beta15 - November 9, 2009 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2009 Glenn Randers-Pehrson @@ -3860,38 +3860,6 @@ The deprecated function which also expands tRNS to alpha was replaced with png_set_expand_gray_1_2_4_to_8() which does not. It has been deprecated since libpng-1.0.18 and 1.2.9. - -Functions png_set_benign_errors(), png_benign_error(), and -png_chunk_benign_error() were added. - -Support for setting the maximum amount of memory that the application -will allocate for reading chunks was added, as a security measure. -The functions png_set_chunk_cache_max() and png_get_chunk_cache_max() -were added to the library. - -We implemented support for I/O states. Added png_ptr member io_state, and -functions png_get_io_chunk_name() and png_get_io_state() in pngget.c - -The png_calloc() function was added and is used in place of -of "png_malloc(); png_memset();" except in the case in png_read_png() -where the array consists of pointers; in this case a "for" loop is used -after the png_malloc() to set the pointers to NULL. - -We added PNG_TRANSFORM_GRAY_TO_RGB to the available high-level -input transforms. - -We added the png_set_premultiply_alpha and -png_do_read_premultiply_alpha() functions. - -The call to png_do_chop() in pngrtran.c, which reduces 16-bit input -files to 8-bit bit depth, was relocated ahead of the building -of gamma tables. This allows us to build 8-bit tables instead -of 16-bit tables, when only 8-bit tables are needed. This avoids -wasting some computing resources when the application has called -the png_set_strip_16() function and encounters a 16-bit PNG file. - -Checking for and reporting of errors in the IHDR chunk is more thorough. - .SH IX. (Omitted) .SH X. Detecting libpng @@ -4030,7 +3998,7 @@ source. .SH XIII. Y2K Compliance in libpng -November 8, 2009 +November 9, 2009 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. @@ -4376,7 +4344,7 @@ possible without all of you. Thanks to Frank J. T. Wojcik for helping with the documentation. -Libpng version 1.2.41beta15 - November 8, 2009: +Libpng version 1.2.41beta15 - November 9, 2009: Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net). @@ -4399,7 +4367,7 @@ this sentence. This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.2.41beta15, November 8, 2009, are +libpng versions 1.2.6, August 15, 2004, through 1.2.41beta15, November 9, 2009, are Copyright (c) 2004,2006-2008 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 @@ -4498,7 +4466,7 @@ certification mark of the Open Source Initiative. Glenn Randers-Pehrson glennrp at users.sourceforge.net -November 8, 2009 +November 9, 2009 .\" end of man page diff --git a/libpngpf.3 b/libpngpf.3 index a7c510a33..5ba9c124d 100644 --- a/libpngpf.3 +++ b/libpngpf.3 @@ -1,4 +1,4 @@ -.TH LIBPNGPF 3 "November 8, 2009" +.TH LIBPNGPF 3 "November 9, 2009" .SH NAME libpng \- Portable Network Graphics (PNG) Reference Library 1.2.41beta15 (private functions) @@ -1,4 +1,4 @@ -.TH PNG 5 "November 8, 2009" +.TH PNG 5 "November 9, 2009" .SH NAME png \- Portable Network Graphics (PNG) format .SH DESCRIPTION @@ -1,7 +1,7 @@ /* png.c - location for general purpose libpng functions * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) @@ -722,13 +722,13 @@ png_get_copyright(png_structp png_ptr) #else #ifdef __STDC__ return ((png_charp) PNG_STRING_NEWLINE \ - "libpng version 1.2.41beta15 - November 8, 2009" PNG_STRING_NEWLINE \ + "libpng version 1.2.41beta15 - November 9, 2009" PNG_STRING_NEWLINE \ "Copyright (c) 1998-2009 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \ "Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \ "Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \ PNG_STRING_NEWLINE); #else - return ((png_charp) "libpng version 1.2.41beta15 - November 8, 2009\ + return ((png_charp) "libpng version 1.2.41beta15 - November 9, 2009\ Copyright (c) 1998-2009 Glenn Randers-Pehrson\ Copyright (c) 1996-1997 Andreas Dilger\ Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."); @@ -1,7 +1,7 @@ /* pngget.c - retrieval of values from info struct * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) @@ -1,7 +1,7 @@ /* pngread.c - read a PNG file * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) @@ -1,7 +1,7 @@ /* pngrio.c - functions for data input * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) diff --git a/pngrtran.c b/pngrtran.c index fd334f6c2..2e6bf28bc 100644 --- a/pngrtran.c +++ b/pngrtran.c @@ -1,7 +1,7 @@ /* pngrtran.c - transforms the data in a row for PNG readers * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) diff --git a/pngrutil.c b/pngrutil.c index f013b4b50..2b753230e 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -1,7 +1,7 @@ /* pngrutil.c - utilities to read a PNG file * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) @@ -1,7 +1,7 @@ /* pngset.c - storage of image information into info struct * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) @@ -1,7 +1,7 @@ /* pngtest.c - a simple test program to test libpng * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) diff --git a/pngtrans.c b/pngtrans.c index 7df1c3d14..873046c9f 100644 --- a/pngtrans.c +++ b/pngtrans.c @@ -1,7 +1,7 @@ /* pngtrans.c - transforms the data in a row (used by both readers and writers) * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) @@ -1,7 +1,7 @@ /* pngwio.c - functions for data output * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) diff --git a/pngwrite.c b/pngwrite.c index e7e21e93e..6c9edd565 100644 --- a/pngwrite.c +++ b/pngwrite.c @@ -1,7 +1,7 @@ /* pngwrite.c - general routines to write a PNG file * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) diff --git a/pngwtran.c b/pngwtran.c index 55aa0b6c3..c01cc7eed 100644 --- a/pngwtran.c +++ b/pngwtran.c @@ -1,7 +1,7 @@ /* pngwtran.c - transforms the data in a row for PNG writers * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) diff --git a/pngwutil.c b/pngwutil.c index a1db122c2..d18b7f619 100644 --- a/pngwutil.c +++ b/pngwutil.c @@ -1,7 +1,7 @@ /* pngwutil.c - utilities to write a PNG file * - * Last changed in libpng 1.2.41 [November 8, 2009] + * Last changed in libpng 1.2.41 [November 9, 2009] * Copyright (c) 1998-2009 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.) |