diff --git a/ANNOUNCE b/ANNOUNCE index 356d80202..33372544f 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,5 +1,5 @@ -Libpng 1.7.0beta32 - February 6, 2014 +Libpng 1.7.0beta32 - February 16, 2014 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. @@ -22,7 +22,7 @@ Other information: 1.7.0beta32-README.txt 1.7.0beta32-LICENSE.txt - Gnupg/*.asc (PGP armored detached signatures) + libpng-1.7.0beta32-*.asc (armored detached GPG signatures) Changes since the last public release (1.6.0): @@ -446,7 +446,7 @@ Version 1.7.0beta24 [December 15, 2013] Tidied up pngfix inits and fixed pngtest no-write builds. Bookkeeping: Moved functions around (no changes). Moved transform function definitions before the place where they are called so that - they can be masde static. Move the intrapixel functions and the + they can be made static. Move the intrapixel functions and the grayscale palette builder out of the png?tran.c files. The latter isn't a transform function and is no longer used internally, and the former MNG specific functions are better placed in pngread/pngwrite.c @@ -533,7 +533,10 @@ Version 1.7.0beta31 [February 6, 2014] and it adds corresponding code to pngimage.c to handle such options by not attempting to test them. -Version 1.7.0beta32 [February 6, 2014] +Version 1.7.0beta32 [February 16, 2014] + Moved redefines of png_error(), png_warning(), png_chunk_error(), + and png_chunk_warning() from pngpriv.h to png.h to make them visible + to libpng-calling applications. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 103b9d0d0..fc94f8e68 100644 --- a/CHANGES +++ b/CHANGES @@ -4735,7 +4735,7 @@ Version 1.7.0beta24 [December 15, 2013] Tidied up pngfix inits and fixed pngtest no-write builds. Bookkeeping: Moved functions around (no changes). Moved transform function definitions before the place where they are called so that - they can be masde static. Move the intrapixel functions and the + they can be made static. Move the intrapixel functions and the grayscale palette builder out of the png?tran.c files. The latter isn't a transform function and is no longer used internally, and the former MNG specific functions are better placed in pngread/pngwrite.c @@ -4822,7 +4822,10 @@ Version 1.7.0beta31 [February 6, 2014] and it adds corresponding code to pngimage.c to handle such options by not attempting to test them. -Version 1.7.0beta32 [February 6, 2014] +Version 1.7.0beta32 [February 16, 2014] + Moved redefines of png_error(), png_warning(), png_chunk_error(), + and png_chunk_warning() from pngpriv.h to png.h to make them visible + to libpng-calling applications. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/png.h b/png.h index 56cab63fd..40db533f0 100644 --- a/png.h +++ b/png.h @@ -1,7 +1,7 @@ /* png.h - header file for PNG reference library * - * libpng version 1.7.0beta32 - February 6, 2014 + * libpng version 1.7.0beta32 - February 16, 2014 * Copyright (c) 1998-2013 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.7.0beta32 - February 6, 2014: Glenn + * libpng versions 0.97, January 1998, through 1.7.0beta32 - February 16, 2014: Glenn * See also "Contributing Authors", below. * * Note about libpng version numbers: @@ -200,7 +200,7 @@ * * This code is released under the libpng license. * - * libpng versions 1.2.6, August 15, 2004, through 1.7.0beta32, February 6, 2014, are + * libpng versions 1.2.6, August 15, 2004, through 1.7.0beta32, February 16, 2014, are * Copyright (c) 2004, 2006-2013 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: @@ -312,7 +312,7 @@ * Y2K compliance in libpng: * ========================= * - * February 6, 2014 + * February 16, 2014 * * Since the PNG Development group is an ad-hoc body, we can't make * an official declaration. @@ -380,7 +380,7 @@ /* Version information for png.h - this should match the version in png.c */ #define PNG_LIBPNG_VER_STRING "1.7.0beta32" #define PNG_HEADER_VERSION_STRING \ - " libpng version 1.7.0beta32 - February 6, 2014\n" + " libpng version 1.7.0beta32 - February 16, 2014\n" #define PNG_LIBPNG_VER_SONUM 17 #define PNG_LIBPNG_VER_DLLNUM 17 @@ -2100,6 +2100,8 @@ PNG_EXPORTA(103, void, png_chunk_error, (png_const_structrp png_ptr, #else /* Fatal error in PNG image of libpng - can't continue */ PNG_EXPORTA(104, void, png_err, (png_const_structrp png_ptr), PNG_NORETURN); +# define png_error(s1,s2) png_err(s1) +# define png_chunk_error(s1,s2) png_err(s1) #endif #ifdef PNG_WARNINGS_SUPPORTED @@ -2110,6 +2112,9 @@ PNG_EXPORT(105, void, png_warning, (png_const_structrp png_ptr, /* Non-fatal error in libpng, chunk name is prepended to message. */ PNG_EXPORT(106, void, png_chunk_warning, (png_const_structrp png_ptr, png_const_charp warning_message)); +#else +# define png_warning(s1,s2) ((void)(s1)) +# define png_chunk_warning(s1,s2) ((void)(s1)) #endif #ifdef PNG_BENIGN_ERRORS_SUPPORTED diff --git a/pngpriv.h b/pngpriv.h index 14fbea53f..115609268 100644 --- a/pngpriv.h +++ b/pngpriv.h @@ -429,8 +429,6 @@ #ifdef PNG_WARNINGS_SUPPORTED # define PNG_WARNING_PARAMETERS(p) png_warning_parameters p; #else -# define png_warning(s1,s2) ((void)(s1)) -# define png_chunk_warning(s1,s2) ((void)(s1)) # define png_warning_parameter(p,number,string) ((void)0) # define png_warning_parameter_unsigned(p,number,format,value) ((void)0) # define png_warning_parameter_signed(p,number,format,value) ((void)0) @@ -438,8 +436,6 @@ # define PNG_WARNING_PARAMETERS(p) #endif #ifndef PNG_ERROR_TEXT_SUPPORTED -# define png_error(s1,s2) png_err(s1) -# define png_chunk_error(s1,s2) png_err(s1) # define png_fixed_error(s1,s2) png_err(s1) #endif