From 087ebd80dabf29600afab0f054c105dec468393a Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 24 Apr 2010 13:56:51 -0500 Subject: [PATCH] [master] Imported from libpng-1.4.2rc03.tar --- ANNOUNCE | 7 ++++--- CHANGES | 3 ++- INSTALL | 2 +- LICENSE | 4 ++-- README | 2 +- example.c | 2 +- libpng-1.4.2rc03.txt | 6 +++--- libpng.3 | 16 ++++++++-------- libpngpf.3 | 2 +- png.5 | 2 +- png.c | 4 ++-- png.h | 12 ++++++------ pngconf.h | 2 +- pngpriv.h | 2 +- pngread.c | 2 +- pngrtran.c | 2 +- pngrutil.c | 2 +- scripts/README.txt | 2 +- 18 files changed, 38 insertions(+), 36 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index b043a8622..0414f82ed 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,5 +1,5 @@ -Libpng 1.4.2rc03 - April 16, 2010 +Libpng 1.4.2rc03 - April 24, 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. @@ -33,15 +33,16 @@ version 1.4.2beta01 [April 1, 2010] version 1.4.2rc01 [April 10, 2010] No changes. -version 1.4.2rc02 [April 16, 2010] +version 1.4.2rc02 [April 24, 2010] Documented the fact that png_set_dither() was disabled since libpng-1.4.0. Reenabled png_set_dither() but renamed it to png_set_quantize() to reflect more accurately what it actually does. At the same time, renamed the PNG_DITHER_[RED,GREEN_BLUE]_BITS macros to PNG_QUANTIZE_[RED,GREEN,BLUE]_BITS. -version 1.4.2rc03 [April 16, 2010] +version 1.4.2rc03 [April 24, 2010] Added some "(long)" typecasts to printf calls in png_handle_cHRM(). + Relaxed the overly-restrictive permissions of some files. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index e8fb4ea41..df5c6fe87 100644 --- a/CHANGES +++ b/CHANGES @@ -2551,8 +2551,9 @@ version 1.4.2rc02 [April 16, 2010] the PNG_DITHER_[RED,GREEN_BLUE]_BITS macros to PNG_QUANTIZE_[RED,GREEN,BLUE]_BITS. -version 1.4.2rc03 [April 16, 2010] +version 1.4.2rc03 [April 24, 2010] Added some "(long)" typecasts to printf calls in png_handle_cHRM(). + Relaxed the overly-restrictive permissions of some files. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/INSTALL b/INSTALL index 0ccf61412..1abd80610 100644 --- a/INSTALL +++ b/INSTALL @@ -1,5 +1,5 @@ -Installing libpng version 1.4.2rc03 - April 16, 2010 +Installing libpng version 1.4.2rc03 - April 24, 2010 On Unix/Linux and similar systems, you can simply type diff --git a/LICENSE b/LICENSE index de46083d8..be7f1459f 100644 --- a/LICENSE +++ b/LICENSE @@ -10,7 +10,7 @@ this sentence. This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.4.2rc03, April 16, 2010, are +libpng versions 1.2.6, August 15, 2004, through 1.4.2rc03, April 24, 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 @@ -108,4 +108,4 @@ certification mark of the Open Source Initiative. Glenn Randers-Pehrson glennrp at users.sourceforge.net -April 16, 2010 +April 24, 2010 diff --git a/README b/README index 51c336d3f..27ff03119 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -README for libpng version 1.4.2rc03 - April 16, 2010 (shared library 14.0) +README for libpng version 1.4.2rc03 - April 24, 2010 (shared library 14.0) See the note about version numbers near the top of png.h See INSTALL for instructions on how to install libpng. diff --git a/example.c b/example.c index 60eea13f0..da67ff684 100644 --- a/example.c +++ b/example.c @@ -2,7 +2,7 @@ #if 0 /* in case someone actually tries to compile this */ /* example.c - an example of using libpng - * Last changed in libpng 1.4.2 [April 16, 2010] + * Last changed in libpng 1.4.2 [April 24, 2010] * This file has been placed in the public domain by the authors. * Maintained 1998-2010 Glenn Randers-Pehrson * Maintained 1996, 1997 Andreas Dilger) diff --git a/libpng-1.4.2rc03.txt b/libpng-1.4.2rc03.txt index f6dfebf36..b9dda0d83 100644 --- a/libpng-1.4.2rc03.txt +++ b/libpng-1.4.2rc03.txt @@ -1,6 +1,6 @@ libpng.txt - A description on how to use and modify libpng - libpng version 1.4.2rc03 - April 16, 2010 + libpng version 1.4.2rc03 - April 24, 2010 Updated and distributed by Glenn Randers-Pehrson 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.4.2rc03 - April 16, 2010 + libpng versions 0.97, January 1998, through 1.4.2rc03 - April 24, 2010 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2009 Glenn Randers-Pehrson @@ -3297,7 +3297,7 @@ Other rules can be inferred by inspecting the libpng source. XIII. Y2K Compliance in libpng -April 16, 2010 +April 24, 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 56bcb15c0..97911fe38 100644 --- a/libpng.3 +++ b/libpng.3 @@ -1,4 +1,4 @@ -.TH LIBPNG 3 "April 16, 2010" +.TH LIBPNG 3 "April 24, 2010" .SH NAME libpng \- Portable Network Graphics (PNG) Reference Library 1.4.2rc03 .SH SYNOPSIS @@ -785,7 +785,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.4.2rc03 - April 16, 2010 + libpng version 1.4.2rc03 - April 24, 2010 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2009 Glenn Randers-Pehrson @@ -796,7 +796,7 @@ libpng.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.4.2rc03 - April 16, 2010 + libpng versions 0.97, January 1998, through 1.4.2rc03 - April 24, 2010 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2009 Glenn Randers-Pehrson @@ -4082,7 +4082,7 @@ Other rules can be inferred by inspecting the libpng source. .SH XIII. Y2K Compliance in libpng -April 16, 2010 +April 24, 2010 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. @@ -4266,7 +4266,7 @@ the first widely used release: 1.4.1beta04-12 14 10401 14.so.14.1[.0] 1.4.1rc02-04 14 10401 14.so.14.1[.0] 1.4.1 14 10401 14.so.14.1[.0] - 1.4.2beta01-02 14 10402 14.so.14.2[.0] + 1.4.2beta01-03 14 10402 14.so.14.2[.0] Henceforth the source version will match the shared-library minor and patch numbers; the shared-library major version number will be @@ -4322,7 +4322,7 @@ possible without all of you. Thanks to Frank J. T. Wojcik for helping with the documentation. -Libpng version 1.4.2rc03 - April 16, 2010: +Libpng version 1.4.2rc03 - April 24, 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). @@ -4345,7 +4345,7 @@ this sentence. This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.4.2rc03, April 16, 2010, are +libpng versions 1.2.6, August 15, 2004, through 1.4.2rc03, April 24, 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 @@ -4444,7 +4444,7 @@ certification mark of the Open Source Initiative. Glenn Randers-Pehrson glennrp at users.sourceforge.net -April 16, 2010 +April 24, 2010 .\" end of man page diff --git a/libpngpf.3 b/libpngpf.3 index cd1ae3f75..4a129147d 100644 --- a/libpngpf.3 +++ b/libpngpf.3 @@ -1,4 +1,4 @@ -.TH LIBPNGPF 3 "April 16, 2010" +.TH LIBPNGPF 3 "April 24, 2010" .SH NAME libpng \- Portable Network Graphics (PNG) Reference Library 1.4.2rc03 (private functions) diff --git a/png.5 b/png.5 index afa227215..3d732fb5a 100644 --- a/png.5 +++ b/png.5 @@ -1,4 +1,4 @@ -.TH PNG 5 "April 16, 2010" +.TH PNG 5 "April 24, 2010" .SH NAME png \- Portable Network Graphics (PNG) format .SH DESCRIPTION diff --git a/png.c b/png.c index fd21e4421..d89d5e021 100644 --- a/png.c +++ b/png.c @@ -551,13 +551,13 @@ png_get_copyright(png_structp png_ptr) #else #ifdef __STDC__ return ((png_charp) PNG_STRING_NEWLINE \ - "libpng version 1.4.2rc03 - April 16, 2010" PNG_STRING_NEWLINE \ + "libpng version 1.4.2rc03 - April 24, 2010" PNG_STRING_NEWLINE \ "Copyright (c) 1998-2010 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.4.2rc03 - April 16, 2010\ + return ((png_charp) "libpng version 1.4.2rc03 - April 24, 2010\ Copyright (c) 1998-2010 Glenn Randers-Pehrson\ Copyright (c) 1996-1997 Andreas Dilger\ Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."); diff --git a/png.h b/png.h index 01b4fcd56..e5f1a7268 100644 --- a/png.h +++ b/png.h @@ -1,7 +1,7 @@ /* png.h - header file for PNG reference library * - * libpng version 1.4.2rc03 - April 16, 2010 + * libpng version 1.4.2rc03 - April 24, 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.2rc03 - April 16, 2010: Glenn + * libpng versions 0.97, January 1998, through 1.4.2rc03 - April 24, 2010: Glenn * See also "Contributing Authors", below. * * Note about libpng version numbers: @@ -139,7 +139,7 @@ * 1.4.1beta04-12 14 10401 14.so.14.1[.0] * 1.4.1rc02-04 14 10401 14.so.14.1[.0] * 1.4.1 14 10401 14.so.14.1[.0] - * 1.4.2beta01-02 14 10402 14.so.14.2[.0] + * 1.4.2beta01-03 14 10402 14.so.14.2[.0] * * Henceforth the source version will match the shared-library major * and minor numbers; the shared-library major version number will be @@ -171,7 +171,7 @@ * * This code is released under the libpng license. * - * libpng versions 1.2.6, August 15, 2004, through 1.4.2rc03, April 16, 2010, are + * libpng versions 1.2.6, August 15, 2004, through 1.4.2rc03, April 24, 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: @@ -283,7 +283,7 @@ * Y2K compliance in libpng: * ========================= * - * April 16, 2010 + * April 24, 2010 * * Since the PNG Development group is an ad-hoc body, we can't make * an official declaration. @@ -347,7 +347,7 @@ /* Version information for png.h - this should match the version in png.c */ #define PNG_LIBPNG_VER_STRING "1.4.2rc03" #define PNG_HEADER_VERSION_STRING \ - " libpng version 1.4.2rc03 - April 16, 2010\n" + " libpng version 1.4.2rc03 - April 24, 2010\n" #define PNG_LIBPNG_VER_SONUM 14 #define PNG_LIBPNG_VER_DLLNUM 14 diff --git a/pngconf.h b/pngconf.h index 34e7976b9..740b768a0 100644 --- a/pngconf.h +++ b/pngconf.h @@ -1,7 +1,7 @@ /* pngconf.h - machine configurable file for libpng * - * libpng version 1.4.2rc03 - April 16, 2010 + * libpng version 1.4.2rc03 - April 24, 2010 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2010 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/pngpriv.h b/pngpriv.h index 6d23a93d8..ed3af7784 100644 --- a/pngpriv.h +++ b/pngpriv.h @@ -1,7 +1,7 @@ /* pngpriv.h - private declarations for use inside libpng * - * libpng version 1.4.2rc03 - April 16, 2010 + * libpng version 1.4.2rc03 - April 24, 2010 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2010 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/pngread.c b/pngread.c index e5577346d..5473b2eea 100644 --- a/pngread.c +++ b/pngread.c @@ -1,7 +1,7 @@ /* pngread.c - read a PNG file * - * Last changed in libpng 1.4.2 [April 16, 2010] + * Last changed in libpng 1.4.2 [April 24, 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.) diff --git a/pngrtran.c b/pngrtran.c index b24d0cf26..1538a81ab 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.4.2 [April 16, 2010] + * Last changed in libpng 1.4.2 [April 24, 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.) diff --git a/pngrutil.c b/pngrutil.c index dd4e4de3e..26b834e95 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -1,7 +1,7 @@ /* pngrutil.c - utilities to read a PNG file * - * Last changed in libpng 1.4.2 [April 16, 2010] + * Last changed in libpng 1.4.2 [April 24, 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.) diff --git a/scripts/README.txt b/scripts/README.txt index c0512eb44..e48210a51 100644 --- a/scripts/README.txt +++ b/scripts/README.txt @@ -1,5 +1,5 @@ -Makefiles for libpng version 1.4.2rc03 - April 16, 2010 +Makefiles for libpng version 1.4.2rc03 - April 24, 2010 makefile.linux => Linux/ELF makefile (gcc, creates libpng14.so.14.1.4.2rc03)