1998-04-21 20:03:57 +00:00
|
|
|
|
2012-02-17 02:15:13 +00:00
|
|
|
Libpng 1.6.0beta11 - February 17, 2012
|
2011-11-03 04:06:45 +00:00
|
|
|
|
|
|
|
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.
|
1998-04-21 20:03:57 +00:00
|
|
|
|
2006-02-22 15:19:25 +00:00
|
|
|
Files available for download:
|
|
|
|
|
|
|
|
Source files with LF line endings (for Unix/Linux) and with a
|
|
|
|
"configure" script
|
|
|
|
|
2012-02-03 07:58:20 +00:00
|
|
|
1.6.0beta11.tar.xz (LZMA-compressed, recommended)
|
|
|
|
1.6.0beta11.tar.gz
|
|
|
|
1.6.0beta11.tar.bz2
|
2006-03-31 11:29:33 +00:00
|
|
|
|
2006-02-22 15:19:25 +00:00
|
|
|
Source files with CRLF line endings (for Windows), without the
|
|
|
|
"configure" script
|
|
|
|
|
2012-02-03 07:58:20 +00:00
|
|
|
lp160b11.7z (LZMA-compressed, recommended)
|
|
|
|
lp160b11.zip
|
2006-02-22 15:19:25 +00:00
|
|
|
|
|
|
|
Other information:
|
|
|
|
|
2012-02-03 07:58:20 +00:00
|
|
|
1.6.0beta11-README.txt
|
|
|
|
1.6.0beta11-LICENSE.txt
|
2011-09-22 17:41:58 +00:00
|
|
|
|
2011-12-15 16:18:33 +00:00
|
|
|
Changes since the last public release (1.5.7):
|
2011-09-22 17:41:58 +00:00
|
|
|
|
2011-12-15 16:18:33 +00:00
|
|
|
Version 1.6.0beta01 [December 15, 2011]
|
2011-11-28 16:38:41 +00:00
|
|
|
Removed machine-generated configure files from the GIT repository (they will
|
|
|
|
continue to appear in the tarball distributions).
|
2011-12-24 13:47:02 +00:00
|
|
|
Restored the new 'simplified' API, which was started in libpng-1.5.7beta02
|
|
|
|
but later deleted from libpng-1.5.7beta05.
|
2011-11-24 14:22:24 +00:00
|
|
|
Added example programs for the new 'simplified' API.
|
2011-11-27 00:21:02 +00:00
|
|
|
Added ANSI-C (C90) headers and require them, and take advantage of the
|
|
|
|
change. Also fixed some of the projects/* and contrib/* files that needed
|
|
|
|
updates for libpng16 and the move of pngvalid.c.
|
|
|
|
With this change the required ANSI-C header files are assumed to exist: the
|
|
|
|
implementation must provide float.h, limits.h, stdarg.h and stddef.h and
|
|
|
|
libpng relies on limits.h and stddef.h existing and behaving as defined
|
|
|
|
(the other two required headers aren't used). Non-ANSI systems that don't
|
|
|
|
have stddef.h or limits.h will have to provide an appropriate fake
|
|
|
|
containing the relevant types and #defines.
|
|
|
|
The use of FAR/far has been eliminated and the definition of png_alloc_size_t
|
|
|
|
is now controlled by a flag so that 'small size_t' systems can select it
|
|
|
|
if necessary. Libpng 1.6 may not currently work on such systems -- it
|
|
|
|
seems likely that it will ask 'malloc' for more than 65535 bytes with any
|
|
|
|
image that has a sufficiently large row size (rather than simply failing
|
|
|
|
to read such images).
|
2011-11-29 05:57:45 +00:00
|
|
|
New tools directory containing tools used to generate libpng code.
|
2011-12-08 15:53:00 +00:00
|
|
|
Fixed race conditions in parallel make builds. With higher degrees of
|
2011-12-08 15:37:24 +00:00
|
|
|
parallelism during 'make' the use of the same temporary file names such
|
|
|
|
as 'dfn*' can result in a race where a temporary file from one arm of the
|
|
|
|
build is deleted or overwritten in another arm. This changes the
|
|
|
|
temporary files for suffix rules to always use $* and ensures that the
|
|
|
|
non-suffix rules use unique file names.
|
2011-12-15 16:18:33 +00:00
|
|
|
|
2011-12-21 14:15:07 +00:00
|
|
|
Version 1.6.0beta02 [December 21, 2011]
|
2011-12-18 12:20:22 +00:00
|
|
|
Correct configure builds where build and source directories are separate.
|
|
|
|
The include path of 'config.h' was erroneously made relative in pngvalid.c
|
|
|
|
in libpng 1.5.7.
|
2011-12-15 19:05:55 +00:00
|
|
|
|
2011-12-22 13:26:15 +00:00
|
|
|
Version 1.6.0beta03 [December 22, 2011]
|
2011-12-21 23:36:12 +00:00
|
|
|
Start-up code size improvements, error handler flexibility. These changes
|
|
|
|
alter how the tricky allocation of the initial png_struct and png_info
|
|
|
|
structures are handled. png_info is now handled in pretty much the same
|
|
|
|
way as everything else, except that the allocations handle NULL return
|
|
|
|
silently. png_struct is changed in a similar way on allocation and on
|
|
|
|
deallocation a 'safety' error handler is put in place (which should never
|
|
|
|
be required). The error handler itself is changed to permit mismatches
|
|
|
|
in the application and libpng error buffer size; however, this means a
|
|
|
|
silent change to the API to return the jmp_buf if the size doesn't match
|
|
|
|
the size from the libpng compilation; libpng now allocates the memory and
|
|
|
|
this may fail. Overall these changes result in slight code size
|
|
|
|
reductions; however, this is a reduction in code that is always executed
|
|
|
|
so is particularly valuable. Overall on a 64-bit system the libpng DLL
|
|
|
|
decreases in code size by 1733 bytes. pngerror.o increases in size by
|
|
|
|
about 465 bytes because of the new functionality.
|
2011-12-21 14:37:46 +00:00
|
|
|
|
2011-12-30 02:57:39 +00:00
|
|
|
Version 1.6.0beta04 [December 30, 2011]
|
2011-12-24 13:47:02 +00:00
|
|
|
Regenerated configure scripts with automake-1.11.2
|
2011-12-24 13:57:43 +00:00
|
|
|
Eliminated png_info_destroy(). It is now used only in png.c and only calls
|
|
|
|
one other internal function and memset().
|
|
|
|
Enabled png_get_sCAL_fixed() if floating point APIs are enabled. Previously
|
|
|
|
it was disabled whenever internal fixed point arithmetic was selected,
|
|
|
|
which meant it didn't exist even on systems where FP was available but not
|
|
|
|
preferred.
|
2011-12-24 14:27:41 +00:00
|
|
|
Added pngvalid.c compile time checks for const APIs.
|
2011-12-24 15:12:00 +00:00
|
|
|
Implemented 'restrict' for png_info and png_struct. Because of the way
|
|
|
|
libpng works both png_info and png_struct are always accessed via a
|
|
|
|
single pointer. This means adding C99 'restrict' to the pointer gives
|
|
|
|
the compiler some opportunity to optimize the code. This change allows
|
|
|
|
that.
|
2011-12-26 19:10:01 +00:00
|
|
|
Moved AC_MSG_CHECKING([if libraries can be versioned]) later to the proper
|
|
|
|
location in configure.ac (Gilles Espinasse).
|
2011-12-29 03:34:27 +00:00
|
|
|
Changed png_memcpy to C assignment where appropriate. Changed all those
|
|
|
|
uses of png_memcpy that were doing a simple assignment to assignments
|
2011-12-29 16:24:50 +00:00
|
|
|
(all those cases where the thing being copied is a non-array C L-value).
|
|
|
|
Added some error checking to png_set_*() routines.
|
|
|
|
Removed the reference to the non-exported function png_memcpy() from
|
|
|
|
example.c.
|
|
|
|
Fixed the Visual C 64-bit build - it requires jmp_buf to be aligned, but
|
|
|
|
it had become misaligned.
|
|
|
|
Revised contrib/pngminus/pnm2png.c to avoid warnings when png_uint_32
|
|
|
|
and unsigned long are of different sizes.
|
2011-12-22 14:21:00 +00:00
|
|
|
|
2012-01-15 01:44:43 +00:00
|
|
|
Version 1.6.0beta05 [January 15, 2012]
|
2012-01-11 20:00:52 +00:00
|
|
|
Updated manual with description of the simplified API (copied from png.h)
|
2012-01-15 01:44:43 +00:00
|
|
|
Fix bug in pngerror.c: some long warnings were being improperly truncated
|
2012-02-01 21:27:17 +00:00
|
|
|
(CVE-2011-3464, bug introduced in libpng-1.5.3beta05).
|
2011-12-30 03:08:46 +00:00
|
|
|
|
2012-01-24 04:34:15 +00:00
|
|
|
Version 1.6.0beta06 [January 24, 2012]
|
|
|
|
Added palette support to the simplified APIs. This commit
|
2012-01-16 13:48:36 +00:00
|
|
|
changes some of the macro definitions in png.h, app code
|
|
|
|
may need corresponding changes.
|
2012-01-24 04:34:15 +00:00
|
|
|
Increased the formatted warning buffer to 192 bytes.
|
2012-01-24 04:43:22 +00:00
|
|
|
Added color-map support to simplified API. This is an initial version for
|
|
|
|
review; the documentation has not yet been updated.
|
2012-01-24 05:01:27 +00:00
|
|
|
Fixed Min/GW uninstall to remove libpng.dll.a
|
2012-01-16 13:48:36 +00:00
|
|
|
|
2012-01-28 02:07:00 +00:00
|
|
|
Version 1.6.0beta07 [January 28, 2012]
|
2012-01-25 13:47:44 +00:00
|
|
|
Eliminated Intel icc/icl compiler warnings. The Intel (GCC derived)
|
|
|
|
compiler issues slightly different warnings from those issued by the
|
|
|
|
current vesions of GCC. This eliminates those warnings by
|
|
|
|
adding/removing casts and small code rewrites.
|
2012-01-25 14:07:29 +00:00
|
|
|
Updated configure.ac from autoupdate: added --enable-werror option.
|
|
|
|
Also some layout regularization and removal of introduced tab characters
|
|
|
|
(replaced with 3-character indentation). Obsolete macros identified by
|
|
|
|
autoupdate have been removed; the replacements are all in 2.59 so
|
|
|
|
the pre-req hasn't been changed. --enable-werror checks for support
|
|
|
|
for -Werror (or the given argument) in the compiler. This mimics the
|
|
|
|
gcc configure option by allowing -Werror to be turned on safely; without
|
|
|
|
the option the tests written in configure itself fail compilation because
|
|
|
|
they cause compiler warnings.
|
2012-01-25 14:30:24 +00:00
|
|
|
Rewrote autogen.sh to run autoreconf instead of running tools one-by-one.
|
2012-01-26 23:39:05 +00:00
|
|
|
Conditionalize the install rules for MINGW and CYGWIN in CMakeLists.txt and
|
|
|
|
set CMAKE_LIBRARY_OUTPUT_DIRECTORY to "lib" on all platforms (C. Yapp).
|
2012-01-27 16:24:21 +00:00
|
|
|
Freeze libtool files in the 'scripts' directory. This version of autogen.sh
|
|
|
|
attempts to dissuade people from running it when it is not, or should not,
|
2012-02-01 04:26:34 +00:00
|
|
|
be necessary. In fact, autogen.sh does not work when run in a libpng
|
|
|
|
directory extracted from atar distribution anymore. You must run it in
|
|
|
|
a GIT clone instead.
|
2012-01-28 02:07:00 +00:00
|
|
|
Added two images to contrib/pngsuite (1-bit and 2-bit transparent grayscale),
|
|
|
|
and renamed three whose names were inconsistent with those in
|
|
|
|
pngsuite/README.txt.
|
2012-01-24 13:58:30 +00:00
|
|
|
|
2012-02-01 03:01:49 +00:00
|
|
|
Version 1.6.0beta08 [February 1, 2012]
|
2012-01-28 07:07:34 +00:00
|
|
|
Fixed Image::colormap misalignment in pngstest.c
|
2012-01-28 06:48:08 +00:00
|
|
|
Check libtool/libtoolize version number (2.4.2) in configure.ac
|
2012-01-29 00:06:55 +00:00
|
|
|
Divide test-pngstest.sh into separate pngstest runs for basic and
|
|
|
|
transparent images.
|
|
|
|
Moved automake options to AM_INIT_AUTOMAKE in configure.ac
|
|
|
|
Added color-tests, silent-rules (Not yet implemented in Makefile.am) and
|
|
|
|
version checking to configure.ac
|
2012-01-29 05:19:42 +00:00
|
|
|
Improved pngstest speed by not doing redundant tests and add const to
|
|
|
|
the background parameter of png_image_finish_read. The --background
|
|
|
|
option is now done automagically only when required, so that commandline
|
|
|
|
option no longer exists.
|
2012-01-31 13:09:34 +00:00
|
|
|
Cleaned up pngpriv.h to consistently declare all functions and data.
|
|
|
|
Also eliminated PNG_CONST_DATA, which is apparently not needed but we
|
|
|
|
can't be sure until it is gone.
|
2012-01-31 13:28:13 +00:00
|
|
|
Added symbol prefixing that allows all the libpng external symbols
|
|
|
|
to be prefixed (suggested by Reuben Hawkins).
|
2012-02-01 03:01:49 +00:00
|
|
|
Updated "ftbb*.png" list in the owatcom and vstudio projects.
|
|
|
|
Fixed 'prefix' builds on clean systems. The generation of pngprefix.h
|
|
|
|
should not require itself.
|
2012-02-01 04:26:34 +00:00
|
|
|
Updated INSTALL to explain that autogen.sh must be run in a GIT clone,
|
|
|
|
not in a libpng directory extracted from a tar distribution.
|
2012-01-28 04:31:55 +00:00
|
|
|
|
2012-02-01 21:36:37 +00:00
|
|
|
Version 1.6.0beta09 [February 1, 2011]
|
|
|
|
Reverted the prebuilt configure files to libpng-1.6.0beta05 condition.
|
|
|
|
|
2012-02-03 06:34:07 +00:00
|
|
|
Version 1.6.0beta10 [February 3, 2012]
|
2012-02-02 14:37:11 +00:00
|
|
|
Added Z_SOLO for zlib-1.2.6+ and correct pngstest tests
|
2012-02-02 21:48:55 +00:00
|
|
|
Updated list of test images in CMakeLists.txt
|
2012-02-03 07:45:52 +00:00
|
|
|
Updated the prebuilt configure files to current condition.
|
2012-02-04 16:31:38 +00:00
|
|
|
Revised INSTALL information about autogen.sh; it works in tar distributions.
|
2012-02-01 04:49:40 +00:00
|
|
|
|
2012-02-17 02:15:13 +00:00
|
|
|
Version 1.6.0beta11 [February 17, 2012]
|
2012-02-04 03:40:07 +00:00
|
|
|
Fix character count in pngstest command in projects/owatcom/pngstest.tgt
|
2012-02-04 13:35:34 +00:00
|
|
|
Revised test-pngstest.sh to report PASS/FAIL for each image.
|
2012-02-04 16:31:38 +00:00
|
|
|
Updated documentation about the simplified API.
|
2012-02-04 21:11:16 +00:00
|
|
|
Corrected estimate of error in libpng png_set_rgb_to_gray API. The API is
|
|
|
|
extremely inaccurate for sRGB conversions because it uses an 8-bit
|
|
|
|
intermediate linear value and it does not use the sRGB transform, so it
|
|
|
|
suffers from the known instability in gamma transforms for values close
|
|
|
|
to 0 (see Poynton). The net result is that the calculation has a maximum
|
|
|
|
error of 14.99/255; 0.5/255^(1/2.2). pngstest now uses 15 for the
|
|
|
|
permitted 8-bit error. This may still not be enough because of arithmetic
|
|
|
|
error.
|
2012-02-10 23:13:13 +00:00
|
|
|
Removed some unused arrays (with #ifdef) from png_read_push_finish_row().
|
|
|
|
Fixed a memory overwrite bug in simplified read of RGB PNG with
|
|
|
|
non-linear gamma Also bugs in the error checking in pngread.c and changed
|
|
|
|
quite a lot of the checks in pngstest.c to be correct; either correctly
|
|
|
|
written or not over-optimistic. The pngstest changes are insufficient to
|
|
|
|
allow all possible RGB transforms to be passed; pngstest cmppixel needs
|
|
|
|
to be rewritten to make it clearer which errors it allows and then changed
|
|
|
|
to permit known inaccuracies.
|
2012-02-13 17:45:22 +00:00
|
|
|
Removed tests for no-longer-used *_EMPTY_PLTE_SUPPORTED from pngstruct.h
|
|
|
|
Fixed fixed/float API export conditionals. 1) If FIXED_POINT or
|
|
|
|
FLOATING_POINT options were switched off, png.h ended up with lone ';'
|
|
|
|
characters. This is not valid ANSI-C outside a function. The ';'
|
|
|
|
characters have been moved inside the definition of PNG_FP_EXPORT and
|
|
|
|
PNG_FIXED_EXPORT. 2) If either option was switched off, the declaration
|
|
|
|
of the corresponding functions were completely omitted, even though some
|
|
|
|
of them are still used internally. The result is still valid, but
|
|
|
|
produces warnings from gcc with some warning options (including -Wall). The
|
|
|
|
fix is to cause png.h to declare the functions with PNG_INTERNAL_FUNCTION
|
|
|
|
when png.h is included from pngpriv.h.
|
2012-02-17 02:15:13 +00:00
|
|
|
Check for invalid palette index while reading paletted PNG. When one is
|
|
|
|
found, issue a warning and increase png_ptr->num_palette accordingly.
|
|
|
|
Apps are responsible for checking to see if that happened.
|
2012-02-03 07:58:20 +00:00
|
|
|
|
2011-12-15 16:18:33 +00:00
|
|
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
|
|
|
(subscription required; visit
|
|
|
|
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
|
|
|
|
to subscribe)
|
|
|
|
or to glennrp at users.sourceforge.net
|
|
|
|
|
|
|
|
Glenn R-P
|