Glenn Randers-Pehrson
e55b25a962
[libpng16] Bump version to 1.6.1beta08
2013-03-06 22:42:23 -06:00
John Bowler
59ae38984f
[libpng16] Corrected simplified API default gamma for color-mapped output, added
...
a flag to change default. In 1.6.0 when the simplified API was used
to produce color-mapped output from an input image with no gamma
information the gamma assumed for the input could be different from
that assumed for non-color-mapped output. In particular 16-bit depth
input files were assumed to be sRGB encoded, whereas in the 'direct'
case they were assumed to have linear data. This was an error. The
fix makes the simplified API treat all input files the same way and
adds a new flag to the png_image::flags member to allow the
application/user to specify that 16-bit files contain sRGB data
rather than the default linear.
Fixed bugs in the pngpixel and makepng test programs.
2013-03-06 22:15:25 -06:00
Glenn Randers-Pehrson
1cbfa24a93
[libpng16] Bump version to 1.6.1beta07
2013-03-04 17:56:59 -06:00
John Bowler
f3728100d9
[libpng16] Corrected Android builds and corrected libpng.vers with symbol
...
prefixing This adds an API to set optimization options externally,
providing an alternative and general solution for the non-portable
run-time tests used by the ARM Neon code. It also makes those tests
compile and link on Android.
The order of settings vs options in pnglibconf.h is reversed to allow
settings to depend on options and options can now set (or override) the
defaults for settings.
2013-03-04 16:26:31 -06:00
John Bowler
e15b537825
[libpng16] Better documentation of unknown handling API interactions.
2013-03-02 17:59:43 -06:00
Glenn Randers-Pehrson
e57f094fd6
[libpng16] Bump version to 1.6.1beta06
2013-03-02 17:37:23 -06:00
Glenn Randers-Pehrson
4ea113b7f0
[libng16] Reverted recent change that eliminated a warning about storing
...
an unhandled chunk.
2013-03-02 16:03:45 -06:00
Glenn Randers-Pehrson
871b1d0fab
[libpng16] Bump version to 1.6.1beta05
2013-03-02 15:03:15 -06:00
Glenn Randers-Pehrson
f3af706c2a
[libpng16] Imported from libpng-1.6.0beta05.tar
2013-03-01 21:38:03 -06:00
Glenn Randers-Pehrson
96cf4bde0e
[libpng16] Fixed bug introduced in libpng-1.6.0beta28 that causes libpng to
...
handle chunks even when they have been tagged PNG_HANDLE_CHUNK_NEVER.
2013-03-01 20:04:06 -06:00
Glenn Randers-Pehrson
1118d6d985
[libpng16] Avoid a possible memory leak in contrib/gregbook/readpng.c
2013-03-01 13:27:05 -06:00
Glenn Randers-Pehrson
e444514a94
[libpng16] Bump version to 1.6.1beta05
2013-02-27 15:11:39 -06:00
John Bowler
ccec786ca7
[libpng16] Revised scripts/dfn.awk to work with the buggy MSYS awk that has
...
trouble with CRLF line endings.
2013-02-27 13:36:08 -06:00
Glenn Randers-Pehrson
45bb4530fd
[libpng16] Revised INSTALL to recommend using CPPFLAGS instead of INCLUDES.
...
Revised scripts/makefile.freebsd to respect ZLIBDIR and ZLIBINC.
2013-02-22 20:19:49 -06:00
Glenn Randers-Pehrson
a97fc46e43
[libpng16] Bump version to 1.6.1beta04
2013-02-22 17:12:09 -06:00
Glenn Randers-Pehrson
f8a8ead5cb
[libpng16] Update the INSTALL document.
2013-02-22 16:52:21 -06:00
John Bowler
09a5ca72ac
[libpng16] Allow run-time ARM NEON checking to be disabled. A new configure
...
option:
--enable-arm-neon=always will stop the run-time checks. New checks
within arm/arm_init.c will cause the code not to be compiled unless
__ARM_NEON__ is set. This should make it fail safe (if someone asks
for it on then the build will fail if it can't be done.)
Fixed ALIGNED_MEMORY support.
2013-02-18 22:30:35 -06:00
Glenn Randers-Pehrson
0cc3e9e38c
[libpng16] Bump version to 1.6.1beta03
2013-02-18 21:25:56 -06:00
John Bowler
c0a0d4a6d2
[libpng16] Reenabled code to allow zero length PLTE chunks for MNG.
2013-02-18 21:23:17 -06:00
Glenn Randers-Pehrson
cc074dcaa6
[libpng16] Bump version to 1.6.1beta02
2013-02-16 10:48:39 -06:00
Glenn Randers-Pehrson
3b8e7e869d
[libpng16] Imported from libpng-1.6.1beta01.tar
2013-02-16 10:48:29 -06:00
John Bowler
765d145ec4
[libpng16] Use approved/supported Android method to check for NEON, use
...
Linux/POSIX 1003.1 API to check /proc/self/auxv avoiding buffer allocation
and other library calls (ported from libpng15).
2013-02-16 07:43:48 -06:00
John Bowler
c9b11ff0d4
[libpng16] Fixed a race condition in the creation of the build 'scripts'
...
directory while building with a parallel make.
2013-02-16 07:38:46 -06:00
John Bowler
23a101e06d
[libpng16] scripts/pnglibconf.dfa formatting improvements back ported from libpng 1.7.
2013-02-16 00:18:20 -06:00
John Bowler
b724c812ec
[libpng16] Enabled parallel tests - back ported from libpng-1.7.
2013-02-16 00:05:59 -06:00
John Bowler
0695fcd834
[libpng16] Removed cc -E workround, corrected png_get_palette_max API Tested on SUN OS cc 5.9,
...
which demonstrates the tokenization problem previously avoided by using /lib/cpp.
Since all .dfn output is now protected in double quotes unless it is to be macro
substituted the fix should work everywhere.
2013-02-15 23:46:37 -06:00
John Bowler
42835d3d19
[libpng16] Ported libpng 1.5 options.awk/dfn file handling to 1.6, fixed one bug.
2013-02-15 23:40:34 -06:00
John Bowler
2d99978f67
[libpng16] Made sRGB check numbers consistent.
2013-02-15 23:25:18 -06:00
John Bowler
9d2e875826
[libpng16] Made symbol prefixing work with the ARM neon optimizations. Also allow pngpriv.h
...
to be included for preprocessor definitions only, so it can be used in non-C/C++
files. Back ported from libpng 1.7.
2013-02-15 23:21:42 -06:00
Glenn Randers-Pehrson
681de8c8dc
[libpng16] Bump version to 1.6.1beta01
2013-02-13 23:17:52 -06:00
Glenn Randers-Pehrson
c53778ff53
[libpng16] Imported from libpng-1.6.0.tar
2013-02-13 22:53:57 -06:00
Glenn Randers-Pehrson
44db2cfb15
[libpng16] Bump version to 1.6.0rc09
2013-02-10 20:34:23 -06:00
Glenn Randers-Pehrson
88c5a2a068
[libpng16] Fixed typo in png.h #ifdef
2013-02-10 16:39:55 -06:00
Glenn Randers-Pehrson
bf9f74b657
[libpng16] Bump version to 1.6.0rc08
2013-02-10 16:20:48 -06:00
Glenn Randers-Pehrson
d000fb89c0
[libpng16] Enclosed the new png_get_palette_max
...
in #ifdef PNG_GET_PALETTE_MAX_SUPPORTED block, and revised pnglibconf.h
and pnglibconf.h.prebuilt accordingly.
2013-02-10 15:46:06 -06:00
Glenn Randers-Pehrson
9fabbedcf3
[libpng16] Bump version to 1.6.0rc07
2013-02-09 07:44:06 -06:00
John Bowler
b8d0534e9d
[libpng16] Fixed missing dependency in --prefix builds The intermediate
...
internal 'prefix.h' file can only be generated correctly after
pnglibconf.h, however the dependency was not in Makefile.am. The
symptoms are unpredictable depending on the order make chooses to
build pngprefix.h and pnglibconf.h, often the error goes unnoticed
because there is a system pnglibconf.h to use instead.
2013-02-09 07:24:08 -06:00
Glenn Randers-Pehrson
f88ac51a2e
[libpng16] Bump version to 1.6.0rc06
2013-02-08 09:13:44 -06:00
Glenn Randers-Pehrson
bbac5e692f
[libpng16] Imported from libpng-1.6.0rc05.tar
2013-02-08 09:13:35 -06:00
Glenn Randers-Pehrson
1f8e81738a
[libpng16] Bump version to 1.6.0rc05
2013-02-06 22:32:13 -06:00
John Bowler
f5a83fb2b3
[libpng16] Turn serial tests back on (recently turned off by autotools upgrade).
2013-02-06 19:38:42 -06:00
Glenn Randers-Pehrson
154de9398a
[libpng16] Bump version to 1.6.0rc04
2013-02-05 12:14:43 -06:00
Glenn Randers-Pehrson
777044a856
[libpng16] Imported from libpng-1.6.0rc03.tar
2013-02-05 10:34:11 -06:00
John Bowler
fe5c8b9755
[libpng16] Fixed palette_max API.
2013-02-05 08:01:09 -06:00
Glenn Randers-Pehrson
8d391c6cea
[libpng16] Bump version to 1.6.0rc03
2013-02-04 20:43:27 -06:00
Glenn Randers-Pehrson
806477742a
[libpng16] Added documentation of the new png_get_palette_max() function.
2013-02-04 19:57:32 -06:00
Glenn Randers-Pehrson
29890b0439
[libpng16] Imported from libpng-1.6.0rc01.tar
2013-01-26 12:13:17 -06:00
Glenn Randers-Pehrson
9f860f59d9
[libpng16] Bump version to 1.6.0beta41
2013-01-20 17:32:13 -06:00
John Bowler
2414bd99d8
[libpng16] Use consistent handling of overflows in text, sPLT and unknown
...
png_set_* APIs
2013-01-19 23:18:59 -06:00
Glenn Randers-Pehrson
1f76e62d6c
[libpng16] Bump version to 1.6.0beta40
2013-01-19 08:57:40 -06:00
Glenn Randers-Pehrson
590c8b0987
[libpng16] Added overflow detection in png_set_sPLT() and png_set_text_2().
2013-01-19 08:49:12 -06:00
Glenn Randers-Pehrson
c5c8b542fb
[libpng16] Bump version to 1.6.0beta39
2013-01-17 13:57:58 -06:00
John Bowler
9dd2bfafe5
[libpng16] Corrected previous attempt at overflow detection in
...
png_set_unknown_chunks().
2013-01-17 13:24:05 -06:00
Glenn Randers-Pehrson
ba35f1e4c1
[libpng16] Bump version to 1.6.0beta38
2013-01-10 12:21:07 -06:00
John Bowler
1c6e22a360
[libpng16] Fixed conceivable but difficult to repro overflow. Also added
...
two test programs to generate and test a PNG which should have the problem.
2013-01-10 10:55:34 -06:00
Glenn Randers-Pehrson
37109a9f5b
[libpng16] Bump version to 1.6.0beta37
2013-01-01 08:40:25 -06:00
Glenn Randers-Pehrson
a70216aa60
[libpng16] Imported from libpng-1.6.0beta36.tar
2013-01-01 08:40:16 -06:00
John Bowler
408652acaf
[libpng16] Fixed 'make distcheck' on SUN OS - libpng.so was not being removed
2012-12-27 09:56:41 -06:00
Glenn Randers-Pehrson
744f041adf
[libpng16] Discontinued distributing libpng-1.x.x.tar.bz2.
...
Discontinued distributing libpng-1.7.0-1.6.0-diff.txt and similar.
2012-12-23 22:19:43 -06:00
Glenn Randers-Pehrson
86c739e8bc
[libpng16] Bump version to 1.6.0beta36
2012-12-22 18:34:22 -06:00
Glenn Randers-Pehrson
79ee877fb4
[libpng16] Reformatted latest CHANGES/ANNOUNCE entry to 80 character lines.
2012-12-22 17:13:35 -06:00
John Bowler
e9d616321a
[libpng16] Fixed Windows build issues, enabled ARM compilation. Various warnings issued
...
by earlier versions of GCC fixed for Cygwin and Min/GW (which both use old GCCs.)
ARM support is enabled by default in zlib.props (unsupported by Microsoft) and
ARM compilation is made possible by deleting the check for x86. The test programs
cannot be run because they are not signed.
2012-12-20 22:48:58 -06:00
John Bowler
24639a63ce
[libpng16] Made default Zlib compression settings be configurable. This adds #defines to
...
pnglibconf.h to control the defaults.
2012-12-20 22:26:18 -06:00
Glenn Randers-Pehrson
5362c9d5e5
[libpng16] Bump version to 1.6.0beta35
2012-12-19 16:21:35 -06:00
Glenn Randers-Pehrson
b6bfd40da2
[libpng16] Imported from libpng-1.6.0beta34.tar
2012-12-19 16:12:30 -06:00
Glenn Randers-Pehrson
a1d32d08e1
[libpng16] ANNOUNCE that location of GIT repository at SourceForge has changed.
2012-12-18 21:53:17 -06:00
Glenn Randers-Pehrson
7bde6e23bb
[libpng16] Disassembled the version number in scripts/options.awk (necessary
...
for building on SunOs)
2012-12-18 08:44:26 -06:00
Glenn Randers-Pehrson
5d9dc4563f
[libpng16] Fixed whitespace in libpng.3 manpage.
2012-12-17 20:03:08 -06:00
Glenn Randers-Pehrson
8c3d4f387a
[libpng16] Bump version to 1.6.0beta34
2012-12-15 08:43:12 -06:00
Glenn Randers-Pehrson
6e265d137c
[libpng16] Note in CHANGES that configure files were rebuilt with autoconf-2.69
2012-12-15 08:29:41 -06:00
John Bowler
785a8b1505
[libpng16] Fixed cases of unquoted DESTDIR in Makefile.am
2012-12-15 07:57:31 -06:00
John Bowler
6cf32b460f
[libpng16] Rearranged the ARM-NEON optimizations: Isolated the machine specific
...
code to the hardware subdirectory and added comments to pngrutil.c so that
implementors of other optimizations know what to do.
2012-12-15 07:55:54 -06:00
John Bowler
f758d6c813
[libpng16] Rearranged the ARM-NEON optimizations: Isolated the machine specific
...
code to the hardware subdirectory and added comments to pngrutil.c so that
implementors of other optimizations know what to do.
2012-12-13 11:26:50 -06:00
Glenn Randers-Pehrson
e4f124e335
[libpng16] Bump version to 1.6.0beta33
2012-12-09 19:25:42 -06:00
John Bowler
1f84bd7000
[libpng16] Change png_warning() to png_app_error() in pngwrite.c and comment
...
the fall-through condition.
2012-12-09 18:50:49 -06:00
Glenn Randers-Pehrson
b76ab1260d
[libpng16] Fixed typo in png.c (PNG_SET_CHUNK_MALLOC_MAX should be
...
PNG_CHUNK_MALLOC_MAX) that causes the MALLOC_MAX limit not to work (John Bowler)
2012-12-09 17:08:13 -06:00
Glenn Randers-Pehrson
6dae6d8f3b
[libpng16] Imported from libpng-1.6.0beta32.tar
2012-11-25 12:47:44 -06:00
Glenn Randers-Pehrson
5f4b95e513
[libpng16] Made png_user_version_check() ok to use with libpng version 1.10.x
...
and later.
2012-11-22 16:58:30 -06:00
John Bowler
70850fce0c
[libpng16] Fixed error checking in the simplified write API (Olaf van der Spek)
2012-11-15 00:06:30 -06:00
John Bowler
f2aacefb3f
[libpng16] Added the ability for contrib/libtests/makepng.c to make a PNG with just one
...
color. This is useful for debugging pngstest color inaccuracy reports.
2012-11-13 19:18:53 -06:00
John Bowler
4314d63792
[libpng16] Fixed an intermittent SEGV in pngstest.
2012-11-02 14:08:29 -05:00
Glenn Randers-Pehrson
7b3eefbcfd
[libpng16] Bump version to 1.6.0beta32
2012-11-01 08:37:52 -05:00
John Bowler
520803d57e
[libpng16] Removed non-working ICC profile support code. There was too much
...
code for too little gain; implementing full ICC color correction is maybe
desireable but is left up to applications.
2012-11-01 08:12:47 -05:00
John Bowler
7f912dbeb5
[libpng16] Fixed GUIDs in projects/vstudio. Some were duplicated or missing,
...
resulting in VS2010 having to update the files.
2012-10-27 13:04:56 -05:00
John Bowler
ab1477d662
[libpng16] Made PNG_NO_READ_GAMMA switch off interfaces that depend on
...
READ_GAMMA. Prior to 1.6.0 switching off READ_GAMMA did unpredictable things
to the interfaces that use it (specifically, png_do_background in 1.4 would
simply display composite for grayscale images but do composition
with the incorrect arithmetic for color ones). In 1.6 the semantic
of -DPNG_NO_READ_GAMMA is changed to simply disable any interface that
depends on it; this obliges people who set it to consider whether they
really want it off if they happen to use any of the interfaces in
question (typically most users who disable it won't).
2012-10-27 06:57:12 -05:00
John Bowler
f0fb1746b0
[libpng16] Make builds -DPNG_NO_READ_GAMMA compile (the unit tests still fail).
2012-10-26 08:29:45 -05:00
John Bowler
f8dfd123e2
[libpng16] Changed ICC profile support to allow use of an external color
...
management system (CMS). In practice it is not possible to obtain cHRM
information reliably using just the end-point tags because they do not exist
in the vast majority of profiles. Instead it is necessary to run the endpoints
through the ICC colorimetric intent transform (as described in the v4
spec). Since this is likely to be too much code inside libpng for too
little gain (it implies a fairly complete CMS implementation) the code
has been changed to allow an external CMS to be used. This code is
temporarily disabled until a suitable set of test cases using one or more
external CMS implementations have been implemented.
2012-10-25 19:30:02 -05:00
John Bowler
e6b710cb3f
[libpng16] Made pngvalid so that it will build outside the libpng source tree.
2012-10-25 19:15:55 -05:00
John Bowler
be85fa6027
[libpng16] Undid the erroneous change to vstudio/pngvalid build in
...
libpng-1.6.0beta30.
2012-10-25 19:09:55 -05:00
Glenn Randers-Pehrson
43648b02bc
[libpng16] Bump version to 1.6.0beta31
2012-10-24 11:37:18 -05:00
Glenn Randers-Pehrson
9a82547afe
[libpng16] Fixed build when using #define PNG_NO_READ_GAMMA in png_do_compose()
...
in pngrtran.c (Domani Hannes).
2012-10-24 11:22:35 -05:00
John Bowler
fa63beaa34
[libpng16] Use /MDd for vstudio debug builds.
...
Also added pngunkown to the vstudio builds, fixed build errors and corrected
a minor exit code error in pngvalid if the 'touch' file name is invalid.
2012-09-30 06:53:50 -05:00
John Bowler
c39be26f5a
[libpng16] Add updated WARNING file from libpng 1.5/vstudio
2012-09-29 17:48:53 -05:00
Glenn Randers-Pehrson
6ae34790cc
[libpng16] Added -DZ_SOLO to contrib/pngminim/*/makefile so they will work
...
with zlib-1.2.7
2012-09-27 18:52:30 -05:00
John Bowler
8de49d0921
[libpng16] Marked the broken (bad white point) original HP sRGB profiles
...
correctly and correct comments.
2012-09-27 09:26:49 -05:00
John Bowler
48cbba8e8e
[libpng16] Added a work around for GCC 4.2 optimization bug
2012-09-06 15:47:49 -05:00
John Bowler
b257147015
[libpng16] Changed ICC profile matrix/vector types to not depend on array
...
type rules. By the ANSI-C standard the new types should be identical to the
previous versions, and all known versions of gcc tested with the previous
versions except for GCC-4.2.1 work with this version. The change makes the
ANSI-C rule that const applied to an array of elements applies instead to the
elements in the array moot by explicitly applying const to the base
elements of the png_icc_matrix and png_icc_vector types. The accidental
(harmless) 'const' previously applied to the parameters of two of the
functions have also been removed.
2012-09-06 12:17:00 -05:00
Glenn Randers-Pehrson
329d033d25
[libpng16] Bump version to 1.6.0beta30
2012-09-04 16:59:30 -05:00
Glenn Randers-Pehrson
9c06d78468
[libpng16] Imported from libpng-1.6.0beta29.tar
2012-09-04 16:59:12 -05:00
John Bowler
b98681b49a
[libpng16] Improved ICC profile handling including cHRM chunk generation and
...
fixed Cygwin+MSVC build errors. The ICC profile handling now includes more
checking. Several errors that caused rejection of the profile are now
handled with a warning in such a way that the invalid profiles will be
read by default in release (but not pre-RC) builds but will not be
written by default. The easy part of handling a cHRM chunk is written,
where the ICC profile contains the required data. The more difficult
part plus guessing a gAMA value requires code to pass selected RGB values
through the profile.
2012-09-04 16:35:20 -05:00