Glenn Randers-Pehrson
079a724833
[libpng16] Fixed some nits in contrib/arm-neon/README and comments in
...
contrib/examples/*.c
2014-02-23 10:59:27 -06:00
Glenn Randers-Pehrson
f5df058bee
[libpng16] Use a user warning handler in contrib/gregbook/readpng2.c
...
instead of the default.
2014-02-22 07:15:48 -06:00
John Bowler
37b7299b60
[libpng16] Deleted a now-redundant #define png_error from pngvalid.c
2014-02-16 22:55:41 -06:00
John Bowler
0b61d10ad4
[libpng16] Fixed /proc/cpuinfo ARM NEON __linux__ parsing
2014-02-16 14:07:49 -06:00
John Bowler
dba54b8888
[libpng16] Moved OS dependent code from arm/arm_init.c, to allow the included
...
implementation of the ARM NEON discovery function to be set at
build-time and provide sample implementations from the current code in the
contrib/arm-neon subdirectory. The __linux__ code has also been changed to
compile and link on Android by using /proc/cpuinfo, and the old linux code
is in contrib/arm-neon/linux-auxv.c. The new code avoids POSIX and Linux
dependencies apart from opening /proc/cpuinfo and is C90 compliant.
2014-02-16 14:00:06 -06:00
Glenn Randers-Pehrson
38ef9c9779
[libpng16] Removed unneeded "#define PNG_NO_WARNINGS" from contrib/pngminim/*
2014-02-16 13:56:10 -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
8a227ff25a
[libpng16] Bump version to 1.6.10beta01
2014-02-05 23:51:39 -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
4250328102
[libpng16] Updated scripts/makefile.* to use CPPFLAGS (Cosmin)
2014-01-12 10:49:40 -06:00
Glenn Randers-Pehrson
95a197397f
[libpng16] Updated copyright year in recently-changed files.
2013-12-31 21:10:13 -06:00
John Bowler
1fc0171278
[libpng16] Revised pngvalid.c to support libpng 1.5, which does not support the
...
PNG_MAXIMUM_INFLATE_WINDOW option, so #define it out when appropriate in
pngvalid.c
2013-12-29 15:09:28 -06:00
John Bowler
a8472470a4
[libpng16] Merged libpng-1.7.0 changes to make no-interlace configurations work
...
with test programs.
2013-12-29 10:50:51 -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
John Bowler
a80e864faa
[libpng16] Merged with pngvalid.c from libpng-1.7 changes to create a single
...
pngvalid.c
2013-12-27 08:43:55 -06:00
John Bowler
1d3c990425
[libpng16] Added checks for libpng 1.5 to pngvalid.c. This supports the use of
...
this version of pngvalid in libpng 1.5
2013-12-27 08:14:06 -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
1c6e5f8caa
[libpng16] Imported from libpng-1.6.8beta01.tar
2013-11-23 18:41:43 -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
0f6303301f
[libpng16] Fixed pngvalid 'fail' function declaration on the Intel C Compiler.
...
This reverts to the previous 'static' implementation and works round
the 'unused static function' warning by using PNG_UNUSED().
2013-11-22 18:49:58 -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
Glenn Randers-Pehrson
503a49458b
[libpng16] Enabled WRITE_INVERT and WRITE_PACK in contrib/pngminim/encoder.
2013-11-22 15:16:04 -06:00
Glenn Randers-Pehrson
c912050a7b
[libpng16] 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.
2013-11-22 14:58:04 -06:00
Glenn Randers-Pehrson
a7f0bcb3a6
[libpng16] Added "-Wall" to CFLAGS in contrib/pngminim/*/makefile
2013-11-18 17:07:26 -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
9e9977e153
[libpng16] Revised pngvalid to generate size images with as many filters as
...
it can manage, limited by the number of rows.
2013-10-17 08:23:13 -05:00
John Bowler
236e105170
[libpng16] Simplified error message code in pngunknown. The simplification has
...
the useful side effect of avoiding a bogus warning generated by the latest
version of the Intel C compiler (it objects to
condition ? string-literal : string-literal).
2013-10-04 20:28:33 -05: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
John Bowler
cc93d89e43
[libpng16] Updated pngunknown.c
2013-09-30 13:07:58 -05:00
John Bowler
8f381901e3
[libpng16] Avoid up-cast warnings in pngvalid.c. On ARM the alignment
...
requirements of png_modifier are greater than that of png_store and as a
consequence compilation of pngvalid.c results in a warning about increased
alignment requirements because of the bare cast to (png_modifier*). The code
is safe, because the pointer is known to point to a stack allocated
png_modifier, but this change avoids the warning.
Fixed default behavior of ARM_NEON_API. If the ARM NEON API option was
compiled without the CHECK option it defaulted to on, not off.
Check user callback behavior in pngunknown.c. Previous versions compiled
if SAVE_UNKNOWN was not available but did nothing since the callback
was never implemented.
Merged pngunknown.c with 1.7 version and back ported 1.7 improvements/fixes
2013-09-30 11:24:17 -05:00
John Bowler
15a80443de
[libpng16] Allow HANDLE_AS_UNKNOWN to work when other options are configured
...
off. Also fixed the pngminim makefiles to work when $(MAKEFLAGS) contains stuff
which terminates the make options (as by default in recent versions of Gentoo).
2013-09-21 10:06:32 -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
John Bowler
870beb5279
[libng16] Revised contrib/tools/png-fix-too-far-back.c to check all compressed
...
chunks known to libpng.
2013-06-27 11:49:26 -05:00
John Bowler
88610994da
[libpng16] Fix compiler warning in png-fix-itxt.c
2013-06-05 12:15:25 -05:00
Glenn Randers-Pehrson
afd6cecb76
[libpng16] Imported from libpng-1.6.3beta06.tar
2013-05-12 18:36:09 -05:00
Glenn Randers-Pehrson
61dbc4c608
[libpng16] Revised contrib/pngminim/*/makefile to generate pnglibconf.h
...
with the right zlib headers.
2013-05-09 22:01:06 -05:00
Glenn Randers-Pehrson
7fc85a3f46
[libng16] Fixed typo in png-fix-too-far-back "usage" output
2013-05-09 08:49:42 -05:00
Glenn Randers-Pehrson
4ea93e69bc
[libpng16] Renamed pnginflate to png-fix-too-far-back in contrib/tools.
2013-05-08 21:57:00 -05:00
Glenn Randers-Pehrson
ff141eb21e
[libpng16] Renamed contrib/tools/fixitxt to contrib/tools/png-fix-itxt.
...
Added information in the documentation about problems with and fixes for
the bad CRC and bad iTXt chunk situations.
2013-05-08 19:46:10 -05:00
John Bowler
122bec17f2
[libpng16]Check ZLIB_VERNUM for mismatches, enclose #error in quotes
2013-05-08 14:35:21 -05:00
John Bowler
9afb90f885
[libpng16] Attempt to detect configuration issues with pngdeflate,
...
which requires both the correct libpng and the correct zlib to function
correctly.
2013-05-08 14:21:46 -05:00
Glenn Randers-Pehrson
3f2b5a6670
libpng16] Updated contrib/pngminus/pnm2png.c (Paul Stewart):
...
Fixed whitespace handling
Added a call to png_set_packing()
Initialize dimension values so if sscanf fails at least we have known
invalid values.
2013-05-08 10:09:19 -05:00