Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 01e98dd

Browse files
committed
libpng: missing updates
1 parent 40488bb commit 01e98dd

2 files changed

Lines changed: 41 additions & 81 deletions

File tree

‎3rdparty/libpng/README‎

Lines changed: 36 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
README for libpng version 1.6.35 - July 15, 2018 (shared library 16.0)
2-
See the note about version numbers near the top of png.h
1+
README for libpng version 1.6.36 - December 1, 2018
2+
===================================================
33

4+
See the note about version numbers near the top of png.h.
45
See INSTALL for instructions on how to install libpng.
56

67
Libpng comes in several distribution formats. Get libpng-*.tar.gz or
7-
libpng-*.tar.xz or if you want UNIX-style line endings in the text files,
8-
or lpng*.7z or lpng*.zip if you want DOS-style line endings.
8+
libpng-*.tar.xz or if you want UNIX-style line endings in the text
9+
files, or lpng*.7z or lpng*.zip if you want DOS-style line endings.
910

1011
Version 0.89 was the first official release of libpng. Don't let the
11-
fact that it's the first release fool you. The libpng library has been in
12-
extensive use and testing since mid-1995. By late 1997 it had
12+
fact that it's the first release fool you. The libpng library has been
13+
in extensive use and testing since mid-1995. By late 1997 it had
1314
finally gotten to the stage where there hadn't been significant
1415
changes to the API in some time, and people have a bad feeling about
1516
libraries with versions < 1.0. Version 1.0.0 was released in
@@ -60,94 +61,59 @@ the library action on the detection of chunk CRC errors. It is possible
6061
to set different actions based on whether the CRC error occurred in a
6162
critical or an ancillary chunk.
6263

63-
The changes made to the library, and bugs fixed are based on discussions
64-
on the PNG-implement mailing list and not on material submitted
65-
privately to Guy, Andreas, or Glenn. They will forward any good
66-
suggestions to the list.
67-
68-
For a detailed description on using libpng, read libpng-manual.txt. For
69-
examples of libpng in a program, see example.c and pngtest.c. For usage
70-
information and restrictions (what little they are) on libpng, see
71-
png.h. For a description on using zlib (the compression library used by
72-
libpng) and zlib's restrictions, see zlib.h
64+
For a detailed description on using libpng, read libpng-manual.txt.
65+
For examples of libpng in a program, see example.c and pngtest.c. For
66+
usage information and restrictions (what little they are) on libpng,
67+
see png.h. For a description on using zlib (the compression library
68+
used by libpng) and zlib's restrictions, see zlib.h
7369

7470
I have included a general makefile, as well as several machine and
75-
compiler specific ones, but you may have to modify one for your own needs.
71+
compiler specific ones, but you may have to modify one for your own
72+
needs.
7673

7774
You should use zlib 1.0.4 or later to run this, but it MAY work with
7875
versions as old as zlib 0.95. Even so, there are bugs in older zlib
7976
versions which can cause the output of invalid compression streams for
80-
some images. You will definitely need zlib 1.0.4 or later if you are
81-
taking advantage of the MS-DOS "far" structure allocation for the small
82-
and medium memory models. You should also note that zlib is a
83-
compression library that is useful for more things than just PNG files.
84-
You can use zlib as a drop-in replacement for fread() and fwrite() if
85-
you are so inclined.
77+
some images.
78+
79+
You should also note that zlib is a compression library that is useful
80+
for more things than just PNG files. You can use zlib as a drop-in
81+
replacement for fread() and fwrite(), if you are so inclined.
8682

87-
zlib should be available at the same place that libpng is, or at zlib.net.
83+
zlib should be available at the same place that libpng is, or at
84+
https://zlib.net.
8885

8986
You may also want a copy of the PNG specification. It is available
9087
as an RFC, a W3C Recommendation, and an ISO/IEC Standard. You can find
9188
these at http://www.libpng.org/pub/png/pngdocs.html .
9289

9390
This code is currently being archived at libpng.sourceforge.io in the
94-
[DOWNLOAD] area, and at http://libpng.download/src . If you
95-
can't find it in any of those places, e-mail me, and I'll help you find it.
96-
97-
I am not a lawyer, but I believe that the Export Control Classification
98-
Number (ECCN) for libpng is EAR99, which means not subject to export
99-
controls or International Traffic in Arms Regulations (ITAR) because it
100-
is open source, publicly available software, that does not contain any
101-
encryption software. See the EAR, paragraphs 734.3(b)(3) and 734.7(b).
102-
103-
If you have any code changes, requests, problems, etc., please e-mail
104-
them to me. Also, I'd appreciate any make files or project files,
105-
and any modifications you needed to make to get libpng to compile,
106-
along with a #define variable to tell what compiler/system you are on.
107-
If you needed to add transformations to libpng, or wish libpng would
108-
provide the image in a different way, drop me a note (and code, if
109-
possible), so I can consider supporting the transformation.
110-
Finally, if you get any warning messages when compiling libpng
111-
(note: not zlib), and they are easy to fix, I'd appreciate the
112-
fix. Please mention "libpng" somewhere in the subject line. Thanks.
113-
114-
This release was created and will be supported by myself (of course
115-
based in a large way on Guy's and Andreas' earlier work), and the PNG
91+
[DOWNLOAD] area, and at http://libpng.download/src .
92+
93+
This release, based in a large way on Glenn's, Guy's and Andreas'
94+
earlier work, was created and will be supported by myself and the PNG
11695
development group.
11796

11897
Send comments/corrections/commendations to png-mng-implement at
11998
lists.sourceforge.net (subscription required; visit
12099
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
121100
to subscribe).
122101

123-
You can't reach Guy, the original libpng author, at the addresses
124-
given in previous versions of this document. He and Andreas will
125-
read mail addressed to the png-implement list, however.
126-
127-
Please do not send general questions about PNG. Send them to
128-
png-mng-misc at lists.sf.net (subscription required; visit
102+
Send general questions about the PNG specification to png-mng-misc
103+
at lists.sourceforge.net (subscription required; visit
129104
https://lists.sourceforge.net/lists/listinfo/png-mng-misc to
130-
subscribe). If you have a question about something
131-
in the PNG specification that is related to using libpng, send it
132-
to me. Send me any questions that start with "I was using libpng,
133-
and ...". If in doubt, send questions to me. I'll bounce them
134-
to others, if necessary.
135-
136-
Please do not send suggestions on how to change PNG. We have
137-
been discussing PNG for twenty years now, and it is official and
138-
finished. If you have suggestions for libpng, however, I'll
139-
gladly listen. Even if your suggestion is not used immediately,
140-
it may be used later.
105+
subscribe).
141106

142107
Files in this distribution:
143108

144109
ANNOUNCE => Announcement of this version, with recent changes
110+
AUTHORS => List of contributing authors
145111
CHANGES => Description of changes between libpng versions
146112
KNOWNBUG => List of known bugs and deficiencies
147113
LICENSE => License to use and redistribute libpng
148114
README => This file
149115
TODO => Things not implemented in the current library
150-
Y2KINFO => Statement of Y2K compliance
116+
TRADEMARK => Trademark information
151117
example.c => Example code for using libpng functions
152118
libpng.3 => manual page for libpng (includes libpng-manual.txt)
153119
libpng-manual.txt => Description of libpng and its functions
@@ -208,15 +174,10 @@ Files in this distribution:
208174
scripts => Directory containing scripts for building libpng:
209175
(see scripts/README.txt for the list of scripts)
210176

211-
Good luck, and happy coding.
212-
213-
-Glenn Randers-Pehrson (current maintainer, since 1998)
214-
Internet: glennrp at users.sourceforge.net
215-
216-
-Andreas Eric Dilger (former maintainer, 1996-1997)
217-
Internet: adilger at enel.ucalgary.ca
218-
Web: http://www-mddsp.enel.ucalgary.ca/People/adilger/
177+
Good luck, and happy coding!
219178

220-
-Guy Eric Schalnat (original author and former maintainer, 1995-1996)
221-
(formerly of Group 42, Inc)
222-
Internet: gschal at infinet.com
179+
* Cosmin Truta (current maintainer, since 2018)
180+
* Glenn Randers-Pehrson (former maintainer, 1998-2018)
181+
* Andreas Eric Dilger (former maintainer, 1996-1997)
182+
* Guy Eric Schalnat (original author and former maintainer, 1995-1996)
183+
(formerly of Group 42, Inc.)

‎3rdparty/libpng/pnglibconf.h‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
/* libpng 1.6.34 STANDARD API DEFINITION */
2-
31
/* pnglibconf.h - library build configuration */
42

5-
/* Libpng version 1.6.34 - September 29, 2017 */
3+
/* libpng version 1.6.36 */
64

7-
/* Copyright (c) 1998-2017 Glenn Randers-Pehrson */
5+
/* Copyright (c) 2018 Cosmin Truta */
6+
/* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
87

98
/* This code is released under the libpng license. */
109
/* For conditions of distribution and use, see the disclaimer */
@@ -20,8 +19,6 @@
2019
#define PNG_ALIGNED_MEMORY_SUPPORTED
2120
/*#undef PNG_ARM_NEON_API_SUPPORTED*/
2221
/*#undef PNG_ARM_NEON_CHECK_SUPPORTED*/
23-
/*#undef PNG_POWERPC_VSX_API_SUPPORTED*/
24-
/*#undef PNG_POWERPC_VSX_CHECK_SUPPORTED*/
2522
#define PNG_BENIGN_ERRORS_SUPPORTED
2623
#define PNG_BENIGN_READ_ERRORS_SUPPORTED
2724
/*#undef PNG_BENIGN_WRITE_ERRORS_SUPPORTED*/
@@ -46,6 +43,8 @@
4643
#define PNG_IO_STATE_SUPPORTED
4744
#define PNG_MNG_FEATURES_SUPPORTED
4845
#define PNG_POINTER_INDEXING_SUPPORTED
46+
/*#undef PNG_POWERPC_VSX_API_SUPPORTED*/
47+
/*#undef PNG_POWERPC_VSX_CHECK_SUPPORTED*/
4948
#define PNG_PROGRESSIVE_READ_SUPPORTED
5049
#define PNG_READ_16BIT_SUPPORTED
5150
#define PNG_READ_ALPHA_MODE_SUPPORTED

0 commit comments

Comments
 (0)