From f97953181aaac968e4b85f614cfb9b9b12bd94fe Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Tue, 9 Feb 2010 01:16:48 -0600 Subject: [PATCH] [devel] Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES and updated the "last change" comments to 1.5.0 --- ANNOUNCE | 3 ++- CHANGES | 3 ++- example.c | 2 +- png.c | 4 ++-- png.h | 4 ++-- pngerror.c | 4 ++-- pngget.c | 2 +- pngmem.c | 4 ++-- pngpread.c | 4 ++-- pngread.c | 4 ++-- pngrio.c | 4 ++-- pngrtran.c | 4 ++-- pngrutil.c | 4 ++-- pngset.c | 4 ++-- pngtest.c | 2 +- pngtrans.c | 4 ++-- pngwio.c | 4 ++-- pngwrite.c | 4 ++-- pngwtran.c | 4 ++-- pngwutil.c | 4 ++-- 20 files changed, 37 insertions(+), 35 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index 06d8d9a30..fec1dffaf 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -43,9 +43,10 @@ version 1.5.0beta04 [February 9, 2010] version 1.5.0beta05 [February 9, 2010] Removed PNG_DEPSTRUCT markup in pngstruct.h and pnginfo.h, and undid the - linewrapping that it required. + linewrapping that it entailed. Revised comments in pngstruct.h and pnginfo.h and added pointers to the libpng license. + Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 1e1729a3d..188e104fb 100644 --- a/CHANGES +++ b/CHANGES @@ -2520,9 +2520,10 @@ version 1.5.0beta04 [February 9, 2010] version 1.5.0beta05 [February 9, 2010] Removed PNG_DEPSTRUCT markup in pngstruct.h and pnginfo.h, and undid the - linewrapping that it required. + linewrapping that it entailed. Revised comments in pngstruct.h and pnginfo.h and added pointers to the libpng license. + Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/example.c b/example.c index 8c5d87b66..d18812859 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.0 [January 3, 2010] + * Last changed in libpng 1.5.0 [February 9, 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/png.c b/png.c index ea0f5686a..5a80a8122 100644 --- a/png.c +++ b/png.c @@ -1,7 +1,7 @@ /* png.c - location for general purpose libpng functions * - * Last changed in libpng 1.4.1 [February 9, 2010] + * Last changed in libpng 1.5.0 [February 9, 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 @@ * and license in png.h */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_EXTERN #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" diff --git a/png.h b/png.h index d1ff90b6b..ec62f4d94 100644 --- a/png.h +++ b/png.h @@ -592,7 +592,7 @@ typedef png_unknown_chunk FAR * FAR * png_unknown_chunkpp; #endif -#ifdef PNG_INTERNAL +#ifdef PNG_EXPOSE_INTERNAL_STRUCTURES #include "pnginfo.h" #endif @@ -784,7 +784,7 @@ typedef void (PNGAPI *png_longjmp_ptr) PNGARG((jmp_buf, int)); typedef png_voidp (*png_malloc_ptr) PNGARG((png_structp, png_alloc_size_t)); typedef void (*png_free_ptr) PNGARG((png_structp, png_voidp)); -#ifdef PNG_INTERNAL +#ifdef PNG_EXPOSE_INTERNAL_STRUCTURES #include "pngstruct.h" #endif diff --git a/pngerror.c b/pngerror.c index 7fbf7ea14..5d8da362a 100644 --- a/pngerror.c +++ b/pngerror.c @@ -1,7 +1,7 @@ /* pngerror.c - stub functions for i/o and memory allocation * - * Last changed in libpng 1.4.0 [January 3, 2010] + * Last changed in libpng 1.5.0 [February 9, 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.) @@ -16,7 +16,7 @@ * at each function. */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED) diff --git a/pngget.c b/pngget.c index 54ea39912..c33e4d26a 100644 --- a/pngget.c +++ b/pngget.c @@ -12,7 +12,7 @@ * */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED) diff --git a/pngmem.c b/pngmem.c index 8d238f148..6a02ed845 100644 --- a/pngmem.c +++ b/pngmem.c @@ -1,7 +1,7 @@ /* pngmem.c - stub functions for memory allocation * - * Last changed in libpng 1.4.0 [February 9, 2010] + * Last changed in libpng 1.5.0 [February 9, 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.) @@ -17,7 +17,7 @@ * identify the replacement functions. */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED) diff --git a/pngpread.c b/pngpread.c index 0fe061f48..f809901a6 100644 --- a/pngpread.c +++ b/pngpread.c @@ -1,7 +1,7 @@ /* pngpread.c - read a png file in push mode * - * Last changed in libpng 1.4.1 [February 9, 2010] + * Last changed in libpng 1.5.0 [February 9, 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 @@ * and license in png.h */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #ifdef PNG_PROGRESSIVE_READ_SUPPORTED diff --git a/pngread.c b/pngread.c index 496f5e9a9..8235d7f49 100644 --- a/pngread.c +++ b/pngread.c @@ -1,7 +1,7 @@ /* pngread.c - read a PNG file * - * Last changed in libpng 1.4.1 [February 9, 2010] + * Last changed in libpng 1.5.0 [February 9, 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.) @@ -14,7 +14,7 @@ * read a PNG file or stream. */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #ifdef PNG_READ_SUPPORTED diff --git a/pngrio.c b/pngrio.c index 69b19028f..ee581c92b 100644 --- a/pngrio.c +++ b/pngrio.c @@ -1,7 +1,7 @@ /* pngrio.c - functions for data input * - * Last changed in libpng 1.4.1 [February 9, 2010] + * Last changed in libpng 1.5.0 [February 9, 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.) @@ -18,7 +18,7 @@ * libpng use it at run time with png_set_read_fn(...). */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #ifdef PNG_READ_SUPPORTED diff --git a/pngrtran.c b/pngrtran.c index f60cda95a..bd0f53b23 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.1 [February 9, 2010] + * Last changed in libpng 1.5.0 [February 9, 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.) @@ -16,7 +16,7 @@ * in pngtrans.c. */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #ifdef PNG_READ_SUPPORTED diff --git a/pngrutil.c b/pngrutil.c index 9fb5dd6d2..543384de1 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.1 [February 9, 2010] + * Last changed in libpng 1.5.0 [February 9, 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.) @@ -14,7 +14,7 @@ * libpng itself during the course of reading an image. */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #ifdef PNG_READ_SUPPORTED diff --git a/pngset.c b/pngset.c index c103d3b8a..3b435f65b 100644 --- a/pngset.c +++ b/pngset.c @@ -1,7 +1,7 @@ /* pngset.c - storage of image information into info struct * - * Last changed in libpng 1.4.1 [February 9, 2010] + * Last changed in libpng 1.5.0 [February 9, 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.) @@ -16,7 +16,7 @@ * info struct and allows us to change the structure in the future. */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED) diff --git a/pngtest.c b/pngtest.c index 27b48ffcc..1a9b6cb0e 100644 --- a/pngtest.c +++ b/pngtest.c @@ -1,7 +1,7 @@ /* pngtest.c - a simple test program to test libpng * - * Last changed in libpng 1.4.1 [February 9, 2010] + * Last changed in libpng 1.5.0 [February 9, 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/pngtrans.c b/pngtrans.c index 47bd9e758..30382bbaf 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.4.0 [January 3, 2010] + * Last changed in libpng 1.5.0 [February 9, 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 @@ * and license in png.h */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED) diff --git a/pngwio.c b/pngwio.c index 65718c8c2..89b31f35e 100644 --- a/pngwio.c +++ b/pngwio.c @@ -1,7 +1,7 @@ /* pngwio.c - functions for data output * - * Last changed in libpng 1.4.0 [January 3, 2010] + * Last changed in libpng 1.5.0 [February 9, 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.) @@ -18,7 +18,7 @@ * them at run time with png_set_write_fn(...). */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #ifdef PNG_WRITE_SUPPORTED diff --git a/pngwrite.c b/pngwrite.c index 3c63bc857..c18fe80b5 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.4.0 [January 3, 2010] + * Last changed in libpng 1.5.0 [February 9, 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.) @@ -12,7 +12,7 @@ */ /* Get internal access to png.h */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #ifdef PNG_WRITE_SUPPORTED diff --git a/pngwtran.c b/pngwtran.c index feed04171..5b2700078 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.4.1 [February 9, 2010] + * Last changed in libpng 1.5.0 [February 9, 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 @@ * and license in png.h */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #ifdef PNG_WRITE_SUPPORTED diff --git a/pngwutil.c b/pngwutil.c index 71d5e052d..0773a2702 100644 --- a/pngwutil.c +++ b/pngwutil.c @@ -1,7 +1,7 @@ /* pngwutil.c - utilities to write a PNG file * - * Last changed in libpng 1.4.1 [February 9, 2010] + * Last changed in libpng 1.5.0 [February 9, 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 @@ * and license in png.h */ -#define PNG_INTERNAL +#define PNG_EXPOSE_INTERNAL_STRUCTURES #define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #ifdef PNG_WRITE_SUPPORTED