John Bowler
c3e7e7d715
[libpng16] tests backported from libpng 1.7
...
This updates libpng16 with all the test changes from libpng17,
including changes to pngvalid.c to ensure that the original,
distributed, version of contrib/visupng/cexcept.h can be used.
pngvalid contains the correction to the use of SAVE/STORE_
UNKNOWN_CHUNKS; a bug revealed by changes in libpng 1.7. More
tests contain the --strict option to detect warnings and the
pngvalid-standard test has been corrected so that it does not
turn on progresive-read (there is a separate test which does
that.)
Some signed/unsigned fixes have been made.
Signed-off-by: John Bowler <jbowler@acm.org>
2015-09-15 15:38:52 -07:00
Glenn Randers-Pehrson
8b83ff3704
[libpng16] Change "n bit" to "n-bit" in comments.
2015-08-13 20:57:18 -05:00
Glenn Randers-Pehrson
e6172809bd
[libpng16] Imported from libpng-1.6.18.tar
2015-07-22 22:40:52 -05:00
Glenn Randers-Pehrson
b26b51d154
[libpng16] 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:07:01 -05:00
Glenn Randers-Pehrson
b66de48b3b
[libpng16] Changed png_voidcast(), etc., to voidcast(), etc., in
...
contrib/tools/pngfix.c to avoid confusion with the libpng private macros.
2015-05-30 22:57:33 -05:00
Glenn Randers-Pehrson
218a6fe9e5
[libpng16] Bump version to 1.6.18beta01
2015-03-26 08:55:25 -05:00
Glenn Randers-Pehrson
c98f7fb4e3
[libpng16] Imported from libpng-1.6.17.tar
2015-03-26 08:11:12 -05:00
Glenn Randers-Pehrson
bc27b2f432
[libpng16] Imported from libpng-1.6.17rc02.tar
2015-03-09 09:20:46 -05:00
Glenn Randers-Pehrson
494e75ac83
[libpng16] Fixed some typos in the pngfix usage message.
2015-02-26 10:39:13 -06:00
Glenn Randers-Pehrson
018b4fccb9
[libpng16] Happy New Year! Update copyright year.
2014-12-31 18:45:23 -06:00
John Bowler
6a6eb354ff
[libpng16] Removed user limits from pngfix. Also pass NULL pointers to
...
png_read_row to skip the unnecessary row de-interlace stuff.
2014-12-24 18:54:08 -06:00
Glenn Randers-Pehrson
f43b5e3709
[libpng16] Imported from libpng-1.6.16beta03.tar
2014-12-20 19:21:32 -06:00
Glenn Randers-Pehrson
f1b547a509
[libpng16] Use png_get_libpng_ver(NULL), not PNG_LIBPNG_VER_STRING
2014-11-04 23:33:46 -06:00
Glenn Randers-Pehrson
edb772fd6d
[libpng16] Imported from libpng-1.6.14.tar
2014-10-22 19:32:52 -05:00
Glenn Randers-Pehrson
0df3198719
[libpng16] Imported from libpng-1.6.14beta01.tar
2014-09-14 14:23:32 -05:00
Glenn Randers-Pehrson
3a05d2df0f
[libpng16] Add "#include <setjmp.h>" to contrib/tools/pngfix.c (John Bowler)
2014-09-11 07:39:24 -05:00
Glenn Randers-Pehrson
de5e34f3ce
[libpng16] Add #include <setjmp.h> to contrib/tools/pngfix.c to allow "make" to
...
complete without setjmp support (bug report by Claudio Fontana)
2014-09-10 21:34:34 -05:00
Glenn Randers-Pehrson
0a3c788b51
[libpng16] Don't build contrib/tools/pngfix.c without setjmp support.
2014-09-10 17:27:53 -05:00
Glenn Randers-Pehrson
ee6050ecb4
[libpng16] Imported from libpng-1.6.11rc02.tar
2014-06-03 22:02:34 -05:00
Glenn Randers-Pehrson
4df37bfa4f
[libpng16] Imported from libpng-1.6.10.tar
2014-03-06 12:49:17 -06:00
Glenn Randers-Pehrson
9eec159ab0
[libpng16] Imported from libpng-1.6.10beta01.tar
2014-02-09 13:00:23 -06:00
John Bowler
414d7b5f7d
[libpng16] Backport recent changes from libpng-1.7.0beta30 and beta31.
2014-02-06 11:39:25 -06:00
Glenn Randers-Pehrson
3e753eb8b2
[libpng16] Imported from libpng-1.6.9.tar
2014-02-05 22:33:56 -06:00
Glenn Randers-Pehrson
95a197397f
[libpng16] Updated copyright year in recently-changed files.
2013-12-31 21:10:13 -06:00
Glenn Randers-Pehrson
e51ba2eff4
[libpng16] Removed #error macro from contrib/tools/pngfix.c (Thomas Klausner).
2013-12-27 20:22:24 -06:00
Glenn Randers-Pehrson
be3977de2c
[libpng16] Imported from libpng-1.6.8.tar
2013-12-19 09:11:01 -06:00
John Bowler
81dfd007b2
[libpng16] Tidied up pngfix inits and fixed non-write pngtest.
2013-12-01 15:20:15 -06:00
Glenn Randers-Pehrson
27ae9362d8
[libpng16] Added another "assert()" in pngfix.c
2013-11-23 12:42:43 -06:00
Glenn Randers-Pehrson
88507b4ef9
[libpng16] Avoid a clang scanner warning in pngfix.c
2013-11-23 12:26:00 -06:00
John Bowler
aaf1bb1ae1
[libpng16] Updated "last changed" dates
2013-11-22 15:40:52 -06:00
Glenn Randers-Pehrson
b5596712fc
[libpng16] Update contrib/tools/pngfix.c
2013-11-22 15:26:22 -06:00
John Bowler
08b0620202
[libpng16] 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:44:37 -06:00
John Bowler
5b1df53a82
[libpng16] 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-04 20:13:17 -05:00
Glenn Randers-Pehrson
847e9efb66
[libpng16] Imported from libpng-1.6.3.tar
2013-07-17 19:13:23 -05:00
John Bowler
b4ec1f8451
[libpng16] Unified pngfix.c source with libpng17.
2013-07-02 23:47:57 -05:00
John Bowler
f5f1206778
[libpng16] Fixed undefined behavior in contrib/tools/pngfix.c and added new
...
strip option. pngfix relied on undefined behavior and even a simple change from
gcc to g++ caused it to fail. The new strip option 'unsafe' has been
implemented and is the default if --max is given. Option names have
been clarified, with --strip=transform now stripping the bKGD chunk,
which was stripped previously with --strip=unused.
Added all documented chunk types to pngpriv.h
2013-07-02 23:18:49 -05:00
Glenn Randers-Pehrson
573c9d434f
[libpng16] Change "png-fix-too-far-back" to "pngfix" inside pngfix.c
...
for error messages, etc.
2013-06-27 21:21:26 -05:00
Glenn Randers-Pehrson
d992e05da8
[libpng16] Renamed contrib/tools/png-fix-too-far-back.c to pngfix.c
2013-06-27 13:39:20 -05:00