Skip to content

Commit

Permalink
Release libpng version 1.6.43
Browse files Browse the repository at this point in the history
  • Loading branch information
ctruta committed Feb 23, 2024
1 parent e1fa61d commit ed217e3
Show file tree
Hide file tree
Showing 18 changed files with 104 additions and 96 deletions.
83 changes: 32 additions & 51 deletions ANNOUNCE
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
libpng 1.6.43.git
=================

This is a development version, not intended to be a public release.
It will be replaced by a public release, or by another development
version, at a later time.


libpng 1.6.42 - January 29, 2024
================================
libpng 1.6.43 - February 23, 2024
=================================

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

Expand All @@ -17,13 +9,13 @@ Files available for download

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

* libpng-1.6.42.tar.xz (LZMA-compressed, recommended)
* libpng-1.6.42.tar.gz (deflate-compressed)
* libpng-1.6.43.tar.xz (LZMA-compressed, recommended)
* libpng-1.6.43.tar.gz (deflate-compressed)

Source files with CRLF line endings (for Windows):

* lpng1642.7z (LZMA-compressed, recommended)
* lpng1642.zip (deflate-compressed)
* lpng1643.7z (LZMA-compressed, recommended)
* lpng1643.zip (deflate-compressed)

Other information:

Expand All @@ -33,47 +25,36 @@ Other information:
* TRADEMARK.md


Changes from version 1.6.41 to version 1.6.42
---------------------------------------------

* Fixed the implementation of the macro function `png_check_sig`.
This was an API regression, introduced in libpng-1.6.41.
(Reported by Matthieu Darbois)


Changes from version 1.6.40 to version 1.6.41
Changes from version 1.6.42 to version 1.6.43
---------------------------------------------

* Added SIMD-optimized code for the Loongarch LSX hardware.
(Contributed by GuXiWei, JinBo and ZhangLixia)
* Fixed the run-time discovery of MIPS MSA hardware.
(Contributed by Sui Jingfeng)
* Fixed an off-by-one error in the function `png_do_check_palette_indexes`,
which failed to recognize errors that might have existed in the first
column of a broken palette-encoded image. This was a benign regression
accidentally introduced in libpng-1.6.33. No pixel was harmed.
(Contributed by Adam Richter; reviewed by John Bowler)
* Fixed, improved and modernized the contrib/pngminus programs, i.e.,
png2pnm.c and pnm2png.c
* Removed old and peculiar portability hacks that were meant to silence
warnings issued by gcc version 7.1 alone.
* Fixed the row width check in png_check_IHDR().
This corrected a bug that was specific to the 16-bit platforms,
and removed a spurious compiler warning from the 64-bit builds.
(Reported by Jacek Caban; fixed by John Bowler)
* Added eXIf chunk support to the push-mode reader in pngpread.c.
(Contributed by Chris Blume)
* Added contrib/pngexif for the benefit of the users who would like
to inspect the content of eXIf chunks.
* Added contrib/conftest/basic.dfa, a basic build-time configuration.
(Contributed by John Bowler)
* Fixed and modernized the CMake file, and raised the minimum required
CMake version from 3.1 to 3.6.
(Contributed by Clinton Ingram, Timothy Lyanguzov, Tyler Kropp, et al.)
* Allowed the configure script to disable the building of auxiliary tools
and tests, thus catching up with the CMake file.
(Contributed by Carlo Bramini)
* Fixed a build issue on Mac.
(Contributed by Zixu Wang)
* Moved the Autoconf macro files to scripts/autoconf.
* Moved the CMake files (except for the main CMakeLists.txt) to
scripts/cmake and moved the list of their contributing authors to
scripts/cmake/AUTHORS.md
* Updated the CI configurations and scripts.
* Relicensed the CI scripts to the MIT License.
* Improved the test coverage.
* Fixed a preprocessor condition in pngread.c that broke build-time
configurations like contrib/conftest/pngcp.dfa.
(Contributed by John Bowler)
* Added CMake build support for LoongArch LSX.
(Contributed by GuXiWei)
* Fixed a CMake build error that occurred under a peculiar state of the
dependency tree. This was a regression introduced in libpng-1.6.41.
(Contributed by Dan Rosser)
* Marked the installed libpng headers as system headers in CMake.
(Contributed by Benjamin Buch)
* Updated the build support for RISCOS.
(Contributed by Cameron Cawley)
* Updated the makefiles to allow cross-platform builds to initialize
conventional make variables like AR and ARFLAGS.
* Added various improvements to the CI scripts in areas like version
consistency verification and text linting.
* Added version consistency verification to pngtest.c also.


Send comments/corrections/commendations to png-mng-implement at lists.sf.net.
Expand Down
31 changes: 29 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -6130,7 +6130,7 @@ Version 1.6.40 [June 21, 2023]
Cleaned up the code, the build scripts, and the documentation.

Version 1.6.41 [January 24, 2024]
Added SIMD-optimized code for the Loongarch LSX hardware.
Added SIMD-optimized code for the LoongArch LSX hardware.
(Contributed by GuXiWei, JinBo and ZhangLixia)
Fixed the run-time discovery of MIPS MSA hardware.
(Contributed by Sui Jingfeng)
Expand Down Expand Up @@ -6167,7 +6167,34 @@ Version 1.6.42 [January 29, 2024]
(Reported by Matthieu Darbois)
Fixed and updated the libpng manual.

Version 1.6.43 [TODO]
Version 1.6.43 [February 23, 2024]
Fixed the row width check in png_check_IHDR().
This corrected a bug that was specific to the 16-bit platforms,
and removed a spurious compiler warning from the 64-bit builds.
(Reported by Jacek Caban; fixed by John Bowler)
Added eXIf chunk support to the push-mode reader in pngpread.c.
(Contributed by Chris Blume)
Added contrib/pngexif for the benefit of the users who would like
to inspect the content of eXIf chunks.
Added contrib/conftest/basic.dfa, a basic build-time configuration.
(Contributed by John Bowler)
Fixed a preprocessor condition in pngread.c that broke build-time
configurations like contrib/conftest/pngcp.dfa.
(Contributed by John Bowler)
Added CMake build support for LoongArch LSX.
(Contributed by GuXiWei)
Fixed a CMake build error that occurred under a peculiar state of the
dependency tree. This was a regression introduced in libpng-1.6.41.
(Contributed by Dan Rosser)
Marked the installed libpng headers as system headers in CMake.
(Contributed by Benjamin Buch)
Updated the build support for RISCOS.
(Contributed by Cameron Cawley)
Updated the makefiles to allow cross-platform builds to initialize
conventional make variables like AR and ARFLAGS.
Added various improvements to the CI scripts in areas like version
consistency verification and text linting.
Added version consistency verification to pngtest.c also.

Send comments/corrections/commendations to png-mng-implement at lists.sf.net.
Subscription is required; visit
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ cmake_minimum_required(VERSION 3.6)
set(PNGLIB_MAJOR 1)
set(PNGLIB_MINOR 6)
set(PNGLIB_REVISION 43)
#set(PNGLIB_SUBREVISION 0)
set(PNGLIB_SUBREVISION "git")
set(PNGLIB_SUBREVISION 0)
#set(PNGLIB_SUBREVISION "git")
set(PNGLIB_VERSION ${PNGLIB_MAJOR}.${PNGLIB_MINOR}.${PNGLIB_REVISION})
set(PNGLIB_ABI_VERSION ${PNGLIB_MAJOR}${PNGLIB_MINOR})
set(PNGLIB_SHARED_VERSION ${PNGLIB_ABI_VERSION}.${PNGLIB_REVISION}.${PNGLIB_SUBREVISION})
Expand Down
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
README for libpng version 1.6.43.git
====================================
README for libpng version 1.6.43
================================

See the note about version numbers near the top of `png.h`.
See `INSTALL` for instructions on how to install libpng.
Expand Down
22 changes: 11 additions & 11 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.72 for libpng 1.6.43.git.
# Generated by GNU Autoconf 2.72 for libpng 1.6.43.
#
# Report bugs to <png-mng-implement@lists.sourceforge.net>.
#
Expand Down Expand Up @@ -614,8 +614,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libpng'
PACKAGE_TARNAME='libpng'
PACKAGE_VERSION='1.6.43.git'
PACKAGE_STRING='libpng 1.6.43.git'
PACKAGE_VERSION='1.6.43'
PACKAGE_STRING='libpng 1.6.43'
PACKAGE_BUGREPORT='png-mng-implement@lists.sourceforge.net'
PACKAGE_URL=''

Expand Down Expand Up @@ -1417,7 +1417,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
'configure' configures libpng 1.6.43.git to adapt to many kinds of systems.
'configure' configures libpng 1.6.43 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1488,7 +1488,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of libpng 1.6.43.git:";;
short | recursive ) echo "Configuration of libpng 1.6.43:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1685,7 +1685,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
libpng configure 1.6.43.git
libpng configure 1.6.43
generated by GNU Autoconf 2.72
Copyright (C) 2023 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1948,7 +1948,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libpng $as_me 1.6.43.git, which was
It was created by libpng $as_me 1.6.43, which was
generated by GNU Autoconf 2.72. Invocation command line was
$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -3248,7 +3248,7 @@ fi

# Define the identity of the package.
PACKAGE='libpng'
VERSION='1.6.43.git'
VERSION='1.6.43'


printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
Expand Down Expand Up @@ -3381,7 +3381,7 @@ fi



PNGLIB_VERSION=1.6.43.git
PNGLIB_VERSION=1.6.43
PNGLIB_MAJOR=1
PNGLIB_MINOR=6
PNGLIB_RELEASE=43
Expand Down Expand Up @@ -15382,7 +15382,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by libpng $as_me 1.6.43.git, which was
This file was extended by libpng $as_me 1.6.43, which was
generated by GNU Autoconf 2.72. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -15450,7 +15450,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
libpng config.status 1.6.43.git
libpng config.status 1.6.43
configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ AC_PREREQ([2.68])

dnl Version number stuff here:

AC_INIT([libpng],[1.6.43.git],[png-mng-implement@lists.sourceforge.net])
AC_INIT([libpng],[1.6.43],[png-mng-implement@lists.sourceforge.net])
AC_CONFIG_MACRO_DIR([scripts/autoconf])

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

PNGLIB_VERSION=1.6.43.git
PNGLIB_VERSION=1.6.43
PNGLIB_MAJOR=1
PNGLIB_MINOR=6
PNGLIB_RELEASE=43
Expand Down
2 changes: 1 addition & 1 deletion libpng-manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ libpng-manual.txt - A description on how to use and modify libpng

Based on:

libpng version 1.6.36, December 2018, through 1.6.42 - January 2024
libpng version 1.6.36, December 2018, through 1.6.43 - February 2024
Updated and distributed by Cosmin Truta
Copyright (c) 2018-2024 Cosmin Truta

Expand Down
6 changes: 3 additions & 3 deletions libpng.3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH LIBPNG 3 "January 29, 2024"
.TH LIBPNG 3 "February 23, 2024"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.42
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.43

.SH SYNOPSIS
\fB#include <png.h>\fP
Expand Down Expand Up @@ -528,7 +528,7 @@ libpng-manual.txt - A description on how to use and modify libpng

Based on:

libpng version 1.6.36, December 2018, through 1.6.42 - January 2024
libpng version 1.6.36, December 2018, through 1.6.43 - February 2024
Updated and distributed by Cosmin Truta
Copyright (c) 2018-2024 Cosmin Truta

Expand Down
4 changes: 2 additions & 2 deletions libpngpf.3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH LIBPNGPF 3 "January 29, 2024"
.TH LIBPNGPF 3 "February 23, 2024"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.42
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.43
(private functions)

.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion png.5
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH PNG 5 "January 29, 2024"
.TH PNG 5 "February 23, 2024"
.SH NAME
png \- Portable Network Graphics (PNG) format

Expand Down
4 changes: 2 additions & 2 deletions png.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "pngpriv.h"

/* Generate a compiler error if there is an old png.h in the search path. */
typedef png_libpng_version_1_6_43_git Your_png_h_is_not_version_1_6_43_git;
typedef png_libpng_version_1_6_43 Your_png_h_is_not_version_1_6_43;

/* Tells libpng that we have already handled the first "num_bytes" bytes
* of the PNG file signature. If the PNG data is embedded into another
Expand Down Expand Up @@ -794,7 +794,7 @@ png_get_copyright(png_const_structrp png_ptr)
return PNG_STRING_COPYRIGHT
#else
return PNG_STRING_NEWLINE \
"libpng version 1.6.43.git" PNG_STRING_NEWLINE \
"libpng version 1.6.43" PNG_STRING_NEWLINE \
"Copyright (c) 2018-2024 Cosmin Truta" PNG_STRING_NEWLINE \
"Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson" \
PNG_STRING_NEWLINE \
Expand Down
Loading

0 comments on commit ed217e3

Please sign in to comment.