[libpng16] Imported from libpng-1.6.11beta06.tar

This commit is contained in:
Glenn Randers-Pehrson 2014-05-19 18:10:56 -05:00
parent f85092bc7b
commit 5808e7b8c8
17 changed files with 55 additions and 51 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.6.11beta06 - May 10, 2014 Libpng 1.6.11beta06 - May 19, 2014
This is not intended to be a public release. It will be replaced 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. within a few weeks by a public version or by another test version.
@ -62,7 +62,7 @@ Version 1.6.11beta05 [April 26, 2014]
"Not recognizing known sRGB profile that has been edited" warning for "Not recognizing known sRGB profile that has been edited" warning for
ICC V2 profiles that lack the MD5 signature in the profile header. ICC V2 profiles that lack the MD5 signature in the profile header.
Version 1.6.11beta06 [May 10, 2014] Version 1.6.11beta06 [May 19, 2014]
Added PNG_SKIP_sRGB_CHECK_PROFILE choice for png_set_option(). Added PNG_SKIP_sRGB_CHECK_PROFILE choice for png_set_option().
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net

View File

@ -4913,7 +4913,7 @@ Version 1.6.11beta05 [April 26, 2014]
"Not recognizing known sRGB profile that has been edited" warning for "Not recognizing known sRGB profile that has been edited" warning for
ICC V2 profiles that lack the MD5 signature in the profile header. ICC V2 profiles that lack the MD5 signature in the profile header.
Version 1.6.11beta06 [May 10, 2014] Version 1.6.11beta06 [May 19, 2014]
Added PNG_SKIP_sRGB_CHECK_PROFILE choice for png_set_option(). Added PNG_SKIP_sRGB_CHECK_PROFILE choice for png_set_option().
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net

View File

@ -10,7 +10,7 @@ this sentence.
This code is released under the libpng license. This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.6.11beta06, April 26, 2014, are libpng versions 1.2.6, August 15, 2004, through 1.6.11beta06, May 19, 2014, are
Copyright (c) 2004, 2006-2014 Glenn Randers-Pehrson, and are Copyright (c) 2004, 2006-2014 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.2.5 distributed according to the same disclaimer and license as libpng-1.2.5
with the following individual added to the list of Contributing Authors with the following individual added to the list of Contributing Authors
@ -108,4 +108,4 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson Glenn Randers-Pehrson
glennrp at users.sourceforge.net glennrp at users.sourceforge.net
April 26, 2014 May 19, 2014

2
README
View File

@ -1,4 +1,4 @@
README for libpng version 1.6.11beta06 - April 26, 2014 (shared library 16.0) README for libpng version 1.6.11beta06 - May 19, 2014 (shared library 16.0)
See the note about version numbers near the top of png.h See the note about version numbers near the top of png.h
See INSTALL for instructions on how to install libpng. See INSTALL for instructions on how to install libpng.

View File

@ -1,6 +1,6 @@
libpng-manual.txt - A description on how to use and modify libpng libpng-manual.txt - A description on how to use and modify libpng
libpng version 1.6.11beta06 - May 10, 2014 libpng version 1.6.11beta06 - May 19, 2014
Updated and distributed by Glenn Randers-Pehrson Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net> <glennrp at users.sourceforge.net>
Copyright (c) 1998-2014 Glenn Randers-Pehrson Copyright (c) 1998-2014 Glenn Randers-Pehrson
@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng
Based on: Based on:
libpng versions 0.97, January 1998, through 1.6.11beta06 - May 10, 2014 libpng versions 0.97, January 1998, through 1.6.11beta06 - May 19, 2014
Updated and distributed by Glenn Randers-Pehrson Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2014 Glenn Randers-Pehrson Copyright (c) 1998-2014 Glenn Randers-Pehrson
@ -5042,8 +5042,10 @@ very old broken Microsoft/HP 3144-byte sRGB profile. Starting with
libpng-1.6.11, recognizing and checking sRGB profiles can be avoided by libpng-1.6.11, recognizing and checking sRGB profiles can be avoided by
means of means of
png_set_option(ping, PNG_SKIP_sRGB_CHECK_PROFILE, #ifdef PNG_SKIP_sRGB_CHECK_PROFILE
PNG_OPTION_ON); png_set_option(ping, PNG_SKIP_sRGB_CHECK_PROFILE,
PNG_OPTION_ON);
#endif
It's not a good idea to do this if you are using the "simplified API", It's not a good idea to do this if you are using the "simplified API",
which needs to be able to recognize an sRGB profile conveyed via the iCCP which needs to be able to recognize an sRGB profile conveyed via the iCCP
@ -5273,7 +5275,7 @@ Other rules can be inferred by inspecting the libpng source.
XVI. Y2K Compliance in libpng XVI. Y2K Compliance in libpng
May 10, 2014 May 19, 2014
Since the PNG Development group is an ad-hoc body, we can't make Since the PNG Development group is an ad-hoc body, we can't make
an official declaration. an official declaration.

View File

@ -1,4 +1,4 @@
.TH LIBPNG 3 "May 10, 2014" .TH LIBPNG 3 "May 19, 2014"
.SH NAME .SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.11beta06 libpng \- Portable Network Graphics (PNG) Reference Library 1.6.11beta06
.SH SYNOPSIS .SH SYNOPSIS
@ -504,7 +504,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng.
.SH LIBPNG.TXT .SH LIBPNG.TXT
libpng-manual.txt - A description on how to use and modify libpng libpng-manual.txt - A description on how to use and modify libpng
libpng version 1.6.11beta06 - May 10, 2014 libpng version 1.6.11beta06 - May 19, 2014
Updated and distributed by Glenn Randers-Pehrson Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net> <glennrp at users.sourceforge.net>
Copyright (c) 1998-2014 Glenn Randers-Pehrson Copyright (c) 1998-2014 Glenn Randers-Pehrson
@ -515,7 +515,7 @@ libpng-manual.txt - A description on how to use and modify libpng
Based on: Based on:
libpng versions 0.97, January 1998, through 1.6.11beta06 - May 10, 2014 libpng versions 0.97, January 1998, through 1.6.11beta06 - May 19, 2014
Updated and distributed by Glenn Randers-Pehrson Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2014 Glenn Randers-Pehrson Copyright (c) 1998-2014 Glenn Randers-Pehrson
@ -5546,8 +5546,10 @@ very old broken Microsoft/HP 3144-byte sRGB profile. Starting with
libpng-1.6.11, recognizing and checking sRGB profiles can be avoided by libpng-1.6.11, recognizing and checking sRGB profiles can be avoided by
means of means of
png_set_option(ping, PNG_SKIP_sRGB_CHECK_PROFILE, #ifdef PNG_SKIP_sRGB_CHECK_PROFILE
PNG_OPTION_ON); png_set_option(ping, PNG_SKIP_sRGB_CHECK_PROFILE,
PNG_OPTION_ON);
#endif
It's not a good idea to do this if you are using the "simplified API", It's not a good idea to do this if you are using the "simplified API",
which needs to be able to recognize an sRGB profile conveyed via the iCCP which needs to be able to recognize an sRGB profile conveyed via the iCCP
@ -5777,7 +5779,7 @@ Other rules can be inferred by inspecting the libpng source.
.SH XVI. Y2K Compliance in libpng .SH XVI. Y2K Compliance in libpng
May 10, 2014 May 19, 2014
Since the PNG Development group is an ad-hoc body, we can't make Since the PNG Development group is an ad-hoc body, we can't make
an official declaration. an official declaration.
@ -6074,7 +6076,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation. Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.6.11beta06 - May 10, 2014: Libpng version 1.6.11beta06 - May 19, 2014:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net). Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
@ -6097,8 +6099,8 @@ this sentence.
This code is released under the libpng license. This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.6.11beta06, May 10, 2014, are libpng versions 1.2.6, August 15, 2004, through 1.6.11beta06, May 19, 2014, are
Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are Copyright (c) 2004,2006-2014 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.2.5 distributed according to the same disclaimer and license as libpng-1.2.5
with the following individual added to the list of Contributing Authors with the following individual added to the list of Contributing Authors
@ -6196,7 +6198,7 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson Glenn Randers-Pehrson
glennrp at users.sourceforge.net glennrp at users.sourceforge.net
May 10, 2014 May 19, 2014
.\" end of man page .\" end of man page

View File

@ -1,4 +1,4 @@
.TH LIBPNGPF 3 "April 26, 2014" .TH LIBPNGPF 3 "May 19, 2014"
.SH NAME .SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.11beta06 libpng \- Portable Network Graphics (PNG) Reference Library 1.6.11beta06
(private functions) (private functions)

2
png.5
View File

@ -1,4 +1,4 @@
.TH PNG 5 "April 26, 2014" .TH PNG 5 "May 19, 2014"
.SH NAME .SH NAME
png \- Portable Network Graphics (PNG) format png \- Portable Network Graphics (PNG) format
.SH DESCRIPTION .SH DESCRIPTION

4
png.c
View File

@ -773,13 +773,13 @@ png_get_copyright(png_const_structrp png_ptr)
#else #else
# ifdef __STDC__ # ifdef __STDC__
return PNG_STRING_NEWLINE \ return PNG_STRING_NEWLINE \
"libpng version 1.6.11beta06 - May 7, 2014" PNG_STRING_NEWLINE \ "libpng version 1.6.11beta06 - May 19, 2014" PNG_STRING_NEWLINE \
"Copyright (c) 1998-2014 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \ "Copyright (c) 1998-2014 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \ "Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \ "Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
PNG_STRING_NEWLINE; PNG_STRING_NEWLINE;
# else # else
return "libpng version 1.6.11beta06 - May 7, 2014\ return "libpng version 1.6.11beta06 - May 19, 2014\
Copyright (c) 1998-2014 Glenn Randers-Pehrson\ Copyright (c) 1998-2014 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\ Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."; 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 /* png.h - header file for PNG reference library
* *
* libpng version 1.6.11beta06 - May 7, 2014 * libpng version 1.6.11beta06 - May 19, 2014
* Copyright (c) 1998-2014 Glenn Randers-Pehrson * Copyright (c) 1998-2014 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
@ -11,7 +11,7 @@
* Authors and maintainers: * Authors and maintainers:
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat * 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.89c, June 1996, through 0.96, May 1997: Andreas Dilger
* libpng versions 0.97, January 1998, through 1.6.11beta06 - May 7, 2014: Glenn * libpng versions 0.97, January 1998, through 1.6.11beta06 - May 19, 2014: Glenn
* See also "Contributing Authors", below. * See also "Contributing Authors", below.
* *
* Note about libpng version numbers: * Note about libpng version numbers:
@ -227,7 +227,7 @@
* *
* This code is released under the libpng license. * This code is released under the libpng license.
* *
* libpng versions 1.2.6, August 15, 2004, through 1.6.11beta06, May 7, 2014, are * libpng versions 1.2.6, August 15, 2004, through 1.6.11beta06, May 19, 2014, are
* Copyright (c) 2004, 2006-2013 Glenn Randers-Pehrson, and are * Copyright (c) 2004, 2006-2013 Glenn Randers-Pehrson, and are
* distributed according to the same disclaimer and license as libpng-1.2.5 * distributed according to the same disclaimer and license as libpng-1.2.5
* with the following individual added to the list of Contributing Authors: * with the following individual added to the list of Contributing Authors:
@ -339,7 +339,7 @@
* Y2K compliance in libpng: * Y2K compliance in libpng:
* ========================= * =========================
* *
* May 7, 2014 * May 19, 2014
* *
* Since the PNG Development group is an ad-hoc body, we can't make * Since the PNG Development group is an ad-hoc body, we can't make
* an official declaration. * an official declaration.
@ -409,7 +409,7 @@
/* Version information for png.h - this should match the version in png.c */ /* Version information for png.h - this should match the version in png.c */
#define PNG_LIBPNG_VER_STRING "1.6.11beta06" #define PNG_LIBPNG_VER_STRING "1.6.11beta06"
#define PNG_HEADER_VERSION_STRING \ #define PNG_HEADER_VERSION_STRING \
" libpng version 1.6.11beta06 - May 7, 2014\n" " libpng version 1.6.11beta06 - May 19, 2014\n"
#define PNG_LIBPNG_VER_SONUM 16 #define PNG_LIBPNG_VER_SONUM 16
#define PNG_LIBPNG_VER_DLLNUM 16 #define PNG_LIBPNG_VER_DLLNUM 16

View File

@ -1,7 +1,7 @@
/* pngconf.h - machine configurable file for libpng /* pngconf.h - machine configurable file for libpng
* *
* libpng version 1.6.11beta06 - April 26, 2014 * libpng version 1.6.11beta06 - May 19, 2014
* *
* Copyright (c) 1998-2013 Glenn Randers-Pehrson * Copyright (c) 1998-2013 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)

View File

@ -1,7 +1,7 @@
VisualStudio instructions VisualStudio instructions
libpng version 1.6.11beta06 - April 26, 2014 libpng version 1.6.11beta06 - May 19, 2014
Copyright (c) 1998-2010 Glenn Randers-Pehrson Copyright (c) 1998-2010 Glenn Randers-Pehrson

View File

@ -2,7 +2,7 @@
<!-- <!--
* zlib.props - location of zlib source * zlib.props - location of zlib source
* *
* libpng version 1.6.11beta06 - April 26, 2014 * libpng version 1.6.11beta06 - May 19, 2014
* *
* Copyright (c) 1998-2011 Glenn Randers-Pehrson * Copyright (c) 1998-2011 Glenn Randers-Pehrson
* *

View File

@ -1,5 +1,5 @@
Makefiles for libpng version 1.6.11beta06 - April 26, 2014 Makefiles for libpng version 1.6.11beta06 - May 19, 2014
pnglibconf.h.prebuilt => Stores configuration settings pnglibconf.h.prebuilt => Stores configuration settings
makefile.linux => Linux/ELF makefile makefile.linux => Linux/ELF makefile

View File

@ -269,7 +269,7 @@ $1 == "option" && NF >= 2{
if (val != 1) { # error reading it if (val != 1) { # error reading it
if (val == 0) if (val == 0)
print "option", opt ": ERROR: missing contination line" print "option", opt ": ERROR: missing continuation line"
else else
print "option", opt ": ERROR: error reading continuation line" print "option", opt ": ERROR: error reading continuation line"
@ -362,7 +362,7 @@ pre != 0 && $1 == "chunk" && NF >= 2{
if (val != 1) { # error reading it if (val != 1) { # error reading it
if (val == 0) if (val == 0)
print "chunk", opt ": ERROR: missing contination line" print "chunk", opt ": ERROR: missing continuation line"
else else
print "chunk", opt ": ERROR: error reading continuation line" print "chunk", opt ": ERROR: error reading continuation line"
@ -493,7 +493,7 @@ $1 ~ /^@/{
next next
} }
# Check for unreognized lines, because of the preprocessing chunk # Check for unrecognized lines, because of the preprocessing chunk
# format errors will be detected on the first pass independent of # format errors will be detected on the first pass independent of
# any other format errors. # any other format errors.
{ {
@ -585,7 +585,7 @@ END{
# If an option[opt] is 'on' then turn on all requires[opt] # If an option[opt] is 'on' then turn on all requires[opt]
# If an option[opt] is 'off' then turn off all enabledby[opt] # If an option[opt] is 'off' then turn off all enabledby[opt]
# #
# Error out if we have to turn 'on' an 'off' option or vice versa. # Error out if we have to turn 'on' to an 'off' option or vice versa.
npending = 0 npending = 0
for (opt in option) if (opt != "") { for (opt in option) if (opt != "") {
if (option[opt] == "on" || option[opt] == "off") { if (option[opt] == "on" || option[opt] == "off") {
@ -677,7 +677,7 @@ END{
for (j=1; j<=nreqs; ++j) { for (j=1; j<=nreqs; ++j) {
print "#ifndef PNG_" r[j] "_SUPPORTED" >out print "#ifndef PNG_" r[j] "_SUPPORTED" >out
print "# undef PNG_on /*!" r[j] "*/" >out print "# undef PNG_on /*!" r[j] "*/" >out
# this error appears in the final output if something # This error appears in the final output if something
# was switched 'on' but the processing above to force # was switched 'on' but the processing above to force
# the requires did not work # the requires did not work
if (option[i] == "on") { if (option[i] == "on") {

View File

@ -580,19 +580,19 @@ option COLORSPACE enables GAMMA disabled
# #
# -1: Don't do any sRGB profile checking. # -1: Don't do any sRGB profile checking.
# #
# 0: Just validate the profile MD5 signature if present, otherwise use # 0: Just validate the profile MD5 signature if present, otherwise use
# the checks in option 1. # the checks in option 1.
# #
# 1: Additionally check the length, intent and adler32 checksum of the # 1: Additionally check the length, intent and adler32 checksum of the
# actual data. If enabled this will reject known profiles that have # actual data. If enabled this will reject known profiles that have
# had the rendering intent in the header changed as well as other edits # had the rendering intent in the header changed as well as other edits
# done without updating the checksum. See the discussion below. # done without updating the checksum. See the discussion below.
# #
# 2: Additionally checksum all the data using the ethernet CRC32 algorithm. # 2: Additionally checksum all the data using the ethernet CRC32 algorithm.
# This makes it more difficult to fake profiles and makes it less likely # This makes it more difficult to fake profiles and makes it less likely
# to get a false positive on profiles with no signature, but is probably # to get a false positive on profiles with no signature, but is probably
# just a waste of time since all currently approved ICC sRGB profiles have # just a waste of time since all currently approved ICC sRGB profiles have
# a secure MD5 signature. # a secure MD5 signature.
# #
# The rendering intent. An ICC profile stores an intended rendering intent, # The rendering intent. An ICC profile stores an intended rendering intent,
# but does not include the value in the signature. The intent is documented # but does not include the value in the signature. The intent is documented

View File

@ -2,7 +2,7 @@
/* pnglibconf.h - library build configuration */ /* pnglibconf.h - library build configuration */
/* Libpng version 1.6.11beta06 - April 26, 2014 */ /* Libpng version 1.6.11beta06 - May 19, 2014 */
/* Copyright (c) 1998-2013 Glenn Randers-Pehrson */ /* Copyright (c) 1998-2013 Glenn Randers-Pehrson */