[libpng17] Imported from libpng-1.7.0beta65.tar

This commit is contained in:
Glenn Randers-Pehrson 2015-09-16 10:12:17 -05:00
parent dba870122c
commit bfc7affa0d
17 changed files with 43 additions and 32 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.7.0beta65 - September 15, 2015
Libpng 1.7.0beta65 - September 16, 2015
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.
@ -852,7 +852,7 @@ Version 1.7.0beta64 [July 26, 2015]
Belatedly added Mans Rullgard and James Yu to the list of Contributing
Authors.
Version 1.7.0beta65 [September 15, 2015]
Version 1.7.0beta65 [September 16, 2015]
Use nanosleep() instead of usleep() in contrib/gregbook/rpng2-x.c
because usleep() is deprecated (port from libpng16).
Fixed potential leak of png_pixels in contrib/pngminus/pnm2png.c
@ -861,6 +861,15 @@ Version 1.7.0beta65 [September 15, 2015]
"libpng_autotools_extra" list in autogen.sh because it was causing a
false positive for missing files (bug report by Robert C. Seacord).
Fixed some bad links in the man page.
Renamed the arm subdirectory to contrib/neon.
Made minor fixes to the test scripts:
pngimage: add --list-combos pngunknown: add --strict to catch warnings
pngvalid-standard: remove the spurious --progressive read (compare with
pngvalid-progressive-standard!) (John Bowler).
Implemented a new chunk parse implementation that can be shared. It
is currently shared by the progressive reader and the sequential one
(but not yet by the writer) (John Bowler).
Implemented shared transform handling that is used throughout (John Bowler).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -5149,7 +5149,7 @@ Version 1.7.0beta64 [July 26, 2015]
Belatedly added Mans Rullgard and James Yu to the list of Contributing
Authors.
Version 1.7.0beta65 [September 15, 2015]
Version 1.7.0beta65 [September 16, 2015]
Use nanosleep() instead of usleep() in contrib/gregbook/rpng2-x.c
because usleep() is deprecated (port from libpng16).
Fixed potential leak of png_pixels in contrib/pngminus/pnm2png.c

View File

@ -10,7 +10,7 @@ this sentence.
This code is released under the libpng license.
libpng versions 1.0.7, July 1, 2000, through 1.7.0beta65, July 26, 2015, are
libpng versions 1.0.7, July 1, 2000, through 1.7.0beta65, September 16, 2015, are
Copyright (c) 2000-2002, 2004, 2006-2015 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.0.6
with the following individuals added to the list of Contributing Authors:
@ -104,4 +104,4 @@ the additional disclaimers inserted at version 1.0.7.
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
July 26, 2015
September 16, 2015

2
README
View File

@ -1,4 +1,4 @@
README for libpng version 1.7.0beta65 - July 26, 2015 (shared library 17.0)
README for libpng version 1.7.0beta65 - September 16, 2015 (shared library 17.0)
See the note about version numbers near the top of png.h
See INSTALL for instructions on how to install libpng.

View File

@ -5408,7 +5408,7 @@ test_size(png_modifier* const pm, png_byte const colour_type,
# ifdef PNG_READ_DEINTERLACE_SUPPORTED
# ifdef PNG_WRITE_INTERLACING_SUPPORTED
/* Test both togeher: */
/* Test both together: */
standard_test(&pm->this, FILEID(colour_type, DEPTH(bdlo), 0/*palette*/,
PNG_INTERLACE_ADAM7, w, h, 0), 0/*do_interlace*/,
pm->use_update_info);
@ -6601,8 +6601,8 @@ image_transform_png_set_tRNS_to_alpha_add(image_transform *this,
/* We don't know yet whether there will be a tRNS chunk, but we know that
* this transformation should do nothing if there already is an alpha
* channel. In addition, afte the bug fix in 1.7.0, there is no longer any
* action on a palette image.
* channel. In addition, after the bug fix in 1.7.0, there is no longer
* any action on a palette image.
*/
return
# if PNG_LIBPNG_VER >= 10700

View File

@ -36,5 +36,6 @@ option FLOATING_ARITHMETIC off
option SETJMP on
option STDIO on
option READ_EXPAND on
option READ_DEINTERLACE on
option READ_STRIP_16_TO_8 on
option USER_LIMITS on

View File

@ -36,5 +36,6 @@ option STDIO on
option READ_bKGD on
option READ_GAMMA on
option READ_EXPAND on
option READ_DEINTERLACE on
option READ_STRIP_16_TO_8 on
option READ_GRAY_TO_RGB on

View File

@ -1,6 +1,6 @@
libpng-manual.txt - A description on how to use and modify libpng
libpng version 1.7.0beta65 - September 15, 2015
libpng version 1.7.0beta65 - September 16, 2015
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2015 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.7.0beta65 - September 15, 2015
libpng versions 0.97, January 1998, through 1.7.0beta65 - September 16, 2015
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2015 Glenn Randers-Pehrson
@ -5317,7 +5317,7 @@ Other rules can be inferred by inspecting the libpng source.
XVII. Y2K Compliance in libpng
September 15, 2015
September 16, 2015
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.

View File

@ -1,4 +1,4 @@
.TH LIBPNG 3 "September 15, 2015"
.TH LIBPNG 3 "September 16, 2015"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.7.0beta65
.SH SYNOPSIS
@ -498,7 +498,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.7.0beta65 - September 15, 2015
libpng version 1.7.0beta65 - September 16, 2015
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2015 Glenn Randers-Pehrson
@ -509,7 +509,7 @@ libpng-manual.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.7.0beta65 - September 15, 2015
libpng versions 0.97, January 1998, through 1.7.0beta65 - September 16, 2015
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2015 Glenn Randers-Pehrson
@ -5815,7 +5815,7 @@ Other rules can be inferred by inspecting the libpng source.
.SH XVII. Y2K Compliance in libpng
September 15, 2015
September 16, 2015
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
@ -6137,7 +6137,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.7.0beta65 - September 15, 2015:
Libpng version 1.7.0beta65 - September 16, 2015:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
@ -6160,7 +6160,7 @@ this sentence.
This code is released under the libpng license.
libpng versions 1.0.7, July 1, 2000, through 1.7.0beta65, September 15, 2015, are
libpng versions 1.0.7, July 1, 2000, through 1.7.0beta65, September 16, 2015, are
Copyright (c) 2000-2002, 2004, 2006-2015 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.0.6
with the following individuals added to the list of Contributing Authors:
@ -6254,7 +6254,7 @@ the additional disclaimers inserted at version 1.0.7.
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
September 15, 2015
September 16, 2015
.\" end of man page

View File

@ -1,4 +1,4 @@
.TH LIBPNGPF 3 "July 26, 2015"
.TH LIBPNGPF 3 "September 16, 2015"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.7.0beta65
(private functions)

2
png.5
View File

@ -1,4 +1,4 @@
.TH PNG 5 "August 11, 2015"
.TH PNG 5 "September 16, 2015"
.SH NAME
png \- Portable Network Graphics (PNG) format
.SH DESCRIPTION

4
png.c
View File

@ -694,13 +694,13 @@ png_get_copyright(png_const_structrp png_ptr)
#else
# ifdef __STDC__
return PNG_STRING_NEWLINE \
"libpng version 1.7.0beta65 - July 26, 2015" PNG_STRING_NEWLINE \
"libpng version 1.7.0beta65 - September 16, 2015" PNG_STRING_NEWLINE \
"Copyright (c) 1998-2015 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 "libpng version 1.7.0beta65 - July 26, 2015\
return "libpng version 1.7.0beta65 - September 16, 2015\
Copyright (c) 1998-2015 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.";

10
png.h
View File

@ -1,7 +1,7 @@
/* png.h - header file for PNG reference library
*
* libpng version 1.7.0beta65, July 26, 2015
* libpng version 1.7.0beta65, September 16, 2015
*
* Copyright (c) 1998-2015 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@ -12,7 +12,7 @@
* Authors and maintainers:
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
* libpng versions 0.97, January 1998, through 1.7.0beta65, July 26, 2015: Glenn
* libpng versions 0.97, January 1998, through 1.7.0beta65, September 16, 2015: Glenn
* See also "Contributing Authors", below.
*
* Note about libpng version numbers:
@ -252,7 +252,7 @@
*
* This code is released under the libpng license.
*
* libpng versions 1.0.7, July 1, 2000, through 1.7.0beta65, July 26, 2015, are
* libpng versions 1.0.7, July 1, 2000, through 1.7.0beta65, September 16, 2015, are
* Copyright (c) 2000-2002, 2004, 2006-2015 Glenn Randers-Pehrson, and are
* distributed according to the same disclaimer and license as libpng-1.0.6
* with the following individuals added to the list of Contributing Authors:
@ -361,7 +361,7 @@
* Y2K compliance in libpng:
* =========================
*
* July 26, 2015
* September 16, 2015
*
* Since the PNG Development group is an ad-hoc body, we can't make
* an official declaration.
@ -431,7 +431,7 @@
/* Version information for png.h - this should match the version in png.c */
#define PNG_LIBPNG_VER_STRING "1.7.0beta65"
#define PNG_HEADER_VERSION_STRING \
" libpng version 1.7.0beta65 - July 26, 2015\n"
" libpng version 1.7.0beta65 - September 16, 2015\n"
#define PNG_LIBPNG_VER_SONUM 17
#define PNG_LIBPNG_VER_DLLNUM 17

View File

@ -1,7 +1,7 @@
/* pngconf.h - machine configurable file for libpng
*
* libpng version 1.7.0beta65, July 26, 2015
* libpng version 1.7.0beta65, September 16, 2015
*
* Copyright (c) 1998-2015 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)

View File

@ -1,7 +1,7 @@
VisualStudio instructions
libpng version 1.7.0beta65 - July 26, 2015
libpng version 1.7.0beta65 - September 16, 2015
Copyright (c) 1998-2010 Glenn Randers-Pehrson

View File

@ -2,7 +2,7 @@
<!--
* zlib.props - location of zlib source
*
* libpng version 1.7.0beta65 - July 26, 2015
* libpng version 1.7.0beta65 - September 16, 2015
*
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
*

View File

@ -11,7 +11,7 @@ static const struct
png_uint_32 name;
}
png_known_chunks[] =
/* See scripts/chunkdesc.h for how this works: */
/* See pngchunk.h for how this works: */
#define PNG_CHUNK_END(n, c1, c2, c3, c4, before, after)\
{ png_ ##n }
#define PNG_CHUNK(n, c1, c2, c3, c4, before, after)\