From cbbe9a5c011b99884f932d9272bf2b09965f9a69 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 29 Jan 2011 16:12:11 -0600 Subject: [PATCH] [devel] Added a request in the manual that applications do not use "png_" or "PNG_" to begin any of their own symbols. --- ANNOUNCE | 22 ++++++++++++++-------- CHANGES | 5 +++++ libpng-manual.txt | 15 ++++++++------- libpng.3 | 21 +++++++++++---------- 4 files changed, 38 insertions(+), 25 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index 90cbf5d5c..6723c9f99 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,5 +1,5 @@ -Libpng 1.5.1rc01 - January 29, 2011 +Libpng 1.5.1rc02 - January 29, 2011 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. @@ -9,20 +9,20 @@ Files available for download: Source files with LF line endings (for Unix/Linux) and with a "configure" script - 1.5.1rc01.tar.xz (LZMA-compressed, recommended) - 1.5.1rc01.tar.gz - 1.5.1rc01.tar.bz2 + 1.5.1rc02.tar.xz (LZMA-compressed, recommended) + 1.5.1rc02.tar.gz + 1.5.1rc02.tar.bz2 Source files with CRLF line endings (for Windows), without the "configure" script - lp151r01.7z (LZMA-compressed, recommended) - lp151r01.zip + lp151r02.7z (LZMA-compressed, recommended) + lp151r02.zip Other information: - 1.5.1rc01-README.txt - 1.5.1rc01-LICENSE.txt + 1.5.1rc02-README.txt + 1.5.1rc02-LICENSE.txt Changes since the last public release (1.5.0): @@ -116,6 +116,12 @@ Version 1.5.1beta11 [January 28, 2011] Added transform tests to pngvalid and simplified the arguments. Version 1.5.1rc01 [January 29, 2011] + No changes. + +Version 1.5.1rc02 [January 29, 2011] + Added a request in the manual that applications do not use "png_" or + "PNG_" to begin any of their own symbols. + Send comments/corrections/commendations to png-mng-implement at lists.sf.net: (subscription required; visit diff --git a/CHANGES b/CHANGES index 5da9727aa..ec7bab2b6 100644 --- a/CHANGES +++ b/CHANGES @@ -3232,6 +3232,11 @@ Version 1.5.1beta11 [January 28, 2011] Added transform tests to pngvalid and simplified the arguments. Version 1.5.1rc01 [January 29, 2011] + No changes. + +Version 1.5.1rc02 [January 29, 2011] + Added a request in the manual that applications do not use "png_" or + "PNG_" to begin any of their own symbols. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/libpng-manual.txt b/libpng-manual.txt index 3e366c388..1fc55809e 100644 --- a/libpng-manual.txt +++ b/libpng-manual.txt @@ -1,6 +1,6 @@ libpng-manual.txt - A description on how to use and modify libpng - libpng version 1.5.1rc01 - January 29, 2011 + libpng version 1.5.1rc02 - January 29, 2011 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2011 Glenn Randers-Pehrson @@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.5.1rc01 - January 29, 2011 + libpng versions 0.97, January 1998, through 1.5.1rc02 - January 29, 2011 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2011 Glenn Randers-Pehrson @@ -1175,7 +1175,7 @@ things. As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was added. It expands the sample depth without changing tRNS to alpha. -As of libpng version 1.5.1rc01, not all possible expansions are supported. +As of libpng version 1.5.1rc02, not all possible expansions are supported. In the following table, the 01 means grayscale with depth<8, 31 means indexed with depth<8, other numerals represent the color type, "T" means @@ -4055,9 +4055,10 @@ above the comment that says /* Maintainer: Put new private prototypes here ^ and in libpngpf.3 */ -The names of all exported functions and variables begin -with "png_", and all publicly visible C preprocessor -macros begin with "PNG_". +To avoid polluting the global namespace, the names of all exported +functions and variables begin with "png_", and all publicly visible C +preprocessor macros begin with "PNG_". We request that applications that +use libpng *not* begin any of their own symbols with either of these strings. We put a space after each comma and after each semicolon in "for" statements, and we put spaces before and after each @@ -4086,7 +4087,7 @@ Since the PNG Development group is an ad-hoc body, we can't make an official declaration. This is your unofficial assurance that libpng from version 0.71 and -upward through 1.5.1rc01 are Y2K compliant. It is my belief that earlier +upward through 1.5.1rc02 are Y2K compliant. It is my belief that earlier versions were also Y2K compliant. Libpng only has three year fields. One is a 2-byte unsigned integer that diff --git a/libpng.3 b/libpng.3 index 793b42826..74102f579 100644 --- a/libpng.3 +++ b/libpng.3 @@ -1,6 +1,6 @@ .TH LIBPNG 3 "January 29, 2011" .SH NAME -libpng \- Portable Network Graphics (PNG) Reference Library 1.5.1rc01 +libpng \- Portable Network Graphics (PNG) Reference Library 1.5.1rc02 .SH SYNOPSIS \fI\fB @@ -919,7 +919,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng. .SH LIBPNG.TXT libpng-manual.txt - A description on how to use and modify libpng - libpng version 1.5.1rc01 - January 29, 2011 + libpng version 1.5.1rc02 - January 29, 2011 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2011 Glenn Randers-Pehrson @@ -930,7 +930,7 @@ libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.5.1rc01 - January 29, 2011 + libpng versions 0.97, January 1998, through 1.5.1rc02 - January 29, 2011 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2011 Glenn Randers-Pehrson @@ -2094,7 +2094,7 @@ things. As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was added. It expands the sample depth without changing tRNS to alpha. -As of libpng version 1.5.1rc01, not all possible expansions are supported. +As of libpng version 1.5.1rc02, not all possible expansions are supported. In the following table, the 01 means grayscale with depth<8, 31 means indexed with depth<8, other numerals represent the color type, "T" means @@ -4974,9 +4974,10 @@ above the comment that says /* Maintainer: Put new private prototypes here ^ and in libpngpf.3 */ -The names of all exported functions and variables begin -with "png_", and all publicly visible C preprocessor -macros begin with "PNG_". +To avoid polluting the global namespace, the names of all exported +functions and variables begin with "png_", and all publicly visible C +preprocessor macros begin with "PNG_". We request that applications that +use libpng *not* begin any of their own symbols with either of these strings. We put a space after each comma and after each semicolon in "for" statements, and we put spaces before and after each @@ -5005,7 +5006,7 @@ Since the PNG Development group is an ad-hoc body, we can't make an official declaration. This is your unofficial assurance that libpng from version 0.71 and -upward through 1.5.1rc01 are Y2K compliant. It is my belief that earlier +upward through 1.5.1rc02 are Y2K compliant. It is my belief that earlier versions were also Y2K compliant. Libpng only has three year fields. One is a 2-byte unsigned integer that @@ -5246,7 +5247,7 @@ possible without all of you. Thanks to Frank J. T. Wojcik for helping with the documentation. -Libpng version 1.5.1rc01 - January 29, 2011: +Libpng version 1.5.1rc02 - January 29, 2011: Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net). @@ -5269,7 +5270,7 @@ this sentence. This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.5.1rc01, January 29, 2011, are +libpng versions 1.2.6, August 15, 2004, through 1.5.1rc02, January 29, 2011, 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