John Bowler
ad1a4c8cc3
[libpng17] Added libpng 1.5 checks to pngvalid.c
2013-12-27 07:53:50 -06:00
Glenn Randers-Pehrson
99078ec8bd
[libpng17] Bump version to 1.7.0beta26
2013-12-26 11:53:16 -06:00
Glenn Randers-Pehrson
a2c5f56e77
[libpng17] Imported from libpng-1.7.0beta25.tar
2013-12-26 11:53:02 -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
Glenn Randers-Pehrson
06be739941
[libpng17] Bump version to 1.7.0beta25
2013-12-15 11:22:59 -06:00
Glenn Randers-Pehrson
1faa6ff32c
[libpng17] Handle zero-length PLTE chunk or NULL palette with png_error()
...
instead of png_chunk_report(), which by default issues a warning
rather than an error, leading to later reading from a NULL pointer
(png_ptr->palette) in png_do_expand_palette().
2013-12-15 08:47:52 -06:00
John Bowler
3adf438f39
[libpng17] Made transform implementation functions static. This makes the
...
internal functions called by png_do_{read|write}_transformations static.
On an x86-64 DLL build (Gentoo Linux) this reduces the size of the text
segment of the DLL by 1208 bytes, about 0.6%. It also simplifies
maintenance by removing the declarations from pngpriv.h and allowing
easier changes to the internal interfaces.
2013-12-13 23:55:41 -06:00
John Bowler
d45a632529
[libpng17] Bookkeeping: Moved functions around (no changes). Moved transform
...
function definitions before the place where they are called so that
they can be masde static. Move the intrapixel functions and the
grayscale palette builder out of the png?tran.c files. The latter
isn't a transform function and is no longer used internally, and the
former MNG specific functions are better placed in pngread/pngwrite.c
2013-12-13 23:50:30 -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
05f896004f
[libpng17] Changed tabs to 3 spaces in png_debug macros and changed '"%s"m'
...
to '"%s" m' to improve portability among compilers.
Changed png_free_default() to free() in pngtest.c
2013-11-28 16:14:03 -06:00
Glenn Randers-Pehrson
7ebb353944
[libpng17] Removed or marked PNG_UNUSED some harmless "dead assignments"
...
reported by clang scan-build.
2013-11-25 11:08:56 -06:00
Glenn Randers-Pehrson
55df049962
[libpng17] Updated CHANGES and ANNOUNCE
2013-11-23 19:26:57 -06:00
Glenn Randers-Pehrson
219ba1370e
[libpng17] Bump version to 1.7.0beta24
2013-11-23 19:02:56 -06:00
Glenn Randers-Pehrson
4dc4471bb5
[libpng17] Imported from libpng-1.7.0beta23.tar
2013-11-23 19:01:01 -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
Glenn Randers-Pehrson
81824079b5
[libpng17] Added "-Wall" to CFLAGS in contrib/pngminim/*/makefile
2013-11-18 17:03:24 -06:00
Glenn Randers-Pehrson
e8e1add0a8
[libpng17] Moved prototype for png_handle_unknown() in pngpriv.h outside of
...
the #ifdef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED/#endif block.
2013-11-18 15:35:55 -06:00
Glenn Randers-Pehrson
a549223f91
[libpng17] Added #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED/#endif in pngpread.c
2013-11-17 11:09:57 -06:00
Glenn Randers-Pehrson
ebe7945b96
[libpng17] Bump version to 1.7.0beta23
2013-11-07 08:33:41 -06:00
Glenn Randers-Pehrson
e3e35aa980
[libpng17] Imported from libpng-1.7.0beta22.tar
2013-11-07 08:33:31 -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
Glenn Randers-Pehrson
264ba68afe
[libpng17] Restored a line to the libpng-1.7.0beta21 entry in ANNOUNCE
2013-11-03 20:56:03 -06:00
Glenn Randers-Pehrson
3ef99c9316
[libpng17] Bump version to 1.7.0beta22
2013-11-02 15:39:27 -05:00
John Bowler
4b29f97f9b
[libpng17] Port recent libpng-1.6.7beta03, beta04 changes to 1.7.0beta21
...
(mainly ARMv8 support)
2013-11-02 15:29:45 -05:00
Glenn Randers-Pehrson
547df4b9ca
[libpng17] Bump version to 1.7.0beta21
2013-10-13 14:10:23 -05:00
Glenn Randers-Pehrson
a0d4a0b971
[libpng17] Imported from libpng-1.7.0beta20.tar
2013-10-13 14:02:50 -05:00
John Bowler
72c2577302
[libpng17] Make autogen.sh work with automake 1.13 as well as 1.14. Do this
...
by always removing the 1.14 'compile' script but never checking for it.
2013-10-06 09:02:09 -05:00
John Bowler
091fab713c
[libpng17] 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-06 08:51:42 -05: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
c1bcdc3a86
[libpng17] Made changes for compatibility with automake 1.14:
...
1) Added the 'compile' program to the list of programs that must be cleaned
in autogen.sh
2) Added 'subdir-objects' which causes .c files in sub-directories to be
compiled such that the corresponding .o files are also in the
sub-directory. This is because automake 1.14 warns that the
current behavior of compiling to the top level directory may be removed
in the future.
3) Updated dependencies on pnglibconf.h to match the new .o locations and
added all the files in contrib/libtests and contrib/tools that depend
on pnglibconf.h
4) Added 'BUILD_SOURCES = pnglibconf.h'; this is the automake recommended
way of handling the dependencies of sources that are machine generated;
unfortunately it only works if the user does 'make all' or 'make check',
so the dependencies (3) are still required.
2013-10-06 08:18:31 -05:00
Glenn Randers-Pehrson
553b8f85d3
[libpng17] Bump version to 1.7.0beta20
2013-10-02 13:47:20 -05:00
Glenn Randers-Pehrson
30666a6097
[libpng17] Imported from libpng-1.7.0beta19.tar
2013-09-30 17:17:59 -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
d9f60caf72
[libpng17] Fixed default behavior of ARM_NEON_API. If the ARM NEON API option is
...
compiled without the CHECK option it defaulted to on, not off.
2013-09-30 08:07:18 -05:00
Glenn Randers-Pehrson
88c20ada06
[libpng17] Reverted the change to unknown handling #defines; the change
...
breaks 'NOREAD' builds.
2013-09-20 14:30:16 -05:00
Glenn Randers-Pehrson
f3bfc4a142
[libpng17] Bump version to 1.7.0beta19
2013-09-16 11:47:36 -05:00
Glenn Randers-Pehrson
3fdef04d55
[libpng17] Imported from libpng-1.7.0beta18.tar
2013-09-16 11:47:26 -05:00
Glenn Randers-Pehrson
eae431e514
[libpng17] Bump version to 1.7.0beta18
2013-08-21 19:13:27 -05:00
Glenn Randers-Pehrson
003590c361
[libpng17] Imported from libpng-1.7.0beta17.tar
2013-08-21 19:13:18 -05:00
Glenn Randers-Pehrson
157e0649e0
[libpng17] Delay calling png_init_filter_functions() until a row with nonzero
...
filter is found.
2013-08-20 21:28:19 -05:00
Glenn Randers-Pehrson
394bc6cdee
[libpng17] Port recent /*SAFE*/ comments and manual changes from libpng16
2013-07-15 10:28:48 -05:00
Glenn Randers-Pehrson
bb06552075
[libpng17] Bump version to 1.7.0beta17
2013-07-04 22:42:35 -05:00
Glenn Randers-Pehrson
a14071d814
[libpng17] Imported from libpng-1.7.0beta16.tar
2013-07-04 22:31:06 -05:00
John Bowler
23f3e46518
[libpng17] Ported pngfix.c patches from libpng16.
2013-07-03 07:50:24 -05:00
John Bowler
f97b2a6cde
[libpng17] Ported ARM no-read patch from libpng16.
2013-07-03 07:46:02 -05:00
John Bowler
23f4320775
[libpng17] Added perfect hash code generation for lists of PNG chunks. This is
...
a work in progress; checked in for use in pngfix.c
2013-07-03 07:41:04 -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
Glenn Randers-Pehrson
2edcb6ad0f
[libpng17] Revised example.c to illustrate use of PNG_DEFAULT_sRGB and
...
PNG_GAMMA_MAC_18 as parameters for png_set_gamma().
2013-06-25 19:43:16 -05:00
Glenn Randers-Pehrson
0f1599e6e5
[libpng17] Fix spelling of "doclifter" in CHANGES and ANNOUNCE
2013-06-18 15:10:32 -05:00