John Bowler
18211df70b
[libpng17] Fix CMINFO bug in contrib/tools/pngfix.c
2015-11-25 16:03:47 -06:00
John Bowler
504ebd427d
Back out READ/WRITE_INTERLACING changes
...
Now that the code works consistently so that these just switch off the support
for having libpng do the interlace/deinterlace the old names make more sense,
restoring them avoids cruft in the configuration file and avoids an unnecessary
version specific change.
Signed-off-by: John Bowler <jbowler@acm.org>
2015-11-22 20:25:24 -08:00
Glenn Randers-Pehrson
c68de14844
[libpng17] Merge contrib/libtests and contrib/tools with libpng16.
2015-09-15 17:11:43 -05:00
John Bowler
c5ead5d2cd
Test changes
...
Most of these are back-portable to earlier versions (contrib/libtests
should just work with earlier versions), however the 1.7 specific
changes in pngvalid mean that it probably won't work against 1.7 without
the commits following this one.
Signed-off-by: John Bowler <jbowler@acm.org>
2015-09-14 17:57:40 -07:00
Glenn Randers-Pehrson
a671f8baea
[libpng17] Quieted Coverity issues in pngfix.c, png-fix-itxt.c, pngvalid.c,
...
pngstest.c, and pngimage.c. Most seem harmless, but png-fix-itxt
would only work with iTXt chunks with length 255 or less.
2015-06-03 16:21:57 -05:00
Glenn Randers-Pehrson
e0fea61cd8
[libpng17] Imported from libpng-1.7.0beta61.tar
2015-05-30 23:03:01 -05:00
Glenn Randers-Pehrson
0fba15c567
[libpng17] Imported from libpng-1.7.0beta55.tar
2015-03-09 09:16:18 -05:00
Glenn Randers-Pehrson
2bf96d75ec
[libpng17] Fixed some typos in the pngfix usage message.
2015-02-26 10:35:25 -06:00
Glenn Randers-Pehrson
b1d49de5bc
[libpng17] Happy New Year -- update copyright year.
2014-12-31 18:43:44 -06:00
Glenn Randers-Pehrson
82dd5d3575
[libpng17] Imported from libpng-1.7.0beta45.tar
2014-12-28 13:30:06 -06:00
John Bowler
56850aba35
[libpng17] Removed user limits from pngfix. Also pass NULL pointers to
...
png_read_row to skip the unnecessary row de-interlace stuff.
2014-12-24 17:45:38 -06:00
Glenn Randers-Pehrson
b23a10f565
[libpng17] Imported from libpng-1.7.0beta43.tar
2014-12-18 09:00:17 -06:00
Glenn Randers-Pehrson
4f8050416f
[libpng17] Merge pngvalid.c and pngfix.c with libpng-1.6.14beta04
2014-09-28 10:37:26 -05:00
Glenn Randers-Pehrson
b407af6503
[libpng17] Imported from libpng-1.7.0beta34.tar
2014-03-17 13:19:20 -05:00
Glenn Randers-Pehrson
f99393490d
[libpng17] Imported from libpng-1.7.0beta32.tar
2014-02-26 12:54:47 -06:00
Glenn Randers-Pehrson
39fee3cee1
[libpng17] Fixed a large number of instances where PNGCBAPI was omitted from
...
function definitions.
2014-01-31 21:55:27 -06:00
Glenn Randers-Pehrson
28711dff2a
[libpng17] Updated copyright year in recently-changed files.
2013-12-31 21:15:11 -06:00
Glenn Randers-Pehrson
200fc68f52
[libpng17] Removed #error macro from contrib/tools/pngfix.c (Thomas Klausner).
2013-12-27 20:18:50 -06:00
Glenn Randers-Pehrson
9e168ea2c9
[libpng17] Merged files with version 1.6.8 that have not changed since then.
2013-12-19 20:33:08 -06:00
John Bowler
5a1b8d106d
[libpng17] Tidied up pngfix inits and fixed pngtest no-write builds.
2013-12-01 15:50:03 -06:00
Glenn Randers-Pehrson
a199a15b28
[libpng17] Added another "assert()" to pngfix.c
2013-11-23 12:58:32 -06:00
Glenn Randers-Pehrson
e9446f2f95
[libpng17] Added an "assert()" to pngfix.c to quiet a clang scanner warning.
2013-11-23 12:14:02 -06:00
John Bowler
7e2707e2af
[libpng17] Ported recent changes from libpng16 to libpng17
...
Fixed 'minimal' builds. Various obviously useful minimal configurations
don't build because of missing contrib/libtests test programs and overly
complex dependencies in scripts/pnglibconf.dfa. This change adds
contrib/conftest/*.dfa files that can be used in automatic build
scripts to ensure that these configurations continue to build.
Enabled WRITE_INVERT and WRITE_PACK in contrib/pngminim/encoder.
2013-11-22 18:01:30 -06:00
John Bowler
9f2fbcf5d8
[libpng17] Fixed #include in filter_neon_intrinsics.c and ctype macros. The
...
ctype char checking macros take an unsigned char argument, not a signed char.
2013-11-04 13:50:20 -06:00
John Bowler
32aeb2cd4e
[libpng17] Cleaned up (char*) casts of zlib messages. The latest version
...
of the Intel C compiler complains about casting a string literal as (char*),
so copied the treatment of z_const from the library code into pngfix.c
2013-10-06 08:47:43 -05:00
John Bowler
7657ac14f2
[libpng17] Catch up with recent libpng16 changes; unknown handling and spelling
...
corrections
2013-09-30 11:18:13 -05:00
John Bowler
23f3e46518
[libpng17] Ported pngfix.c patches from libpng16.
2013-07-03 07:50:24 -05:00
Glenn Randers-Pehrson
5aa2ca454d
[libpng17] Revised pngfix.c to use PNG_U32() instead of PNG_CHUNK()
2013-07-02 09:52:09 -05:00
Glenn Randers-Pehrson
7905286ffa
[libpng17] Renamed contrib/tools/png-fix-too-far-back.c to pngfix.c and revised
...
it to check all compressed chunks known to libpng.
2013-07-01 15:11:36 -05:00