Skip to content

Commit c98f7fb

Browse files
author
Glenn Randers-Pehrson
committed
[libpng16] Imported from libpng-1.6.17.tar
1 parent f17e6c3 commit c98f7fb

39 files changed

+85
-118
lines changed

ANNOUNCE

+11-49
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
1-
Libpng 1.6.17rc06 - March 23, 2015
1+
Libpng 1.6.17 - March 26, 2015
22

3-
This is not intended to be a public release. It will be replaced
4-
within a few weeks by a public version or by another test version.
3+
This is a public release of libpng, intended for use in production codes.
54

65
Files available for download:
76

87
Source files with LF line endings (for Unix/Linux) and with a
98
"configure" script
109

11-
1.6.17rc06.tar.xz (LZMA-compressed, recommended)
12-
1.6.17rc06.tar.gz
10+
libpng-1.6.17.tar.xz (LZMA-compressed, recommended)
11+
libpng-1.6.17.tar.gz
1312

1413
Source files with CRLF line endings (for Windows), without the
1514
"configure" script
1615

17-
lp1617r06.7z (LZMA-compressed, recommended)
18-
lp1617r06.zip
16+
lpng1617.7z (LZMA-compressed, recommended)
17+
lpng1617.zip
1918

2019
Other information:
2120

22-
1.6.17rc06-README.txt
23-
1.6.17rc06-LICENSE.txt
24-
libpng-1.6.17rc06-*.asc (armored detached GPG signatures)
21+
libpng-1.6.17-README.txt
22+
libpng-1.6.17-LICENSE.txt
23+
libpng-1.6.17-*.asc (armored detached GPG signatures)
2524

2625
Changes since the last public release (1.6.16):
2726

28-
Version 1.6.17beta01 [January 29, 2015]
2927
Removed duplicate PNG_SAFE_LIMITS_SUPPORTED handling from pngconf.h
3028
Corrected the width limit calculation in png_check_IHDR().
3129
Removed user limits from pngfix. Also pass NULL pointers to
@@ -39,62 +37,26 @@ Version 1.6.17beta01 [January 29, 2015]
3937
Merged some parts of libpng-1.6.17beta01 and libpng-1.7.0beta47.
4038
Added #ifndef __COVERITY__ where needed in png.c, pngrutil.c and
4139
pngset.c to avoid warnings about dead code.
42-
Added "& 0xff" to many instances of expressions that are typecast
43-
to (png_byte), to avoid Coverity gripes.
44-
45-
Version 1.6.17beta02 [February 7, 2015]
46-
Work around one more Coverity-scan dead-code warning.
4740
Do not build png_product2() when it is unused.
48-
49-
Version 1.6.17beta03 [February 17, 2015]
5041
Display user limits in the output from pngtest.
5142
Eliminated the PNG_SAFE_LIMITS macro and restored the 1-million-column
5243
and 1-million-row default limits in pnglibconf.dfa, that can be reset
5344
by the user at build time or run time. This provides a more robust
5445
defense against DOS and as-yet undiscovered overflows.
55-
56-
Version 1.6.17beta04 [February 21, 2015]
5746
Added PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED macro, on by default.
5847
Allow user to call png_get_IHDR() with NULL arguments (Reuben Hawkins).
5948
Rebuilt configure scripts with automake-1.15 and libtool-2.4.6
60-
61-
Version 1.6.17beta05 [February 25, 2015]
62-
Restored compiling of png_reciprocal2 with PNG_NO_16BIT.
63-
64-
Version 1.6.17beta06 [February 27, 2015]
6549
Moved png_set_filter() prototype into a PNG_WRITE_SUPPORTED block
6650
of png.h.
6751
Avoid runtime checks when converting integer to png_byte with
6852
Visual Studio (Sergey Kosarevsky)
69-
70-
Version 1.6.17rc01 [March 4, 2015]
71-
No changes.
72-
73-
Version 1.6.17rc02 [March 9, 2015]
7453
Removed some comments that the configure script did not handle
7554
properly from scripts/pnglibconf.dfa and pnglibconf.h.prebuilt.
7655
Free the unknown_chunks structure even when it contains no data.
77-
78-
Version 1.6.17rc03 [March 12, 2015]
7956
Updated CMakeLists.txt to add OSX framework, change YES/NO to ON/OFF
8057
for consistency, and remove some useless tests (Alexey Petruchik).
81-
82-
Version 1.6.17rc04 [March 16, 2015]
83-
Remove pnglibconf.h, pnglibconf.c, and pnglibconf.out instead of
84-
pnglibconf.* in "make clean" (Cosmin).
85-
Fix bug in calculation of maxbits, in png_write_sBIT, introduced
86-
in libpng-1.6.17beta01 (John Bowler).
87-
88-
Version 1.6.17rc05 [March 21, 2015]
89-
Define PNG_FILTER_* and PNG_FILTER_VALUE_* in png.h even when WRITE
90-
is not supported (John Bowler). This fixes an error introduced in
91-
libpng-1.6.17beta06.
92-
Reverted "& 0xff" additions of version 1.6.17beta01. Libpng passes
93-
the Coverity scan without them.
94-
95-
Version 1.6.17rc06 [March 23, 2015]
96-
Remove pnglibconf.dfn and pnglibconf.pre with "make clean".
97-
Reformatted some "&0xff" instances to "& 0xff".
58+
Remove pnglibconf.h, pnglibconf.c, pnglibconf.pre, pnglibconf.dfn,
59+
and pnglibconf.out instead of pnglibconf.* in "make clean" (Cosmin).
9860
Fixed simplified 8-bit-linear to sRGB alpha. The calculated alpha
9961
value was wrong. It's not clear if this affected the final stored
10062
value; in the obvious code path the upper and lower 8-bits of the

CHANGES

+3
Original file line numberDiff line numberDiff line change
@@ -5202,6 +5202,9 @@ Version 1.6.17rc06 [March 23, 2015]
52025202
alpha value were identical and the alpha was truncated to 8-bits
52035203
rather than dividing by 257 (John Bowler).
52045204

5205+
Version 1.6.17 [March 26, 2015]
5206+
No changes.
5207+
52055208
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
52065209
(subscription required; visit
52075210
https://lists.sourceforge.net/lists/listinfo/png-mng-implement

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ endif(NOT WIN32 OR CYGWIN OR MINGW)
261261
# SET UP LINKS
262262
if(PNG_SHARED)
263263
set_target_properties(${PNG_LIB_NAME} PROPERTIES
264-
# VERSION 16.${PNGLIB_RELEASE}.1.6.17rc06
264+
# VERSION 16.${PNGLIB_RELEASE}.1.6.17
265265
VERSION 16.${PNGLIB_RELEASE}.0
266266
SOVERSION 16
267267
CLEAN_DIRECT_OUTPUT 1)

LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ this sentence.
1010

1111
This code is released under the libpng license.
1212

13-
libpng versions 1.2.6, August 15, 2004, through 1.6.17rc06, March 23, 2015, are
13+
libpng versions 1.2.6, August 15, 2004, through 1.6.17, March 26, 2015, are
1414
Copyright (c) 2004, 2006-2015 Glenn Randers-Pehrson, and are
1515
distributed according to the same disclaimer and license as libpng-1.2.5
1616
with the following individual added to the list of Contributing Authors
@@ -108,4 +108,4 @@ certification mark of the Open Source Initiative.
108108

109109
Glenn Randers-Pehrson
110110
glennrp at users.sourceforge.net
111-
March 23, 2015
111+
March 26, 2015

README

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README for libpng version 1.6.17rc06 - March 23, 2015 (shared library 16.0)
1+
README for libpng version 1.6.17 - March 26, 2015 (shared library 16.0)
22
See the note about version numbers near the top of png.h
33

44
See INSTALL for instructions on how to install libpng.

configure.ac

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ AC_PREREQ([2.68])
1818

1919
dnl Version number stuff here:
2020

21-
AC_INIT([libpng],[1.6.17rc06],[[email protected]])
21+
AC_INIT([libpng],[1.6.17],[[email protected]])
2222
AC_CONFIG_MACRO_DIR([scripts])
2323

2424
# libpng does not follow GNU file name conventions (hence 'foreign')
@@ -39,7 +39,7 @@ dnl automake, so the following is not necessary (and is not defined anyway):
3939
dnl AM_PREREQ([1.11.2])
4040
dnl stop configure from automagically running automake
4141

42-
PNGLIB_VERSION=1.6.17rc06
42+
PNGLIB_VERSION=1.6.17
4343
PNGLIB_MAJOR=1
4444
PNGLIB_MINOR=6
4545
PNGLIB_RELEASE=17

contrib/libtests/pngvalid.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
/* pngvalid.c - validate libpng by constructing then reading png files.
33
*
4-
* Last changed in libpng 1.6.17 [(PENDING RELEASE)]
4+
* Last changed in libpng 1.6.17 [March 26, 2015]
55
* Copyright (c) 2014-2015 Glenn Randers-Pehrson
66
* Written by John Cunningham Bowler
77
*

contrib/tools/pngfix.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Copyright (c) 2014-2015 John Cunningham Bowler
44
*
5-
* Last changed in libpng 1.6.17 [(PENDING RELEASE)]
5+
* Last changed in libpng 1.6.17 [March 26, 2015]
66
*
77
* This code is released under the libpng license.
88
* For conditions of distribution and use, see the disclaimer

libpng-manual.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
libpng-manual.txt - A description on how to use and modify libpng
22

3-
libpng version 1.6.17rc06 - March 23, 2015
3+
libpng version 1.6.17 - March 26, 2015
44
Updated and distributed by Glenn Randers-Pehrson
55
<glennrp at users.sourceforge.net>
66
Copyright (c) 1998-2015 Glenn Randers-Pehrson
@@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng
1111

1212
Based on:
1313

14-
libpng versions 0.97, January 1998, through 1.6.17rc06 - March 23, 2015
14+
libpng versions 0.97, January 1998, through 1.6.17 - March 26, 2015
1515
Updated and distributed by Glenn Randers-Pehrson
1616
Copyright (c) 1998-2015 Glenn Randers-Pehrson
1717

@@ -5279,13 +5279,13 @@ Other rules can be inferred by inspecting the libpng source.
52795279

52805280
XVI. Y2K Compliance in libpng
52815281

5282-
March 23, 2015
5282+
March 26, 2015
52835283

52845284
Since the PNG Development group is an ad-hoc body, we can't make
52855285
an official declaration.
52865286

52875287
This is your unofficial assurance that libpng from version 0.71 and
5288-
upward through 1.6.17rc06 are Y2K compliant. It is my belief that earlier
5288+
upward through 1.6.17 are Y2K compliant. It is my belief that earlier
52895289
versions were also Y2K compliant.
52905290

52915291
Libpng only has two year fields. One is a 2-byte unsigned integer

libpng.3

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.TH LIBPNG 3 "March 23, 2015"
1+
.TH LIBPNG 3 "March 26, 2015"
22
.SH NAME
3-
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.17rc06
3+
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.17
44
.SH SYNOPSIS
55
\fB
66
#include <png.h>\fP
@@ -504,7 +504,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng.
504504
.SH LIBPNG.TXT
505505
libpng-manual.txt - A description on how to use and modify libpng
506506

507-
libpng version 1.6.17rc06 - March 23, 2015
507+
libpng version 1.6.17 - March 26, 2015
508508
Updated and distributed by Glenn Randers-Pehrson
509509
<glennrp at users.sourceforge.net>
510510
Copyright (c) 1998-2015 Glenn Randers-Pehrson
@@ -515,7 +515,7 @@ libpng-manual.txt - A description on how to use and modify libpng
515515

516516
Based on:
517517

518-
libpng versions 0.97, January 1998, through 1.6.17rc06 - March 23, 2015
518+
libpng versions 0.97, January 1998, through 1.6.17 - March 26, 2015
519519
Updated and distributed by Glenn Randers-Pehrson
520520
Copyright (c) 1998-2015 Glenn Randers-Pehrson
521521

@@ -5783,13 +5783,13 @@ Other rules can be inferred by inspecting the libpng source.
57835783

57845784
.SH XVI. Y2K Compliance in libpng
57855785

5786-
March 23, 2015
5786+
March 26, 2015
57875787

57885788
Since the PNG Development group is an ad-hoc body, we can't make
57895789
an official declaration.
57905790

57915791
This is your unofficial assurance that libpng from version 0.71 and
5792-
upward through 1.6.17rc06 are Y2K compliant. It is my belief that earlier
5792+
upward through 1.6.17 are Y2K compliant. It is my belief that earlier
57935793
versions were also Y2K compliant.
57945794

57955795
Libpng only has two year fields. One is a 2-byte unsigned integer
@@ -6043,6 +6043,7 @@ the first widely used release:
60436043
1.6.16 16 10616 16.so.16.16[.0]
60446044
1.6.17beta01-06 16 10617 16.so.16.17[.0]
60456045
1.6.17rc01-06 16 10617 16.so.16.17[.0]
6046+
1.6.17 16 10617 16.so.16.17[.0]
60466047

60476048
Henceforth the source version will match the shared-library minor
60486049
and patch numbers; the shared-library major version number will be
@@ -6099,7 +6100,7 @@ possible without all of you.
60996100

61006101
Thanks to Frank J. T. Wojcik for helping with the documentation.
61016102

6102-
Libpng version 1.6.17rc06 - March 23, 2015:
6103+
Libpng version 1.6.17 - March 26, 2015:
61036104
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
61046105
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
61056106

@@ -6122,7 +6123,7 @@ this sentence.
61226123

61236124
This code is released under the libpng license.
61246125

6125-
libpng versions 1.2.6, August 15, 2004, through 1.6.17rc06, March 23, 2015, are
6126+
libpng versions 1.2.6, August 15, 2004, through 1.6.17, March 26, 2015, are
61266127
Copyright (c) 2004,2006-2015 Glenn Randers-Pehrson, and are
61276128
distributed according to the same disclaimer and license as libpng-1.2.5
61286129
with the following individual added to the list of Contributing Authors
@@ -6221,7 +6222,7 @@ certification mark of the Open Source Initiative.
62216222

62226223
Glenn Randers-Pehrson
62236224
glennrp at users.sourceforge.net
6224-
March 23, 2015
6225+
March 26, 2015
62256226

62266227
.\" end of man page
62276228

libpngpf.3

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.TH LIBPNGPF 3 "March 23, 2015"
1+
.TH LIBPNGPF 3 "March 26, 2015"
22
.SH NAME
3-
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.17rc06
3+
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.17
44
(private functions)
55
.SH SYNOPSIS
66
\fB#include \fI"pngpriv.h"

png.5

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH PNG 5 "March 23, 2015"
1+
.TH PNG 5 "March 26, 2015"
22
.SH NAME
33
png \- Portable Network Graphics (PNG) format
44
.SH DESCRIPTION

png.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
/* png.c - location for general purpose libpng functions
33
*
4-
* Last changed in libpng 1.6.17 [(PENDING RELEASE)]
4+
* Last changed in libpng 1.6.17 [March 26, 2015]
55
* Copyright (c) 1998-2015 Glenn Randers-Pehrson
66
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
77
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
@@ -14,7 +14,7 @@
1414
#include "pngpriv.h"
1515

1616
/* Generate a compiler error if there is an old png.h in the search path. */
17-
typedef png_libpng_version_1_6_17rc06 Your_png_h_is_not_version_1_6_17rc06;
17+
typedef png_libpng_version_1_6_17 Your_png_h_is_not_version_1_6_17;
1818

1919
/* Tells libpng that we have already handled the first "num_bytes" bytes
2020
* of the PNG file signature. If the PNG data is embedded into another
@@ -766,13 +766,13 @@ png_get_copyright(png_const_structrp png_ptr)
766766
#else
767767
# ifdef __STDC__
768768
return PNG_STRING_NEWLINE \
769-
"libpng version 1.6.17rc06 - March 23, 2015" PNG_STRING_NEWLINE \
769+
"libpng version 1.6.17 - March 26, 2015" PNG_STRING_NEWLINE \
770770
"Copyright (c) 1998-2015 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
771771
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
772772
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
773773
PNG_STRING_NEWLINE;
774774
# else
775-
return "libpng version 1.6.17rc06 - March 23, 2015\
775+
return "libpng version 1.6.17 - March 26, 2015\
776776
Copyright (c) 1998-2015 Glenn Randers-Pehrson\
777777
Copyright (c) 1996-1997 Andreas Dilger\
778778
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.";

0 commit comments

Comments
 (0)