Skip to content

Commit 5c71180

Browse files
committed
Update libpng to 1.6.43 (also required for zlib to build)
1 parent cc88320 commit 5c71180

22 files changed

+1784
-629
lines changed

vendor/libpng/ANNOUNCE

Lines changed: 34 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
libpng 1.6.40 - June 21, 2023
2-
=============================
1+
libpng 1.6.43 - February 23, 2024
2+
=================================
33

44
This is a public release of libpng, intended for use in production code.
55

@@ -9,13 +9,13 @@ Files available for download
99

1010
Source files with LF line endings (for Unix/Linux):
1111

12-
* libpng-1.6.40.tar.xz (LZMA-compressed, recommended)
13-
* libpng-1.6.40.tar.gz
12+
* libpng-1.6.43.tar.xz (LZMA-compressed, recommended)
13+
* libpng-1.6.43.tar.gz (deflate-compressed)
1414

1515
Source files with CRLF line endings (for Windows):
1616

17-
* lpng1640.7z (LZMA-compressed, recommended)
18-
* lpng1640.zip
17+
* lpng1643.7z (LZMA-compressed, recommended)
18+
* lpng1643.zip (deflate-compressed)
1919

2020
Other information:
2121

@@ -25,15 +25,36 @@ Other information:
2525
* TRADEMARK.md
2626

2727

28-
Changes from version 1.6.39 to version 1.6.40
28+
Changes from version 1.6.42 to version 1.6.43
2929
---------------------------------------------
3030

31-
* Fixed the eXIf chunk multiplicity checks.
32-
* Fixed a memory leak in pCAL processing.
33-
* Corrected the validity report about tRNS inside png_get_valid().
34-
* Fixed various build issues on *BSD, Mac and Windows.
35-
* Updated the configurations and the scripts for continuous integration.
36-
* Cleaned up the code, the build scripts, and the documentation.
31+
* Fixed the row width check in png_check_IHDR().
32+
This corrected a bug that was specific to the 16-bit platforms,
33+
and removed a spurious compiler warning from the 64-bit builds.
34+
(Reported by Jacek Caban; fixed by John Bowler)
35+
* Added eXIf chunk support to the push-mode reader in pngpread.c.
36+
(Contributed by Chris Blume)
37+
* Added contrib/pngexif for the benefit of the users who would like
38+
to inspect the content of eXIf chunks.
39+
* Added contrib/conftest/basic.dfa, a basic build-time configuration.
40+
(Contributed by John Bowler)
41+
* Fixed a preprocessor condition in pngread.c that broke build-time
42+
configurations like contrib/conftest/pngcp.dfa.
43+
(Contributed by John Bowler)
44+
* Added CMake build support for LoongArch LSX.
45+
(Contributed by GuXiWei)
46+
* Fixed a CMake build error that occurred under a peculiar state of the
47+
dependency tree. This was a regression introduced in libpng-1.6.41.
48+
(Contributed by Dan Rosser)
49+
* Marked the installed libpng headers as system headers in CMake.
50+
(Contributed by Benjamin Buch)
51+
* Updated the build support for RISCOS.
52+
(Contributed by Cameron Cawley)
53+
* Updated the makefiles to allow cross-platform builds to initialize
54+
conventional make variables like AR and ARFLAGS.
55+
* Added various improvements to the CI scripts in areas like version
56+
consistency verification and text linting.
57+
* Added version consistency verification to pngtest.c also.
3758

3859

3960
Send comments/corrections/commendations to png-mng-implement at lists.sf.net.

vendor/libpng/AUTHORS

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ PNG REFERENCE LIBRARY AUTHORS
44
This is the list of PNG Reference Library ("libpng") Contributing
55
Authors, for copyright and licensing purposes.
66

7+
* Adam Richter
78
* Andreas Dilger
9+
* Chris Blume
810
* Cosmin Truta
911
* Dave Martindale
1012
* Eric S. Raymond
@@ -33,20 +35,27 @@ Authors, for copyright and licensing purposes.
3335
* Vadim Barkov
3436
* Willem van Schaik
3537
* Zhijie Liang
38+
* Apple Inc.
39+
- Zixu Wang (王子旭)
3640
* Arm Holdings
37-
- Richard Townsend
41+
- Richard Townsend
3842
* Google Inc.
39-
- Dan Field
40-
- Leon Scroggins III
41-
- Matt Sarett
42-
- Mike Klein
43-
- Sami Boukortt
44-
- Wan-Teh Chang
43+
- Dan Field
44+
- Leon Scroggins III
45+
- Matt Sarett
46+
- Mike Klein
47+
- Sami Boukortt
48+
- Wan-Teh Chang
49+
* Loongson Technology Corporation Ltd.
50+
- GuXiWei (顾希伟)
51+
- JinBo (金波)
52+
- ZhangLixia (张利霞)
4553

4654
The build projects, the build scripts, the test scripts, and other
47-
files in the "ci", "projects", "scripts" and "tests" directories, have
55+
files in the "projects", "scripts" and "tests" directories, have
4856
other copyright owners, but are released under the libpng license.
4957

50-
Some files in the "contrib" directory, and some tools-generated files
51-
that are distributed with libpng, have other copyright owners, and are
52-
released under other open source licenses.
58+
Some files in the "ci" and "contrib" directories, as well as some
59+
of the tools-generated files that are distributed with libpng, have
60+
other copyright owners, and are released under other open source
61+
licenses.

vendor/libpng/CHANGES

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6129,6 +6129,73 @@ Version 1.6.40 [June 21, 2023]
61296129
Updated the configurations and the scripts for continuous integration.
61306130
Cleaned up the code, the build scripts, and the documentation.
61316131

6132+
Version 1.6.41 [January 24, 2024]
6133+
Added SIMD-optimized code for the LoongArch LSX hardware.
6134+
(Contributed by GuXiWei, JinBo and ZhangLixia)
6135+
Fixed the run-time discovery of MIPS MSA hardware.
6136+
(Contributed by Sui Jingfeng)
6137+
Fixed an off-by-one error in the function png_do_check_palette_indexes(),
6138+
which failed to recognize errors that might have existed in the first
6139+
column of a broken palette-encoded image. This was a benign regression
6140+
accidentally introduced in libpng-1.6.33. No pixel was harmed.
6141+
(Contributed by Adam Richter; reviewed by John Bowler)
6142+
Fixed, improved and modernized the contrib/pngminus programs, i.e.,
6143+
png2pnm.c and pnm2png.c
6144+
Removed old and peculiar portability hacks that were meant to silence
6145+
warnings issued by gcc version 7.1 alone.
6146+
(Contributed by John Bowler)
6147+
Fixed and modernized the CMake file, and raised the minimum required
6148+
CMake version from 3.1 to 3.6.
6149+
(Contributed by Clinton Ingram, Timothy Lyanguzov, Tyler Kropp, et al.)
6150+
Allowed the configure script to disable the building of auxiliary tools
6151+
and tests, thus catching up with the CMake file.
6152+
(Contributed by Carlo Bramini)
6153+
Fixed a build issue on Mac.
6154+
(Contributed by Zixu Wang)
6155+
Moved the Autoconf macro files to scripts/autoconf.
6156+
Moved the CMake files (except for the main CMakeLists.txt) to
6157+
scripts/cmake and moved the list of their contributing authors to
6158+
scripts/cmake/AUTHORS.md
6159+
Updated the CI configurations and scripts.
6160+
Relicensed the CI scripts to the MIT License.
6161+
Improved the test coverage.
6162+
(Contributed by John Bowler)
6163+
6164+
Version 1.6.42 [January 29, 2024]
6165+
Fixed the implementation of the macro function png_check_sig().
6166+
This was an API regression, introduced in libpng-1.6.41.
6167+
(Reported by Matthieu Darbois)
6168+
Fixed and updated the libpng manual.
6169+
6170+
Version 1.6.43 [February 23, 2024]
6171+
Fixed the row width check in png_check_IHDR().
6172+
This corrected a bug that was specific to the 16-bit platforms,
6173+
and removed a spurious compiler warning from the 64-bit builds.
6174+
(Reported by Jacek Caban; fixed by John Bowler)
6175+
Added eXIf chunk support to the push-mode reader in pngpread.c.
6176+
(Contributed by Chris Blume)
6177+
Added contrib/pngexif for the benefit of the users who would like
6178+
to inspect the content of eXIf chunks.
6179+
Added contrib/conftest/basic.dfa, a basic build-time configuration.
6180+
(Contributed by John Bowler)
6181+
Fixed a preprocessor condition in pngread.c that broke build-time
6182+
configurations like contrib/conftest/pngcp.dfa.
6183+
(Contributed by John Bowler)
6184+
Added CMake build support for LoongArch LSX.
6185+
(Contributed by GuXiWei)
6186+
Fixed a CMake build error that occurred under a peculiar state of the
6187+
dependency tree. This was a regression introduced in libpng-1.6.41.
6188+
(Contributed by Dan Rosser)
6189+
Marked the installed libpng headers as system headers in CMake.
6190+
(Contributed by Benjamin Buch)
6191+
Updated the build support for RISCOS.
6192+
(Contributed by Cameron Cawley)
6193+
Updated the makefiles to allow cross-platform builds to initialize
6194+
conventional make variables like AR and ARFLAGS.
6195+
Added various improvements to the CI scripts in areas like version
6196+
consistency verification and text linting.
6197+
Added version consistency verification to pngtest.c also.
6198+
61326199
Send comments/corrections/commendations to png-mng-implement at lists.sf.net.
61336200
Subscription is required; visit
61346201
https://lists.sourceforge.net/lists/listinfo/png-mng-implement

vendor/libpng/LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ COPYRIGHT NOTICE, DISCLAIMER, and LICENSE
44
PNG Reference Library License version 2
55
---------------------------------------
66

7-
* Copyright (c) 1995-2023 The PNG Reference Library Authors.
8-
* Copyright (c) 2018-2023 Cosmin Truta.
7+
* Copyright (c) 1995-2024 The PNG Reference Library Authors.
8+
* Copyright (c) 2018-2024 Cosmin Truta.
99
* Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
1010
* Copyright (c) 1996-1997 Andreas Dilger.
1111
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.

vendor/libpng/README

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README for libpng version 1.6.40
1+
README for libpng version 1.6.43
22
================================
33

44
See the note about version numbers near the top of `png.h`.
@@ -142,10 +142,11 @@ Files included in this distribution
142142
pngwrite.c => High-level write functions
143143
pngwtran.c => Write data transformations
144144
pngwutil.c => Write utility functions
145-
arm/ => Optimized code for the ARM platform
146-
intel/ => Optimized code for the INTEL-SSE2 platform
147-
mips/ => Optimized code for the MIPS platform
148-
powerpc/ => Optimized code for the PowerPC platform
145+
arm/ => Optimized code for ARM Neon
146+
intel/ => Optimized code for INTEL SSE2
147+
loongarch/ => Optimized code for LoongArch LSX
148+
mips/ => Optimized code for MIPS MSA and MIPS MMI
149+
powerpc/ => Optimized code for PowerPC VSX
149150
ci/ => Scripts for continuous integration
150151
contrib/ => External contributions
151152
arm-neon/ => Optimized code for the ARM-NEON platform
@@ -158,6 +159,7 @@ Files included in this distribution
158159
libtests/ => Test programs
159160
oss-fuzz/ => Files used by the OSS-Fuzz project for fuzz-testing
160161
libpng
162+
pngexif/ => Program to inspect the EXIF information in PNG files
161163
pngminim/ => Minimal decoder, encoder, and progressive decoder
162164
programs demonstrating the use of pngusr.dfa
163165
pngminus/ => Simple pnm2png and png2pnm programs

0 commit comments

Comments
 (0)