[libpng15] Removed obsolete reference to "near_time_buffer"

from documentation; corrected comments in png.h and manual about time_buffer.
This commit is contained in:
Glenn Randers-Pehrson 2012-06-13 12:38:11 -05:00
parent 9ecdaa8d6d
commit af569eb682
3 changed files with 25 additions and 26 deletions

View File

@ -1,6 +1,6 @@
Libpng-manual.txt - A description on how to use and modify libpng
libpng version 1.5.11rc06 - June 9, 2012
libpng version 1.5.11rc06 - June 13, 2012
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
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.11rc06 - June 9, 2012
libpng versions 0.97, January 1998, through 1.5.11rc06 - June 13, 2012
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2011 Glenn Randers-Pehrson
@ -4602,7 +4602,7 @@ Other rules can be inferred by inspecting the libpng source.
XIV. Y2K Compliance in libpng
June 9, 2012
June 13, 2012
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
@ -4611,16 +4611,15 @@ This is your unofficial assurance that libpng from version 0.71 and
upward through 1.5.11rc06 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
will hold years up to 65535. The other two hold the date in text
Libpng only has two year fields. One is a 2-byte unsigned integer that
will hold years up to 65535. The other holds the date in text
format, and will hold years up to 9999.
The integer is
"png_uint_16 year" in png_time_struct.
The strings are
"png_charp time_buffer" in png_struct and
"near_time_buffer", which is a local character string in png.c.
The string is
"png_charp time_buffer" in png_struct
There are seven time-related functions:

View File

@ -1,4 +1,4 @@
.TH LIBPNG 3 "June 9, 2012"
.TH LIBPNG 3 "June 13, 2012"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.11rc06
.SH SYNOPSIS
@ -981,7 +981,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.11rc06 - June 9, 2012
libpng version 1.5.11rc06 - June 13, 2012
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2011 Glenn Randers-Pehrson
@ -992,7 +992,7 @@ Libpng-manual.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.5.11rc06 - June 9, 2012
libpng versions 0.97, January 1998, through 1.5.11rc06 - June 13, 2012
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2011 Glenn Randers-Pehrson
@ -5584,7 +5584,7 @@ Other rules can be inferred by inspecting the libpng source.
.SH XIV. Y2K Compliance in libpng
June 9, 2012
June 13, 2012
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
@ -5593,16 +5593,15 @@ This is your unofficial assurance that libpng from version 0.71 and
upward through 1.5.11rc06 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
will hold years up to 65535. The other two hold the date in text
Libpng only has two year fields. One is a 2-byte unsigned integer that
will hold years up to 65535. The other holds the date in text
format, and will hold years up to 9999.
The integer is
"png_uint_16 year" in png_time_struct.
The strings are
"png_charp time_buffer" in png_struct and
"near_time_buffer", which is a local character string in png.c.
The string is
"png_charp time_buffer" in png_struct
There are seven time-related functions:
@ -5861,7 +5860,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.5.11rc06 - June 9, 2012:
Libpng version 1.5.11rc06 - June 13, 2012:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
@ -5884,7 +5883,7 @@ this sentence.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.5.11rc06, June 9, 2012, are
libpng versions 1.2.6, August 15, 2004, through 1.5.11rc06, June 13, 2012, 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
@ -5983,7 +5982,7 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
June 9, 2012
June 13, 2012
.\" end of man page

13
png.h
View File

@ -1,7 +1,7 @@
/* png.h - header file for PNG reference library
*
* libpng version 1.5.11rc06 - June 7, 2012
* libpng version 1.5.11rc06 - June 13, 2012
* Copyright (c) 1998-2012 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.5.11rc06 - June 7, 2012: Glenn
* libpng versions 0.97, January 1998, through 1.5.11rc06 - June 13, 2012: Glenn
* See also "Contributing Authors", below.
*
* Note about libpng version numbers:
@ -207,7 +207,7 @@
*
* This code is released under the libpng license.
*
* libpng versions 1.2.6, August 15, 2004, through 1.5.11rc06, June 7, 2012, are
* libpng versions 1.2.6, August 15, 2004, through 1.5.11rc06, June 13, 2012, are
* Copyright (c) 2004, 2006-2012 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:
@ -319,7 +319,7 @@
* Y2K compliance in libpng:
* =========================
*
* June 7, 2012
* June 13, 2012
*
* Since the PNG Development group is an ad-hoc body, we can't make
* an official declaration.
@ -336,7 +336,8 @@
* "png_uint_16 year" in png_time_struct.
*
* The string is
* "png_char time_buffer" in png_struct
* "char time_buffer[29]" in png_struct. This is no
* longer used and will be removed from libpng-1.7.0.
*
* There are seven time-related functions:
* png.c: png_convert_to_rfc_1123() in png.c
@ -385,7 +386,7 @@
/* Version information for png.h - this should match the version in png.c */
#define PNG_LIBPNG_VER_STRING "1.5.11rc06"
#define PNG_HEADER_VERSION_STRING \
" libpng version 1.5.11rc06 - June 7, 2012\n"
" libpng version 1.5.11rc06 - June 13, 2012\n"
#define PNG_LIBPNG_VER_SONUM 15
#define PNG_LIBPNG_VER_DLLNUM 15