Glenn Randers-Pehrson
1658e602c6
[libpng16] Imported from libpng-1.6.8beta02.tar
2013-11-30 09:12:23 -06:00
Glenn Randers-Pehrson
83b132f14d
[libpng16] Changed deprecated png_free_default() to free() in pngtest.c
...
Changed tabs to 3 spaces in png_debug macros and changed '"%s"m'
to '"%s" m' to improve portability among compilers.
2013-11-28 16:33:27 -06:00
Glenn Randers-Pehrson
1f63da349b
[libpng16] 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 13:41:10 -06:00
Glenn Randers-Pehrson
44db02364e
[libpng16] Avoid a clang scan-build warning in pngtest.c
2013-11-25 13:19:57 -06:00
Glenn Randers-Pehrson
3f8a2ed600
[libpng16] Removed or marked PNG_UNUSED some harmless "dead assignments"
...
reported by clang scan-build.
2013-11-25 10:38:21 -06:00
Glenn Randers-Pehrson
30145f29c5
[libpng16] Revised manual about handling of zlib CMF
2013-11-24 13:33:07 -06:00
Glenn Randers-Pehrson
d56af331e1
[libpng16] Bump version to 1.6.8beta02
2013-11-23 18:59:14 -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
113213416c
[libpng16] Conditionally compile some unused functions reported by -Wall
...
in pngminim.
2013-11-18 20:12:24 -06:00
Glenn Randers-Pehrson
bd757acf26
[libpng16] Reverted change of ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED
...
to PNG_SET_UNKNOWN_SUPPORTED in pngpread.c; it led to the possibility of
calling png_handle_unknown() twice.
2013-11-18 18:40:39 -06:00
Glenn Randers-Pehrson
a7f0bcb3a6
[libpng16] Added "-Wall" to CFLAGS in contrib/pngminim/*/makefile
2013-11-18 17:07:26 -06:00
Glenn Randers-Pehrson
7976b3c3e3
[libpng16] Moved prototype for png_handle_unknown() in pngpriv.h outside of
...
the #ifdef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED/#endif block.
Removed recently-added #ifdef from pngpread.c; moving the prototype
in pngpriv.h fixed the compiler warning that the #ifdef was trying
to solve.
2013-11-18 11:38:42 -06:00
Glenn Randers-Pehrson
012d36f643
[libpng16] Changed ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED to
...
ifdef PNG_SET_UNKNOWN_CHUNKS_SUPPORTE in pngpread.c to agree with
what is in pngpriv.h
2013-11-17 19:42:48 -06:00
Glenn Randers-Pehrson
68dfa9e526
[libpng16] Reduced scope of recently-added #ifdef block
...
(#ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED/#endif in pngpread.c)
2013-11-17 19:26:40 -06:00
Glenn Randers-Pehrson
416bb9320f
[libpng16] Added #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED/#endif in pngpread.c
2013-11-17 11:06:50 -06:00
Glenn Randers-Pehrson
f2b8961f58
[libpng16] Bump version to 1.6.8beta01
2013-11-14 13:17:57 -06:00
Glenn Randers-Pehrson
6a3805c25b
[libpng16] Update version number in manual and png.h
2013-11-14 13:16:21 -06:00
Glenn Randers-Pehrson
cf247ebffe
[libpng16] Update version number in CHANGES file.
2013-11-14 12:51:15 -06:00
Glenn Randers-Pehrson
0ea69cdfa9
[libpng16] Imported from libpng-1.6.7.tar
2013-11-14 12:28:05 -06:00
Glenn Randers-Pehrson
8bf54399a3
[libpng16] Bump version to 1.6.7rc03
2013-11-07 08:15:38 -06:00
Glenn Randers-Pehrson
4da9d314bc
[libpng16] Imported from libpng-1.6.7rc02.tar
2013-11-07 08:15:30 -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
Glenn Randers-Pehrson
dee5a914fc
[libpng16] Bump version to 1.6.7rc02
2013-11-02 16:49:53 -05:00
Glenn Randers-Pehrson
d2d09e5bf9
[libpng16] Imported from libpng-1.6.7rc01.tar
2013-11-02 15:48:28 -05:00
Glenn Randers-Pehrson
03eafe24ed
[libpng16] Bump version to 1.6.7beta05
2013-10-26 11:52:05 -05:00
Glenn Randers-Pehrson
e9a8fb8d07
[libpng16] Imported from libpng-1.6.7beta04.tar
2013-10-26 11:51:56 -05:00
John Bowler
fd8bba4b80
[libpng16] Changed NEON implementation selection mechanism to allow assembler
...
or intrinsics to be turned on during the build by defining
PNG_ARM_NEON_IMPLEMENTATION to the correct value (2 or 1). The
default is "undefined" and the build type is selected in pngpriv.h.
2013-10-25 16:11:57 -05:00
John Bowler
bb9adfdad9
[libpng16] Allow clang derived from older GCC versions to use ARM intrinsics.
2013-10-24 07:45:27 -05:00
Glenn Randers-Pehrson
393d3c8285
[libpng16] Updated CHANGES comment about enabling ARMv8 code
...
We use -mfpu=neon instead of a configuration flag.
2013-10-19 09:34:54 -05:00
Glenn Randers-Pehrson
9450ffb26d
[libpng16] Bump version to 1.6.7beta04
2013-10-19 09:06:07 -05:00
Glenn Randers-Pehrson
ed049010b1
[libpng16] Imported from libpng-1.6.7beta03.tar
2013-10-19 09:05:59 -05:00
John Bowler
db9d96840d
[libpng16] Cleaned up ARM NEON compilation handling. The tests are now in
...
pngpriv.h and detect the broken GCC compilers.
2013-10-18 15:28:00 -05: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
681b731151
[libpng16] Fixed loop end condition in filter_neon_intrinsics.c
2013-10-17 08:12:55 -05:00
John Bowler
83a841ab7c
[libpng16] Fix compilation errors in filter_neon_intrinsics.c
...
Use filter_neon_intrinsics.c in preference to filter_neon.S when possible.
2013-10-15 21:19:56 -05:00
Glenn Randers-Pehrson
85c2ec9a69
[libpng16] Restored arm/arm_init.c to CSRCS in Makefile.am
2013-10-14 19:55:45 -05:00
Glenn Randers-Pehrson
cf644fa901
[libpng16] Update "last changed" dates in arm/filter_neon_intrinsics.c and
...
pngrtran.c
2013-10-14 13:16:38 -05:00
Glenn Randers-Pehrson
17ad121e93
[libpng16] Work around problem with multiple-line "test" command missing
...
continuation backslashes
2013-10-14 13:15:09 -05:00
Glenn Randers-Pehrson
19e4edaf3f
[libpng16] Conditionally compile arm/filter_neon_intrinsics.c
...
if PNG_READ_SUPPORTED and PNG_ARM_NEON_OPT > 0
2013-10-14 12:47:49 -05:00
Glenn Randers-Pehrson
e1540e3b4c
[libpng16] Updated configure.ac to handle new on-intrinsics, etc., options.
2013-10-14 11:38:53 -05:00
Glenn Randers-Pehrson
063eb1b497
[libpng16] Added ARMv8 support (James Yu <james.yu at linaro.org>). Added file
...
arm/filter_neon_intrinsics.c; enable with configuration flag
PNG_ARM_NEON_INTRINSICS.
2013-10-14 11:14:36 -05:00
Glenn Randers-Pehrson
fecdd46639
[libpng16] Fix some typos in autogen.sh that don't affect its behavior
2013-10-13 17:14:48 -05:00
Glenn Randers-Pehrson
0e036921aa
[libpng16] Bump version to 1.6.7beta03
2013-10-13 13:48:11 -05:00
Glenn Randers-Pehrson
e827fa24a0
[libpng16] Imported from libpng-1.6.7beta02.tar
2013-10-13 11:47:41 -05:00
John Bowler
34ac3691cb
[libpng16] 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 11:29:55 -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
940b37b197
[libpng16] 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-04 19:56:19 -05:00
John Bowler
0441ff62e7
[libpng16] Remove spurious "#ifdef PNG_sRGB_SUPPORTED" from pngrutil.c
2013-10-04 19:28:48 -05:00
Glenn Randers-Pehrson
de723276e5
[libpng16] Bump version to 1.6.7beta02
2013-10-02 13:47:02 -05:00
Glenn Randers-Pehrson
2464dbfe4c
[libpng16] Imported from libpng-1.6.7beta01.tar
2013-09-30 17:05:35 -05:00
Glenn Randers-Pehrson
b3721757a0
[libpng16] Catch up with some recent changes that did not get merged.
2013-09-30 13:56:44 -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
6f8f004fe1
[libpng16] Added #ifdef PNG_READ_SUPPORTED/endif around the
...
png_chunk_unknown_handling() function, and restored the unknown-chunk
handling code from libpng-1.6.6.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
to subscribe)
or to glennrp at users.sourceforge.net
Glenn R-P
2013-09-20 15:40:15 -05:00
Glenn Randers-Pehrson
873f16fe2f
[libpng16] Reverted the change to unknown handling #defines; the change
...
breaks 'NOREAD' builds.
2013-09-20 14:28:50 -05:00
Glenn Randers-Pehrson
7ae451f527
[libpng16] Bump version to 1.6.7beta01
2013-09-16 11:47:17 -05:00
Glenn Randers-Pehrson
391459424e
[libpng16] Imported from libpng-1.6.6.tar
2013-09-16 10:39:16 -05:00
Glenn Randers-Pehrson
53ae7dc514
[libpng16] Imported from libpng-1.6.5.tar
2013-09-14 09:44:09 -05:00
Glenn Randers-Pehrson
cd6a3ef31f
[libpng16] Bump version to 1.6.5beta01
2013-09-12 08:02:22 -05:00
Glenn Randers-Pehrson
209d3eb5c6
[libpng16] Imported from libpng-1.6.4.tar
2013-09-12 07:27:14 -05:00
Glenn Randers-Pehrson
d42dc54df5
[libpng16] Imported from libpng-1.6.4rc01.tar
2013-09-05 15:18:13 -05:00
Glenn Randers-Pehrson
877afaf17e
[libpng16] Bump version to 1.6.4beta03
2013-08-29 19:45:48 -05:00
Glenn Randers-Pehrson
8c49ddcf56
[libpng16] Imported from libpng-1.6.4beta02.tar
2013-08-29 19:39:34 -05:00
Glenn Randers-Pehrson
5680f5d6f2
[libpng16] Bump version to 1.6.4beta02
2013-08-21 18:59:09 -05:00
Glenn Randers-Pehrson
324402044f
[libpng16] Imported from libpng-1.6.4beta01.tar
2013-08-21 18:45:24 -05:00
Glenn Randers-Pehrson
685d79e27a
[libpng16] Delay calling png_init_filter_functions() until a row with nonzero
...
filter is found.
2013-08-20 21:15:31 -05:00
Glenn Randers-Pehrson
52083f9152
[libpng16] Mention png_set_option() in the documentation.
2013-08-17 15:53:32 -05:00
Glenn Randers-Pehrson
7191f6e9e6
[libpng16] Use minus signs, not hyphens, in "--i".
2013-08-13 18:54:34 -05:00
Glenn Randers-Pehrson
4dcbf24d82
[libpng16] Change some hyphens to minus signs and fix other typos in libpng.3
2013-08-06 17:25:02 -05:00
Glenn Randers-Pehrson
492e67163e
[libpng16] Exit loop over tRNS array when a transparent entry is
...
found (performance report by PoChun Chang)
2013-08-04 14:03:44 -05:00
Glenn Randers-Pehrson
5881b11629
[libpng16] Bump version to 1.6.4beta01
2013-07-20 19:41:22 -05:00
Glenn Randers-Pehrson
847e9efb66
[libpng16] Imported from libpng-1.6.3.tar
2013-07-17 19:13:23 -05:00
Glenn Randers-Pehrson
db56fa18c2
[libpng16] Revised "/*SAFE*/" comment in pngrutil.c
2013-07-15 10:09:54 -05:00
Glenn Randers-Pehrson
bc8e40d611
[libpng16] Added "/* SAFE */" comments in pngrutil.c and pngrtran.c
...
where warnings may be erroneously issued by code-checking applications.
Revised manual about changes in iTXt chunk handling made in libpng-1.6.0.
2013-07-15 08:44:53 -05:00
Glenn Randers-Pehrson
2b87a54d07
[libpng16] Updated manual to mention that warnings about iTXt language tag
...
and translated keyword are no longer issued when these are empty, which
is allowed by the PNG specification.
2013-07-14 18:34:13 -05:00
Glenn Randers-Pehrson
b23afad4a1
[libpng16] Imported from libpng-1.6.3rc01.tar
2013-07-10 19:36:08 -05:00
Glenn Randers-Pehrson
f5d7f438e5
[libpng16] Imported from libpng-1.6.3beta10.tar
2013-07-04 20:19:47 -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
John Bowler
497e7319f4
[libpng16] Only compile ARM code when PNG_READ_SUPPORTED is defined.
2013-07-02 22:57:40 -05:00
Glenn Randers-Pehrson
d5dd93f5d1
[libpng16] Updated documentation to show default behavior of benign errors
...
correctly.
2013-07-02 09:20:36 -05:00
Glenn Randers-Pehrson
7f9a49aa65
[libpng16] Bump version to 1.6.3beta10
2013-06-27 21:22:26 -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
56a1a66656
[libpng16] Imported from libpng-1.6.3beta09.tar
2013-06-27 18:01:30 -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
Glenn Randers-Pehrson
b0d97356ce
[libpng16] 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:36:15 -05:00
Glenn Randers-Pehrson
04d4e38ac2
[libpng16] Fix spelling of "doclifter" in CHANGES and ANNOUNCE
2013-06-18 15:09:47 -05:00
Glenn Randers-Pehrson
67a46d17d8
[libpng16] Bump version to 1.6.3beta09
2013-06-18 13:28:39 -05:00
Glenn Randers-Pehrson
bbc29a858d
[libpng16] Imported from libpng-1.6.3beta08.tar
2013-06-18 13:00:25 -05:00
Glenn Randers-Pehrson
3948b94700
[libpng16] Bump version to 1.6.3beta08
2013-06-08 17:03:37 -05:00
Glenn Randers-Pehrson
746bc7d883
[libpng16] Imported from libpng-1.6.3beta07.tar
2013-06-08 17:03:26 -05:00
John Bowler
f260f6d156
[libpng16] Protect symbol prefixing against CC/CPPFLAGS/CFLAGS useage.
...
Previous iOS/Xcode fixes for the ARM NEON optimizations moved the test
on __ARM_NEON__ from configure time to compile time. This breaks symbol
prefixing because the definition of the special png_init_filter_functions
call was hidden at configure time if the relevant compiler arguments are
passed in CFLAGS as opposed to CC. This change attempts to avoid all
the confusion that would result by declaring the init function even when
it is not used, so that it will always get prefixed.
2013-06-08 13:13:53 -05:00
John Bowler
18dd07e3e6
[libpng16] Removed PNG_FILTER_OPTIMIZATIONS and PNG_ARM_NEON_SUPPORTED from
...
pnglibconf.h, allowing more of the decisions to be made internally
(pngpriv.h) during the compile. Without this, symbol prefixing is broken
under certain circumstances on ARM platforms. Now only the API parts of
the optimizations ('check' vs 'api') are exposed in the public header files
except that the new setting PNG_ARM_NEON_OPT documents how libpng makes the
decision about whether or not to use the optimizations.
2013-06-08 13:07:13 -05:00
Glenn Randers-Pehrson
0486b17fbd
[libng16] Neglected to check in pngconf.h with previous commit.
2013-06-06 14:38:54 -05:00
John Bowler
aa22442a9c
[libpng16] Make ARM NEON support work at compile time (not just configure time).
...
This moves the test on __ARM_NEON__ into pngconf.h to avoid issues when
using a compiler that compiles for multiple architectures at one time.
2013-06-06 12:49:53 -05:00
Glenn Randers-Pehrson
4a43182924
[libpng16] Enclose the prototypes for the simplified write API in
2013-06-05 23:41:49 -05:00
Glenn Randers-Pehrson
810b6e51e4
[libpng16] Updated README (removed CompuServ reference, added simplesystems.org)
2013-06-05 16:52:41 -05:00
John Bowler
88610994da
[libpng16] Fix compiler warning in png-fix-itxt.c
2013-06-05 12:15:25 -05:00
John Bowler
1b9b970598
[libpng16] Deleted set(CMAKE_BUILD_TYPE) block from CMakeLists.txt
2013-06-05 11:41:44 -05:00
Glenn Randers-Pehrson
43f0311b57
[libpng16] Added set(CMAKE_CONFIGURATION_TYPES ...) to CMakeLists.txt
...
(Andrew Hundt)
2013-06-05 11:07:01 -05:00
Glenn Randers-Pehrson
421f95deb5
[libpng16] Removed a redundant test in png_set_IHDR().
2013-06-04 15:05:12 -05:00
Glenn Randers-Pehrson
f96251291d
[libpng16] Updated README with current arm, contrib, and projects directory
...
descriptions
2013-06-03 20:57:45 -05:00
Glenn Randers-Pehrson
cafa0eebb9
[libpng16] Bump version to 1.6.3beta07
2013-05-12 19:10:16 -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
bea86bba24
[libpng16] Removed obsolete reference to "pnginflate" from ANNOUNCE
2013-05-09 08:58:08 -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
bb8d4f76f4
[libpng16] Cleaned up CHANGES and ANNOUNCE files.
2013-05-09 08:48:43 -05:00
Glenn Randers-Pehrson
b79c98e57c
[libpng16] Bump version to 1.6.3beta06
2013-05-09 08:03:40 -05:00
Glenn Randers-Pehrson
4cf2465c71
[libpng16] Imported from libpng-1.6.3beta05.tar
2013-05-09 08:03:24 -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
John Bowler
34b7d62488
[libpng16] Updated Makefile.am
2013-05-08 10:35:14 -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
John Bowler
294d0b8408
[libpng16] Detect wrong libpng versions linked to pngdeflate, which currently
...
only works with libpng versions that can be made to reliably fail when
the deflate data contains an out-of-window reference. This means only
1.6 and later.
Fixed gnu issues: g++ needs a static_cast, gcc 4.4.7 has a broken warning
message which it is easier to work round than ignore.
2013-05-08 08:56:45 -05:00
Glenn Randers-Pehrson
62c6fbbd29
[libpng16] Check that PNG_MAXIMUM_INFLATE_WINDOW is defined before using it.
2013-05-07 23:16:06 -05:00
John Bowler
0c7ac064d3
[libpng16] Added an option to force maximum window size for inflating.
...
For inflate, reverted previous fixes.
Added fixitxt and pngdeflate to the built programs and removed warnings
from the source code and timepng that are revealed as a result. Fixed
fixitxt when the chunk length is more than 65535 (untested, no test case).
2013-05-07 21:59:05 -05:00
Glenn Randers-Pehrson
db67cba8d4
[libpng16] Check for EOF in contrib/pngminus/pnm2png.c (Paul Stewart).
...
Ignore "#" delimited comments in input file to pnm2png.c.
2013-05-07 14:31:35 -05:00
Glenn Randers-Pehrson
2aa6c96e5d
[libpng16] Bump version to 1.6.3beta05
2013-05-06 09:55:29 -05:00
Glenn Randers-Pehrson
2fd3434fa4
[libpng16] Imported from libpng-1.6.3beta04.tar
2013-05-06 09:55:18 -05:00
Glenn Randers-Pehrson
2c0833e265
[libpng16] Committed new pnglibconf.dfa and prebuilt.
2013-05-05 22:18:53 -05:00
Glenn Randers-Pehrson
127b08a265
[libpng16] Calculate our own zlib windowBits when decoding rather than
...
trusting the CMF bytes in the PNG datastream.
2013-05-05 22:13:47 -05:00
Glenn Randers-Pehrson
0f42908c0a
[libpng16] Bump version to 1.6.3beta04
2013-04-29 21:31:50 -05:00
Glenn Randers-Pehrson
f18a28cc13
[libpng16] Imported from libpng-1.6.3beta03.tar
2013-04-29 21:31:38 -05:00
Glenn Randers-Pehrson
56d6bc2e88
[libpng16] Avoid dereferencing NULL pointer possibly returned from
...
png_create_write_struct() (Andrew Church).
2013-04-29 08:57:14 -05:00
Glenn Randers-Pehrson
61946e0f56
[libpng16] Revise man page to demonstrate dealing with unknown chunk
...
handling in libpng.1.5.x and with bugs in libpng-1.4.x and earlier.
2013-04-28 20:48:37 -05:00
Glenn Randers-Pehrson
49f9c24910
[libpng16] Expanded manual paragraph about writing private chunks, particularly
...
about the need to call png_set_keep_unknown_chunks() when writing them.
2013-04-27 18:03:03 -05:00
Glenn Randers-Pehrson
c62fda06a3
[libpng16] Bump version to 1.6.3beta03
2013-04-26 08:25:33 -05:00
Glenn Randers-Pehrson
cd62215d61
[libpng16] Imported from libpng-1.6.3beta02.tar
2013-04-26 08:24:19 -05:00
John Bowler
ac09cd0fec
[libpng16] Test for 'arm*' not just 'arm' in the host_cpu configure variable.
...
Rebuilt the configure scripts.
2013-04-25 23:13:08 -05:00
Glenn Randers-Pehrson
529045cf26
[libpng16] Bump version to 1.6.3beta02
2013-04-25 21:37:43 -05:00
John Bowler
7b1da52549
[libpng16] Ensure that NEON filter stuff is completely disabled when switched
...
'off'. Previously the ARM NEON specific files were still built if the option
was switched 'off' as opposed to being explicitly disabled.
2013-04-25 10:03:42 -05:00
Glenn Randers-Pehrson
34d20f482f
[libpng16] Revised stack marking in arm/filter_neon.S and configure.ac.
2013-04-25 09:53:57 -05:00
Glenn Randers-Pehrson
399430dac2
[libpng16] Update "last changed" comments.
2013-04-25 09:52:00 -05:00
Glenn Randers-Pehrson
3f677d1c65
[libpng16] Bump version to 1.6.3beta01
2013-04-25 09:19:04 -05:00
Glenn Randers-Pehrson
809355b4aa
[libpng16] Imported from libpng-1.6.2.tar
2013-04-25 07:29:41 -05:00
Glenn Randers-Pehrson
7fd71746d0
[libpng16] Fix confusing CHANGES entry.
2013-04-23 23:16:32 -05:00
Glenn Randers-Pehrson
0ee3465fba
[libpng16] Imported from libpng-1.6.2rc06.tar
2013-04-23 22:21:55 -05:00
Glenn Randers-Pehrson
a793120405
[libpng16] Bump version to 1.6.2rc03
2013-04-23 22:03:44 -05:00
Glenn Randers-Pehrson
9bdba4e630
[libpng16] Imported from libpng-1.6.2rc05.tar
2013-04-23 19:45:07 -05:00
John Bowler
a74b70871c
[libpng16] Ensure that NEON filter stuff is completely disabled when
...
switched 'off'. Previously the ARM NEON specific files were still built
if the option was switched 'off' as opposed to being explicitly disabled.
2013-04-23 18:18:45 -05:00
Glenn Randers-Pehrson
0d50d6562c
[libpng16] Imported from libpng-1.6.2rc04.tar
2013-04-22 20:29:18 -05:00
Glenn Randers-Pehrson
453fbf942c
[libpng16] Revised stack marking in arm/filter_neon.S
2013-04-22 19:48:05 -05:00
Glenn Randers-Pehrson
6e1c74b39b
[libpng16] Imported from libpng-1.6.2rc03.tar
2013-04-22 11:36:05 -05:00
Glenn Randers-Pehrson
fdc2d5f38f
[libpng16] Bump version to 1.6.2rc03
2013-04-19 19:05:34 -05:00
Glenn Randers-Pehrson
67a289ffa9
[libpng16] Fixed some spelling/typos
2013-04-19 19:03:34 -05:00
Glenn Randers-Pehrson
bf15ac7e86
[libpng16] Imported from libpng-1.6.2rc02.tar
2013-04-18 07:40:56 -05:00
Glenn Randers-Pehrson
7ef0c46488
[libpng16] Updated "last changed" comments.
2013-04-18 07:25:45 -05:00
Glenn Randers-Pehrson
8d9e494dfb
[libpng16] Merged pngtest.c with version 1.7.0beta08
2013-04-18 07:23:59 -05:00
Glenn Randers-Pehrson
0794df4062
[libpng16] Imported from libpng-1.6.2rc01.tar
2013-04-18 06:32:44 -05:00
Glenn Randers-Pehrson
7a69beda7b
[libpng16] in fixitxt.c define MAX_LENGTH, largest iTXT chunk that it
...
can handle.
2013-04-18 05:53:49 -05:00
John Bowler
e4413a735b
[libpng16] Disallow storing sRGB information when the sRGB is not supported.
...
Reverted previous attempt to allow gAMA and sRGB non-support with the
simplified API.
2013-04-17 21:27:47 -05:00
Glenn Randers-Pehrson
7fdb594e73
[libpng16] Added #ifdef PNG_WRITE_sRGB_SUPPORTED, etc., tests where needed in
...
png_image_write_main() in pngwrite.c (bug report from Yuriy Levchenko).
2013-04-17 11:05:21 -05:00
Glenn Randers-Pehrson
f1736a636b
[libpng16] Added contrib/tools/fixitxt.c, to repair the erroneous iTXt
...
chunk length written by libpng-1.6.0 and 1.6.1.
2013-04-16 23:12:09 -05:00
Glenn Randers-Pehrson
3b4c60f26b
[libpng16] Imported from libpng-1.6.2beta02.tar
2013-04-13 21:27:07 -05:00
Glenn Randers-Pehrson
5c55ccdf4f
[libpng16] Imported from libpng-1.6.2beta01.tar
2013-04-13 20:55:04 -05:00
Glenn Randers-Pehrson
5ec05b3d7c
[libpng16] Removed extra recently-inserted line from pngwutil.c
2013-04-13 20:01:09 -05:00
John Bowler
70eb0720a0
[libpng16] Fixed previous bugfix to work on 64-bit platforms.
2013-04-13 16:52:09 -05:00
Glenn Randers-Pehrson
9bb775fc8c
[libpng16] Corrected length written to uncompressed iTXt chunks (Samuli Suominen).
2013-04-13 14:19:25 -05:00
John Bowler
a8715cabd1
[libpng16] Added "{ }" omitted from previous patch to pngtrans.c
2013-04-13 12:25:16 -05:00
Glenn Randers-Pehrson
364acf40aa
[libpng16] Corrected a misplaced closing bracket in contrib/libtests/pngvalid.c
...
(Flavio Medeiros).
2013-04-13 11:55:08 -05:00
John Bowler
b44cd59ad9
[libpng16] Corrected the test on user transform changes on read. It was in the
...
png_set of the transform function, but that doesn't matter unless the
transform function changes the rowbuf size, and that is only valid if
transform_info is called.
2013-04-12 22:15:54 -05:00
Glenn Randers-Pehrson
e2d8e11407
[libpng16] Updated the GIT URL in the manual.
2013-04-11 18:53:51 -05:00
John Bowler
43c07e1b48
[libpng16] Fixed incorrect warning of excess deflate data. End condition - the
...
warning would be produced if the end of the deflate stream wasn't read
in the last row. The warning is harmless.
2013-04-07 21:33:30 -05:00
Glenn Randers-Pehrson
2e0c5f0dff
[libpng16] Updated documentation of 1.5.x to 1.6.x changes in iCCP chunk
...
handling.
2013-03-31 22:55:55 -05:00
Glenn Randers-Pehrson
3a83aa328d
[libpng16] Bump version to 1.6.2beta01
2013-03-29 07:11:42 -05:00
Glenn Randers-Pehrson
5087805e7c
[libpng16] Imported from libpng-1.6.1.tar
2013-03-27 20:36:57 -05:00
Glenn Randers-Pehrson
4e6e2166a5
[libpng16] Imported from libpng-1.6.1rc01.tar
2013-03-21 07:38:30 -05:00
Glenn Randers-Pehrson
1affc5622b
[libpng16] Bump version to 1.6.1beta10
2013-03-13 07:40:54 -05:00
Glenn Randers-Pehrson
cd1cd2dafc
[libpng16] Imported from libpng-1.6.1beta09.tar
2013-03-13 07:40:46 -05:00
John Bowler
caa3f296df
[libpng16] Eliminated another warning from the Intel C compiler.
2013-03-10 21:40:27 -05:00
John Bowler
2286a7cef4
[libpng16] Eliminated a warning from the Intel C compiler. The warning is
...
technically valid, although a reasonable treatment of division would
show it to be incorrect.
2013-03-10 21:35:35 -05:00
Glenn Randers-Pehrson
3c8b422b0a
[libpng16] Bump version to 1.6.1beta09
2013-03-07 11:36:55 -06:00
Glenn Randers-Pehrson
0645b62528
[libpng16] Imported from libpng-1.6.1beta08.tar
2013-03-07 11:36:47 -06:00
Claudio Bley
0281dee877
[libpng16] Fixed CMakelists.txt to allow building a single variant of the
...
library (Claudio Bley):
Introduced a PNG_LIB_TARGETS variable that lists all activated library
targets. It is an error if this variable ends up empty, ie. you have
to build at least one library variant.
Made the *_COPY targets only depend on library targets actually being build.
Use PNG_LIB_TARGETS to unify a code path.
Changed the CREATE_SYMLINK macro to expact the full path to a file as the
first argument. When symlinking the filename component of that path is
determined and used as the link target.
Use copy_if_different in the CREATE_SYMLINK macro.
2013-03-07 11:17:17 -06:00
Glenn Randers-Pehrson
e55b25a962
[libpng16] Bump version to 1.6.1beta08
2013-03-06 22:42:23 -06:00
Glenn Randers-Pehrson
14638c1f20
[libpng16] Imported from libpng-1.6.1beta07.tar
2013-03-06 22:42:13 -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
1f24cb74f2
[libpng16] Update "last changed" dates and fix one comment typo.
2013-03-04 21:58:02 -06:00
Glenn Randers-Pehrson
1cbfa24a93
[libpng16] Bump version to 1.6.1beta07
2013-03-04 17:56:59 -06:00
Glenn Randers-Pehrson
8c87dc88d6
[libpng16] Imported from libpng-1.6.1beta06.tar
2013-03-04 17:56:46 -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
Glenn Randers-Pehrson
efda7376c8
[libpng16] Imported from libpng-1.6.1beta04.tar
2013-02-27 15:02:53 -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
2621be1bdb
[libpng16] Added info about ordering of png_set_*() calls to the manual.
2013-02-26 08:43:28 -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
3fa1893804
[libpng16] Imported from libpng-1.6.1beta03.tar
2013-02-22 17:06:01 -06:00
Glenn Randers-Pehrson
f8a8ead5cb
[libpng16] Update the INSTALL document.
2013-02-22 16:52:21 -06:00
Glenn Randers-Pehrson
6df55cece7
[libpng16] Updated scripts/pnglibconf.h.prebuilt
2013-02-19 10:11:43 -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
Glenn Randers-Pehrson
adb9613699
[libpng16] Imported from libpng-1.6.1beta02.tar
2013-02-18 21:25:47 -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
2bad851ab3
[libpng16] Updated "png_sizeof" to "sizeof" in the manual.
2013-02-18 15:21:01 -06:00
Glenn Randers-Pehrson
f2350f3987
[libpng16] Revised "#if defined " in arm/arm_init.c
2013-02-18 12:30:30 -06:00
Glenn Randers-Pehrson
b4ef7c4af2
[libpng16] Use parentheses consistently in "#if defined()" tests.
...
Folded some long lines.
2013-02-17 15:41:36 -06:00
Glenn Randers-Pehrson
9e8fd50d76
[libpng16] Use parentheses consistently in "#if defined()" tests.
2013-02-17 14:31:00 -06:00
Glenn Randers-Pehrson
ea3288f1c5
[libpng16] Fixed double-underscore typo in an #ifdef in png.c
2013-02-16 16:35:22 -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
John Bowler
6db8e4dd11
[libpng16] Fixed inconsistencies in png.h and pnglibconf.dfa
2013-02-10 17:49:25 -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
0d270082d2
[libpng16] Imported from libpng-1.6.0rc07.tar
2013-02-10 16:20:40 -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
Glenn Randers-Pehrson
d7dc03e371
[libpng16] Imported from libpng-1.6.0rc06.tar
2013-02-09 07:43:55 -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
a4081f2990
[libpng16] Updated man page about png_get_palette_max().
2013-02-08 09:06:08 -06:00
Glenn Randers-Pehrson
1f8e81738a
[libpng16] Bump version to 1.6.0rc05
2013-02-06 22:32:13 -06:00
Glenn Randers-Pehrson
9002f5b1f0
[libpng16] Imported from libpng-1.6.0rc04.tar
2013-02-06 22:32:05 -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
32d6a74293
[libpng16] Imported from libpng-1.6.0rc02.tar
2013-02-04 20:12:49 -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
Glenn Randers-Pehrson
f8aa57e791
[libpng16] Imported from libpng-1.6.0beta40.tar
2013-01-20 17:25:00 -06:00
Glenn Randers-Pehrson
4567935fe4
[libpng16] Push two files that weren't updated in previous push.
2013-01-20 00:44:29 -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
e208108dfc
[libpng16] Imported from libpng-1.6.0beta39.tar
2013-01-19 08:50:15 -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
Glenn Randers-Pehrson
91a7ad9d2b
[libpng16] Imported from libpng-1.6.0beta38.tar
2013-01-17 13:57:42 -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
Glenn Randers-Pehrson
5851280929
[libpng16] Imported from libpng-1.6.0beta37.tar
2013-01-10 12:20:59 -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
Glenn Randers-Pehrson
9477ecdfa6
[libpng16] Updated copyright year to 2013 in newly-changed files
2013-01-01 07:45:42 -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
00634fdac8
[libpng16] Imported from libpng-1.6.0beta35.tar
2012-12-22 18:34:13 -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
350cbf14df
[libpng16] Fixed typo in contrib/pngminim/encoder/README
2012-12-18 14:54:44 -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
aa41547a4d
[libpng16] Updated manual about functions deprecated in libpng-1.6.x
2012-12-16 16:53:54 -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
Glenn Randers-Pehrson
7b26920d9b
[libpng16] Imported from libpng-1.6.0beta33.tar
2012-12-15 07:58:38 -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
5c2d76fdef
[libpng16] Use "FALL THROUGH" comment consistently in switch statements.
2012-12-09 19:39:30 -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
026b295698
[libpng16] Removed an incorrect paragraph about png_benign_error
...
from the manual page.
2012-11-27 14:49:22 -06:00
Glenn Randers-Pehrson
eb8e19baa3
[libpng16] Revised description of libpng15 to libpng16 changes in the manual.
2012-11-26 18:54:33 -06:00
Glenn Randers-Pehrson
661bc6f6b0
[libpng16] Expanded manual description of libpng15 to libpng16 changes.
2012-11-26 18:39:59 -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
5b9a28f2b8
[libpng16] Trivial editing of commentary in pngrutil.c
2012-11-25 12:46:24 -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
Glenn Randers-Pehrson
9d1ddbb78f
[libpng16] Fixed several typos and expanded TAB characters.
2012-11-13 19:45:53 -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
Glenn Randers-Pehrson
bb39dc545c
[libpng16] Imported from libpng-1.6.0beta31.tar
2012-11-01 08:26:57 -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
75fde9e99a
[libpng16] Imported from libpng-1.6.0beta30.tar
2012-10-24 11:37:08 -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
Glenn Randers-Pehrson
a9f44be8c2
[libpng16] Minor documentation edits
2012-10-10 15:02:00 -05:00
John Bowler
e15b1e8136
[libpng16] Added pngunknown files that were omitted from previous checkin
2012-09-30 14:10:43 -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
73f826cb49
[libpng16] Fixed spelling of "chromaticAdaptationTag" in error messages.
2012-09-05 09:14:37 -05:00
Glenn Randers-Pehrson
933bc842ac
[libpng16] Fix confusion between "adopted" and "adapted" in new comments.
...
Glenn thought the "adopted" were typos and changed them all to "adapted".
This reverts the spelling and adds parenthetical comments when each
word first appears in png.h.
2012-09-04 20:16:25 -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
John Bowler
53f7051b1b
[libpng] Fixed contrib/examples/png2png.c
2012-09-01 13:26:41 -05:00
John Bowler
d099973c4f
[libpng16] Made makepng and pngtest produce identical PNGs, add "--relaxed"
...
option to pngtest. The "--relaxed" option turns off the benign errors that are
enabled by default in pre-RC builds. makepng can now write ICC profiles
where the length has not been extended to a multiple of 4, and pngtest
now intercepts all libpng errors, allowing the previously-introduced
"--strict test" on no warnings to actually work.
2012-09-01 11:46:14 -05:00
Glenn Randers-Pehrson
97a77a6f7b
[libpng16] Updated simplified API synopses and description of the png_image
...
structure in the manual.
2012-09-01 08:16:51 -05:00
Glenn Randers-Pehrson
b2aba47a6d
[libpng16] Added contrib/examples/* to the *.zip and *.7z distributions.
2012-09-01 06:40:48 -05:00
John Bowler
ed3ca0e3eb
[libpng16] Fixed the simplified API example programs and improved the error
...
message if the version field is not set.
2012-08-31 17:32:36 -05:00
Glenn Randers-Pehrson
fd043e5d0d
[libpng16] Bump version to 1.6.0beta29
2012-08-29 14:18:24 -05:00
Glenn Randers-Pehrson
cc02f89eb2
[libpng16] Imported from libpng-1.6.0beta28.tar
2012-08-29 14:18:15 -05:00
John Bowler
14d0ca620e
[libpng16] Cleaned up and corrected ICC profile handling.
...
contrib/libtests/makepng: corrected 'rgb' and 'gray' cases. profile_error
messages could be truncated; made a correct buffer size calculation and
adjusted pngerror.c appropriately. png_icc_check_* checking improved;
changed the functions to receive the correct color type of the PNG on read
or write and check that it matches the color space of the profile (despite
what the comments said before, there is danger in assuming the app will
cope correctly with an RGB profile on a grayscale image and, since it
violates the PNG spec, allowing it is certain to produce inconsistent
app behavior and might even cause app crashes.) Check that profiles
contain the tags needed to process the PNG (tags all required by the ICC
spec). Removed unused PNG_STATIC from pngpriv.h.
2012-08-25 16:21:46 -05:00
John Bowler
8010217201
[libpng16] Minor cleanup of iCCP processing
2012-08-22 11:26:25 -05:00
Glenn Randers-Pehrson
702053d110
[libpng16] Bump version to 1.6.0beta28
2012-08-17 21:54:45 -05:00
John Bowler
74a9c07fdd
[libpng16] Revised Makefile.am to add unknown test support
2012-08-17 17:40:41 -05:00
John Bowler
d0eef28ee1
[libpng16] Added "tunknown" test and corrected a logic error in
...
png_handle_unknown() when SAVE support is absent. Moved the shell test
scripts for contrib/libtests from the libpng top directory to contrib/libtests.
png_handle_unknown() must always read or skip the chunk, if
SAVE_UNKNOWN_CHUNKS is turned off *and* the application does not set
a user callback an unknown chunk will not be read, leading to a read
error, which was revealed by the "tunknown" test.
2012-08-17 15:30:29 -05:00
John Bowler
3c1f6983c5
[libpng16] Corrected fix for unknown handling in pngtest. This reinstates the
...
libpng handling of unknown chunks other than vpAg and sTER (including
unsafe-to-copy chunks which were dropped before) and eliminates the
repositioning of vpAg and sTER in pngtest.png by changing pngtest.png
(so the chunks are where libpng would put them).
2012-08-16 20:47:34 -05:00
John Bowler
4a6c6df6c7
[libpng16] Allow fine grain control of unknown chunk APIs. This change allows
...
png_set_keep_unknown_chunks() to be turned off if not required and causes
both read and write to behave appropriately (on read this is only possible
if the user callback is used to handle unknown chunks). The change
also removes the support for storing unknown chunks in the info_struct
if the only unknown handling enabled is via the callback, allowing libpng
to be configured with callback reading and none of the unnecessary code.
2012-08-16 16:12:13 -05:00
Glenn Randers-Pehrson
025d415838
[libpng16] Folded long lines and fixed some grammar.
2012-08-16 00:51:44 -05:00
Glenn Randers-Pehrson
810c99583b
[libpng16] Fixed some spelling errors.
2012-08-15 23:20:47 -05:00
John Bowler
e9567514dd
[libpng16] Unknown handling fixes and clean up. This adds more correct option
...
control of the unknown handling, corrects the pre-existing bug where
the per-chunk 'keep' setting is ignored and makes it possible to skip
IDAT chunks in the sequential reader (broken in earlier 1.6 versions).
There is a new test program, test-unknown.c, which is a work in progress
(not currently part of the test suite). Comments in the header files now
explain how the unknown handling works.
2012-08-15 22:53:00 -05:00
Glenn Randers-Pehrson
b593b3f035
[libpng16] Bump version to 1.6.0beta28
2012-08-11 18:32:36 -05:00
Glenn Randers-Pehrson
0f08665bfb
[libpng16] Imported from libpng-1.6.0beta27.tar
2012-08-11 18:31:44 -05:00
Glenn Randers-Pehrson
3744f94fd1
[libpng16] Removed trailing blanks
2012-08-10 19:22:53 -05:00
John Bowler
aa9dea57d7
[libpng16] Work around gcc 3.x and Microsoft Visual Studio 2010 complaints.
...
Both object to the split initialization of num_chunks.
2012-08-10 19:04:08 -05:00
Glenn Randers-Pehrson
ece07cfe9c
[libpng16] Removed the png_sizeof(), png_strlen(), png_memset(), png_memcpy(),
...
and png_memcmp() macros.
2012-08-10 18:19:41 -05:00
Glenn Randers-Pehrson
dbb7e19fda
[libpng16] Consistently use memset(), memcpy(), and memcmp() instead of the
...
png_memset(), png_memcpy(), and png_memcmp() macros.
2012-08-10 17:27:42 -05:00
John Bowler
e2098ba085
[libpng16] Make all three "make check" test programs work without READ or WRITE
...
support. Now "make check" will succeed even if libpng is compiled with
-DPNG_NO_READ or -DPNG_NO_WRITE. The tests performed are reduced, but the
basic reading and writing of a PNG file is always tested by one or more of
the tests.
2012-08-10 17:04:56 -05:00
Glenn Randers-Pehrson
26849f4693
[libpng16] Consistently use png_memset(), png_memcpy(), and png_memcmp(),
...
except in pngtest.c and example.c where these macros are not visible.
2012-08-10 16:01:45 -05:00
John Bowler
ad5a993954
[libpng16] Cause pngtest --strict to fail on any warning from libpng (not just
...
errors) and cause it not to fail at the comparison step if libpng lacks support
for writing chunks that it reads from the input (currently only implemented
for compressed text chunks).
2012-08-10 13:15:07 -05:00
Glenn Randers-Pehrson
6954141484
[libpng16] Add more conditionals for compiling png_fixed().
...
This is a small function, but avoiding compiling it also avoids needing
to link with "-lm" unnecessarily.
2012-08-10 12:56:57 -05:00
John Bowler
ba2dd33d9c
[libpng16] Some files were omitted from a previous checkin. Here they are.
2012-08-10 10:58:01 -05:00
John Bowler
134c5761fa
[libpng16] Fix new leak when text compression is disabled.
2012-08-10 10:49:21 -05:00
John Bowler
865e14fd32
[libpng16] Revised comments about info_ptr->signature, added CHANGES entry.
2012-08-10 08:05:53 -05:00
Glenn Randers-Pehrson
5d1df4fdf4
[libpng16] Removed png_get_signature() and info_ptr->signature from WRITE-only
...
builds. Restored png_get_channels() to WRITE-only builds.
2012-08-10 07:49:44 -05:00
John Bowler
8d3453a22d
[libpng16] Insist on autotools 1.12.1 for git builds because there are security
...
issues with 1.12 and insisting on anything less would allow 1.12 to be used.
2012-08-09 22:57:35 -05:00
Glenn Randers-Pehrson
4430b91363
[libpng16] Restore info_ptr members that were deleted by the previous
...
patch; they are needed by png_set_IHDR() for both read and write. Fix
some ifdefs that caused the contrib/pngminim/ applications to not compile.
2012-08-09 22:24:04 -05:00
John Bowler
dff6f4c4f0
[libpng16Cleanup of png_set_filler(). This function does very different things
...
on read and write. In libpng 1.6 the two cases can be distinguished and
considerable code cleanup, and extra error checking, is possible. This
makes calls on the write side that have no effect be ignored with a
png_app_error(), which can be disabled in the app using
png_set_benign_errors(), and removes the spurious use of usr_channels
on the read side.
2012-08-09 21:17:56 -05:00
Glenn Randers-Pehrson
432c174b64
[libpng16] Eliminated use of png_sizeof(); use sizeof() instead, and use.
...
a consistent style for (sizeof type) and (sizeof (array))
2012-08-09 20:14:48 -05:00
John Bowler
5f5977e708
[libpng16] Re-eliminated the use of strcpy() in pngtest.c. An unncessary use
...
of strcpy() was accidentally re-introduced in libpng16; this change replaces
it with strncpy().
2012-08-09 16:42:42 -05:00
John Bowler
0a9f8eb272
[libpng16] Fixed configurations where floating point is completely disabled.
...
Because of the changes to support symbol prefixing PNG_INTERNAL_FUNCTION
declares floating point APIs during libpng builds even if they are completely
disabled. This requires the png floating point types (png_double*) to be
declared even though the functions are never actually defined. This
change provides a dummy definition so that the declarations work, yet any
implementation will fail to compile because of an incomplete type.
2012-08-09 07:35:50 -05:00
Glenn Randers-Pehrson
cad0150d12
[libpng16] Corrected handling of row_pointers in example.c and added some
...
comments. It has apparently been wrong since libpng-1.0.1c (confusing
use of a 1D and a 2D array for the image source).
2012-08-08 21:11:55 -05:00
Glenn Randers-Pehrson
ee427ad39a
[libpng16] Add information about png_calloc() to the manual.
2012-08-03 08:39:54 -05:00
Glenn Randers-Pehrson
01b813000a
[libpng16] Removed references to png_zalloc() and png_zfree() from the manual.
...
They have not been exported to applications since libpng12.
2012-08-03 07:23:42 -05:00
Glenn Randers-Pehrson
449db5a9c1
[libpng16] Check for existence of __GNUC_MINOR__ before testing its value
...
(This is probably unnecessary because it's inside a __GNUC__ block.)
2012-07-21 13:18:42 -05:00
Glenn Randers-Pehrson
80b67e47e8
[libpng16] Added default blank "#define PNG_RESTRICT" to pngconf.h
...
This has been missing since the feature was introduced in libpng-1.6.0beta04.
2012-07-21 12:56:46 -05:00
Glenn Randers-Pehrson
0a9f26e219
[libpng16] Do not use __restrict when GNUC is <= 3.1
2012-07-21 11:16:17 -05:00
Glenn Randers-Pehrson
05ed18e7d1
[libpng16] Bump version to 1.6.0beta27
2012-07-21 11:02:42 -05:00
Glenn Randers-Pehrson
edb3523a9b
[libpng16] Imported from libpng-1.6.0beta26.tar
2012-07-10 21:00:41 -05:00
Glenn Randers-Pehrson
46cb5109bd
[libpng16] Moved scripts/chkfmt to contrib/tools.
2012-06-25 14:14:17 -05:00
Glenn Randers-Pehrson
5845d3eabd
[libpng16] Removed scripts/makefile.cegcc from the *.zip and *.7z
...
distributions; it depends on configure, which is not included in those
archives.
2012-06-25 09:11:53 -05:00
Glenn Randers-Pehrson
4a37149f66
[libpng16] Bump version to 1.6.0beta26
2012-06-16 14:50:34 -05:00
Glenn Randers-Pehrson
fc58b17772
[libpng16] Imported from libpng-1.6.0beta25.tar
2012-06-16 14:42:22 -05:00
Glenn Randers-Pehrson
96b917056d
[libpng16] Revised png_set_keep_unknown_chunks() so num_chunks < 0 means
...
ignore all unknown chunks and all known chunks except for IHDR, PLTE, tRNS,
IDAT, and IEND. Previously it only meant ignore all unknown chunks, the
same as num_chunks == 0. Revised png_image_skip_unused_chunks() to
provide a list of chunks to be processed instead of a list of chunks to
ignore. Revised contrib/gregbook/readpng2.c accordingly.
2012-06-16 13:26:28 -05:00
Glenn Randers-Pehrson
0546e4e579
[libpng16] Document deprecation of png_convert_to_rfc1123() and its
...
replacement with png_convert_to_rfc1123_buffer().
2012-06-12 13:06:52 -05:00
Glenn Randers-Pehrson
05af5cd8fb
[libpng16] Fixed some typos and grammar in manual and comments
2012-06-09 10:35:17 -05:00
Glenn Randers-Pehrson
d630301d99
[libpng16] Bump version to 1.6.0beta25
2012-06-07 10:29:14 -05:00
Glenn Randers-Pehrson
2ec8409046
[libpng16] Imported from libpng-1.6.0beta24.tar
2012-06-07 10:29:06 -05:00
Glenn Randers-Pehrson
905cc94e3d
[libpng16] Don't check palette indexes if num_palette is 0 (as it can be in
...
MNG files).
2012-06-07 10:18:25 -05:00
Glenn Randers-Pehrson
8f424b8270
[libpng16] Bump version to 1.6.0beta24
2012-06-06 13:54:41 -05:00
Glenn Randers-Pehrson
cc46157421
[libpng16] Imported from libpng-1.6.0beta23.tar
2012-06-06 13:54:28 -05:00
Glenn Randers-Pehrson
14ca47b453
[libpng16] Improved performance of new do_check_palette_indexes() function
...
(only update the value when it actually increases, move test for whether
the check is wanted out of the function.
2012-06-06 13:30:30 -05:00
Glenn Randers-Pehrson
b1e7771d5e
[libpng16] Do not depend upon a GCC feature macro being available for use in
...
generating the linker mapfile symbol prefix.
2012-06-03 19:30:02 -05:00
Glenn Randers-Pehrson
ff7b7ba060
[libpng16] Made fixes for new optimization warnings from gcc 4.7.0.
...
The compiler performs an optimization which is safe; however it then warns
about it. Changing the type of 'palette_number' in pngvalid.c removes the
warning.
2012-06-03 19:17:48 -05:00
Glenn Randers-Pehrson
1935d0738f
[libpng16] Revised CMakeLists.txt to not attempt to make a symlink under mingw.
2012-05-29 05:50:04 -05:00
Glenn Randers-Pehrson
04c1c078b9
[libpng16] Bump version to 1.6.0beta23
2012-05-23 13:19:38 -05:00
Glenn Randers-Pehrson
8f4d67218e
[libpng16] Imported from libpng-1.6.0beta22.tar
2012-05-23 13:19:30 -05:00
John Bowler
15f6fd3492
[libpng16] checked in contrib/libtests/pngstest.c which was omitted
2012-04-30 13:59:58 -05:00
John Bowler
b45416921b
[libpng16] Removed need for -Wno-cast-align with clang. clang correctly warns
...
on alignment increasing pointer casts when -Wcast-align is passed. This
fixes the cases clang warns about either (pngread.c) by eliminating the
casts from png_bytep to png_uint_16p or, for pngrutil.c where the cast
is previously verified or pngstest.c where it is OK by introducing new
png_aligncast macros to do the cast in a way that clang accepts.
2012-04-30 06:31:54 -05:00
Glenn Randers-Pehrson
040575c80b
[libpng16] Bump version to 1.6.0beta22
2012-04-28 06:34:57 -05:00
Glenn Randers-Pehrson
43309056ac
[libpng16] Imported from libpng-1.6.0beta21.tar
2012-04-28 06:34:48 -05:00
Glenn Randers-Pehrson
bc2a57f657
[libpng16] Changed deprecated NOOBJ and NOPROFILE to NO_OBJ and NO_PROFILE in
...
scripts/makefile.freebsd
2012-04-28 05:48:21 -05:00
Glenn Randers-Pehrson
56f22f4320
[libpng16] Added -lssp_nonshared in a comment in scripts/makefile.freebsd
2012-04-26 08:57:58 -05:00
Glenn Randers-Pehrson
cd39adb561
[libpng16] Removed #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED in pngpriv.h around
...
declaration of png_handle_unknown().
2012-04-23 23:12:39 -05:00
Glenn Randers-Pehrson
b4f5c42092
[libpng16] Revised scripts/makefile.darwin: use system zlib; remove quotes
...
around architecture list; add missing ppc architecture; add architecture
options to shared library link; don't try to create a shared lib based on
missing RELEASE variable (Toby Thain).
2012-04-13 12:36:22 -05:00
Glenn Randers-Pehrson
e243a1fbd8
[libpng16] Enable png_set_check_for_invalid_index() for both read and write.
2012-04-13 12:35:21 -05:00
Glenn Randers-Pehrson
747b554a86
[libpng16] Edited new commentary in png.c
2012-03-29 08:28:19 -05:00
Glenn Randers-Pehrson
f229d4df3a
[libpng16] Bump version to 1.6.0beta21
2012-03-29 07:42:45 -05:00
Glenn Randers-Pehrson
96027d919f
[libpng16] Imported from libpng-1.6.0beta20.tar
2012-03-29 06:38:51 -05:00
Glenn Randers-Pehrson
58f277c18e
[libpng16] Revised png_set_text_2() to avoid potential memory corruption.
...
Fixes CVE-2011-3048.
2012-03-28 23:37:25 -05:00
John Bowler
921648a997
[libpng16] Recognize known sRGB ICC profiles while reading; prefer writing the
...
iCCP profile over writing the sRGB chunk, controlled by the
PNG_sRGB_PROFILE_CHECKS option.
2012-03-28 23:36:12 -05:00
John Bowler
23a30f8583
[libpng16] Prevent PNG_EXPAND+PNG_SHIFT doing the shift twice.
2012-03-28 11:38:02 -05:00
Glenn Randers-Pehrson
48015617d3
[libpng16] Recognize known sRGB ICC profiles while reading and issue a warning
...
about it, if PNG_WARN_IF_iCCP_IS_sRGB_SUPPORTED is defined.
2012-03-28 10:58:01 -05:00
John Bowler
13a87d9682
[libpng16] Fixed ICC profile parsing and sRGB profile recognition
...
and moved checksum-icc.c from contrib/libtests to contrib/tools.
2012-03-28 09:51:43 -05:00
John Bowler
c1217ee280
[libpng16] Write the profile MD5s from checksum-icc (and the date)
2012-03-22 07:53:00 -05:00
John Bowler
51d1e2be1b
[libng16] Added checksum-icc.c to contrib/libtests
2012-03-22 07:36:13 -05:00
John Bowler
f7677a348e
[libpng16] Use uLong 64 bits for crc32 return in profile check
2012-03-21 23:52:41 -05:00
Glenn Randers-Pehrson
8fbd60ded2
[libpng16] Recognize known sRGB ICC profiles while reading and handle them as
...
if the sRGB chunk had appeared instead.
2012-03-21 09:18:15 -05:00
John Bowler
b11b31aea2
[libpng16] Changed chunk handler warnings into benign errors, incrementally
...
load iCCP
2012-03-21 07:55:46 -05:00
Glenn Randers-Pehrson
51624965e2
[libpng16] Bump version to 1.6.0beta20
2012-03-19 11:04:48 -05:00
Glenn Randers-Pehrson
ce9d8a3f48
[libpng16] Imported from libpng-1.6.0beta19.tar
2012-03-19 10:54:55 -05:00
John Bowler
eda53e5770
[libpng16] Avoid the double gamma correction warning in the simplified API.
...
This allows the --strict option to pass in the pngstest checks
2012-03-18 22:46:28 -05:00
John Bowler
2bc76ffaf1
[ibpng16] Added application error reporting and added chunk names to read
...
benign errors; also added --strict to pngstest - not enabled
yet because a warning is produced.
2012-03-18 22:37:25 -05:00
John Bowler
66efa24241
[libpng16] Removed erroneous setting of DETECT_UNINITIALIZED and added more
...
checks. The code now does a png_error if an attempt is made to do the
row initialization twice; this is an application error and it has
serious consequences because the transform data in png_struct is
changed by each call.
2012-03-18 21:10:29 -05:00
John Bowler
0c11b5f8e7
[libpng16] Work around for duplicate row start calls; added warning messages.
...
This turns on PNG_FLAG_DETECT_UNINITIALIZED to detect app code that
fails to call one of the 'start' routines (not enabled in libpng-1.5
because it is technically an API change, since it did normally work
before.) It also makes duplicate calls to png_read_start_row (an
internal function called at the start of the image read) benign, as
they were before changes to use png_inflate_claim. Somehow webkit is
causing this to happen; this is probably a mis-feature in the zlib
changes so this commit is only a work-round.
2012-03-18 14:39:41 -05:00
Glenn Randers-Pehrson
f5dcba6b9b
[libpng16] Never mind, undid previous change.
2012-03-17 00:21:45 -05:00
Glenn Randers-Pehrson
c26d6e9aac
[libpng16] Revised png_set_text_2() to avoid possible memory corruption
...
when writing.
2012-03-16 23:19:02 -05:00
Glenn Randers-Pehrson
42ed02ed9a
[libpng16] Reverted png_set_itxt(); it would not compile without warnings.
2012-03-16 23:17:27 -05:00
Glenn Randers-Pehrson
31d66245ea
[libpng16] Added png_set_itxt() (work in progress)
2012-03-16 13:53:25 -05:00
Glenn Randers-Pehrson
d9d7a7e8f0
[libpng16] Fixed ANNOUNCE and CHANGES re simplified API and benign errors.
2012-03-16 11:04:30 -05:00
Glenn Randers-Pehrson
d15d124d6d
[libpng16] Bump version to 1.6.0beta19
2012-03-16 08:35:36 -05:00
Glenn Randers-Pehrson
dd6ecbe688
[libpng16] Imported from libpng-1.6.0beta18.tar
2012-03-16 08:34:31 -05:00
John Bowler
aa816c4444
[libpng16] Added configuration support for benign errors and changed the read
...
default. Also changed some warnings in the iCCP and sRGB handling
from to benign errors. Configuration now makes read benign
errors warnings and write benign errors to errors by default (thus
changing the behavior on read). The simplified API always forces
read benign errors to errors (regardless of the system default, unless
this is disabled in which case the simplified API can't be built.)
2012-03-16 07:39:49 -05:00
John Bowler
209b3e4b79
[libpng16] Added output flushing to aid debugging under Visual Studio.
...
This is necessary because the VS2010 output window otherwise simply loses
the error messages on error (they weren't flushed to the window before
the process exited, apparently!)
2012-03-16 07:14:01 -05:00
Glenn Randers-Pehrson
f2715a558a
[libpng16] Revised example.c to put text strings in a temporary character array
...
instead of directly assigning string constants to png_textp members.
This avoids compiler warnings when -Wwrite-strings is enabled.
2012-03-15 19:52:03 -05:00
John Bowler
845ee6af72
[libpng16] Fixed a compiler warning under Cygwin (Windows-7, 32-bit system)
2012-03-10 21:05:19 -06:00
John Bowler
9ff37ea94f
[libpng16] Fix an off-by-one error in the palette index checking function.
2012-03-10 20:03:06 -06:00
Glenn Randers-Pehrson
35f2e1768b
[libpng16] In pngtest, treat benign errors as errors if "-strict" is present.
2012-03-10 19:42:03 -06:00
Glenn Randers-Pehrson
945cb1f9be
[libpng16] Issue a png_benign_error() instead of png_warning() about bad
...
palette index.
2012-03-10 08:48:04 -06:00
Glenn Randers-Pehrson
71db131882
[libpng16] Bump version to 1.6.0beta18
2012-03-09 22:15:09 -06:00
Glenn Randers-Pehrson
bf7661f01b
[libpng16] Imported from libpng-1.6.0beta17.tar
2012-03-09 22:15:01 -06:00
John Bowler
9066919600
[libpng16] If benign errors are disabled use maximum window on ancillary
...
inflate. This works round a bug introduced in 1.5.4 where compressed ancillary
chunks could end up with a too-small windowBits value in the deflate
header.
2012-03-09 22:03:13 -06:00
John Bowler
1ffbe8c7c1
[libpng] Committed new contrib/libtests/makepng.c that was overlooked
...
in a recent patch.
2012-03-09 12:21:51 -06:00
Glenn Randers-Pehrson
8d0215928d
[libpng16] Fixed manual assertion that all of our public macros begin with PNG_
...
Some such as PNGAPI begin with "PNG".
2012-03-09 12:18:18 -06:00
John Bowler
b5d0051dcb
[libpng16] Deflate/inflate was reworked to move common zlib calls into single
...
functions [rw]util.c. A new shared keyword check routine was also added
and the 'zbuf' is no longer allocated on progressive read. It is now
possible to call png_inflate() incrementally.
2012-03-09 09:15:18 -06:00
Glenn Randers-Pehrson
6038b80277
[libpng16] Reject iCCP chunk after the first, even if the first one is invalid.
2012-03-08 10:40:07 -06:00
Glenn Randers-Pehrson
b57c1c9e6e
[libpng16] Bump version to 1.6.0beta17
2012-03-05 21:35:40 -06:00
Glenn Randers-Pehrson
0c98cc7023
[libpng16] Imported from libpng-1.6.0beta16.tar
2012-03-05 21:28:03 -06:00
John Bowler
6225b0e61e
[libpng16] Added code to validate the windowBits value passed to deflateInit2().
...
If the call to deflateInit2() is wrong a png_warning will be issued
(in fact this is harmless, but the PNG data produced may be sub-optimal).
2012-03-05 21:26:57 -06:00
John Bowler
d072048925
[libpng16] Correct pngvalid error message
2012-03-05 21:10:11 -06:00
John Bowler
7d4fbb2fbb
[libpng16] Validate the zTXt strings in pngvalid.
2012-03-05 21:02:49 -06:00
John Bowler
42a2b556e9
[libpng16] Made read 'inflate' handling like write 'deflate' handling. The
...
read code now claims and releases png_ptr->zstream, like the write code.
The bug whereby the progressive reader failed to release the zstream
is now fixed, all initialization is delayed, and the code checks for
changed parameters on deflate rather than always calling
deflatedEnd/deflateInit.
2012-03-05 20:57:40 -06:00
John Bowler
e2ae0f2f2b
[libpng16] Fix tarith argument parsing
2012-03-05 20:43:27 -06:00
John Bowler
d6cf3a3791
[libpng16] Added a print out of the maximum observed error to 'tarith ascii'
2012-03-05 20:41:19 -06:00
John Bowler
e741cd592e
[libpng16] Added contrib/libtests/tarith.c to test internal arithmetic
...
functions from png.c. This is a libpng maintainer program used to validate
changes to the internal arithmetic functions.
2012-03-04 20:48:57 -06:00
John Bowler
0ae4f7b705
[libpng16] Changed png_inflate() and calling routines to avoid overflow
...
problems. This is an intermediate check-in that solves the immediate problems
and introduces one performance improvement (avoiding a copy via png_ptr->zbuf.)
Further changes will be made to make ICC profile handling more secure.
2012-03-03 21:10:26 -06:00
John Bowler
29a6ba01a7
[libpng16] Fixed build warnings (MSVC, GCC, GCC v3). Cygwin GCC with default
...
options declares 'index' as a global, causing a warning if it is used as a
local variable. GCC 64-bit warns about assigning a (size_t) (unsigned 64-bit)
to an (int) (signed 32-bit). MSVC, however, warns about using the
unary '-' operator on an unsigned value (even though it is well defined
by ANSI-C to be ~x+1). The padding calculation was changed to use a
different method. Removed the tests on png_ptr->pass.
2012-03-03 20:49:03 -06:00
Glenn Randers-Pehrson
434801a39c
[libpng16] Bump version to 1.6.0beta16
2012-03-02 22:52:13 -06:00
Glenn Randers-Pehrson
79a141876a
[libpng16] Revised scripts/pnglibconf.dfa
2012-03-02 22:50:03 -06:00
Glenn Randers-Pehrson
eeb1bb678d
[libng16] Added palette-index checking while writing.
...
Relocated palette-index checking function from pngrutil.c to pngtrans.c
2012-03-02 22:10:15 -06:00
Glenn Randers-Pehrson
8e92cd51c6
[libpng16] Bump version to 1.6.0beta16
2012-03-02 14:04:36 -06:00
Glenn Randers-Pehrson
363387c9c0
[libpng16] Imported from libpng-1.6.0beta15.tar
2012-03-02 13:45:00 -06:00
John Bowler
6f237b6bf0
[libpng16] Remove whitespace at end of lines
2012-03-02 13:20:52 -06:00
John Bowler
a0ddf0b5f2
[libpng16] Minor update to pngstest.c, chmod 755 gentests.sh
2012-03-02 06:56:33 -06:00
Glenn Randers-Pehrson
5541ea8aaf
[libpng16] Relocated declarations of index and padding in new index-checking
...
code.
2012-03-01 22:18:09 -06:00
John Bowler
cf49919686
[libpng16] Fixed some bugs in ICC profile writing. The code should now accept
...
all potentially valid ICC profiles and reject obviously invalid ones.
It now uses png_error() to do so rather than casually writing a PNG
without the necessary color data.
2012-03-01 21:54:07 -06:00
Glenn Randers-Pehrson
363ae65e2b
[libpng16] Added tests for invalid palette index while reading and writing
...
(work in progress, the latter isn't finished).
2012-03-01 21:39:29 -06:00
John Bowler
cb129a6234
[libpng16] Improved pngstest fine tuning of error numbers, new test file
...
generator. The generator generates images that test the full range of sample
values, allow the error numbers in pngstest to be tuned and checked. makepng
also allows generation of images with extra chunks, although this is
still work-in-progress.
2012-03-01 21:26:54 -06:00
John Bowler
dee7577330
[libpng16] Added PNG_IMAGE_FLAG_FAST for the benefit of applications that
...
store intermediate files, or intermediate in-memory data, while processing
image data with the simplified API. The option makes the files larger
but faster to write and read. pngstest now uses this by default; this
can be disabled with the --slow option.
2012-03-01 18:55:54 -06:00
John Bowler
1c25b9b06b
[libpng16] Fixed transparent pixel and 16-bit rgb tests in pngstest and removed
...
a spurious check in pngwrite.c
2012-02-29 10:49:28 -06:00
John Bowler
0a92b23c4b
[libpng16] Rewrote pngstest.c for substantial speed improvement.
2012-02-29 06:47:55 -06:00
Glenn Randers-Pehrson
5408b613f8
[libpng16] Removed unused "current_text" members of png_struct
...
and the png_free() of png_ptr->current_text from pngread.c
2012-02-27 08:09:42 -06:00
Glenn Randers-Pehrson
b7e32059d3
[libpng16] Bump version to 1.6.0beta15
2012-02-26 21:38:19 -06:00
Glenn Randers-Pehrson
faf38eea03
[libpng16] Imported from libpng-1.6.0beta14.tar
2012-02-26 21:38:09 -06:00
Glenn Randers-Pehrson
9eb125e927
[libpng16] Updated Makefile.in
...
Added information about the new limits in the manual.
2012-02-24 22:04:53 -06:00
Glenn Randers-Pehrson
203e6dd7cf
[libpng16] Checked in new Makefile.am that maintains pngusr.dfa
2012-02-24 15:56:01 -06:00
Glenn Randers-Pehrson
16bb03b8b4
[libpng16] Bump version to 1.6.0beta14
2012-02-24 11:52:56 -06:00
Glenn Randers-Pehrson
df44c4c4d9
[libpng16] Imported from libpng-1.6.0beta13.tar
2012-02-24 11:45:34 -06:00
Glenn Randers-Pehrson
4690b89eaa
[libpng16] Added PNG_SAFE_LIMITS feature to pnglibconf.dfa, pngpriv.h, and new pngusr.dfa
...
to reset the user limits to safe ones if PNG_SAFE_LIMITS is defined.
To enable, use CPPFLAGS=-DPNG_SAFE_LIMITS on the configure command
or put #define PNG_SAFE_LIMITS_SUPPORTED in pnglibconf.h.prebuilt.
(Reverted previous implementation of PNG_SECURE.)
2012-02-24 11:43:31 -06:00
Glenn Randers-Pehrson
10c0693210
[libpng16] Added PNG_SECURE feature to pnglibconf.dfa and new pngusr.dfa file
...
to reset the user limits to safe ones if PNG_SECURE is defined.
2012-02-23 18:41:13 -06:00
Glenn Randers-Pehrson
17ba5de88f
[libpng16] Eliminated redundant png_push_read_tEXt|zTXt|iTXt|unknown code from
...
pngpread.c and use the sequential png_handle_tEXt, etc., in pngrutil.c;
now that png_ptr->buffer is inaccessible to applications, the special
handling is no longer useful.
2012-02-21 14:49:56 -06:00
Glenn Randers-Pehrson
7d5bf79d88
[libpng16] Bump version to 1.6.0beta13
2012-02-18 22:54:56 -06:00
Glenn Randers-Pehrson
a4badc4b50
[libpng16] Imported from libpng-1.6.0beta12.tar
2012-02-17 17:07:54 -06:00
Glenn Randers-Pehrson
b0606ea043
[libpng16] Increase num_palette to invalid_index + 1, not to invalid_index.
2012-02-16 20:48:28 -06:00
Glenn Randers-Pehrson
566fb611b6
[libpng16] Bump version to 1.6.0beta12
2012-02-16 20:24:39 -06:00
Glenn Randers-Pehrson
c737b7cf70
[libpng16] Imported from libpng-1.6.0beta11.tar
2012-02-16 20:16:09 -06:00
Glenn Randers-Pehrson
67dba43998
[libpng16] Check for invalid palette index while reading paletted PNG. When
...
one is found, issue a warning and increase png_ptr->num_palette accordingly.
Apps are responsible for checking to see if that happened.
2012-02-16 20:15:13 -06:00
John Bowler
bce7988230
[libpng16] Fixed fixed/float API export conditionals. 1) If FIXED_POINT or
...
FLOATING_POINT options were switched off, png.h ended up with lone ';'
characters. This is not valid ANSI-C outside a function. The ';'
characters have been moved inside the definition of PNG_FP_EXPORT and
PNG_FIXED_EXPORT. 2) If either option was switched off, the declaration
of the corresponding functions were completely omitted, even though some
of them are still used internally. The result is still valid, but
produces warnings from gcc with some warning options (including -Wall). The
fix is to cause png.h to declare the functions with PNG_INTERNAL_FUNCTION
when png.h is included from pngpriv.h.
2012-02-13 11:45:22 -06:00
Glenn Randers-Pehrson
864270e18f
[libpng16] Fixed a memory overwrite bug in simplified read of RGB PNG with
...
Fixed a memory overwrite bug in simplified read of RGB PNG with
non-linear gamma Also bugs in the error checking in pngread.c and changed
quite a lot of the checks in pngstest.c to be correct; either correctly
written or not over-optimistic. The pngstest changes are insufficient to
allow all possible RGB transforms to be passed; pngstest cmppixel needs
to be rewritten to make it clearer which errors it allows and then changed
to permit known inaccuracies.
2012-02-10 17:13:13 -06:00
Glenn Randers-Pehrson
74df4f1956
[libpng16] Removed some unused arrays from png_read_push_finish_row().
2012-02-10 15:19:34 -06:00
John Bowler
aa725a375c
[libpng16] Corrected estimate of error in libpng png_set_rgb_to_gray API.
...
The API is extremely inaccurate for sRGB conversions because it uses an 8-bit
intermediate linear value and it does not use the sRGB transform, so it
suffers from the known instability in gamma transforms for values close
to 0 (see Poynton). The net result is that the calculation has a maximum
error of 14.99/255; 0.5/255^(1/2.2). pngstest now uses 15 for the
permitted 8-bit error. This may still not be enough because of arithmetic
error.
2012-02-04 15:11:16 -06:00
Glenn Randers-Pehrson
5578c3719e
[libpng16] Updated documentation about the simplified API.
2012-02-04 10:31:38 -06:00
Glenn Randers-Pehrson
ce3c7330ba
[libpng16] Revised test-pngstest.sh to report PASS/FAIL for each image.
2012-02-04 07:35:34 -06:00
John Bowler
c8348f80d5
[libpng16] Fix character count in pngstest command in
...
projects/owatcom/pngstest.tgt
2012-02-03 21:40:07 -06:00
Glenn Randers-Pehrson
612d52afce
[libpng16] Fixed some editing cruft in libpng-manual.txt and libpng.3
2012-02-03 21:14:33 -06:00
Glenn Randers-Pehrson
3449169622
[libpng16] Bump version to 1.6.0beta11
2012-02-03 02:01:02 -06:00
Glenn Randers-Pehrson
ead660ae1e
[libpng16] Imported from libpng-1.6.0beta10.tar
2012-02-03 01:56:26 -06:00
Glenn Randers-Pehrson
04afaab56a
[libpng16] Bump version to 1.6.0beta10
2012-02-03 00:39:02 -06:00
Glenn Randers-Pehrson
781a90b358
[libpng16] Updated list of test images in CMakeLists.txt
2012-02-02 15:48:55 -06:00
John Bowler
61d7058b5b
[libpng16] Added Z_SOLO for zlib-1.2.6+ and correct pngstest tests
2012-02-02 08:37:11 -06:00
Glenn Randers-Pehrson
db6850b389
[libpng16] Bump version to 1.6.0beta10
2012-02-01 15:41:43 -06:00
Glenn Randers-Pehrson
eda298bc01
[libpng] Note in CHANGES that Makefile.in and configure were reverted
...
to libpng-1.6.0beta05 versions.
2012-02-01 15:27:17 -06:00
John Bowler
516c9c97a6
[libpng16] Attempt to fix problem with autogen.sh
...
Renamed internal configure variable from prefix_TRUE to DO_PNG_PREFIX_TRUE
2012-02-01 07:14:24 -06:00
Glenn Randers-Pehrson
0d4d0b4d32
[libpng16] Bump version to libpng-1.6.0beta09.tar
2012-01-31 22:58:08 -06:00
Glenn Randers-Pehrson
5bffd6c6d5
[libpng16] Imported from libpng-1.6.0beta08.tar
2012-01-31 22:46:45 -06:00
Glenn Randers-Pehrson
816ff328d2
[libpng16] Updated CHANGES and ANNOUNCE with new information about autogen.sh
2012-01-31 22:26:34 -06:00
Glenn Randers-Pehrson
34dca8f8e8
[libpng16] Updated INSTALL to explain that autogen.sh must be run in a GIT
...
clone, not in a directory extracted from a tar distribution.
2012-01-31 22:15:30 -06:00
John Bowler
3167541570
[libpng16] Fixed 'prefix' builds on clean systems. The generation of pngprefix.h
...
should not require itself.
2012-01-31 21:01:49 -06:00
John Bowler
6437604a5e
[libpng16] Fix comment in scripts/pnglibconf.dfa
2012-01-31 20:58:02 -06:00
Glenn Randers-Pehrson
2dd49fbeae
[libpng16] Updated "ftbb*.png" list in the owatcom and vstudio projects.
2012-01-31 08:27:32 -06:00
John Bowler
f1c0678c16
[libpng16] Fixed non-configure builds (don't include pngprefix.h in them)
2012-01-31 07:37:46 -06:00
John Bowler
42369ccd85
[libpng16] Added symbol prefixing that allows all the libpng external symbols
...
to be prefixed (suggested by Reuben Hawkins). This is work in progress that
breaks some non-configure builds.
2012-01-31 07:28:13 -06:00
John Bowler
572b078d8c
[libpng16] Cleaned up pngpriv.h to consistently declare all functions and data.
...
Also eliminated PNG_CONST_DATA, which is apparently not needed but we
can't be sure until it is gone.
2012-01-31 07:09:34 -06:00
John Bowler
40ca77a721
[libpng16] Improved pngstest speed by not doing redundant tests and add const
...
to the background parameter of png_image_finish_read. The --background
option is now done automagically only when required, so that commandline
option no longer exists.
2012-01-28 23:19:42 -06:00
John Bowler
05cbe5ae28
[libpng16] Moved automake options to AM_INIT_AUTOMAKE in configure.ac
...
Added color-tests, silent-rules (Not yet implemented in Makefile.am) and
version checking to configure.ac
2012-01-28 18:06:55 -06:00
Glenn Randers-Pehrson
5cdff4144e
[libpng16] Divide pngstest into separate runs for basic and transparent images.
2012-01-28 01:07:34 -06:00
John Bowler
feecc898d9
[libpng16] Check libtool/libtoolize version number (2.4.2) in configure.ac
2012-01-28 00:48:08 -06:00
John Bowler
3a1d63dc69
[libpng16] Fixed Image::colormap misalignment in pngstest.c
2012-01-28 00:11:53 -06:00
Glenn Randers-Pehrson
573a51143a
[libpng16] bump version to 1.6.0beta08
2012-01-27 22:37:58 -06:00
Glenn Randers-Pehrson
6690011811
[libpng16] Imported from libpng-1.6.0beta07.tar
2012-01-27 22:29:22 -06:00
Glenn Randers-Pehrson
dde1f98626
[libpng16] Committed 5 new or renamed files in contrib/pngsuite.
2012-01-27 20:35:35 -06:00
Glenn Randers-Pehrson
aaf1179ec1
[libpng16] Added two images to contrib/pngsuite (1-bit and 2-bit transparent
...
grayscale), and renamed three whose names were inconsistent with those in
pngsuite/README.txt.
2012-01-27 20:07:00 -06:00
John Bowler
e044649282
[libpng16] Removed scripts/*m4 and updated autogen.sh
2012-01-27 12:49:15 -06:00
John Bowler
a23f3dbcb6
[libpng16] Freeze libtool files in the 'scripts' directory.
...
This version of autogen.sh attempts to dissuade people from running it when
it is not, or should not, be necessary.
2012-01-27 10:24:21 -06:00
Glenn Randers-Pehrson
a12d2328b4
[libpng16] Set CMAKE_LIBRARY_OUTPUT_DIRECTORY to "lib" on all platforms
...
(C. Yapp).
2012-01-26 17:39:05 -06:00
Glenn Randers-Pehrson
95a8a665e4
[libpng16] Conditionalize the install rules for MINGW and CYGWIN
...
in CMakeLists.txt
2012-01-25 16:46:05 -06:00
John Bowler
da2194c0d5
[libpng16] Rewrote autogen.sh to run autoreconf
...
instead of running tools one-by-one.
2012-01-25 08:30:24 -06:00
John Bowler
1eb2c48458
[libpng16] Updated configure.ac from autoupdate: added --enable-werror option.
...
Also some layout regularization and removal of introduced tab characters
(replaced with 3-character indentation). Obsolete macros identified by
autoupdate have been removed; the replacements are all in 2.59 so
the pre-req hasn't been changed. --enable-werror checks for support
for -Werror (or the given argument) in the compiler. This mimics the
gcc configure option by allowing -Werror to be turned on safely; without
the option the tests written in configure itself fail compilation because
they cause compiler warnings.
2012-01-25 08:07:29 -06:00
John Bowler
8fb6c6a9b3
[libpng16] Eliminated Intel icc/icl compiler warnings. The Intel (GCC derived)
...
compiler issues slightly different warnings from those issued by the
current vesions of GCC. This eliminates those warnings by
adding/removing casts and small code rewrites.
2012-01-25 07:47:44 -06:00
John Bowler
9c7f99c9cb
[libpng16] Remove remains of simplified API sPLT experiment from pngpriv.h
2012-01-25 07:35:47 -06:00
Glenn Randers-Pehrson
99c7ad2904
[libpng16] bump version to 1.6.0beta07
2012-01-24 08:06:01 -06:00
Glenn Randers-Pehrson
e7b4d26ec1
[libpng16] Imported from libpng-1.6.0beta06.tar
2012-01-24 08:05:42 -06:00
John Bowler
c35f888c46
[libpng16] Finish patching pngstest.c
2012-01-24 07:40:28 -06:00
John Bowler
5635573cfc
[libpng16] Fixed Min/GW uninstall to remove libpng.dll.a
2012-01-23 23:01:27 -06:00
Glenn Randers-Pehrson
fea2a877c8
[libpng16] Added some whitespace in comments.
2012-01-23 22:52:59 -06:00
John Bowler
5bc90389bf
[libpng16] Added color-map support to simplified API.
...
This is an initial version for review; the documentation has not yet been
updated.
2012-01-23 22:43:22 -06:00
Glenn Randers-Pehrson
2312167d51
[libpng16] Increased warning buffer in pngerror.c from 128 to 192.
2012-01-23 22:34:15 -06:00
Glenn Randers-Pehrson
edbcd02133
[libpng16] bump version to 1.6.0beta06
2012-01-16 07:50:01 -06:00
John Bowler
04336ba10f
[libpng16] Add palette support to the simplified APIs. This commit
...
changes some of the macro definitions in png.h, app code may need
corresponding changes.
2012-01-16 07:48:36 -06:00
Glenn Randers-Pehrson
da1c5ca65a
[libpng16] Imported from libpng-1.6.0beta05.tar
2012-01-14 20:44:14 -06:00
John Bowler
00c6a9a62c
[libpng16] Fix bug in pngerror.c: some long warnings were being improperly
...
truncated (bug introduced in libpng-1.5.3beta05).
2012-01-14 19:44:43 -06:00
Glenn Randers-Pehrson
665031e834
[libpng16] Fix two typos in pngpriv.h comments
2012-01-13 22:03:10 -06:00
Glenn Randers-Pehrson
0501c1c570
[libpng16] Describe new simplified API in the manual pages
...
and cleaned up some indentation problems.
2012-01-11 14:00:52 -06:00
Glenn Randers-Pehrson
1531bd61a0
[libpng16] Updated copyright year to 2012
2012-01-01 14:45:04 -06:00
Glenn Randers-Pehrson
d9fc0622a1
[libpng16] bump version to 1.6.0beta05
2011-12-29 21:13:53 -06:00
Glenn Randers-Pehrson
6e4184249c
[libpng16] Imported from libpng-1.6.0beta04.tar
2011-12-29 21:01:01 -06:00
Glenn Randers-Pehrson
04ab33560f
[libpng16] Revised contrib/pngminus/pnm2png.c to avoid warnings
...
when png_uint_32 and unsigned long are of different sizes.
2011-12-29 10:24:50 -06:00
Glenn Randers-Pehrson
0522f269e0
[libpng16] Update png_err() to use new typecast.
2011-12-29 10:02:24 -06:00
John Bowler
fcd301daed
[libpng16] Changed png_memcpy to C assignment where appropriate. Changed all
...
those uses of png_memcpy that were doing a simple assignment to assignments
(all those cases where the thing being copied is a non-array C L-value.)
Added some error checking to png_set_*() routines and removed the
reference to the non-exported function png_memcpy() from example.c. Fixed
the Visual C 64-bit build - it requires jmp_buf to be aligned, but it had
become misaligned.
2011-12-28 21:34:27 -06:00
John Bowler
4f67e40898
[libpng16] Add 'const' to png_structrp arguments of png_set_*() APIs.
...
Because these APIs store to the png_info they can take a
png_const_structrp now that the error routines also accept
one of these.
2011-12-28 08:43:37 -06:00
Gilles Espinasse
f87ef8bcb5
[ibpng16] Moved AC_MSG_CHECKING([if libraries can be versioned]) later
...
to the proper location in configure.ac (Gilles Espinasse).
2011-12-26 13:10:01 -06:00
Glenn Randers-Pehrson
a5bf4e3767
[libpng16] Initialize "passes" variable in pngread.c to avoid compiler warning.
...
It was not actually possible to use it uninitialized but gcc doesn't know that.
2011-12-24 09:27:20 -06:00
John Bowler
5d56786eff
[libpng16] Implemented 'restrict' for png_info and png_struct.
...
Added new "png_structrp" typedef. Because of the
way libpng works both png_info and png_struct are always accessed via a
single pointer. This means adding C99 'restrict' to the pointer gives
the compiler some opportunity to optimize the code. This change allows that.
2011-12-24 09:12:00 -06:00
John Bowler
d7c22fb7ec
[libpng16] Added pngvalid.c compile time checks for const APIs.
2011-12-24 08:29:20 -06:00
Glenn Randers-Pehrson
939310bac1
[libpng16] Update CHANGES and ANNOUNCE
2011-12-24 08:27:41 -06:00
John Bowler
29fca0d497
[libpng16] Enabled png_get_sCAL_fixed() if floating point APIs are enabled.
...
Previously it was disabled whenever internal fixed point arithmetic was
selected, which meant it didn't exist even on systems where FP was available
but not preferred.
2011-12-24 07:57:43 -06:00
John Bowler
df477e4652
[libpng16] Eliminated png_info_destroy. It is now used only in png.c
...
and only calls one other internal function and memset.
2011-12-24 07:47:02 -06:00
Glenn Randers-Pehrson
5a956a7a58
[libpng16] Began a manual section about libpng15 to libpng16 differences.
2011-12-22 14:23:37 -06:00
Glenn Randers-Pehrson
67ee8cee39
[libpng16] bump version to 1.6.0beta04
2011-12-22 08:34:26 -06:00
Glenn Randers-Pehrson
28d9339777
[libpng16] Imported from libpng-1.6.0beta03.tar
2011-12-22 08:14:43 -06:00
John Bowler
bc79d70965
[libpng16] commit updated scripts
2011-12-22 08:12:57 -06:00
John Bowler
40b2603687
[libpng16] Start-up code size improvements, error handler flexibility. These
...
changes alter how the tricky allocation of the initial png_struct and png_info
structures are handled. png_info is now handled in pretty much the same
way as everything else, except that the allocations handle NULL return
silently. png_struct is changed in a similar way on allocation and on
deallocation a 'safety' error handler is put in place (which should never
be required). The error handler itself is changed to permit mismatches
in the application and libpng error buffer size; however, this means a
silent change to the API to return the jmp_buf if the size doesn't match
the size from the libpng compilation; libpng now allocates the memory and
this may fail. Overall these changes result in slight code size
reductions; however, this is a reduction in code that is always executed
so is particularly valuable. Overall on a 64-bit system the libpng DLL
decreases in code size by 1733 bytes. pngerror.o increases in size by
about 465 bytes because of the new functionality.
2011-12-22 08:09:15 -06:00
Glenn Randers-Pehrson
ad41b8838a
[libpng16] Updated declaration of png_get_sCAL_fixed().
2011-12-22 07:31:13 -06:00
John Bowler
1d7f56ab64
[libpng16] Failed to commit pngread.c from latest patch.
2011-12-21 20:14:23 -06:00
Glenn Randers-Pehrson
3c1c95399b
[libpng16] Added #ifdef PNG_USER_MEM_SUPPORTED in pngmem.c where needed.
2011-12-21 18:11:51 -06:00
John Bowler
d332c67da7
[libpng16] Start-up code size improvements, error handler flexibility.
...
These changes alter how the tricky allocation of the initial png_struct and
png_info structures are handled. png_info is now handled in pretty much the
same way as everything else, except that the allocations handle NULL return
silently. png_struct is changed in a similar way on allocation and on
deallocation a 'safety' error handler is put in place (which should never
be required). The error handler itself is changed to permit mismatches
in the application and libpng error buffer size; however, this means a
silent change to the API to return the jmp_buf if the size doesn't match
the size from the libpng compilation; libpng now allocates the memory and
this may fail. Overall these changes result in slight code size
reductions; however, this is a reduction in code that is always executed
so is particularly valuable. Overall on a 64-bit system the libpng DLL
decreases in code size by 1733 bytes. pngerror.o increases in size by
about 465 bytes because of the new functionality.
2011-12-21 17:36:12 -06:00
Glenn Randers-Pehrson
b74fb4e49c
[libpng15] Bump version to libpng-1.6.0beta03
2011-12-21 08:43:21 -06:00
Glenn Randers-Pehrson
a6f369b150
[libpng16] Imported from libpng-1.6.0beta02.tar
2011-12-21 08:29:30 -06:00
Glenn Randers-Pehrson
13831bc06e
[libpng16] Updated "last changed" dates
2011-12-21 08:28:28 -06:00
Glenn Randers-Pehrson
adf049e435
[libpng16] Removed references to bsconfig.h from makefiles
2011-12-21 08:26:42 -06:00
John Bowler
681c1fc02a
[libpng16] Correct configure builds where build and source directories are
...
separate. The include path of 'config.h' was erroneously made relative in
pngvalid.c in libpng 1.5.7.
2011-12-18 06:20:22 -06:00
John Bowler
ba6fbc57ba
[libpng16] Revised config.h handling; added bsconfig.h, deleted pngconfig.h
2011-12-17 14:21:54 -06:00
Glenn Randers-Pehrson
d1dceee2f7
[libpng] #include "pngconfig.h" in pngvalid.c
2011-12-17 10:21:51 -06:00
Glenn Randers-Pehrson
94531034cc
[libpng16] Fixed comment in pngconfig.h (cut-and-paste error)
2011-12-17 10:09:36 -06:00
Glenn Randers-Pehrson
751a93f3ec
[libpng16] Added pngconf.h
2011-12-17 10:01:00 -06:00
Glenn Randers-Pehrson
0b3634bcc4
[libpng16] Reverted install of pngconfig.h
2011-12-17 09:57:00 -06:00
Glenn Randers-Pehrson
efaeadaa86
[libpng16] Added pngconfig.h file. This indirect reference to config.h avoids
...
problems with build scripts that search for config.h and find an
inappropriate one in the standard paths.
2011-12-17 09:06:34 -06:00
Glenn Randers-Pehrson
c4f94cbd08
[libpng15] Bump version to libpng-1.6.0beta02
2011-12-15 13:11:25 -06:00
Glenn Randers-Pehrson
26aad85204
[libpng16] Imported from libpng-1.6.0beta01.tar
2011-12-15 10:31:17 -06:00
John Bowler
c4081f05c8
[libpng16] Updated CMakeLists.txt to account for relocated and new test programs.
2011-12-08 09:53:00 -06:00
John Bowler
eb26ee6602
[libpng16] Fixed race conditions in parallel make builds. With higher degrees
...
of parallelism during 'make' the use of the same temporary file names such
as 'dfn*' can result in a race where a temporary file from one arm of the
build is deleted or overwritten in another arm. This changes the
temporary files for suffix rules to always use $* and ensures that the
non-suffix rules use unique file names.
2011-12-08 09:37:24 -06:00
Glenn Randers-Pehrson
90a87c8853
[libpng15] Bump version to libpng-1.6.0alpha01
2011-12-05 13:39:20 -06:00
John Bowler
12924f33bd
[libpng16] Fixed minor memset/sizeof errors in pngvalid.c.
2011-12-05 12:36:04 -06:00
Glenn Randers-Pehrson
ec6d6fa51b
[libpng16] Put CRLF line endings in the owatcom project files.
2011-12-03 20:26:27 -06:00
Glenn Randers-Pehrson
1f0eaa046c
[libpng16] Revised pngconf.h to use " __declspec(restrict)" if MSC_VER >= 1400.
2011-12-01 21:45:34 -06:00
Glenn Randers-Pehrson
6bdefdd977
[libpng] Fixed some trivial typos in the contrib/tools subdirectory.
2011-11-29 07:44:48 -06:00
John Bowler
405a398b3e
[libpng16] New 'tools' directory containing tools used to generate libpng code.
2011-11-28 23:57:45 -06:00
Glenn Randers-Pehrson
8888ea4479
[libpng16] Revised #if PNG_DO_BC blocks in png.c (use #ifdef and add #else)
2011-11-28 11:29:10 -06:00
Glenn Randers-Pehrson
0b26ac5dee
[libpng16] Replaced an "#if" with "ifdef" in pngrtran.c
2011-11-28 10:38:41 -06:00
John Bowler
414769b415
[libpng16] Add "free()" and "png_free_image()" calls to example code.
2011-11-27 21:39:13 -06:00
Glenn Randers-Pehrson
5e934ba900
[libpng16] Removed stray "*.orig" files.
2011-11-27 06:15:42 -06:00
Glenn Randers-Pehrson
b72bc15e22
[libpng16] Added entry in CHANGES and ANNOUNCE about removing configure files.
2011-11-26 21:17:55 -06:00
Glenn Randers-Pehrson
4c7e8208b6
[libpng16] Remove machine-generated configure files
2011-11-26 21:08:24 -06:00
John Bowler
baeb6d1e92
[libpng16] Added ANSI-C (C90) headers; eliminated the use of FAR/far.
2011-11-26 18:21:02 -06:00
Glenn Randers-Pehrson
2ddb252d07
[libpng16] Updated license info in contrib/examples and example.c
2011-11-25 07:27:51 -06:00
Glenn Randers-Pehrson
7455cbf47e
[libpng16] Update internal version numbering and SO-numbers
2011-11-24 14:49:01 -06:00
Glenn Randers-Pehrson
87fadd5eee
[libpng16] Updated version numbering in png.h
2011-11-24 14:35:13 -06:00
Glenn Randers-Pehrson
5b79cd52f4
[libpng16] Moved pngvalid.c into contrib/libtests
...
and rebuilt Makefile.in and configure, etc., with autoconf-2.68
2011-11-24 10:56:20 -06:00
John Bowler
36082cffcd
[libpng16] Added example programs for the new 'simplified' API.
2011-11-24 08:22:24 -06:00
Glenn Randers-Pehrson
e1bb124baa
[libpng16] Removed some extra simplified API entries from libpng.3 synopses.
2011-11-23 15:59:26 -06:00
Glenn Randers-Pehrson
15ea1fa337
[libpng15] Bump version to libpng-1.6.0alpha01
2011-11-23 15:34:03 -06:00
Glenn Randers-Pehrson
12fb29f951
[libpng15] Reject invalid compression flag, method when reading the iTXt chunk.
2011-11-22 11:53:49 -06:00
Glenn Randers-Pehrson
8500b7720b
[libpng15] Also allow uncompressed iTXt
2011-11-22 11:40:39 -06:00
Glenn Randers-Pehrson
e7ad104ac3
[libpng15] Reject invalid compression flag when reading the iTXt chunk.
2011-11-22 11:03:20 -06:00
Glenn Randers-Pehrson
3b1f03084e
[libpng15] Fixed copyright, spelling in contrib/libtest and contrib/sRGBtables
2011-11-21 20:52:21 -06:00
Glenn Randers-Pehrson
680da02ade
[libpng15] Updated the documentation of the png_text structure
...
(clarifying that the "lang" and "lang_key" fields can be NULL pointers
or might not exist).
2011-11-21 17:05:41 -06:00
Glenn Randers-Pehrson
8e83631361
[libpng15] Added MINGW support to CMakeLists.txt
2011-11-21 12:37:13 -06:00
Glenn Randers-Pehrson
8501129c17
[libpng15] Removed some "#if 0" blocks of test code that remained in pngrutil.c
2011-11-21 11:21:29 -06:00
John Bowler
3706d730d1
[libpng15] Allow row_stride==0 to indicate default stride in simplified API
2011-11-21 10:28:06 -06:00
Glenn Randers-Pehrson
925a60278e
[libpng15] Revised comment and whitespace in png_convert_to_rfc1123().
2011-11-19 18:04:01 -06:00
Glenn Randers-Pehrson
29fca795b9
[libpng15] Validate time settings passed to pngset()
...
and png_convert_to_rfc1123(). (Frank Busse).
2011-11-19 15:08:04 -06:00
Glenn Randers-Pehrson
bd2fa5def6
[libpng15] Removed "zTXt" from warning in generic chunk decompression function.
...
Bug report by Franke Busse
2011-11-19 13:28:08 -06:00
Glenn Randers-Pehrson
36251d3f76
[libpng15] Bump version to libpng-1.5.7beta05
2011-11-17 21:39:58 -06:00
Glenn Randers-Pehrson
d92c1fcd55
[libpng15] Imported from libpng-1.5.7beta04.tar
2011-11-17 21:39:49 -06:00
Glenn Randers-Pehrson
4af7710f94
[libpng15] Revised Makefile.am to separate out stuff depending on contrib (WIP)
2011-11-17 09:05:18 -06:00
Glenn Randers-Pehrson
7e97c182a8
[libpng15] Bump version to libpng-1.5.7beta04
2011-11-16 23:27:38 -06:00
Glenn Randers-Pehrson
e0bcbfd0fd
[libpng15] Imported from libpng-1.5.7beta03.tar
2011-11-16 23:14:06 -06:00
John Bowler
17878c6e65
[libpng15] Work around compilers that don't support declaration of const data.
...
Some compilers fault 'extern const' data declarations (because the data is
not initialized); this turns on const-ness only for compilers where
this is known to work.
2011-11-16 22:37:46 -06:00
John Bowler
7006dc4c6a
[libpng15] Added --noexecstack to assembler file compilation.
2011-11-16 22:25:47 -06:00
Glenn Randers-Pehrson
c4253c4683
[libpng15] Updated CHANGES and ANNOUNCE with latest changes
2011-11-16 22:23:30 -06:00
John Bowler
4fa96a42f7
[libpng15] Fixes for C++ compilation using g++ When libpng source is compiled
...
using g++. The compiler imposes C++ rules on the C source; thus it
is desireable to make the source work with either C or C++ rules
without throwing away useful error information. This change adds
png_voidcast to allow C semantic (void*) cases or the corresponding
C++ static_cast operation, as appropriate.
2011-11-16 16:39:16 -06:00
Glenn Randers-Pehrson
c2d8399581
[libpng15] Bump version to libpng-1.5.7beta03
2011-11-16 14:35:41 -06:00
John Bowler
18c5cfafeb
[libpng15] Multiple transform bug fixes plus a work-round for double gamma
...
correction.
2011-11-16 14:26:34 -06:00
Glenn Randers-Pehrson
36f5884359
[libpng15] Added test-pngstest.sh
2011-11-16 14:22:15 -06:00
Mans Rullgard
e7acc6ac3d
[libpng15] Added run-time detection of ARM/NEON support
2011-11-16 13:48:18 -06:00
John Bowler
76b0459fdd
[libpng15] Updated contrib/sRGBtables code
2011-11-16 13:44:42 -06:00
Glenn Randers-Pehrson
ae41dc55a2
[libpng15] Added contrib/README.txt
2011-11-16 13:35:16 -06:00
Glenn Randers-Pehrson
45bb9a62ba
[libpng15] Changed "PNG_EXTERN" to "extern" in sRGB table declarations
...
in pngpriv.h
2011-11-16 12:47:33 -06:00
John Bowler
89c2f84287
[libpng15] Fix Windows builds, add pngstest to Visual Studio and OpenWatcom
2011-11-16 12:04:39 -06:00
John Bowler
ed9f84475d
[libpng15] Update pngstest to remove compiler warnings, add to libpng tests
2011-11-16 11:52:27 -06:00
John Bowler
1eb188932b
[libpng15] Added contrib/pngtests
2011-11-16 11:40:59 -06:00
Glenn Randers-Pehrson
8596468e51
[libpng15] Removed PNG_CONST from the sRGB table declarations
...
in pngpriv.h and png.c
2011-11-16 08:52:36 -06:00
Glenn Randers-Pehrson
c32de8c64d
[libpng15] Bump version to libpng-1.5.7beta03
2011-11-11 20:28:21 -06:00
Glenn Randers-Pehrson
6d8e090419
[libpng15] Imported from libpng-1.5.7beta02.tar
2011-11-11 20:06:18 -06:00
Glenn Randers-Pehrson
816e687de8
[libpng] Added copyright and licensing info to contrib/sRGBtables/*.c
2011-11-11 18:48:04 -06:00
John Bowler
0a521d3785
[libpng15] Installed more accurate linear to sRGB conversion tables.
...
The slightly modified tables reduce the number of 16-bit values that
convert to an off-by-one 8-bit value. The "makesRGB.c" code that was used
to generate the tables is now in a contrib/sRGBtables sub-directory.
2011-11-11 18:14:59 -06:00
Glenn Randers-Pehrson
d3feb52955
[libpng15] Ignore unused chunks in the new simplified read API.
2011-11-11 17:20:34 -06:00
Glenn Randers-Pehrson
65f3ac192b
[libpng15] Fixed a typo in pngpriv.h
2011-11-10 06:36:34 -06:00
Glenn Randers-Pehrson
4be12aa1e3
[libpng15] Updated commentary
2011-11-10 06:35:48 -06:00
Glenn Randers-Pehrson
84b0da9c94
[libpng15] Updated commentary about new API
2011-11-10 06:32:19 -06:00
John Bowler
e6fb691c49
[libpng15] Fixes to alpha swap on read, simplified write and filler add code
2011-11-08 21:35:16 -06:00
John Bowler
d4973837b2
[libpng15] Change options.awk to use pngconf.h for versioning
...
instead of ANNOUNCE
2011-11-08 19:34:54 -06:00
John Bowler
dd81915d5b
[libpng15] Corrections to the PNG_FORMAT_ values and code cleanup.
2011-11-08 14:29:45 -06:00
John Bowler
3615d03e05
[libpng15] Fix PNG_SIMPLIFIED transformations,
...
adding alpha and reducing to 8-bit
2011-11-08 10:38:09 -06:00
Glenn Randers-Pehrson
e0a6c06bfd
[libpng] Added synopses for new png_image functions to the manual.
2011-11-07 23:50:05 -06:00
Glenn Randers-Pehrson
efc4b69767
[libpng15] Fixed some typos in comments.
2011-11-07 23:31:34 -06:00
John Bowler
7875d534cb
[libpng15] Simplified read/write API initial version; basic read/write tested
...
on a variety of images, limited documentation (in the header file.)
2011-11-07 22:33:49 -06:00
John Bowler
92a1d46c8d
[libpng15] Added versioning to pnglibconf.h comments.
2011-11-07 22:19:30 -06:00
Glenn Randers-Pehrson
7de02e722f
[libpng15] Changed 8 new leading spaces to TAB in scripts/makefile.std
...
and pnglibconf.mak
2011-11-07 09:20:27 -06:00
John Bowler
61bd4f76ad
[libpng15] Updated scripts/pnglibconf.mak and scripts/makefile.std
...
to handle the new PNG_JOIN macro.
2011-11-05 12:24:53 -05:00
Glenn Randers-Pehrson
8b67ee5d3d
[libpng15] Updated scripts/pnglibconf.mak to handle the new PNG_JOIN macro.
2011-11-05 09:27:55 -05:00
John Bowler
fc45f68623
[libpng15] updated configure files
2011-11-04 21:03:39 -05:00
John Bowler
a004e23a4c
[libpng15] Fixed FP division by zero in pngvalid.c; the 'test_pixel' code left
...
the sBIT fields in the test pixel as 0, which resulted in a floating
point division by zero which was irrelevant but causes systems where
FP exceptions cause a crash. Added code to pngvalid to turn on FP
exceptions if the appropriate glibc support is there to ensure this is
tested in the future.
2011-11-04 20:24:56 -05:00
John Bowler
88bcdc269b
[libpng] Check compression_type parameter in png_get_iCCP and remove spurious
...
casts. The compression_type parameter is always assigned to, so must
be non-NULL. The cast of the profile length potentially truncated the
value unnecessarily on a 16-bit int system, so the cast of the (byte)
compression type to (int) is specified by ANSI-C anyway.
2011-11-04 20:12:03 -05:00
Glenn Randers-Pehrson
aad7c828b2
[libpng15] Removed a stray sentence fragment from CHANGES/ANNOUNCE
2011-11-04 14:12:04 -05:00
Glenn Randers-Pehrson
5a9aca17df
[libpng15] Bump version to libpng-1.5.7beta02
2011-11-04 13:47:57 -05:00
Glenn Randers-Pehrson
55e85c24b4
[libpng15] Imported from libpng-1.5.7beta01.tar
2011-11-04 13:47:49 -05:00
John Bowler
fcc0263191
[libpng15] Paeth filter speed improvements from work by Siarhei Siamashka. This
...
changes the 'Paeth' reconstruction function to improve the GCC code
generation on x86. The changes are only part of the suggested ones;
just the changes that definitely improve speed and remain simple.
The changes also slightly increase the clarity of the code. In a
2011-11-03 18:31:00 -05:00
John Bowler
1d8b75550f
[libpng15] Fix for the preprocessor of the Intel C compiler. The preprocessor
...
adjacent @ signs with a space; this changes the concatentation
from @@@ to PNG_JOIN; that should work with all compiler
preprocessors.
2011-11-03 18:19:53 -05:00
John Bowler
aff44028ba
[libpng15] Fixed bug in pngvalid on early allocation failure; fixed type cast
...
in pngmem.c; pngvalid would attempt to call png_error() if the allocation
of a png_struct or png_info failed. This would probably have led to a
crash. The pngmem.c implementation of png_malloc() included a cast
to png_size_t which would fail on large allocations on 16-bit systems.
2011-11-03 16:11:08 -05:00
Glenn Randers-Pehrson
6d7705eedf
[libpng15] Bump version to libpng-1.5.7beta01
2011-11-03 00:49:07 -05:00
Mans Rullgard
d3a94802d8
[libpng15] Added support for ARM processor (Mans Rullgard)
2011-11-03 00:47:55 -05:00
Glenn Randers-Pehrson
2b7d730e27
[libpng15] Bump version to libpng-1.5.7beta01
2011-11-02 23:14:13 -05:00
Glenn Randers-Pehrson
bc6726bc04
[libpng15] Imported from libpng-1.5.6.tar
2011-11-02 22:48:36 -05:00
Glenn Randers-Pehrson
1876366b17
[libpng15] Fixed a spelling error.
2011-10-27 22:09:22 -05:00
Glenn Randers-Pehrson
c94b996af8
[libpng15] Bump version to libpng-1.5.6rc04
2011-10-27 21:09:08 -05:00
Glenn Randers-Pehrson
0e9f8ced1e
[libpng15] Imported from libpng-1.5.6rc03.tar
2011-10-27 21:03:00 -05:00
Glenn Randers-Pehrson
7342fcaf92
[libpng] #define PNG_ALIGN_TYPE PNG_ALIGN_NONE in contrib/pngminim/*/pngusr.h
2011-10-27 19:56:36 -05:00
John Bowler
92ef313c77
[libpng15] Fixed compiler warnings with Intel and MSYS compilers.
...
The logical shift fix for Microsoft Visual C is required by other compilers,
so this enables that fix for all compilers when using compile-time constants.
Under MSYS 'byte' is a name declared in a system header file, so we
changed the name of a local variable to avoid the warnings that result.
2011-10-27 19:53:14 -05:00
Glenn Randers-Pehrson
cb75699dff
[libpng15] Renamed the LSR() macro to PNG_LSR() and added PNG_LSL() macro.
2011-10-27 16:59:03 -05:00
Glenn Randers-Pehrson
122a525c83
[libpng15] Bump version to libpng-1.5.6rc03
2011-10-27 16:51:52 -05:00
Glenn Randers-Pehrson
5e823c1fd5
[libpng15] Imported from libpng-1.5.6rc02.tar
2011-10-27 16:19:17 -05:00
Glenn Randers-Pehrson
8db19980fa
[libpng15] Add leading zero to some 1-digit hex constants (0xf -> 0x0f).
2011-10-27 16:17:24 -05:00
Glenn Randers-Pehrson
ef02d563a3
[libpng15] Added LSR() macro to defend against buggy compilers that evaluate
...
non-taken code branches and complain about out-of-range shifts.
2011-10-27 12:05:58 -05:00
Glenn Randers-Pehrson
b2068640d1
[libpng15] Bump version to libpng-1.5.6rc02
2011-10-26 08:48:35 -05:00
Glenn Randers-Pehrson
93254f66fc
[libpng15] Imported from libpng-1.5.6rc01.tar
2011-10-26 08:48:23 -05:00
Glenn Randers-Pehrson
52093f1776
[libpng15] Corrected recent ANNOUNCE and CHANGES entry
2011-10-21 12:57:01 -05:00
Glenn Randers-Pehrson
0654d63196
[libpng15] Bump version to libpng-1.5.6beta08
2011-10-21 07:39:45 -05:00
Glenn Randers-Pehrson
4e8aa822dc
[libpng15] Imported from libpng-1.5.6beta07.tar
2011-10-21 07:39:34 -05:00
Mans Rullgard
1c42276a39
[libpng15] New png_struct member png_ptr->old_prev_row
2011-10-17 16:52:19 -05:00
Mans Rullgard
c9e27d026d
[libpng15] Made png_ptr->prev_row an aligned pointer into png_ptr->big_prev_row
...
and removed a redundant assignment (Mans Rullgard).
2011-10-17 15:25:03 -05:00
Glenn Randers-Pehrson
e7db181e5d
[libpng15] Bump version to libpng-1.5.6beta07
2011-10-17 08:08:16 -05:00
Glenn Randers-Pehrson
f5c5e53bf5
[libpng15] Imported from libpng-1.5.6beta06.tar
2011-10-17 08:08:08 -05:00
John Bowler
ecb3ad035a
[libpng15] Updated ANNOUNCE and CHANGES
2011-10-16 22:55:44 -05:00
John Bowler
fb5b3ac013
[libpng15] Prevent libpng overwriting unused bits at the end of the image when
...
is not byte aligned, while reading. Prior to libpng-1.5.6 libpng would
overwrite the end of the image if the row width is not an exact multiple
of 8 bits and the image is not interlaced.
2011-10-16 22:52:56 -05:00
John Bowler
5b84901c55
[libpng15] Turned on multiple png_read_update_info in pngvalid transform tests.
2011-10-16 22:42:46 -05:00
John Bowler
57cbcf6b8f
[libpng15] Add ability to call png_read_update_info multiple times to pngvalid.c
2011-10-14 19:43:53 -05:00
John Bowler
07772cba07
[libpng15] Fixes for multiple calls to png_read_update_info.
...
These fixes attend to most of the errors revealed in pngvalid, however doing
the gamma work twice results in inaccuracies that can't be easily fixed.
There is now a warning in the code if this is going to happen.
2011-10-14 18:19:47 -05:00
John Bowler
5c1905caae
[libpng15] Fixed a relatively harmless memory overwrite
...
in compressed text writing
2011-10-14 12:33:52 -05:00
Glenn Randers-Pehrson
d58251b47e
[libpng15] Reverted previous change; removed png_get_compression_buffer() API.
...
It is too risky. Exactly how png_ptr->zbuf is used is under control of the
individual chunk implementation and there could easily be significant changes
within a major release.
2011-10-13 20:30:02 -05:00
Glenn Randers-Pehrson
d3dcb463d6
[libpng15] Added png_get_compression_buffer() API.
2011-10-13 17:51:31 -05:00
Glenn Randers-Pehrson
3dbfd300ff
[libpng15] Removed two redundant tests for unitialized row.
2011-10-13 17:24:36 -05:00
Glenn Randers-Pehrson
ff36991ca2
[libpng15] Bump version to libpng-1.5.6beta06
2011-10-12 06:54:55 -05:00
Glenn Randers-Pehrson
5b3b54e3f6
[libpng15] Imported from libpng-1.5.6beta05.tar
2011-10-12 06:47:31 -05:00
Glenn Randers-Pehrson
ba55c0770b
[libpng15] Use PNG_CSTRING_FROM_CHUNK macro with png_debug2() in pngwutil.c
2011-10-11 21:21:37 -05:00
John Bowler
4e68aa7e40
[libpng15] Further optimization of png_combine_row() in the interlaced case.
2011-10-11 16:01:33 -05:00
Glenn Randers-Pehrson
76b62317b5
[libpng15] Fixed bug in png_write_chunk_header() debug print,
...
introduced in 1.5.6bet01.
2011-10-11 13:54:27 -05:00
Glenn Randers-Pehrson
4dd0dc6399
[libpng15] Fix small typo in CHANGES and ANNOUNCE
2011-10-07 18:48:10 -05:00
John Bowler
8be28e3eb6
[libpng15] Optimized png_combine_row() when rows are aligned This gains a
...
small percentage for 16-bit and 32-bit pixels in the typical case where the
output row buffers are appropriately aligned. The optimization was not
previously possible because the png_struct buffer was always misaligned.
2011-10-07 18:36:37 -05:00
John Bowler
ac8375d000
[libpng15] Align png_struct::row_buf - previously it was always unaligned,
...
caused by a bug in the code that attempted to align it; the code needs to
subtract one from the pointer to take account of the filter byte prepended to
each row.
2011-10-06 22:27:16 -05:00
Glenn Randers-Pehrson
65c0339b5c
[libpng15] Speed up png_combine_row() for interlaced images. This reduces the
...
generality of the code, allowing it to be optimized for Adam7 interlace. The
masks passed to png_combine_row() are now generated internally, avoiding
some code duplication and localizing the interlace handling somewhat.
2011-10-06 21:54:17 -05:00
Glenn Randers-Pehrson
4daae30174
[libpng15] #ifdef out png_progressive_combine_row() when interlacing is
...
not supported.
2011-10-06 21:37:47 -05:00
Glenn Randers-Pehrson
d5bc89ef11
[libpng15] Updated CHANGES and ANNOUNCE
2011-10-05 21:11:46 -05:00
Glenn Randers-Pehrson
fa7d7934f6
[libpng15] Replaced a short but frequently-used memcpy() in png_combine_row()
...
with a loop.
2011-10-05 21:09:22 -05:00
Glenn Randers-Pehrson
a92a212925
[libpng15] Bump version to libpng-1.5.6beta05
2011-10-05 16:49:14 -05:00
Glenn Randers-Pehrson
435cf87469
[libpng15] Bump version to libpng-1.5.6beta04
2011-10-05 16:42:16 -05:00
Glenn Randers-Pehrson
e51916c0f9
[libpng15] Bump version to libpng-1.5.6beta04
2011-09-28 07:34:53 -05:00
Glenn Randers-Pehrson
997b193f63
[libpng15] Imported from libpng-1.5.6beta03.tar
2011-09-28 07:24:28 -05:00
Glenn Randers-Pehrson
e29c4b9b93
[libpng15] Revised CMakeLists.txt to work with mingw and removed some material
...
from CMakeLists.txt that is no longer useful in libpng-1.5.
2011-09-27 19:01:58 -05:00
Glenn Randers-Pehrson
8e25a61277
[libpng15]` Revised test-pngtest.sh to report FAIL when pngtest fails.
...
Added "--strict" option to pngtest, to report FAIL when the failure is
only because the resulting valid files are different.
2011-09-26 20:57:33 -05:00
Glenn Randers-Pehrson
f573ff7792
[libpng15] Bump version to libpng-1.5.6beta03
2011-09-26 16:53:11 -05:00
Glenn Randers-Pehrson
1a16735ce7
[libpng15] Imported from libpng-1.5.6beta02.tar
2011-09-26 16:44:31 -05:00
Glenn Randers-Pehrson
d02d6a1c7d
[libpng15] Fixed a typo in the definition of the new PNG_STRING_FROM_CHUNK(s,c)
...
macro.
2011-09-26 16:43:08 -05:00
Glenn Randers-Pehrson
968c231cc8
[libpng15] Added a note in the manual the png_read_update_info() must be
...
called only once with a particular info_ptr.
2011-09-26 16:35:22 -05:00
Glenn Randers-Pehrson
bb5cb1476b
[libpng15] Bump version to libpng-1.5.6beta02
2011-09-22 12:48:19 -05:00
Glenn Randers-Pehrson
115020d985
[libpng15] Imported from libpng-1.5.6beta01.tar
2011-09-22 09:51:23 -05:00
Glenn Randers-Pehrson
3e2263abf2
[libpng15] Imported from libpng-1.5.5.tar
2011-09-22 08:45:04 -05:00
Glenn Randers-Pehrson
d71f09df4d
[libpng15] Bump version to libpng-1.5.5rc02
2011-09-15 08:39:02 -05:00
Glenn Randers-Pehrson
0a456b5d16
[libpng15] Fix grammar in ANNOUNCE and CHANGES
2011-09-15 08:32:07 -05:00
Glenn Randers-Pehrson
d3261115a8
[libpng15] Imported from libpng-1.5.5rc01.tar
2011-09-15 08:27:01 -05:00
Glenn Randers-Pehrson
673a1166fe
[libpng15] Updated ANNOUNCE and CHANGES with new CVE number.
2011-09-12 08:40:07 -05:00
Glenn Randers-Pehrson
853afe631c
[libpng15] Bump version to libpng-1.5.5beta09
2011-09-09 22:33:48 -05:00
Glenn Randers-Pehrson
fe85bafedf
[libpng15] Bump version to libpng-1.5.5beta08
2011-09-09 21:54:58 -05:00
John Bowler
751561218f
[libpng15] Constant changes for 64-bit compatibility (removal of L suffixes).
...
The 16-bit cases still use "L" as we don't have a 16-bit test system.
2011-09-09 17:21:44 -05:00
Glenn Randers-Pehrson
f0c19e6455
[libpng15] Fix typo in ANNOUNCE and CHANGES
2011-09-09 08:16:53 -05:00
Glenn Randers-Pehrson
ccff383d44
[libpng15] Relocated new HAVE_SOLARIS_LD definition in configure.ac
2011-09-09 07:55:25 -05:00
John Bowler
f3f7e14727
[libpng15] Fixed 64-bit compilation errors (gcc). The errors fixed relate
...
to conditions where types that are 32 bits in the GCC 32-bit
world (uLong and png_size_t) become 64 bits in the 64-bit
world. This produces potential truncation errors which the
compiler correctly flags.
2011-09-09 07:32:37 -05:00
Glenn Randers-Pehrson
3c2ae60f46
[libpng15] Bump version to libpng-1.5.5beta08
2011-09-09 06:10:21 -05:00
Glenn Randers-Pehrson
95ba417c82
[libpng15] Imported from libpng-1.5.5beta07.tar
2011-09-08 12:28:05 -05:00
Glenn Randers-Pehrson
b6e4d58e4b
[libpng15] Changed png_chunk_benign_error() to png_warning() in png.c, in
...
png_XYZ_from_xy_checked
2011-09-08 12:25:52 -05:00
Glenn Randers-Pehrson
ef43c17bfe
[devel] Changed "// ..." comments to "/* .. */" in the visupng project.
2011-09-03 09:53:07 -05:00
Glenn Randers-Pehrson
ad8b7b71b4
[devel] Add SunOS support to configure and Makefile.am
2011-09-01 19:38:08 -05:00
Glenn Randers-Pehrson
83bd94f1f4
[devel] Added SunOS support to configure.ac and Makefile.am
2011-09-01 14:06:49 -05:00
Glenn Randers-Pehrson
63071acbd9
[devel] Zapped "zap" (changed "zap" to "remove")
2011-08-29 16:16:26 -05:00
Glenn Randers-Pehrson
44271398bd
[devel] Revise makefile.darwin to support both i386 and 64-bit architecture
...
by default.
2011-08-29 12:26:24 -05:00
Glenn Randers-Pehrson
90cd362a87
[devel] Added some blank lines to projects/vstudio/zlib.props for clarity.
2011-08-29 10:12:00 -05:00
Glenn Randers-Pehrson
b293334e7a
[devel] Added "$(ARCH)" option to makefile.darwin
2011-08-29 07:22:13 -05:00
Glenn Randers-Pehrson
4ae297867d
[devel] Bump version to libpng-1.5.5beta07
2011-08-26 06:07:33 -05:00
Glenn Randers-Pehrson
ec3ff78f70
[devel] Imported from libpng-1.5.5beta06.tar
2011-08-26 05:58:36 -05:00
Glenn Randers-Pehrson
6d62ef108a
[devel] Spell "behavior" consistently.
2011-08-25 18:17:50 -05:00
Glenn Randers-Pehrson
b6874f8062
[devel] Use "gray" spelling consistently.
2011-08-25 18:11:32 -05:00
Glenn Randers-Pehrson
8b8aacde83
[devel] Use "color" spelling consistently.
2011-08-25 18:10:50 -05:00
John Bowler
bbd17bd7c4
[devel] Describe the new XYZ APIs in the manual.
2011-08-25 17:48:18 -05:00
John Bowler
b5cebba675
[devel] Updated symbols.def which was supposed to be part of previous patch.
2011-08-25 17:40:38 -05:00
John Bowler
736f40f459
[devel] Fixes to rgb_to_gray and cHRM XYZ APIs
2011-08-25 16:19:44 -05:00
Glenn Randers-Pehrson
0c03fc6f75
[devel] Expanded TAB characters in CMakeLists.txt
2011-08-17 09:46:29 -05:00
Glenn Randers-Pehrson
e61e403d20
[devel] Ensure the CMAKE_LIBRARY_OUTPUT_DIRECTORY is set in CMakeLists.txt
...
(Clifford Yap)
2011-08-17 09:02:07 -05:00
Glenn Randers-Pehrson
9d824eb166
[devel] Bump version to libpng-1.5.5beta06
2011-08-17 07:57:02 -05:00
Glenn Randers-Pehrson
75d5bfda5b
[devel] Imported from libpng-1.5.5beta05.tar
2011-08-17 07:47:04 -05:00
John Bowler
9b979b177b
[devel] Added new types and internal functions for CIE RGB end point handling
...
to pngpriv.h (functions yet to be implemented).
2011-08-16 22:58:33 -05:00
John Bowler
7b9796539d
[devel] Prevent unexpected API exports from non-libpng DLLs on Windows.
...
The "_DLL" is removed from the test of whether a DLL is being built.
2011-08-16 22:57:27 -05:00
Glenn Randers-Pehrson
0bc79772c8
[devel] Revised commentary about png_rgb_to_gray coefficents
...
and fixed spelling (truely -> truly) in comments.
2011-08-11 15:11:11 -05:00
Glenn Randers-Pehrson
a45ffbefb9
[devel] Bump version to libpng-1.5.5beta05
2011-07-29 12:41:45 -05:00
Glenn Randers-Pehrson
99ffac0838
[devel] Imported from libpng-1.5.5beta04.tar
2011-07-29 12:35:41 -05:00
Glenn Randers-Pehrson
6c98897a64
[devel] Updated commentary about the png_rgb_to_gray() default coefficients
2011-07-29 12:31:16 -05:00
Glenn Randers-Pehrson
b17c75b222
[devel] Revised CMakeLists.txt (Clifford Yapp)
2011-07-27 20:47:13 -05:00
Glenn Randers-Pehrson
d4e1ddb631
[devel] Fix typo in manual: "was" was "was was".
2011-07-27 20:09:57 -05:00
Glenn Randers-Pehrson
aab2aa196d
[devel] Bump version to libpng-1.5.5beta04
2011-07-27 12:41:23 -05:00
Glenn Randers-Pehrson
03d6b482b5
[devel] Imported from libpng-1.5.5beta03.tar
2011-07-27 12:41:15 -05:00
Glenn Randers-Pehrson
4dcce66295
[devel] Updated CHANGES to reshow addition of new compression API
...
in libpng-1.5.4 and to mention recent CVE reports.
2011-07-26 14:08:35 -05:00
Glenn Randers-Pehrson
7a28724e6b
[devel] Minor documentation editing.
2011-07-26 14:08:17 -05:00
John Bowler
a5bcab7854
[devel] Enabled compilation with g++ compiler. This compiler does not
...
recognize the file extension, so it always compiles with C++ rules. Made minor
changes to pngrutil.c to cast results where C++ expects it but C does not.
2011-07-14 23:02:11 -05:00
Glenn Randers-Pehrson
0a007b743e
[devel] Added recent CVE numbers at relevant places in the CHANGES file.
2011-07-14 09:47:26 -05:00
Glenn Randers-Pehrson
e9ef47f69e
[devel] Bump version to libpng-1.5.5beta03
2011-07-14 08:22:36 -05:00
Glenn Randers-Pehrson
0532aca928
[devel] Imported from libpng-1.5.5beta02.tar
2011-07-14 08:16:59 -05:00
John Bowler
5a77e672e1
[devel] Revised Makefile.am and Makefile.in to look in the right directory for
...
pnglibconf.h.prebuilt
2011-07-14 07:42:11 -05:00
Glenn Randers-Pehrson
c2891d0011
[devel] Reverted Makefile.am and Makefile.in to 1.5.4 status.
2011-07-13 21:13:36 -05:00
Glenn Randers-Pehrson
25e0f55586
[devel] Bump version to libpng-1.5.5beta02
2011-07-13 07:18:07 -05:00
Glenn Randers-Pehrson
ce775cc851
[devel] Imported from libpng-1.5.5beta01.tar
2011-07-13 07:00:25 -05:00
Glenn Randers-Pehrson
d0797f5b53
[devel] Revised manual paragraph about use of 'NO' macros.
2011-07-12 10:28:02 -05:00
Glenn Randers-Pehrson
a5e5547679
[devel] Minor editing of the manual.
2011-07-12 10:13:32 -05:00
Glenn Randers-Pehrson
4164c6f949
[devel] Reverted non-portable GNU syntax in makefile (?=, +=)
2011-07-12 06:11:42 -05:00
Glenn Randers-Pehrson
4b2237a6a4
[devel] Updated contrib/pngminus/makefile.std
2011-07-11 17:52:05 -05:00
Glenn Randers-Pehrson
cb47e20509
[devel] Reverted type of "my_background" to png_color_16 in the manual.
2011-07-10 06:55:14 -05:00
Glenn Randers-Pehrson
d3a0b23c1b
[devel] png_set_background does not take an info_ptr argument.
2011-07-09 19:51:16 -05:00
Glenn Randers-Pehrson
ab38979670
[devel] Fixed some typos in the manual.
2011-07-09 19:35:22 -05:00
Glenn Randers-Pehrson
628b632419
[devel] Bump version to libpng-1.5.5beta01
2011-07-08 13:22:11 -05:00
Glenn Randers-Pehrson
d404b6d488
[devel] Imported from libpng-1.5.4.tar
2011-07-07 06:26:30 -05:00
Glenn Randers-Pehrson
38404a5996
[devel] Relocated a single quote from the beginning of a line in the manual
...
It interfered with nroff processing.
2011-07-03 13:07:41 -05:00
Glenn Randers-Pehrson
05fc4ccd30
[devel] Added references to CVE-2011-2501 and -0408 to the CHANGES file.
2011-07-01 09:30:38 -05:00
Glenn Randers-Pehrson
78bb9dafe1
[devel] Imported from libpng-1.5.4rc01.tar
2011-06-30 19:04:47 -05:00
Glenn Randers-Pehrson
4fca25504e
[devel] Define PNG_ALLOCATED to "restrict" only if MSC_VER >= 1400.
2011-06-27 12:01:01 -05:00
Glenn Randers-Pehrson
9daf91ed5c
[devel] Imported from libpng-1.5.4beta08.tar
2011-06-22 23:15:30 -05:00
John Bowler
fcd7c13ffd
[devel] Fix pngvalid.c with ACCURATE_SCALE
...
and update scripts/pnglibconf.h.prebuilt
2011-06-22 23:13:01 -05:00
Glenn Randers-Pehrson
5bcd0a8c14
[devel] Imported from libpng-1.5.4beta07.tar
2011-06-19 07:10:26 -05:00
John Bowler
8d261262d9
[devel] Fixed pngvalid, simplified macros, added checking for 0 in sCAL.
2011-06-18 13:37:11 -05:00
Glenn Randers-Pehrson
c4a8214b77
[devel] Delete chop_16 synopses and add one for png_set_scale_16_to_8()
2011-06-18 00:44:08 -05:00
Glenn Randers-Pehrson
4e47be74e9
[devel] Bump version to libpng-1.5.4beta07
2011-06-18 00:30:16 -05:00
Glenn Randers-Pehrson
314ef3e72b
[devel] Imported from libpng-1.5.4beta06.tar
2011-06-18 00:27:49 -05:00
Glenn Randers-Pehrson
aee83b43d6
[devel] Fixed buffer bug (both the strip_16 and scale_16 transforms were
...
being applied.
2011-06-18 00:19:54 -05:00
Glenn Randers-Pehrson
9a1e2232ba
[devel] Fix pngvalid.c to compile when SCALE_16 is disabled.
2011-06-17 23:40:12 -05:00
Glenn Randers-Pehrson
6da2f2d92a
[devel] Fix more inconsistencies from the swap of 16_TO_8 APIs.
...
pngvalid still fails.
2011-06-17 23:07:16 -05:00
Glenn Randers-Pehrson
24145c8869
[devel] Still trying to fix row buffer problem but pngvalid still fails
2011-06-17 22:45:03 -05:00
Glenn Randers-Pehrson
e6a8060a71
[devel] Fixed some errors with 16_TO_8 macros
...
pngvalid still fails two tests, problem with row buffer.
2011-06-17 22:28:23 -05:00
Glenn Randers-Pehrson
98f053edbd
[devel] Fix new bugs in pngvalid.c; it failed to compile.
2011-06-17 21:57:49 -05:00
Glenn Randers-Pehrson
581d29d4c9
[devel] Removed redundant directives from pngminim/*/*dfa.
2011-06-17 21:44:10 -05:00
Glenn Randers-Pehrson
66b942ce16
[devel] Changed a dependence in scripts/pnglibconf.dfa
2011-06-17 21:17:16 -05:00
Glenn Randers-Pehrson
86cf9b2e89
[devel] Bump version to libpng-1.5.4beta06
2011-06-17 21:13:51 -05:00
Glenn Randers-Pehrson
fb29e51dbd
[devel] Imported from libpng-1.5.4beta05.tar
2011-06-17 20:42:19 -05:00
Glenn Randers-Pehrson
ab63dd0892
[devel] Renamed png_set_chop_16() to png_set_strip_16().
2011-06-17 20:41:19 -05:00
Glenn Randers-Pehrson
a7428d443c
[devel] Renamed png_set_strip_16() to png_set_scale_16().
2011-06-17 19:07:04 -05:00
Glenn Randers-Pehrson
857dbbe7cc
[devel] Revised example.c to demonstrate png_set_chop_16().
2011-06-16 09:39:40 -05:00
Glenn Randers-Pehrson
3fb7c07ea5
[devel] Bump version to libpng-1.5.4beta05
2011-06-16 09:32:36 -05:00
Glenn Randers-Pehrson
60d7c022e5
[devel] Imported from libpng-1.5.4beta04.tar
2011-06-16 09:10:57 -05:00
Glenn Randers-Pehrson
850769f787
[devel] Revised contrib/visupng, gregbook, and pngminim
...
to demonstrate chop_16_to_8
2011-06-16 09:08:53 -05:00
Glenn Randers-Pehrson
5f0b9276ec
[devel] Made PNG_READ_16_TO_8_ACCURATE_SCALE configurable again.
...
If this is not enabled, png_set_strip_16() and png_do_scale_16_to_8()
aren't built.
2011-06-16 09:05:40 -05:00
Glenn Randers-Pehrson
733b131545
[devel] Added information about "chop_16" to the manual.
2011-06-15 13:21:01 -05:00
Glenn Randers-Pehrson
ef217b76a3
[devel] Updated comments that mention 1.5.3; changed them to 1.5.4.
2011-06-15 12:58:27 -05:00
Glenn Randers-Pehrson
b0791f75ad
[devel] Added PNG_TRANSFORM_CHOP_16 to the high-level read transforms.
2011-06-15 12:07:20 -05:00
Glenn Randers-Pehrson
039ad872fe
[devel] Bump version to libpng-1.5.4beta04
2011-06-15 11:51:55 -05:00
Glenn Randers-Pehrson
903c64dce8
[devel] Added "#ifdef PNG_READ_BACKGROUND_SUPPORTED/#endif" in pngrtran.c
2011-06-15 11:50:23 -05:00
Glenn Randers-Pehrson
8f4edd07be
[devel] Imported from libpng-1.5.4beta03.tar
2011-06-15 08:21:56 -05:00
Glenn Randers-Pehrson
be720edba7
[devel] Correction to the expand_16 code; removed extra instance of
...
png_set_scale_16_to_8 from pngpriv.h
2011-06-15 08:20:37 -05:00
Glenn Randers-Pehrson
140504b11a
[devel] Add synopsis for png_set_chop_16() to manual
...
and fix some other small typos.
2011-06-15 08:10:13 -05:00
John Bowler
cd3b0cc4d9
[devel] Fixed a problem in png_do_expand_palette() exposed by optimization in
...
1.5.3beta06
Also removed a spurious (totally unused and confusing) member from png_info.
The palette expand optimization prevented expansion to an intermediate RGBA
form if tRNS was present but alpha was marked to be stripped; this exposed
a check for tRNS in png_do_expand_palette() which is inconsistent with the
code elsewhere in libpng.
2011-06-14 23:01:07 -05:00
Glenn Randers-Pehrson
06a9684cfa
[devel] Bump version to libpng-1.5.4beta03
2011-06-14 11:06:42 -05:00
Glenn Randers-Pehrson
45599ad00f
[devel] Imported from libpng-1.5.4beta02.tar
2011-06-14 07:17:29 -05:00
Glenn Randers-Pehrson
677819fe66
[devel] Check for READ_CHOP_16_TO_8 support in pngvalid,
...
not libpng version for presence of png_set_chop_16_to_8(), in pngvalid.c
2011-06-14 07:10:47 -05:00
Glenn Randers-Pehrson
2232baa41b
[devel] Made png_set_chop_16() API removeable
...
by disabling PNG_CHOP_16_TO_8_SUPPORTED
2011-06-14 06:59:46 -05:00
Glenn Randers-Pehrson
7dffa41643
[devel] Use the old scaling method for background if png_set_chop_16() was
...
called.
2011-06-14 06:30:12 -05:00
John Bowler
550bab03fb
[devel] Removed the ACCURATE and LEGACY options (they are no longer useable)
...
Fixed some compiliation problems with scaling options.
2011-06-14 06:17:26 -05:00
Glenn Randers-Pehrson
413138a5ca
[devel] Added png_set_chop_16() API.
2011-06-13 22:07:37 -05:00
John Bowler
74945f2f04
[devel] Fix and clarify LEGACY 16-to-8 scaling.
2011-06-13 20:50:42 -05:00
Glenn Randers-Pehrson
97039baa88
[devel] Imported from libpng-1.5.4beta01.tar
2011-06-13 20:09:22 -05:00
Glenn Randers-Pehrson
fd73d04515
[devel] Moved definitions of PNG_HAVE_IHDR, PNG_AFTER_IDAT, and PNG_HAVE_PLTE
...
outside of an unknown-chunk block in png.h because they are also
needed for other uses.
2011-06-13 13:25:21 -05:00
Glenn Randers-Pehrson
141d9e3c20
[devel] Made it possible to undefine PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
...
to get the same (inaccurate) output as libpng-1.5.2 and earlier.
2011-06-13 11:47:00 -05:00
Glenn Randers-Pehrson
0cb906d804
[devel] Imported from libpng-1.5.3beta11.tar
2011-06-11 14:23:33 -05:00
Glenn Randers-Pehrson
b704036531
[devel] Allow png_set_user_limits() to increase limits as well as reduce them.
2011-06-11 14:20:22 -05:00
John Bowler
6f55ee2ec5
[devel] Added log option to pngvalid.c and attempted to improve gamma messages.
2011-06-11 07:28:06 -05:00
John Bowler
6a1dc2329a
[devel] Removed string/memory macros that are no longer used
...
and are not necessarily fully supportable, particularly png_strncpy and
png_snprintf.
2011-06-11 06:58:46 -05:00
John Bowler
59a6c379dd
[devel] Revised pngvalid.c to test PNG_ALPHA_MODE_SUPPORTED correctly.
...
This allows pngvalid to build when ALPHA_MODE is not supported, which is
required if it is to build on libpng 1.4.
2011-06-11 06:51:06 -05:00
John Bowler
d2f0bc2d13
[devel] Improved gamma range checks and other things OpenWatcom warns about.
2011-06-11 06:42:06 -05:00
John Bowler
b011fe1c12
[devel] Remove testing cruft from projects/owatcom.
2011-06-11 06:36:51 -05:00
John Bowler
0eadc27cd6
[devel] Added projects/owatcom, an IDE project for OpenWatcom to replace
...
scripts/makefile.watcom. This project works with OpenWatcom 1.9. The
IDE autogenerates appropriate makefiles (libpng.mk) for batch processing.
The project is configurable, unlike the Visual Studio project, so long
as the developer has an awk.
2011-06-11 06:31:28 -05:00
Glenn Randers-Pehrson
700c55036c
[devel] Added "_SUPPORTED" to the PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION macro.
2011-06-10 23:26:03 -05:00
John Bowler
b2bee3374c
[devel] Make the 16-to-8 scaling accurate. Dividing by 256 with no rounding is
...
wrong (high by one) 25% of the time. Dividing by 257 with rounding is
wrong in 128 out of 65536 cases. Getting the right answer all the time
without division is easy.
2011-06-10 23:24:58 -05:00
Glenn Randers-Pehrson
cc2770850a
[devel] Revised documentation about png_set_user_limits() to say that it can
...
only be used to reduce the defined limit, and that it also affects
png writing.
2011-06-10 21:17:34 -05:00
Glenn Randers-Pehrson
fb27873021
[devel] Bump version to libpng-1.5.3beta11
2011-06-10 20:46:53 -05:00
Glenn Randers-Pehrson
590fb8c481
[devel] Removed #ifdef in png.c that caused sCAL handler to leak memory.
2011-06-10 20:25:49 -05:00
John Bowler
4e8d7ec5fc
[devel] Added sCAL chunk to pngtest.png
2011-06-10 17:47:09 -05:00
Glenn Randers-Pehrson
254a513fd1
[devel] Fixed png_handle_sCAL which is broken in 1.5
2011-06-10 17:45:48 -05:00
Glenn Randers-Pehrson
ab1a573768
[devel] Imported from libpng-1.5.3rc03.tar
2011-06-07 19:56:51 -05:00
Glenn Randers-Pehrson
38a9d2763c
[devel] Imported from libpng-1.5.3rc02.tar
2011-06-07 14:36:45 -05:00
Glenn Randers-Pehrson
07e1d34a84
[devel] Fixed 1-byte uninitialized memory reference in png_format_buffer()
...
(Bug report by Frank Busse, related to CVE-2004-0421).
2011-06-07 14:35:30 -05:00
Glenn Randers-Pehrson
36edbb5eee
[devel] Imported from libpng-1.5.3rc01.tar
2011-06-03 07:18:14 -05:00
Glenn Randers-Pehrson
3fceee058f
[devel] Fix typo in pngwutil.c comment.
2011-05-23 06:31:33 -05:00
Glenn Randers-Pehrson
0640cc3d3a
[devel] Bump to version libpng-1.5.3beta11
2011-05-20 09:31:08 -05:00
Glenn Randers-Pehrson
3f68453d4a
[devel] Imported from libpng-1.5.3beta10.tar
2011-05-20 09:30:08 -05:00
Glenn Randers-Pehrson
0a048923ae
[devel] Update CHANGES and ANNOUNCE
2011-05-18 21:44:37 -05:00
John Bowler
5441e18988
[devel] Add tests for expand16, more fixes for palette image tests
...
Changes only pngvalid and test-pngvalid-full.sh - no libpng changes -
corrects the code for palette image tests, disables attempts to validate
palette colors.
2011-05-18 18:57:12 -05:00
John Bowler
db0ed3e62d
[devel] png_set_background+png_expand_16 did not interwork correctly.
...
This problem is present in 1.5.2; if png_set_background is called with
need_expand false and the matching 16 bit color libpng erroneously just treats
it as an 8-bit color because of where png_do_expand_16 is in the transform
list. This simple fix reduces the supplied colour to 8 bits, so it gets
smashed, but this is better than the current behavior.
2011-05-18 18:51:24 -05:00
Glenn Randers-Pehrson
8a7ec52c8b
[devel] Consistently use "n-bit", not "n bit" in png.c
2011-05-17 07:14:30 -05:00
Glenn Randers-Pehrson
66e1b3abba
[devel] Bump to version libpng-1.5.3beta10
2011-05-17 07:03:21 -05:00
Glenn Randers-Pehrson
cd116fa248
[devel] Fix spelling of "conversion" in manual.
2011-05-17 06:56:50 -05:00
Glenn Randers-Pehrson
c261077788
[devel] Consistently use "n-bit", not "n bit" in CHANGES and ANNOUNCE.
2011-05-17 06:52:54 -05:00
Glenn Randers-Pehrson
55fbff358a
[devel] Consistently use "n-bit", not "n bit" in comments.
2011-05-17 06:49:32 -05:00
John Bowler
1921e6db90
[devel] Reversed earlier change of transformation order; move
...
png_expand_16 back where it was before libpng-1.5.3beta07.
The change doesn't work because it requires 16 bit gamma tables when the code
only generates 8 bit ones. This fails silently; the libpng code just doesn't
do any gamma correction. Moving the tests back leaves the old, inaccurate, 8
bit gamma calculations, but these are clearly better than none!
2011-05-16 20:57:54 -05:00
Glenn Randers-Pehrson
bb4f77cd95
[devel] Bump to version libpng-1.5.3beta09
2011-05-16 20:42:11 -05:00
Glenn Randers-Pehrson
5ca62c9f35
[devel] Bump to version libpng-1.5.3rc01
2011-05-16 09:14:42 -05:00
Glenn Randers-Pehrson
1591a4c9dc
[devel] Imported from libpng-1.5.3beta08.tar
2011-05-16 09:10:37 -05:00
Glenn Randers-Pehrson
c36074e85a
[devel] Removed reference to non-existent png_set_rgb_to_Y from the manual.
2011-05-16 09:08:51 -05:00
Glenn Randers-Pehrson
73904f52b4
[devel] Minor revisions to comments on pngstruct.h and pngvalid.c
2011-05-15 19:38:06 -05:00
Glenn Randers-Pehrson
0e128dfa2f
[devel] Update CHANGES and ANNOUNCE; fix some new typos in comments.
2011-05-15 19:09:24 -05:00
John Bowler
9994f25733
[devel] pngvalid: add memory overwrite and palette image checks
...
also minor cleanup in the libpng code itself (pngrtran.c and pngrutil.c) and some
extra checking there.
2011-05-15 18:52:39 -05:00
Glenn Randers-Pehrson
593fc04096
[devel] Fix typos and indentation in new material in the documentation.
2011-05-12 22:18:23 -05:00
John Bowler
cb0b29631f
[devel] Documented png_set_alpha_mode(), other changes in libpng.3 and
...
libpng-manual.txt.
The cHRM chunk now sets the defaults for png_set_rgb_to_gray() (when negative
parameters are supplied by the caller), while in the absence of cHRM
sRGB/Rec 709 values are still used.
The bKGD chunk no longer overwrites the background value set by
png_set_background(), allowing the latter to be used before the file
header is read. It never performed any useful function to override
the default anyway.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit
2011-05-12 21:48:29 -05:00
John Bowler
ed4d32baa4
[devel] Improve "pngvalid --speed" to exclude more of pngvalid from the time.
2011-05-11 23:02:28 -05:00
Glenn Randers-Pehrson
d83530f45d
[devel] Bump to version libpng-1.5.3beta08
2011-05-11 14:39:11 -05:00
Glenn Randers-Pehrson
cb3f42123f
[devel] Imported from libpng-1.5.3beta07.tar
2011-05-11 14:36:14 -05:00
Glenn Randers-Pehrson
36fa2a0abd
[devel] Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
...
before IDAT.
2011-05-11 06:52:37 -05:00
Glenn Randers-Pehrson
2d3fc1ca3b
[devel] Moved macro definitions for PNG_HAVE_IHDR, PNG_HAVE_PLTE, and
...
PNG_AFTER_IDAT from pngpriv.h to png.h because they must be visible to
applications that call png_set_unknown_chunks().
2011-05-10 23:48:00 -05:00
John Bowler
f70c7d02e9
[devel] Added named value and 'flag' gamma support to png_set_gamma. Made a
...
minor change from the previous (unreleased) ABI/API to hide the exact value
used for Macs - it's not a good idea to embed this in the ABI!
2011-05-10 22:54:37 -05:00
Glenn Randers-Pehrson
d768d103cf
[devel] Minor revision of commentary about png_set_alpha_mode().
2011-05-08 23:26:19 -05:00
Glenn Randers-Pehrson
44e26d4149
[devel] Revised commentary about png_set_alpha_mode() to make it clearer
...
that this only affects how composited pixels are returned to the calling
application; they don't affect the pixels that are written to a PNG file.
2011-05-08 22:56:42 -05:00
John Bowler
96cec0e1a3
[devel] Added expand_16 suppport to the high level interface.
2011-05-08 22:48:12 -05:00
John Bowler
a9b34191ae
[devel] Added expand_16 suppport to the high level interface.
2011-05-08 19:46:51 -05:00
Glenn Randers-Pehrson
e9eeb743cb
[devel] Reverted recent change of errors to warnings.
2011-05-08 19:39:17 -05:00
Glenn Randers-Pehrson
8ba34667a1
[devel] Changed some errors to warnings, added missing "png_ptr" arg in
...
some currently dead code in pngrtran.c that will be enabled in libpng-1.6
2011-05-08 06:02:18 -05:00
Glenn Randers-Pehrson
87952f0623
[devel] Fix spelling of "implemented" in CHANGES and ANNOUNCE
2011-05-07 22:36:47 -05:00
Glenn Randers-Pehrson
d12c02f020
[devel] Bump to version libpng-1.5.3beta07
2011-05-07 22:07:33 -05:00
Glenn Randers-Pehrson
f3d737dad1
[devel] Imported from libpng-1.5.3beta06.tar
2011-05-07 22:04:26 -05:00
Glenn Randers-Pehrson
492ef9c964
[devel] Apply new PNG_WARNING_PARAMETERS macro in pngwutil.c
2011-05-07 21:42:25 -05:00
Glenn Randers-Pehrson
c7822514cc
[devel] Fix typos in comments, add new API synopses to libpng.3
2011-05-07 21:23:43 -05:00
John Bowler
d273ad2d0f
[devel] Implementation of premultiplied alpha support: png_set_alpha_mode
...
(libpng-manual.txt still to be updated, see png.h for documentation.)
2011-05-07 21:00:28 -05:00
Glenn Randers-Pehrson
af855e415d
[devel] Remove some trailing blanks.
2011-05-07 10:54:28 -05:00
Glenn Randers-Pehrson
6ee0edf880
[devel] Removed the -D_ALL_SOURCE from definitions for AIX in CMakeLists.txt
2011-05-05 22:13:18 -05:00
Glenn Randers-Pehrson
00015a81dd
[devel] Bump to version libpng-1.5.3beta06
2011-05-05 21:11:56 -05:00
Glenn Randers-Pehrson
e1018a5bbb
[devel] Imported from libpng-1.5.3beta05.tar
2011-05-05 21:06:51 -05:00
John Bowler
c5bef946b1
[devel] IDAT compression failed if preceded by a compressed text chunk
...
This was because the attempt to reset the zlib stream in png_write_IDAT
happened after the first IDAT chunk had been deflated - much too late.
In this change internal functions are added to claim/release the z_stream
and, hopefully, make the code more robust. Also deflateEnd checking is
added - previously libpng would ignore an error at the end of the stream.
2011-05-05 17:35:39 -05:00
Glenn Randers-Pehrson
c559bb58ed
[devel] Added PNG_WRITE_OPTIMIZE_CMF_SUPPORTED macro to make zlib "CMF"
...
optimization configureable.
2011-05-05 16:55:20 -05:00
Glenn Randers-Pehrson
4753906826
[devel] Update "last changed" dates and added CHANGES entry.
2011-05-05 07:32:30 -05:00
John Bowler
88b77cc6f3
[devel] Remove png_snprintf, add formatted warning messages.
...
This change adds internal APIs to allow png_warning messages to have parameters
without requiring the host OS to implelment snprintf. As a side effect the
dependency of the RFC1132 code on stdio is removed and PNG_NO_WARNINGS does
actually work now.
2011-05-05 06:49:55 -05:00
Glenn Randers-Pehrson
b3b7168077
[devel] Added appropriate feature test macros (_POSIX_SOURCE, _ISOC99_SOURCE)
...
to ensure libpng sees the correct API.
2011-05-03 22:30:19 -05:00
Glenn Randers-Pehrson
1384c048e4
[devel] Added comments in png.h about relocation of the png_struct
...
and png_info definitions.
2011-04-28 23:22:18 -05:00
Glenn Randers-Pehrson
24fde6e00f
[devel] Bump to version libpng-1.5.3beta05
2011-04-28 23:20:24 -05:00
Glenn Randers-Pehrson
33ced44f9e
[devel] Bump to version libpng-1.5.3beta04
2011-04-27 15:38:15 -05:00
John Bowler
e6dc85bb0b
[devel] Changed png_struct jmp_buf member name to avoid clash with macro
2011-04-27 14:47:15 -05:00
Glenn Randers-Pehrson
20786be695
[devel] Added more about creating and destroying the optional "end_info"
...
structure in the libpng documentation.
2011-04-20 22:20:40 -05:00
Glenn Randers-Pehrson
99778e17af
[devel] Mention the reason to call png_read_end() in the libpng documentation.
2011-04-20 17:43:52 -05:00
Glenn Randers-Pehrson
cf78aee1c4
[devel] Removed an obsolete statement from libpngpf.3
2011-04-17 19:26:56 -05:00
Glenn Randers-Pehrson
6cd31bbfce
[devel] Give credit for recent bug report to Andrew Church.
2011-04-17 19:02:00 -05:00
Glenn Randers-Pehrson
4bc9f8472c
[devel] Updated CHANGES, ANNOUNCE, and pngtest.png to reflect recent changes.
2011-04-17 18:58:38 -05:00
John Bowler
4a12f4a22a
[devel] Cleanup of conditional compilation code and of background/gamma
...
handling. Internal changes only except for a new option to avoid compiling
in the png_build_grayscale_palette API (which is not used at all internally.)
The main change is to move the transform tests (READ_TRANSFORMS,
WRITE_TRANSFORMS) up one level to the caller of the APIs.
2011-04-17 18:34:22 -05:00
Glenn Randers-Pehrson
a1f9426399
[devel] Bump to version libpng-1.5.3beta04
2011-04-16 21:48:23 -05:00
Glenn Randers-Pehrson
9f1cd70774
[devel] Imported from libpng-1.5.3beta03.tar
2011-04-16 21:39:11 -05:00
Glenn Randers-Pehrson
d2795b7909
[devel] Revised a comment about png_do_strip_channel().
2011-04-16 19:41:23 -05:00
Glenn Randers-Pehrson
b75b24103d
[devel] Added some whitespace in comments.
2011-04-16 19:35:05 -05:00
Glenn Randers-Pehrson
cb1aee2506
[devel] Fixed bug with stripping the filler or alpha channel when writing,
...
that was introduced in libpng-1.5.2beta01.
2011-04-16 19:27:34 -05:00
John Bowler
8d4ce1fed5
[devel] Fixed 64-bit builds where png_uint_32 is smaller than png_size_t
2011-04-15 06:54:30 -05:00
John Bowler
7abc130a81
[devel] Updated the vstudio project to zlib-1.2.5
2011-04-15 06:39:30 -05:00
John Bowler
5adc5a2ff8
[devel] Removed the now-unused PNG_DEPSTRUCT macro
2011-04-15 06:38:29 -05:00
John Bowler
b302c4721a
[devel] Removed the PNG_PTR_NORETURN attribute
2011-04-15 06:37:34 -05:00
John Bowler
537c146082
[devel] Fixed gcc -ansi -pedantic compile, using __STRICT_ANSI__
2011-04-15 06:36:21 -05:00
Glenn Randers-Pehrson
b6743ea08e
[devel] Updated zlib.props to zlib-1.2.5
2011-04-04 15:40:59 -05:00
Glenn Randers-Pehrson
61365b6d15
[devel] Removed "#if 1" and the matching "#endif"
2011-04-03 19:49:37 -05:00
Glenn Randers-Pehrson
1b491cbda0
[devel] Bump to version libpng-1.5.3beta03
2011-04-03 06:51:53 -05:00
Glenn Randers-Pehrson
8abcf141fa
[devel] Imported from libpng-1.5.3beta02.tar
2011-04-03 06:36:34 -05:00
Glenn Randers-Pehrson
b8e314072f
[devel] Replaced pngtest.png with one that has the zTXt CMF optimized.
2011-04-02 08:28:31 -05:00
Glenn Randers-Pehrson
6785856858
[devel] Optimize the zlib CMF byte in non-IDAT compressed chunks
2011-04-02 08:26:42 -05:00
Glenn Randers-Pehrson
e99107b1aa
[devel] Moved misplaced declarations
2011-04-02 05:49:03 -05:00
Glenn Randers-Pehrson
f30f0e04e3
[devel] Fixed typo in scripts/symbols.def
...
(compression_level -> compression_method)
2011-04-01 22:17:55 -05:00
Glenn Randers-Pehrson
c3b3240a03
[devel] Improved the optimization of the zlib CMF byte
...
(see libpng-1.2.6beta03).
2011-04-01 22:10:41 -05:00
Glenn Randers-Pehrson
65a24d0638
[devel] Add comment in pngtest.c about setting zlib strategy for text
...
compression
2011-04-01 20:41:53 -05:00
Glenn Randers-Pehrson
a45f47c225
[devel] Updated documentation on setting non-IDAT zlib compression parameters
2011-04-01 15:31:26 -05:00
Glenn Randers-Pehrson
c683100e31
[devel] zlib text compression parameters fall back on non-IDAT parameters
...
except for strategy which defaults to the zlib default.
2011-04-01 15:24:18 -05:00
Glenn Randers-Pehrson
ec8296ab81
[devel] Relocated some comment lines in pngwutil.c
2011-04-01 15:09:05 -05:00
Glenn Randers-Pehrson
bdb0130aea
[devel] Remove "sPLT" from list of chunks that require compressed text
2011-04-01 14:55:01 -05:00
Glenn Randers-Pehrson
5975f31ff0
[devel] Added PNG_READ_COMPRESSED_TEXT_SUPPORTED macro.
2011-04-01 13:15:36 -05:00
Glenn Randers-Pehrson
205483d592
[devel] Added PNG_WRITE_COMPRESSED_TEXT_SUPPORTED macro.
2011-04-01 12:33:42 -05:00
Glenn Randers-Pehrson
3bb8683a79
[devel] Only compile the new zlib re-initializing code when text or iCCP
...
is supported.
2011-04-01 08:12:24 -05:00
Glenn Randers-Pehrson
bef60dc624
[devel] Updated scripts/symbols.def with new API functions.
2011-04-01 00:28:59 -05:00
Glenn Randers-Pehrson
8eb8833b74
[devel] Updated manual about the new API additions
2011-04-01 00:16:50 -05:00
Glenn Randers-Pehrson
b0525f83e1
[devel] Bump to version libpng-1.5.3beta02
2011-03-31 23:50:46 -05:00
Glenn Randers-Pehrson
ee1369b853
[devel] Imported from libpng-1.5.3beta01.tar
2011-03-31 23:50:36 -05:00
Glenn Randers-Pehrson
ea0c7b699e
[devel] Update LAST_ORDINAL to 226 in png.h, to account for new API.
2011-03-31 23:25:29 -05:00
Glenn Randers-Pehrson
f83783115f
[devel] Use a mode bit to avoid reopening the zstream except when necessary.
2011-03-31 22:06:04 -05:00
Glenn Randers-Pehrson
ed8aab4d85
[devel] Free zstream memory with deflateEnd before reinitializing it.
2011-03-31 21:33:39 -05:00
Glenn Randers-Pehrson
6bdea98992
[devel] Revised pngtest.c to set the zlib strategy, and restored pngtest.png
2011-03-31 21:14:55 -05:00
Glenn Randers-Pehrson
4a392c74cf
[devel] Replace pngtest.png with one compressed with libpng-1.5.3beta01.
...
The zTXt chunk is 4 bytes larger than before.
2011-03-31 20:56:05 -05:00
Glenn Randers-Pehrson
1ecd786d95
[devel] Enable API for setting zlib non-IDAT parameters.
2011-03-31 20:53:47 -05:00
Glenn Randers-Pehrson
1345cbeea8
[devel] Update change comments (1.5.2 -> 1.5.3)
2011-03-31 20:33:04 -05:00
Glenn Randers-Pehrson
ab23d34dd9
[devel] Update change date
2011-03-31 20:19:28 -05:00
Glenn Randers-Pehrson
907333884f
[devel] Bump to version libpng-1.5.3beta01
2011-03-31 20:16:03 -05:00
Glenn Randers-Pehrson
6b3d50b2cd
[devel] Re-initialize the zlib compressor before compressing non-IDAT chunks.
2011-03-31 20:14:29 -05:00
Glenn Randers-Pehrson
dcc3505c7b
[devel] Imported from libpng-1.5.2.tar
2011-03-31 11:29:05 -05:00
Glenn Randers-Pehrson
0d00d83ef0
[devel] Removed unused "6" and "8" from the key to the transformation matrix
2011-03-30 17:18:32 -05:00
Glenn Randers-Pehrson
47dc5f7b54
[devel] Fix spelling in a comment.
2011-03-30 09:59:02 -05:00
Glenn Randers-Pehrson
f2598a8b60
[devel] Imported from libpng-1.5.2rc03.tar
2011-03-24 23:08:31 -05:00
Glenn Randers-Pehrson
80de04e560
[devel] Don't include standard header files in png.h while building the symbol
...
table, to avoid cpp failure on SunOS (introduced PNG_BUILDING_SYMBOL_TABLE
macro).
2011-03-24 23:06:26 -05:00
Glenn Randers-Pehrson
77fd083041
[devel] Bump to version libpng-1.5.2rc03
2011-03-24 09:01:33 -05:00
Glenn Randers-Pehrson
22b9a84314
[devel] Imported from libpng-1.5.2rc02.tar
2011-03-22 06:32:08 -05:00
Glenn Randers-Pehrson
f27592a0cd
[devel] Fixed a long-standing bug in png_handle_sPLT() when
...
PNG_NO_POINTER_INDEXING is defined.
2011-03-21 18:05:40 -05:00
Glenn Randers-Pehrson
3f2339b551
[devel] removed "strip" from contrib/pngminim/*/makefile
2011-03-19 22:32:38 -05:00
Glenn Randers-Pehrson
eceff8b3c3
[devel] Added a hint to try CPP=/bin/cpp if "cpp -E" fails in
...
scripts/pnglibconf.mak and in contrib/pngminim/*/makefile and to try
"STRIP=touch" if strip is missing, eg., on SunOS 5.10
2011-03-19 14:49:03 -05:00
Glenn Randers-Pehrson
f3dd1cc51e
[devel] Imported from libpng-1.5.2rc01.tar
2011-03-18 22:03:48 -05:00
Glenn Randers-Pehrson
d32a671dff
[devel] Define remaining attributes to blank when MSC_VER<1300.
2011-03-06 16:49:10 -06:00
Glenn Randers-Pehrson
ffc9e9503d
[devel] Bump to version libpng-1.5.2beta04
2011-03-03 06:41:16 -06:00
Glenn Randers-Pehrson
38734eeb45
[devel] Imported from libpng-1.5.2beta03.tar
2011-03-03 06:37:45 -06:00
Glenn Randers-Pehrson
41b1ffdf36
[devel] Make PNG_ALLOCATED blank when _MSC_VER<1300 in pngconf.h
2011-03-03 06:24:32 -06:00
Glenn Randers-Pehrson
eb7d7955e5
Updated contrib/pngsuite/README to add the word "modify".
2011-02-27 21:19:23 -06:00
Glenn Randers-Pehrson
4411742328
[devel] Fixed scripts/makefile.vcwin32
2011-02-20 06:17:22 -06:00
Glenn Randers-Pehrson
7c969f347f
[devel] Bump to version libpng-1.5.2beta03
2011-02-19 15:59:14 -06:00
Glenn Randers-Pehrson
d08b6bdbf7
[devel] Imported from libpng-1.5.2beta02.tar
2011-02-19 15:51:57 -06:00
Glenn Randers-Pehrson
0b5b4b456c
[devel] Updated ANNOUNCE and CHANGES.
2011-02-16 06:41:18 -06:00
Glenn Randers-Pehrson
1faed9c234
[devel] Removed extra png_set_expand_16 from libpng.3 synopses
2011-02-16 06:40:16 -06:00
John Bowler
59010e53f4
[devel] Fix the read/write row callback documentation.
2011-02-16 06:16:31 -06:00
John Bowler
cd11345693
[devel] Correct png_get_current_row_number documentation
2011-02-16 06:15:13 -06:00
John Bowler
9616ad9828
[devel] Revert png_get_current_row_number() to previous (1.5.2beta01) behavior.
2011-02-16 06:13:46 -06:00
John Bowler
8ea598b1d1
[devel]
2011-02-16 06:09:57 -06:00
Glenn Randers-Pehrson
93215674db
[devel] Fixed mistake in the descriptions of user read_transform and
...
write_transform function prototypes in the manual.
The row_info struct should be of type png_row_infop.
2011-02-13 19:42:19 -06:00
Glenn Randers-Pehrson
67703b11fe
[devel] Imported from libpng-1.5.2beta01.tar
2011-02-13 07:02:55 -06:00
Glenn Randers-Pehrson
a3791aabaa
[devel] Updated CHANGES and ANNOUNCE
2011-02-13 06:59:37 -06:00
Glenn Randers-Pehrson
cad6798a8c
[devel] Imported from libpng-1.5.2beta01.tar
2011-02-13 06:13:39 -06:00
Glenn Randers-Pehrson
c85f5f6db0
[master] Add synopsis for png_set_16() to the manual.
2011-02-13 05:56:07 -06:00
Glenn Randers-Pehrson
c36bb79352
[devel] Trim trailing blanks from sources and manual
2011-02-12 09:49:07 -06:00
John Bowler
63d059ab0b
[devel] Document png_set_expand_16, correct transformation table.
2011-02-12 09:03:44 -06:00
John Bowler
3aa94d69fb
[devel] Sort scripts/pnglibconf.h.prebuilt, plus better comment
2011-02-12 09:02:29 -06:00
John Bowler
4d56296443
[devel] Implement expansion to 16 bits
2011-02-12 09:01:20 -06:00
John Bowler
9b872f4cf9
[devel] Clean up ALPHA flags and transformations
2011-02-12 09:00:16 -06:00
John Bowler
5432c01ffd
[devel] Fix png_get_current_row_number in the interlaced case.
2011-02-12 08:59:17 -06:00
John Bowler
9c69360e97
[devel] Fix gcc -pendantic warnings, handle Cygwin longjmp fix png_read_png
2011-02-12 08:58:21 -06:00
John Bowler
6a6d79fc00
[devel] turn on interlace handling in png_read_png
2011-02-12 08:56:40 -06:00
Glenn Randers-Pehrson
c83d421d9e
Revert "[devel] Changed empty parameter to PNG_BLANK in PNG_EXPORTA definition to"
...
This reverts commit 2438825d77 .
2011-02-12 08:54:42 -06:00
Glenn Randers-Pehrson
2438825d77
[devel] Changed empty parameter to PNG_BLANK in PNG_EXPORTA definition to
...
accommodate the old VisualC++ preprocessor.
Defined PNG_ALLOCATED to empty for MSC_VER < 1300.
2011-02-12 07:49:28 -06:00
Glenn Randers-Pehrson
a257f80d95
[devel] Reverted the "__clang__" special case in pngconf.h
2011-02-06 06:20:51 -06:00
Glenn Randers-Pehrson
973c493e1b
[devel] Add __clang__ special case in pngconf.h
2011-02-04 18:51:00 -06:00
Glenn Randers-Pehrson
58bd925acc
[devel] Add CHANGES entry about shadow warnings fix
2011-02-03 21:54:53 -06:00
Glenn Randers-Pehrson
8625b394b5
[devel] Changed some names of formal parameters to avoid Shadow warnings
2011-02-03 21:43:38 -06:00
Glenn Randers-Pehrson
47a007a945
--amend [devel] Imported from libpng-1.5.2beta01.tar
2011-02-03 21:31:34 -06:00
Glenn Randers-Pehrson
3d3aae1697
--amend [devel] Imported from libpng-1.5.1.tar
2011-02-02 23:00:03 -06:00
Glenn Randers-Pehrson
2506e53400
--amend [devel] Imported from libpng-1.5.1rc02.tar
2011-01-31 10:26:55 -06:00
Glenn Randers-Pehrson
25d2d47f86
[devel] updated the commentary in pngpriv.h about PNG_UNUSED().
2011-01-31 10:25:10 -06:00
Glenn Randers-Pehrson
4c0eaee5c6
[devel] Changed PNG_UNUSED to "(void)param;"
2011-01-30 11:55:35 -06:00
Glenn Randers-Pehrson
cbbe9a5c01
[devel] Added a request in the manual that applications do not use "png_" or
...
"PNG_" to begin any of their own symbols.
2011-01-29 16:12:11 -06:00
Glenn Randers-Pehrson
7ccc2daf09
--amend [devel] Imported from libpng-1.5.1rc01.tar.gz
2011-01-28 23:12:23 -06:00
Glenn Randers-Pehrson
ef123cc005
[devel] Imported from libpng-1.5.1beta11.tar
2011-01-28 15:30:05 -06:00
Glenn Randers-Pehrson
254670338e
[devel] Imported from libpng-1.5.1beta11.tar
2011-01-28 15:16:05 -06:00
Glenn Randers-Pehrson
bf3293a3cb
[devel] Fixed comments around PNG_UNUSED macro definition in pngpriv.h
2011-01-28 15:14:43 -06:00
Glenn Randers-Pehrson
4e7c47fb73
[devel] Updated CHANGES and ANNOUNCE.
2011-01-28 07:05:53 -06:00
John Bowler
afea7d19e0
[devel] Add-transform-tests-to-pngvalid-simplify-arguments
2011-01-28 06:38:14 -06:00
John Bowler
fca50dfab3
[devel] Correct-local-variable-type-in-new-API-png_process
2011-01-28 06:34:02 -06:00
Glenn Randers-Pehrson
4e2e14addf
[devel] Changed PNG_UNUSED from "param=param;" to "{if(param){}}".
2011-01-27 13:23:08 -06:00
Glenn Randers-Pehrson
0e15da5b94
[devel] Simplified the PNG_UNUSED macro.
2011-01-27 12:45:56 -06:00
Glenn Randers-Pehrson
2774238722
[devel] Trying a different PNG_UNUSED macro.
2011-01-27 09:37:34 -06:00
Glenn Randers-Pehrson
0012e9cd54
[devel] Imported from libpng-1.5.1beta10.tar
2011-01-26 22:05:32 -06:00
Glenn Randers-Pehrson
8d0bc0f026
[devel] Made the manual, synopses, and function prototypes use the function
...
argument names file_gamma, int_file_gamma, and srgb_intent consistently.
2011-01-25 22:15:58 -06:00
Glenn Randers-Pehrson
81ce889435
[devel] Fixed incorrect examples of callback prototypes in the manual.
...
"png_ptr ptr" should be "png_structp png_ptr"
2011-01-24 08:04:37 -06:00
Glenn Randers-Pehrson
135d17ce3e
[devel] Bump to version libpng-1.5.1beta10
2011-01-24 00:18:05 -06:00
Glenn Randers-Pehrson
9962b84659
[devel] Imported from libpng-1.5.1beta09.tar
2011-01-24 00:14:22 -06:00
Glenn Randers-Pehrson
b0b058b767
[devel] Updated CHANGDES and ANNOUNCE files about John's checkin.
2011-01-24 00:13:36 -06:00
John Bowler
f21a0d0eee
[devel] Enhance pngvalid, correct an error in gray_to_rgb, correct doc error.
2011-01-23 23:55:19 -06:00
Glenn Randers-Pehrson
d52cd11ed2
[devel] Bump to version libpng-1.5.1beta09
2011-01-22 20:23:07 -06:00
Glenn Randers-Pehrson
3bd489d315
[devel] Imported from libpng-1.5.1beta08.tar
2011-01-22 20:19:10 -06:00
Glenn Randers-Pehrson
cbabd9c7e1
[devel] Updated CHANGES and ANNOUNCE.
2011-01-22 18:37:17 -06:00
John Bowler
f19abd6725
[devel] Added four new convenience functions (John Bowler)
2011-01-22 18:29:24 -06:00
John Bowler
0a5c9c02fa
[devel] Corrected const_png_ in png.h to png_const_ to avoid polluting
...
the namespace. Added png_get_current_row_number and
png_get_current_pass_number for the
benefit of the user transform callback.
Added png_process_data_pause and png_process_data_skip for the benefit of
progressive readers that need to stop data processing or want to optimize
skipping of unread data (e.g. if the reader marks a chunk to be skipped.)
2011-01-22 17:36:34 -06:00
Glenn Randers-Pehrson
155ce40218
[devel] Rebuilt Makefile.in and configure from the new sources.
2011-01-22 17:12:32 -06:00
John Bowler
71a10f2ca1
[devel] Attempted to fix cpp on Solaris with S. Studio 12 cc, fix build
...
Added a make macro DFNCPP that is a CPP that will accept the tokens in
a .dfn file and adds configure stuff to test for such a CPP. ./configure
should fail if one is not available.
2011-01-22 17:03:33 -06:00
Glenn Randers-Pehrson
a861ed971e
[devel] Added synopses for the IO_STATE functions and other missing synopses
...
to the manual. Removed the synopses from libpngpf.3 because they
were out of date and no longer useful. Better information can be
obtained by reading the prototypes and comments in pngpriv.h
2011-01-22 16:46:37 -06:00
Glenn Randers-Pehrson
bb98bcba91
[manual] Updated libpng.3 synopses to agree with scripts/symbols.def
2011-01-22 16:27:39 -06:00
John Bowler
adaffe7761
[devel] Add png_get_io_chunk_type to scripts/symbols.def
2011-01-22 14:35:36 -06:00
Glenn Randers-Pehrson
cf7cce6da5
[devel] Corrected (again) the ordinal of png_get_io_chunk_type().
2011-01-22 12:42:43 -06:00
Glenn Randers-Pehrson
aa23159209
[devel] Bump to version libpng-1.5.1beta08
2011-01-22 12:37:40 -06:00
Glenn Randers-Pehrson
c63409b078
[devel] Corrected the ordinal for the new function in png.h
2011-01-22 09:42:19 -06:00
Glenn Randers-Pehrson
eac893b60b
[devel] Added synopses for the IO_STATE functions to the manual.
2011-01-22 09:06:38 -06:00
Glenn Randers-Pehrson
a63dbedead
[devel] Added png_get_io_chunk_type() and deprecated png_get_io_chunk_name()
2011-01-22 08:51:19 -06:00
Glenn Randers-Pehrson
5c5db5a55f
[devel] Imported from libpng-1.5.1beta07.tar
2011-01-21 23:32:11 -06:00
Glenn Randers-Pehrson
7bc25013f0
[devel] Updated manual synopses, fixed several typos,
...
put paramter descriptions in proper order, applied libpng indentation
style in code snippets.
2011-01-21 23:29:09 -06:00
Glenn Randers-Pehrson
b86b4928d6
[devel] Added const_png_structp and const_png_infop types, and used them in
...
prototypes for most png_get_*() functions.
2011-01-21 23:12:51 -06:00
Glenn Randers-Pehrson
2cb633b915
[devel] In the manual, describe the png_get_IHDR() arguments in the right order.
2011-01-21 08:31:29 -06:00
Glenn Randers-Pehrson
47457a01f7
[devel] Bump to version libpng-1.5.1rc01
2011-01-21 08:25:26 -06:00
Glenn Randers-Pehrson
77c3bf17ca
[devel] Imported from libpng-1.5.1beta06.tar
2011-01-20 16:02:05 -06:00
John Bowler
168a433352
[devel] Eliminate more GCC shadow warnings
2011-01-16 19:32:22 -06:00
Glenn Randers-Pehrson
1408c2afeb
[devel] Prevent png_push_crc_skip() from hanging while reading an unknown chunk
...
or an over-large compressed zTXt chunk with the progressive reader.
2011-01-16 14:16:28 -06:00
Glenn Randers-Pehrson
c9ae31c23a
[devel] Bump to version libpng-1.5.1beta06
2011-01-16 13:40:05 -06:00
Glenn Randers-Pehrson
2ca8490a32
[devel] Imported from libpng-1.5.1beta05.tar
2011-01-16 13:36:02 -06:00
Glenn Randers-Pehrson
2368a92b2d
[devel] Changed variable names png_index, png_div, png_exp, and png_gamma to
...
char_index, divisor, exp_b10, and gamma_val, respectively, and
changed exp() back to png_exp().
2011-01-16 13:32:05 -06:00
Glenn Randers-Pehrson
498d19243c
[devel] Bump to version libpng-1.5.1beta05
2011-01-16 00:42:57 -06:00
Glenn Randers-Pehrson
27bf8986f9
[devel] Imported from libpng-1.5.1beta04.tar
2011-01-16 00:40:17 -06:00
Glenn Randers-Pehrson
e03dd5bd64
[devel] Prefixed variable names index, div, exp, gamma with "png_"
...
to avoid "shadow" warnings. Revised png_fixed() in png.c to avoid compiler
warning about reaching the end without returning anything.
2011-01-16 00:38:30 -06:00
Glenn Randers-Pehrson
5acd8fe9cb
[devel] Add CHANGES entry about fixing pngvalid "sample" function.
2011-01-15 22:41:42 -06:00
John Bowler
e2062f9fa0
[devel] Correct pngvalid gamma test to check each color sample, not just red.
2011-01-15 22:36:33 -06:00
Glenn Randers-Pehrson
9f45c8e6e1
[devel] Updated copyright year in LICENSE, CMakeLists.txt, and manual
2011-01-15 19:35:03 -06:00
Glenn Randers-Pehrson
00879b155a
[devel] Mentioned in the documentation that applications must #include "zlib.h"
...
if they need access to anything in zlib.h, and that a number of
macros such as png_memset() are no longer accessible by applications.
2011-01-15 19:25:34 -06:00
Glenn Randers-Pehrson
366eb49f99
[devel] Bump to version libpng-1.5.1beta04
2011-01-15 11:45:19 -06:00
Glenn Randers-Pehrson
4a5a1ec0b4
[devel] Updated documentation of png_set_iCCP().
2011-01-15 11:43:28 -06:00
Glenn Randers-Pehrson
f3c51e4a28
[devel] Updated documentation of png_set|get_tRNS().
2011-01-15 10:25:25 -06:00
Glenn Randers-Pehrson
b764c60a12
[devel] Imported from libpng-1.5.1beta03.tar
2011-01-14 21:20:20 -06:00
Glenn Randers-Pehrson
62e956e1dd
[devel] Imported from libpng-1.5.1beta02.tar
2011-01-14 17:10:38 -06:00
Glenn Randers-Pehrson
d3edb3f27c
[devel] Updated CMakeLists.txt (Clifford Yapp)
2011-01-14 17:08:28 -06:00
Glenn Randers-Pehrson
e15a96b333
[devel] Fixed a bug in handling of interlaced images (bero at arklinux.org).
2011-01-14 15:47:37 -06:00
Glenn Randers-Pehrson
3200e1e088
[devel] Bump to version libpng-1.5.1beta02
2011-01-08 21:02:22 -06:00
Glenn Randers-Pehrson
033155ca21
[devel] Imported from libpng-1.5.1beta01.tar
2011-01-08 15:50:00 -06:00
Glenn Randers-Pehrson
e8edb5a809
[devel] Update ANNOUNCE and CHANGES to reflect the recent bugfixes.
2011-01-08 14:56:49 -06:00
John Bowler
4e230b087e
[devel] Proper fix for the failure to handle palette mapped images correctly.
2011-01-08 14:49:25 -06:00
John Bowler
a96117f52c
[devel] Ensure that png_rgb_to_gray ignores palette mapped images.
2011-01-08 14:41:25 -06:00
Glenn Randers-Pehrson
fff1093227
[devel] Same situation with png_set_iCCP().
2011-01-08 11:05:47 -06:00
Glenn Randers-Pehrson
9d23b40c24
[devel] Added a note in the manual that the type of the iCCP profile changed
...
from png_charpp to png_bytepp in png_get_iCCP(). This change happened
in version 1.5.0beta36 but is not noted in the CHANGES. Also, revised
the "synopsis" for png_get_iCCP() in libpng.3 accordingly.
2011-01-08 10:42:01 -06:00
Glenn Randers-Pehrson
5c92dec542
[devel] The wrong pngrutil.c (version 1.4.1) was checked in.
2011-01-07 18:28:47 -06:00
Glenn Randers-Pehrson
9dd1cdff66
[devel] Added description of png_set_crc_action() to the manual.
2011-01-06 21:42:36 -06:00
Glenn Randers-Pehrson
20788d3b90
[devel] Add typecasts to stifle compiler warnings in pngrutil.c
2011-01-06 09:01:04 -06:00
Glenn Randers-Pehrson
512cbf8ade
[devel] Bump to version libpng-1.5.1beta01
2011-01-06 08:11:22 -06:00
Glenn Randers-Pehrson
59fa3e920c
[devel] Fixed a small typo in the manual.
2011-01-06 07:07:06 -06:00
Glenn Randers-Pehrson
f5ea1b7095
[devel] Imported from libpng-1.5.0.tar
2011-01-06 06:45:07 -06:00
Glenn Randers-Pehrson
64b863cd2a
[devel] Update copyright year and bump to version libpng-1.5.0rc07
2011-01-04 09:58:33 -06:00
Glenn Randers-Pehrson
a7d604e681
[devel] Imported from libpng-1.5.0rc06.tar
2011-01-04 09:09:27 -06:00
Glenn Randers-Pehrson
977f6eba3d
[devel] Changed new configure option "zprefix=string" to "zlib-prefix=string"
2011-01-04 09:07:45 -06:00
Glenn Randers-Pehrson
8f8061adba
[devel] Imported from libpng-1.5.0rc05.tar
2010-12-31 09:15:08 -06:00
Glenn Randers-Pehrson
8409b8f6db
[devel] Fixed typo in a comment in CMakeLists.txt
...
(libpng14 => libpng15) (Cosmin)
2010-12-31 09:14:01 -06:00
Glenn Randers-Pehrson
f2e2833f28
[devel] Fixed bug in background transformation handling in pngrtran.c
...
(it was looking for the flag in png_ptr->transformations instead of in
png_ptr->flags).
2010-12-28 21:48:43 -06:00
Glenn Randers-Pehrson
332594dd06
[devel] Bump to version libpng-1.5.0rc04
2010-12-27 22:18:05 -06:00
Glenn Randers-Pehrson
7de3260017
[devel] Imported from libpng-1.5.0rc03.tar
2010-12-27 22:15:18 -06:00
John Bowler
e06092a24e
Removed scripts/pngwin.def and pngwin.dfn, added def.dfn, revised Makefile.am
2010-12-27 22:10:19 -06:00
Glenn Randers-Pehrson
57731529dc
[devel] Bump to version libpng-1.5.0rc03
2010-12-27 21:35:41 -06:00
Glenn Randers-Pehrson
9830f98ff9
[devel] Imported from libpng-1.5.0rc02.tar
2010-12-27 21:31:30 -06:00
Glenn Randers-Pehrson
5aff745c15
[devel] Eliminated references to the scripts/*.def files in project/visualc71.
2010-12-27 21:29:17 -06:00
Glenn Randers-Pehrson
3af77feaa3
[devel] Bump to version libpng-1.5.0rc02
2010-12-27 09:21:50 -06:00
Glenn Randers-Pehrson
fd20a5ae9b
[devel] Imported from libpng-1.5.0rc01.tar
2010-12-27 08:55:13 -06:00
Glenn Randers-Pehrson
d3b76572c7
[devel] Bump to version libpng-1.5.0beta59
2010-12-19 17:06:32 -06:00
Glenn Randers-Pehrson
6e97410f66
[devel] Imported from libpng-1.5.0beta58.tar
2010-12-19 16:47:04 -06:00
John Bowler
b2888db940
[devel] Updated CHANGES and ANNOUNCE with recent changes
2010-12-19 16:45:38 -06:00
John Bowler
56a739bf4e
[devel] Minor changes to work round warnings in gcc 3.4
2010-12-19 16:33:20 -06:00
John Bowler
8f6628ed9f
[devel] Fix the clean rule to remove pngtest-log.txt
2010-12-19 16:31:47 -06:00
John Bowler
660c6e4d70
[devel] Fixed interlace image handling and add test cases (John Bowler)
2010-12-19 06:22:23 -06:00
Glenn Randers-Pehrson
4c93a7cb6f
[devel] Bump to version libpng-1.5.0beta58
2010-12-09 06:11:18 -06:00
Glenn Randers-Pehrson
9a462393e4
[devel] Imported from libpng-1.5.0beta57.tar
2010-12-09 06:08:04 -06:00
Glenn Randers-Pehrson
138142583e
[devel] Updated the prebuilt configuration files to autoconf version 2.68
2010-12-09 06:06:48 -06:00
Glenn Randers-Pehrson
571db950d1
[devel] Added "--with-zprefix=<string>" to configure.ac
2010-12-09 06:03:03 -06:00
John Bowler
15c9be10b3
[devel] Merge standard error with standard output from test scripts
2010-12-08 20:33:39 -06:00
Glenn Randers-Pehrson
d5e3590df7
[devel] Don't display test results (except PASS/FAIL) when running "make test".
...
Instead put them in pngtest-log.txt
2010-12-08 17:26:50 -06:00
John Bowler
b54498edea
[devel] Enable the strip16 tests in pngvalid
2010-12-08 16:26:21 -06:00
Glenn Randers-Pehrson
ba851ccd9f
[devel] Changed pngvalid options in test-pngvalid-*.sh scripts
2010-12-08 09:55:57 -06:00
Glenn Randers-Pehrson
6f1af78401
[devel] Revised "make test" to only print PASS or FAIL for pngvalid tests.
2010-12-07 22:33:17 -06:00
Glenn Randers-Pehrson
798b1613ab
[devel] Removed references to pngvcrd.c and pnggccrd.c from the vstudio project.
2010-12-07 22:31:09 -06:00
Glenn Randers-Pehrson
9fa9ebebc0
[devel] Updated "libpng14" to "libpng15" in the visualc71 project.
2010-12-07 22:28:53 -06:00
Glenn Randers-Pehrson
6735058024
[devel] Added some white space in pngvalid.c
2010-12-07 16:13:22 -06:00
Glenn Randers-Pehrson
9f044c17fa
[devel] Added some whitespace in png.h and pngpriv.h, revised a comment
...
in pngvalid.c
2010-12-07 14:59:43 -06:00
Glenn Randers-Pehrson
d02f246887
[devel] Improved missing symbol handling in checksym.awk; symbols missing in
...
both the old and new files can now be optionally ignored, treated as errors
or warnings.
2010-12-07 14:42:04 -06:00
Glenn Randers-Pehrson
f1cf90238b
[devel] Documented the pngvalid gamma error summary with additional comments
...
and print statements.
2010-12-07 14:40:33 -06:00
Glenn Randers-Pehrson
845b74e6d4
[devel] Bump to version libpng-1.5.0beta57
2010-12-06 20:25:05 -06:00
Glenn Randers-Pehrson
e24196eeeb
[devel] Imported from libpng-1.5.0beta56.tar
2010-12-06 20:24:57 -06:00
Glenn Randers-Pehrson
234e543afb
[devel] Make PNG_EXPORT not user definable (leaving only PNG_EXPORTA definable)
2010-12-06 20:18:51 -06:00
Glenn Randers-Pehrson
49a56e7688
[devel] Included documentation of changes in 1.5.0 from 1.4.x
...
in libpng-manual.txt and libpng.3
2010-12-06 20:06:01 -06:00
Glenn Randers-Pehrson
5f59c87604
[devel] Fixed some incorrect "=" macro names in pnglibconf.dfa
2010-12-06 18:45:59 -06:00
Glenn Randers-Pehrson
23d3970929
[devel] Revised PNG_EXPORT() macro and added PNG_EXPORTA() macro, with the
...
objective of simplifying and improving the cosmetic appearance of png.h.
2010-12-06 18:28:02 -06:00
Glenn Randers-Pehrson
27df3a44eb
[devel] Added PNG_EXPORTX() and PNG_EXPORTA() macros for testing,
...
with the objective of improving the cosmetic appearance of png.h.
2010-12-06 12:38:42 -06:00
Glenn Randers-Pehrson
a451725242
[devel]
...
Added some commentary about PNG_EXPORT in png.h and pngconf.h
2010-12-06 08:54:55 -06:00
Glenn Randers-Pehrson
d546f4399f
[devel] Added the private PNG_UNUSED() macro definition in pngpriv.h.
...
(adapted from the UNUSED() macro in pngvalid.c by John Bowler)
2010-12-04 20:41:36 -06:00
Glenn Randers-Pehrson
38ef3a592c
[devel] Added whitespace and fixed typos in pngvalid.c comments.
2010-12-03 11:22:31 -06:00
Glenn Randers-Pehrson
caed8f30ee
[devel] Bump to version 1.5.0beta56
2010-11-27 18:09:36 -06:00
Glenn Randers-Pehrson
2fe7f06a55
[devel] Removed some markup (%10%) from libpng-manual.txt and libpng.3
2010-11-25 07:31:36 -06:00
Glenn Randers-Pehrson
5b40b01319
[devel] Added a remark about png_get_uint_16 in the libpng-manual.txt
...
and libpng.3
2010-11-25 07:16:29 -06:00
Glenn Randers-Pehrson
b93e0326d2
[devel] Comment about 1.4.0 through 1.4.4 versions of png_get_uint_16 macro
...
which returned the wrong type (png_uint_32 instead of png_uint_16).
2010-11-25 06:56:20 -06:00
Glenn Randers-Pehrson
2776d5e9e6
[devel] Bump to version libpng-1.5.0beta56
2010-11-21 15:19:55 -06:00
Glenn Randers-Pehrson
c3ed437d9e
[devel] Imported from libpng-1.5.0beta55.tar
2010-11-21 15:05:20 -06:00
Glenn Randers-Pehrson
b3edc73afa
[devel] Changes to remove gcc warnings (John Bowler)
...
Certain optional gcc warning flags resulted in warnings in libpng code.
With these changes only -Wconversion and -Wcast-qual cannot be turned on.
Changes are trivial rearrangements of code. -Wconversion is not possible
for pngrutil.c (because of the widespread use of += et al on variables
smaller than (int) or (unsigned int)) and -Wcast-qual is not possible
with pngwio.c and pngwutil.c because the 'write' callback and zlib
compression both fail to declare their input buffers with 'const'.
2010-11-21 14:06:41 -06:00
Glenn Randers-Pehrson
105c416007
[devel] Added comment in pngrutil.c about some extra parentheses.
2010-11-20 22:59:47 -06:00
Glenn Randers-Pehrson
a581556b17
[master] Revised png_get_uint_32, png_get_int_32, png_get_uint_16 (Cosmin)
...
Moved reading of file signature into png_read_sig (Cosmin)
Fixed atomicity of chunk header serialization (Cosmin)
Added test for io_state in pngtest.c (Cosmin)
Added "#!/bin/sh" at the top of contrib/pngminim/*/gather.sh scripts.
2010-11-20 21:48:29 -06:00
Glenn Randers-Pehrson
d801b3882c
[devel] Bump to version libpng-1.5.0beta55
2010-11-11 07:19:19 -06:00
Glenn Randers-Pehrson
ed3dfbd25a
[devel] Imported from libpng-1.5.0beta54.tar
2010-11-10 07:05:07 -06:00
Glenn Randers-Pehrson
ccadcae40b
[devel] Added whitespace in pngrutil.c, pngwtran.c, and pngwutil.c
2010-10-23 17:29:13 -05:00
Glenn Randers-Pehrson
33893095b5
[devel] Used a consistent structure for the pngget.c functions.
...
added some whitespace in pngrio.c and pngrutil.c
2010-10-23 13:20:18 -05:00
Glenn Randers-Pehrson
5c5f593ffb
[devel] Standardized the structure of some pngget.c functions.
2010-10-23 10:14:42 -05:00
Glenn Randers-Pehrson
62333ba0cb
[devel] Adjusted some whitespace in pngset.c
2010-10-23 08:48:51 -05:00
Glenn Randers-Pehrson
c508081afc
[devel] Require 48 bytes, not 64 bytes, for big_row_buf in overflow checks.
...
Also removed two obsolete comments from png.c
2010-10-23 08:26:26 -05:00
Glenn Randers-Pehrson
71c0dd6c4a
[devel] Bump to version libpng-1.5.0beta54
2010-10-17 20:37:37 -05:00
Glenn Randers-Pehrson
63495a4ba4
[devel] Imported from libpng-1.5.0beta53.tar
2010-10-17 20:36:57 -05:00
Glenn Randers-Pehrson
475074dfb5
[devel] Changed mention of libpng.txt to libpng-manual.txt in CMakeLists.txt
2010-10-17 13:07:38 -05:00
Glenn Randers-Pehrson
557b256b32
[devel] Changed "libpng.txt" to "libpng-manual.txt" in libpng.3
2010-10-17 12:55:04 -05:00
Glenn Randers-Pehrson
48854aec52
[devel] Rename libpng.txt to libpng-manual.txt
2010-10-17 12:52:29 -05:00
Glenn Randers-Pehrson
f3abb2c352
[devel] Rename libpng.txt to libpng-manual.txt
2010-10-17 12:51:53 -05:00
Glenn Randers-Pehrson
88910f5b9d
[devel] Revised and renamed the typedef in png.h and png.c that was designed
...
to catch library and header mismatch, also found at the end of pngtest.c.
2010-10-16 20:38:45 -05:00
Glenn Randers-Pehrson
a60f8a9c1f
[devel] libpng-version.txt -> libpng.txt in Makefile.am,.in
2010-10-16 20:15:44 -05:00
Glenn Randers-Pehrson
10973a581f
[devel] Removed obsolete remarks about setjmp handling from INSTALL.
2010-10-16 19:40:09 -05:00
Glenn Randers-Pehrson
a655407f1b
[devel] Use document name "libpng.txt" instead of "libpng-version.txt"
...
as it was prior to libpng-1.2.16beta2, to simplify version differences.
2010-10-16 19:32:44 -05:00
Glenn Randers-Pehrson
a9b4f16b04
[devel] Disabled "color-tests" by default in Makefile.am
...
so it will work with automake versions earlier than 1.11.1
2010-10-16 08:04:15 -05:00
Glenn Randers-Pehrson
6612114f86
[devel] Updated INSTALL
...
(omitted autogen.sh, ../configure should be ./configure)
2010-10-16 07:22:19 -05:00
Glenn Randers-Pehrson
66676016f6
[devel] Updated INSTALL to mention using "make maintainer-clean" and
...
to remove obsolete statement about a custom ltmain.sh
2010-10-16 07:18:09 -05:00
Glenn Randers-Pehrson
e5900f1bc9
[devel] Removed "betaNN" from pnglibconf.dfa and pnglibconf.h.prebuilt
2010-10-15 20:05:41 -05:00
Glenn Randers-Pehrson
85497d7a4b
[devel] Changed embedded dates in some scripts to "(PENDING RELEASE)"
2010-10-15 19:58:56 -05:00
Glenn Randers-Pehrson
5393915bf6
[devel] Bump to version libpng-1.5.0beta53
2010-10-15 19:28:31 -05:00
Glenn Randers-Pehrson
f197d6d0f6
[devel] Imported from libpng-1.5.0beta52.tar
2010-10-15 19:28:22 -05:00
Glenn Randers-Pehrson
4fa1816cf6
[devel] Restored some of the embedded dates
2010-10-15 19:14:36 -05:00
Glenn Randers-Pehrson
1c91ab2586
[devel] Bump to version libpng-1.5.0beta52
2010-10-15 15:13:31 -05:00
Glenn Randers-Pehrson
f0eda4e8d7
[devel] Imported from libpng-1.5.0beta51.tar
2010-10-15 15:08:42 -05:00
Glenn Randers-Pehrson
a0de64f3c3
[devel] Bump to version 1.5.0beta51
2010-10-14 07:35:54 -05:00
Glenn Randers-Pehrson
7e1fabe2f7
[devel] Imported from libpng-1.5.0beta50.tar
2010-10-14 07:35:45 -05:00
Glenn Randers-Pehrson
79b2d64a67
[devel] also check for negative out-of-range text compression mode
2010-10-13 07:31:14 -05:00
Glenn Randers-Pehrson
e34f80e5aa
[devel] Check for out-of-range text compression mode in png_set_text().
2010-10-13 06:55:30 -05:00
Glenn Randers-Pehrson
bc363eca41
[devel] Removed some unwanted spaces
2010-10-12 21:17:00 -05:00
Glenn Randers-Pehrson
d233287325
[devel] Removed space after (type cast).
2010-10-12 19:19:28 -05:00
Glenn Randers-Pehrson
c127057f7d
[devel] Suppressed a compiler warning in png_handle_sPLT().
2010-10-12 12:47:48 -05:00
Glenn Randers-Pehrson
9a75d99438
[devel] changed "(unsigned int)" to "(unsigned long)" typecasts
...
in printf statements in pngvalid.c, and changed %ud to %lu.
2010-10-08 16:27:14 -05:00
Glenn Randers-Pehrson
e9c395a3bf
[devel] Added some "(unsigned int)" typecasts in pngvalid.c printf statements.
2010-10-08 13:35:02 -05:00
Glenn Randers-Pehrson
4f5b846bb4
[devel] Revised Makefile.in to account for mkinstalldirs being removed
...
and re-removed mkinstalldirs.
2010-10-07 22:49:40 -05:00
Glenn Randers-Pehrson
79bdad205f
[devel] Restored mkinstalldirs which was removed from version 1.5.0beta48.
2010-10-07 22:35:37 -05:00
Glenn Randers-Pehrson
94b582e45e
[devel] Bump to version 1.5.0beta50
2010-10-07 22:34:33 -05:00
Glenn Randers-Pehrson
1b49a71df4
[devel] Imported from libpng-1.5.0beta49.tar
2010-10-07 21:01:17 -05:00
Glenn Randers-Pehrson
209eee579a
[devel] Bump to version libpng-1.5.0beta49
2010-10-04 23:06:17 -05:00
Glenn Randers-Pehrson
83b4fc4af4
[devel] Imported from libpng-1.5.0beta48.tar
2010-10-04 23:06:09 -05:00
Glenn Randers-Pehrson
b0876110ca
[devel] Fixed problem with symbols creation in Makefile.am which was assuming
...
that CCP writes to standard output by default (Martin Banky).
2010-10-04 22:24:14 -05:00
Glenn Randers-Pehrson
110c9367bd
[devel] Revert autoconf scripts to autoconf-2.65 and automake-1.11.1
2010-10-04 17:42:14 -05:00
Glenn Randers-Pehrson
bab8df881a
[devel] Rebuilt configure scripts with autoconf-2.68 instead of autoconf-2.65
2010-10-04 10:07:18 -05:00
Glenn Randers-Pehrson
e89d33ab3d
[devel] Fixed long lines and indentation in CMakeLists.txt
2010-10-02 21:36:02 -05:00
Glenn Randers-Pehrson
0c3fea306a
[devel] Revised CMakeLists.txt to work with libpng-1.5.0
2010-10-02 21:25:01 -05:00
Glenn Randers-Pehrson
a2218a4b6d
[devel] Revised autogen.sh to recognize and use $AUTOCONF, $AUTOMAKE,
...
$AUTOHEADER, $AUTOPOINT, $ACLOCAL and $LIBTOOLIZE
2010-09-14 16:06:08 -05:00
Glenn Randers-Pehrson
4f8e7e5f41
[devel] Bump to version libpng-1.5.0beta48
2010-09-10 22:16:59 -05:00
Glenn Randers-Pehrson
e197cded79
[devel] Imported from libpng-1.5.0beta47.tar
2010-09-10 22:16:51 -05:00
Glenn Randers-Pehrson
bcb3aac3c5
[devel] Fixed a number of problems with 64-bit compilation reported by Visual
...
Studio 2010 (John Bowler).
2010-09-10 22:05:27 -05:00
Glenn Randers-Pehrson
9a5c1c180f
[devel] Bump to version libpng-1.5.0beta47
2010-08-28 06:25:37 -05:00
Glenn Randers-Pehrson
39515c9ee0
[devel] Imported from libpng-1.5.0beta46.tar
2010-08-28 06:25:21 -05:00
Glenn Randers-Pehrson
8ca1700976
[devel] Expanded commentary in scripts/pnglibconf.dfa
2010-08-27 14:31:19 -05:00
Glenn Randers-Pehrson
fded04fbf6
[devel] Revised pngvalid.c 16-to-8-big conversion tests
2010-08-27 14:21:21 -05:00
Glenn Randers-Pehrson
9c69091c9d
[devel] Fix typo in pngtrans.c (ifndef should be ifdef)
2010-08-27 11:39:38 -05:00
Glenn Randers-Pehrson
4554a54a6c
[devel] Don't force 1, 2, and 4-bit depths to 8 when PNG_NO_16BIT is defined.
2010-08-27 10:48:45 -05:00
Glenn Randers-Pehrson
8c69d7bc63
[devel] Added reference to scripts/pnglibconf.h.prebuilt in the visualc71 project.
2010-08-27 10:13:15 -05:00
Glenn Randers-Pehrson
0c57414490
[devel] Added "option READ_16_TO_8 on" to contrib/pngminim/decoder/pnglibconf.dfa
...
and contrib/pngminim/preader/pnglibconf.dfa
2010-08-27 09:37:06 -05:00
Glenn Randers-Pehrson
2f70282295
[devel] Revised pngvalid.c to test 16-to-8 bit-depth reduction.
2010-08-27 06:39:23 -05:00
Glenn Randers-Pehrson
55f71781d8
[devel] Made PNG_READ_16_TO_8 depend on PNG_NO_16BIT in scripts/pnglibconf.dfa
2010-08-26 22:47:59 -05:00
Glenn Randers-Pehrson
925d23b32a
[devel] Conditionally compile parts of pngrtran.c and pngtrans.c
...
depending on PNG_16BIT_SUPPORTED
2010-08-26 21:43:18 -05:00
Glenn Randers-Pehrson
4e4876104d
[devel] conditionally compile parts of png.c depending on PNG_16BIT_SUPPORTED
2010-08-26 21:41:04 -05:00
Glenn Randers-Pehrson
0717029581
[devel] Update CHANGES and ANNOUNCE
2010-08-26 19:42:01 -05:00
Glenn Randers-Pehrson
a774c5de84
[devel] Updated scripts/pnglibconf.h.prebuilt
...
and fixed a spelling error
2010-08-26 19:37:55 -05:00
Glenn Randers-Pehrson
a041ae4cde
[devel] Updated TODO, about conditional 16BIT support and extending pngvalid.c
2010-08-26 17:20:00 -05:00
Glenn Randers-Pehrson
7d3e6732fb
[devel] Added PNG_WRITE_16BIT_SUPPORTED option.
2010-08-26 17:14:07 -05:00
Glenn Randers-Pehrson
07d9fc9478
[devel] Added new private header files to libpng_sources in CMakeLists.txt
2010-08-26 17:11:55 -05:00
Glenn Randers-Pehrson
be6f0c2c50
[devel] Bump to version libpng-1.5.0beta46
2010-08-26 07:10:56 -05:00
Glenn Randers-Pehrson
a7119547e2
[devel] Imported from libpng-1.5.0beta45.tar
2010-08-26 07:10:48 -05:00
Glenn Randers-Pehrson
c97cf70bc7
[devel] Remove unnecessary defines from contrib/pngminim/*/pngusr.h
2010-08-24 21:22:27 -05:00
Glenn Randers-Pehrson
4f108d8af6
[devel] Supply default values for PNG_USER_PRIVATEBUILD and PNG_USER_DLLFNAME_POSTFIX
...
in pngpriv.h in case the user forgot to define them in their pngusr.h. This
means it is safe for people not building a DLL to omit these defines from pngusr.h.
2010-08-24 21:05:43 -05:00
Glenn Randers-Pehrson
f45a345adb
[devel] projects/vstudio: fix typo in pnglibconf.vcxproj
2010-08-24 20:19:28 -05:00
Glenn Randers-Pehrson
54872297d3
[devel] Renamed scripts/pnglibconf.h in Makefile.am and Makefile.in
2010-08-24 16:18:05 -05:00
Glenn Randers-Pehrson
8c66786419
[devel] Renamed scripts/pnglibconf.h to scripts/pnglibconf.h.prebuilt
2010-08-24 16:16:35 -05:00
Glenn Randers-Pehrson
15333cd28d
[devel] Changed pngvalid to work when floating point APIs are disabled
2010-08-24 15:29:52 -05:00
Glenn Randers-Pehrson
b5b38edf30
[devel] Added an explicit make step to projects/vstudio for pnglibconf.h
...
Also corrected zlib.vcxproj into which Visual Studio had introduced
what it calls an "authoring error". The change to make pnglibconf.h
simply copies the file; in the future it may actually generate the
file from scripts/pnglibconf.dfa as the other build systems do.
2010-08-24 15:28:43 -05:00
Glenn Randers-Pehrson
9b362b1e4f
[devel] Bump to version libpng-1.5.0beta45
2010-08-24 09:05:02 -05:00
Glenn Randers-Pehrson
4befef0c18
[devel] Imported from libpng-1.5.0beta44.tar
2010-08-24 08:58:43 -05:00
Glenn Randers-Pehrson
438b3caedb
[devel] Fixed VS warnings/errors in vstudio project, tidy up Try/Catch
...
The Try/Catch blocks were checking that the context had not changed -
unnecessary and cexcept cannot handle separate (potentially interleaved)
contexts anyway. Changed the code to make the Catch re-instate the context -
this should help the compiler because the context is the png_store and
minimising the need for the compiler to avoid optimizing it away is good.
2010-08-24 08:55:40 -05:00
Glenn Randers-Pehrson
9b780b8add
[devel] Turn on progressive reader in pngvalid.c by default and tidy code.
2010-08-24 08:50:01 -05:00
Glenn Randers-Pehrson
0f21161e51
[devel] Implemented progressive read in pngvalid.c gamma tests
2010-08-24 08:46:53 -05:00
Glenn Randers-Pehrson
db712a93b4
[devel] Implemented progressive reader in pngvalid.c for standard tests
2010-08-24 08:44:14 -05:00
Glenn Randers-Pehrson
f18a0ed39b
[devel] Simplified the pngvalid error-handling code
...
now that cexcept.h is in place.
2010-08-24 08:41:00 -05:00
Glenn Randers-Pehrson
92ac4fc237
[devel] Clarified pngusr.h comments in pnglibconf.dfa
2010-08-24 08:37:36 -05:00
Glenn Randers-Pehrson
21af4cc914
[devel] Check interlaced images in pngvalid
2010-08-24 08:33:28 -05:00
Glenn Randers-Pehrson
949d46c7ba
[devel] Reformatted/rearranged pngvalid.c to assist use of progressive reader.
2010-08-24 08:29:58 -05:00
Glenn Randers-Pehrson
921d91576a
[devel] Implemented memory checks within pngvalid
2010-08-24 08:26:54 -05:00
Glenn Randers-Pehrson
8c037305e4
[devel] Updated CMakeLists.txt to use CMAKE_INSTALL_LIBDIR variable; useful for
...
installing libpng in /usr/lib64 (Funda Wang). Also ported other recent
changes from libpng-1.4.4beta07:
Revised CMakeLists.txt to put the man pages in share/man/man* not man/man*
Revised CMakeLists.txt to make symlinks instead of copies when installing.
Changed PNG_LIB_NAME from pngNN to libpngNN in CMakeLists.txt (Philip Lowman)
2010-08-23 17:07:32 -05:00
Glenn Randers-Pehrson
a7866f7b95
[devel] Imported from libpng-1.5.0beta43.tar
2010-08-20 11:15:30 -05:00
Glenn Randers-Pehrson
b5a53da717
[devel] Wrapped a long line and fixed a typo in pngvalid.c comments.
2010-08-20 10:15:47 -05:00
Glenn Randers-Pehrson
c08cae1c22
[devel] Revised pngvalid.c to use cexcept.h for error handling.
2010-08-20 09:55:01 -05:00
Glenn Randers-Pehrson
4aa2cd69ae
[devel] pngget.c was omitted from previous checkin.
2010-08-19 16:52:01 -05:00
Glenn Randers-Pehrson
3b5d695583
[devel] Fixed non-GCC fixed point builds. In png.c a declaration was misplaced
...
in an earlier update. Fixed to declare the auto variables at the head.
2010-08-19 08:06:12 -05:00
Glenn Randers-Pehrson
67439c4701
[devel] Addressed various issues identified by GCC, mostly signed/unsigned
...
and shortening problems on assignment but also a few difficult to optimize
(for GCC) loops (John Bowler).
2010-08-19 07:01:09 -05:00
Glenn Randers-Pehrson
a313751258
[devel] Removed spurious tabs, shorten long lines (no source change)
...
Also added scripts/chkfmt to validate the format of all the files that can
reasonably be validated (it is suggested to run "make distclean" before
checking, because some machine generated files have long lines.)
Reformatted the CHANGES file to be more consistent throughout.
2010-08-18 20:25:36 -05:00
Glenn Randers-Pehrson
11966d9c55
[devel] Bump to version libpng-1.5.0beta43
2010-08-18 08:18:33 -05:00
Glenn Randers-Pehrson
ea2f7e07d7
[devel] Imported from libpng-1.5.0beta42.tar
2010-08-18 08:17:18 -05:00
Glenn Randers-Pehrson
e600c51355
[devel]Made all API functions that have const arguments and constant string
...
literal pointers declare them (John Bowler).
Many APIs did not change their arguments but were not declared using
PNG_CONST. This change corrects this. In a few cases APIs that return
constant string literal pointers have also been changed to declare this.
Unlike the argument change this may require app changes; however the
results could never be written to (the app would crash on some platforms
where strings are not writable), so this seems advisable.
2010-08-18 07:25:46 -05:00
Glenn Randers-Pehrson
21b4b339d9
[devel] Fix spelling
2010-08-18 07:12:38 -05:00
Glenn Randers-Pehrson
7de0534490
[devel] Updated ltmain.sh
2010-08-17 13:33:00 -05:00
Glenn Randers-Pehrson
70c8d32f2e
[devel] Updated aclocal.m4
2010-08-17 13:19:56 -05:00
Glenn Randers-Pehrson
08c2e81ac2
[devel] Add .dll.a to extensions to be symlinked by Makefile.am (Yaakov)
2010-08-13 08:21:09 -05:00
Glenn Randers-Pehrson
2a718a3f53
[devel] Bump to version libpng-1.5.0beta42
2010-08-11 09:15:06 -05:00
Glenn Randers-Pehrson
363f96e717
[devel] Imported from libpng-1.5.0beta41.tar
2010-08-11 09:04:31 -05:00
Glenn Randers-Pehrson
9f65059a5b
[devel] Don't try to use version-script with cygwin/mingw.
...
Revised contrib/gregbook to work under cygwin/mingw.
2010-08-11 08:06:11 -05:00
Glenn Randers-Pehrson
b757b1b5ee
[devel] Added the cHRM chunk to pngtest.png
2010-08-11 07:29:04 -05:00
Glenn Randers-Pehrson
a85264b1fc
[devel] Update CHANGES
2010-08-06 07:11:31 -05:00
Glenn Randers-Pehrson
ad18363852
[devel] Bump to version libpng-1.5.0beta41
2010-08-06 07:01:17 -05:00
Glenn Randers-Pehrson
836fe66e24
[devel] Imported from libpng-1.5.0beta40.tar
2010-08-06 06:57:32 -05:00
Glenn Randers-Pehrson
d4028b4373
[devel] Added the sRGB chunk to pngtest.png
2010-08-04 13:07:09 -05:00
Glenn Randers-Pehrson
d3a726db0d
[master] Correct use of _WINDOWS_ in pngconf.h; Removed png_mem_ #defines;
...
they are no longer used.
2010-08-03 20:26:34 -05:00
Glenn Randers-Pehrson
3e71719502
[devel] Bump to version libpng-1.5.0beta40
2010-08-02 08:02:09 -05:00
Glenn Randers-Pehrson
2c700f970c
[devel] Imported from libpng-1.5.0beta39.tar
2010-08-02 08:02:00 -05:00
Glenn Randers-Pehrson
77396b63f9
[devel] VisualC/GCC warning fixes, VisualC build fixes
...
The changes include support for function attributes in VC in addition to
those already present in GCC - necessary because without these some
warnings are unavoidable. Fixes include signed/unsigned fixes in
pngvalid and checks with gcc -Wall -Wextra -Wunused.
VC requires function attributes on function definitions as well as
declarations, PNG_FUNCTION has been added to enable this and the
relevant function definitions changed.
2010-08-02 08:00:10 -05:00
Glenn Randers-Pehrson
21c1f06ef9
[devel] Bump to version libpng-1.5.0beta39
2010-07-31 13:58:24 -05:00
Glenn Randers-Pehrson
3df324d845
[devel] Expanded TAB characters, again.
2010-07-31 13:45:04 -05:00
Glenn Randers-Pehrson
c27291d4e3
[devel] Restored projects/visualc71.
2010-07-31 08:05:17 -05:00
Glenn Randers-Pehrson
bdabd8f75b
[devel] Bump to version libpng-1.5.0beta38
2010-07-31 07:17:30 -05:00
Glenn Randers-Pehrson
48dc6ebf5c
[devel] Revised png_get_int_16() to be similar to png_get_int_32().
2010-07-31 07:09:58 -05:00
Glenn Randers-Pehrson
4009a76e97
[devel] Implemented remaining "_fixed" functions and corrected warnings
...
that were recently introduced, mostly resulting from
safe but uncast assignments to shorter integers. Also added a zlib
VStudio release library project because the latest zlib Official Windows
build does not include such a thing.
2010-07-31 06:34:36 -05:00
Glenn Randers-Pehrson
459432a1b8
[devel] Updated the TODO list.
2010-07-30 14:59:45 -05:00
Glenn Randers-Pehrson
33d8c2a1dd
[devel] Bump to version libpng-1.5.0beta38
2010-07-30 14:51:04 -05:00
Glenn Randers-Pehrson
4eb18e9ca2
[devel] Imported from libpng-1.5.0beta37.tar
2010-07-30 14:47:53 -05:00
Glenn Randers-Pehrson
dd80757941
[devel] Added typecasts in png_get_int_32() in png.h to avoid compiler warning.
2010-07-30 14:35:50 -05:00
Glenn Randers-Pehrson
b4e6997999
[devel] New pngtest.png with nonzero offsets
...
Renamed "png_sucker" to "png_store" in pngvalid.c
2010-07-30 10:35:38 -05:00
Glenn Randers-Pehrson
53c7502663
[devel] Added a typecast in png_get_int_32() to avoid compiler warning.
2010-07-30 09:58:34 -05:00
Glenn Randers-Pehrson
1e7d7d3cbf
[devel] Commented out declaration png_set_sCAL_fixed which hasn't been written yet
...
Also png_set_filter_heuristics_fixed and png_get_aspect_ratio_fixed.
2010-07-30 07:36:50 -05:00
Glenn Randers-Pehrson
7b81e2e747
[devel] Added some whitespace for readability.
2010-07-29 22:54:34 -05:00
Glenn Randers-Pehrson
f3d53796af
[devel] Removed the new alternate floor() and modf().
2010-07-29 22:19:22 -05:00
Glenn Randers-Pehrson
0fb715a904
[devel] Bump to version libpng-1.5.0beta37
2010-07-29 21:56:47 -05:00
Glenn Randers-Pehrson
233357ef0e
[devel] Fixed some spelling and indentation.
2010-07-29 21:49:38 -05:00
Glenn Randers-Pehrson
b9109e8254
[devel] Guard "modf()" with PNG_FLOATING_ARITHMETIC_SUPPORTED.
2010-07-29 21:21:03 -05:00
Glenn Randers-Pehrson
6679d7c0b1
[devel] Guard instances of "floor()" with PNG_FLOATING_ARITHMETIC_SUPPORTED
2010-07-29 21:05:45 -05:00
Glenn Randers-Pehrson
dbe0c9d8c7
[devel] Use FIXED_POINT in contrib/pngminim/decoder and encoder
2010-07-29 20:28:36 -05:00
Glenn Randers-Pehrson
f01459fd40
[devel] Removed reference to pngarith from Makefile.am and Makefile.in
2010-07-29 19:42:45 -05:00
Glenn Randers-Pehrson
11a5687b72
[devel] Removed reference to pngarith from contrib/pngminim/preader/makefile.
2010-07-29 19:27:26 -05:00
Glenn Randers-Pehrson
6c47e84d2e
[devel] Bump to version libpng-1.5.0beta36
2010-07-29 19:10:27 -05:00
Glenn Randers-Pehrson
2be8b64af2
[devel] Update documentation
2010-07-29 19:09:18 -05:00
Glenn Randers-Pehrson
a7a76a674f
[devel] Imported from libpng-1.5.0beta36.tar
2010-07-29 18:02:16 -05:00
Glenn Randers-Pehrson
29034c5076
[devel] Expanded the new TAB characters.
2010-07-29 17:58:49 -05:00
Glenn Randers-Pehrson
31aee0d0c0
[devel]
...
Fixed point APIs are now supported throughout (no missing APIs).
Internal fixed point arithmetic support exists for all internal floating
point operations.
sCAL validates the floating point strings it is passed.
Safe, albeit rudimentary, Watcom support is provided by PNG_API_RULE==2
Two new APIs exist to get the number of passes without turning on the
PNG_INTERLACE transform and to get the number of rows in the current
pass.
A new test program, pngvalid.c, validates the gamma code.
Errors in the 16 bit gamma correction (overflows) have been corrected.
cHRM chunk testing is done consistently (previously the floating point
API bypassed it, because the test really didn't work on FP, now the test
is performed on the actual values to be stored in the PNG file so it
works in the FP case too.)
Most floating point APIs now simply call the fixed point APIs after
converting the values to the fixed point form used in the PNG file.
The standard headers no longer include zlib.h, which is currently only
required for pngstruct.h and can therefore be internal.
(Patches by John Bowler)
2010-07-29 17:39:14 -05:00
Glenn Randers-Pehrson
d7aa6aa916
[devel] Bump to version libpng-1.5.0beta36
2010-07-24 08:37:11 -05:00
Glenn Randers-Pehrson
915bab5fc7
[devel] Bump to version libpng-1.5.0beta35
2010-07-24 08:25:31 -05:00
Glenn Randers-Pehrson
5fd46fb8f7
[master] Moved the definition of png_snprintf() outside of the enclosing
...
"#ifdef" blocks in pngconf.h
2010-07-24 08:09:12 -05:00
Glenn Randers-Pehrson
c182d55fc5
[devel] Update copyright year in documentation
2010-07-22 07:42:39 -05:00
Glenn Randers-Pehrson
11a6f58528
[devel] Added -DNO_PNG_SNPRINTF to CFLAGS in scripts/makefile.dj2
2010-07-16 21:07:55 -05:00
Glenn Randers-Pehrson
d9d4cecaad
[devel] Removed some newly-added TAB characters.
2010-07-12 07:12:09 -05:00
Glenn Randers-Pehrson
f1202087f8
[devel] Imported from libpng-1.5.0beta35.tar
2010-07-12 06:52:41 -05:00
Glenn Randers-Pehrson
39a8bb71d3
[devel] Imported from libpng-1.5.0beta34.tar
2010-07-12 06:45:23 -05:00
Glenn Randers-Pehrson
0ee51445f6
[devel] Put #ifndef PNG_EXTERN, #endif around #define PNG_EXTERN in pngpriv.h
2010-07-12 06:29:17 -05:00
Glenn Randers-Pehrson
8f9de7acbd
[devel] Bump back to version libpng-1.5.0beta34
2010-07-06 07:46:10 -05:00
Glenn Randers-Pehrson
aa4e359f62
[devel] Changed "extern PNG_EXPORT" to "PNG_EXPORT" in png.h (Jan Nijtmans)
...
Changed "extern" to "PNG_EXTERN" in pngpriv.h (except for the 'extern "C" {')
2010-07-06 07:40:47 -05:00
Glenn Randers-Pehrson
289500ab8d
[devel] Imported from libpng-1.5.0beta33.tar
2010-06-28 20:21:22 -05:00
Glenn Randers-Pehrson
73e28ef13d
[devel] Reverted changes to call png_longjmp in contrib/gregbook
...
where it is not appropriate. If mainprog->jmpbuf is used by setjmp,
then png_longjmp cannot be used.
Reversed patch to remove error handler when the jmp_buf is stored in the
main program structure, not the png_struct.
The error handler is needed because the default handler in libpng will
always use the jmp_buf in the library control structure; this is never
set. The gregbook code is a useful example because, even though it
uses setjmp/longjmp, it shows how error handling can be implemented
using control mechanisms not directly supported by libpng. The
technique will work correctly with mechanisms such as Microsoft
Structure Exceptions or C++ exceptions (compiler willing - note that gcc
does not by default support interworking of C and C++ error handling.)
2010-06-28 20:19:57 -05:00
Glenn Randers-Pehrson
6cac43c974
[devel] Changed char *msg to PNG_CONST char *msg in pngrutil.c
2010-06-26 12:33:17 -05:00
Glenn Randers-Pehrson
82980f31d9
[devel] Make png_set_sRGB_gAMA_and_cHRM set values using either the fixed or
...
floating point APIs, but not both.
2010-06-26 12:31:58 -05:00
Glenn Randers-Pehrson
a691ca0f85
[devel] Changed "#else" to "#endif/#ifdef" in png_set_gAMA_and_cHRM().
2010-06-25 22:03:21 -05:00
Glenn Randers-Pehrson
a42edec9ef
[devel] Imported from libpng-1.5.0beta33.tar
2010-06-25 21:46:45 -05:00
Glenn Randers-Pehrson
a272d8fe3d
[devel] Made FIXED and FLOATING options consistent in the APIs they enable
...
and disable. Corrected scripts/options.awk to handle both command line
options and options specified in the .dfa files.
2010-06-25 21:45:31 -05:00
Glenn Randers-Pehrson
a81c59a960
[devel] Tag recent releases.
2010-06-25 20:41:42 -05:00
Glenn Randers-Pehrson
4db344230d
[devel] Imported from libpng-1.5.0beta32.tar
2010-06-25 20:18:44 -05:00
Glenn Randers-Pehrson
821b7106b2
[devel] Imported from libpng-1.5.0beta31.tar
2010-06-25 20:06:43 -05:00
Glenn Randers-Pehrson
ef3831a1fe
[devel] Imported from libpng-1.5.0beta30.tar
2010-06-25 20:06:40 -05:00
Glenn Randers-Pehrson
5feb87cd0e
[devel] Imported from libpng-1.5.0beta29.tar
2010-06-25 20:06:38 -05:00
Glenn Randers-Pehrson
57d9617964
[devel] Imported from libpng-1.5.0beta28.tar
2010-06-25 20:06:35 -05:00
Glenn Randers-Pehrson
78d55454aa
[devel] Imported from libpng-1.5.0beta27.tar
2010-06-25 20:06:33 -05:00
Glenn Randers-Pehrson
5b3d554e1e
[devel] Imported from libpng-1.5.0beta26.tar
2010-06-25 20:06:30 -05:00
Glenn Randers-Pehrson
53c07f5909
[devel] Imported from libpng-1.5.0beta25.tar
2010-06-25 20:06:28 -05:00
Glenn Randers-Pehrson
537c1a5747
[devel] Imported from libpng-1.5.0beta24.tar
2010-05-07 09:55:50 -05:00
Glenn Randers-Pehrson
f24daf23a5
[devel] Added more blank lines for readability.
2010-05-06 09:44:04 -05:00
Glenn Randers-Pehrson
198d836483
[devel] Bump back to version libpng-1.5.0beta24
2010-04-29 11:54:35 -05:00
Glenn Randers-Pehrson
d05f3728de
[devel] Bump back to version libpng-1.5.0beta23
2010-04-29 11:52:52 -05:00
Glenn Randers-Pehrson
2b8bef1d15
[devel] make png_reset_zstream prototype in png.h conditional on PNG_READ
2010-04-29 11:50:24 -05:00
Glenn Randers-Pehrson
98914f74bf
[devel] Bump back to version libpng-1.5.0beta24
2010-04-29 10:57:18 -05:00
Glenn Randers-Pehrson
aa3143cf6f
[devel] Imported from libpng-1.5.0beta23.tar
2010-04-29 10:56:05 -05:00
Glenn Randers-Pehrson
1f1becf87f
[devel] Fix a spelling typo in the contrib/pngminim makefiles
2010-04-29 09:47:12 -05:00
Glenn Randers-Pehrson
259f12628e
[devel] Deleted no longer used file scripts/def.dfn
2010-04-29 08:43:53 -05:00
Glenn Randers-Pehrson
b621794ed5
[devel] Removed contrib/pngminim/*/gather.sh
...
Source file gathering is now done in the makefile.
2010-04-29 08:41:33 -05:00
Glenn Randers-Pehrson
a0b0d8b9db
[devel] Removed dummy_inflate.c from contrib/pngminim/encoder
2010-04-29 08:40:24 -05:00
Glenn Randers-Pehrson
f10fa3c9f4
[devel] Include png_reset_zstream() in png.c only when PNG_READ_SUPPORTED
...
is defined. We are considering removing it entirely.
2010-04-29 08:25:29 -05:00
Glenn Randers-Pehrson
4a4de1899a
[devel] Added logunsupported=1 to cause pnglibconf.h to document disabled
...
options. This makes the installed pnglibconf.h more readable but causes no
other change. The intention is that users of libpng will find it
easier to understand if an API they need is missing.
2010-04-28 21:26:57 -05:00
Glenn Randers-Pehrson
cf2fd3b6ca
[devel] Corrected protection of png_get_user_transform_ptr.
...
The API declaration in png.h is removed if both READ and WRITE USER_TRANSFORM
are turned off but was left defined in pngtrans.c
2010-04-28 21:25:18 -05:00
Glenn Randers-Pehrson
1ce8133282
[devel] Corrected PNG_UNKNOWN_CHUNKS_SUPPORTED
...
to PNG_HANDLE_AS_UNKNOWN_SUPPORTED in gregbook/readpng2.c
2010-04-28 18:44:48 -05:00
Glenn Randers-Pehrson
5905484c75
[devel] Corrected PNG_REMOVED macro to take five arguments.
...
The macro was documented with two arguments (name,ordinal), however
the symbol checking .dfn files assumed five arguments. The five
argument form seems more useful so it is changed to that.
2010-04-28 13:21:03 -05:00
Glenn Randers-Pehrson
cb096a4f05
[devel] Bump back to version libpng-1.5.0beta23
2010-04-28 13:15:54 -05:00
Glenn Randers-Pehrson
b7e1abe25c
[devel] Removed extraneous contrib/pngminim/pngusr.h
2010-04-28 08:08:18 -05:00
Glenn Randers-Pehrson
d24a6b5fd0
[devel] Imported from libpng-1.5.0beta22.tar
2010-04-28 08:03:42 -05:00
Glenn Randers-Pehrson
e3e8f6bf02
[devel] Revised contrib/pngminim to use the "everything off" option
...
in pngusr.dfa.
2010-04-28 07:54:14 -05:00
Glenn Randers-Pehrson
cd74549840
[devel] Improved the options.awk script; added an "everything off" option.
2010-04-28 07:52:16 -05:00
Glenn Randers-Pehrson
34713ce23c
[devel] Fixed dependencies of GET_INT_32 - it doesn't require READ_INT_FUNCTIONS
...
because it has a macro equivalent.
2010-04-28 07:49:28 -05:00
Glenn Randers-Pehrson
bb317fb0b2
[devel] Bump to libpng-1.5.0beta22
2010-04-28 07:44:23 -05:00
Glenn Randers-Pehrson
deec549d9f
[devel] Imported from libpng-1.5.0beta21.tar
2010-04-26 22:51:22 -05:00
Glenn Randers-Pehrson
d026f9cce6
[devel] Set PNG_NO_READ_BGR, PNG_NO_IO_STATE, and PNG_NO_TIME_RFC1123 in
...
contrib/pngminim/decoder/pngusr.h to make a smaller decoder application.
2010-04-26 22:48:39 -05:00
Glenn Randers-Pehrson
cd01d222fb
[devel] Removed some unwanted binary bytes from the new vstudio project files.
2010-04-24 21:35:04 -05:00
Glenn Randers-Pehrson
9c5beb56e3
[devel] Bump back to version libpng-1.5.0beta21
2010-04-24 20:35:28 -05:00
Glenn Randers-Pehrson
810c2e6077
[devel] Trivial editing; changed CRLF to NEWLINE in the new vstudio project files.
2010-04-24 20:33:42 -05:00
Glenn Randers-Pehrson
d35b878b5e
[devel] Imported from libpng-1.5.0beta20.tar
2010-04-24 14:21:51 -05:00
Glenn Randers-Pehrson
5a36a3379b
[devel] Fix more permissions in version libpng-1.5.0beta20
2010-04-24 13:52:07 -05:00
Glenn Randers-Pehrson
1ebd001fb4
[devel] Bump back to version libpng-1.5.0beta20
2010-04-24 13:05:38 -05:00
Glenn Randers-Pehrson
18b897da9c
[devel] Bump back to version libpng-1.5.0beta19
2010-04-24 13:05:26 -05:00
Glenn Randers-Pehrson
d3bb6bb5c1
[devel] Update permissions in libpng-1.5.0beta20
2010-04-24 12:58:54 -05:00
Glenn Randers-Pehrson
25ea204b1b
[devel] Relaxed permissions on some files.
2010-04-24 12:54:46 -05:00
Glenn Randers-Pehrson
7b52087998
[devel] Bump to version libpng-1.5.0beta20
2010-04-24 12:23:23 -05:00
Glenn Randers-Pehrson
b56e0d06f9
[devel] Imported from libpng-1.5.0beta19.tar
2010-04-24 12:17:49 -05:00
Glenn Randers-Pehrson
304a1a1754
[devel] Replaced visualc6 and visualc71 projects with new vstudio project
2010-04-24 12:15:51 -05:00
Glenn Randers-Pehrson
9ee577c7f5
[devel] Changed Windows calling convention back to __cdecl for API functions.
...
For Windows/x86 platforms only:
__stdcall is no longer needed for Visual Basic, so libpng-1.5.0 uses
__cdecl throughout (both API functions and callbacks) on Windows/x86
platforms.
2010-04-24 09:40:44 -05:00
Glenn Randers-Pehrson
c3d73f4da9
[devel] Added PNG_{READ,WRITE}_INT_FUNCTIONS_SUPPORTED.
...
This allows the functions
to read and write ints to be disabled independently of PNG_USE_READ_MACROS,
which allows libpng to be built with the functions even though the default
is to use the macros - this allows applications to choose at app build
time whether or not to use macros (previously impossible because the
functions weren't in the default build.)
2010-04-24 09:18:57 -05:00
Glenn Randers-Pehrson
1ff571914c
[devel] Don't force QUANTIZE on in scripts/symbols.dfn
...
It's now already on by default.
2010-04-24 09:16:03 -05:00
Glenn Randers-Pehrson
40f7bcc3c0
[devel] Update Makefile.in to delete the xcode project.
2010-04-24 08:37:00 -05:00
Glenn Randers-Pehrson
9e023307b9
[devel] Fix 'make distcheck'
2010-04-17 22:50:06 -05:00
Glenn Randers-Pehrson
8b1b1219e5
[devel] Bump to version libpng-1.5.0beta19
2010-04-17 19:15:01 -05:00
Glenn Randers-Pehrson
5623f781bc
[devel] Imported from libpng-1.5.0beta18.tar
2010-04-17 19:09:22 -05:00
Glenn Randers-Pehrson
7efdbaf320
[devel] Added some PNG_NO_* defines to contrib/pngminim/*/pngusr.h to
...
save some space.
2010-04-17 18:50:23 -05:00
Glenn Randers-Pehrson
98eb24c726
[devel] Updated contrib/pngminim project to work with the new pnglibconf.h
2010-04-17 18:07:33 -05:00
Glenn Randers-Pehrson
8bdfb47d8c
[devel] Moved replacements for png_error() and png_warning() from the
...
contrib/pngminim project to pngerror.c, for use when warnings or
errors are disabled via PNG_NO_WARN or PNG_NO_ERROR_TEXT, to avoid
storing unneeded error/warning text.
2010-04-17 18:05:01 -05:00
Glenn Randers-Pehrson
aecef098f9
[devel] Restored the ability to include optional pngusr.h
2010-04-17 18:03:02 -05:00
Glenn Randers-Pehrson
8c065ddbe6
[devel] Revised contrib/pngminim/decoder to build and use pnglibconf.h
2010-04-17 12:40:12 -05:00
Glenn Randers-Pehrson
6ff9ec81c5
[devel] Attempt to get contrib/pngminim working with new pnglibconf.h
...
not quite working yet (pow is undefined)
2010-04-17 11:53:38 -05:00
Glenn Randers-Pehrson
9d976c0ef1
[devel] Change DITHER to QUANTIZE in the pnglibconf.h maintenance scripts
2010-04-17 11:47:58 -05:00
Glenn Randers-Pehrson
8fc3604418
[devel] Note in CHANGES that pngusr.h is unuseable
...
and fixed a small typo in a comment in pngconf.h
2010-04-17 10:17:46 -05:00
Glenn Randers-Pehrson
bb6d66e8ef
[devel] Bump to version libpng-1.5.0beta18
2010-04-17 09:25:02 -05:00
Glenn Randers-Pehrson
114f675bd7
[devel] Update CHANGES and ANNOUNCE
2010-04-17 09:21:40 -05:00
Glenn Randers-Pehrson
c9cd65ad7a
[devel] Update README files.
2010-04-17 09:13:37 -05:00
Glenn Randers-Pehrson
8027fed7d1
[devel] Imported from libpng-1.5.0beta17.tar
2010-04-17 08:58:29 -05:00
Glenn Randers-Pehrson
f90165b452
[devel] Removed the xcode project (temporarily until an updated
...
version that works with libpng-1.5.0 is received)
2010-04-17 08:56:40 -05:00
Glenn Randers-Pehrson
5e69cd2c14
[devel] Revise visualc projects to work with pnglibconf.h
2010-04-17 08:48:25 -05:00
Glenn Randers-Pehrson
5eb5cce173
[devel] Fix bracketing error just introduced in pngrutil.c macro definitions.
2010-04-17 08:45:57 -05:00
Glenn Randers-Pehrson
725314432d
[devel] Revise scripts to work with pnglibconf.h
2010-04-17 08:17:51 -05:00
Glenn Randers-Pehrson
98b4f0032b
[devel] Renamed pnglconf.h to pnglibconf.h
2010-04-16 22:30:26 -05:00
Glenn Randers-Pehrson
294e380438
[devel] scripts/pnglconf.dfa comment update, correct USER_CONFIG
2010-04-16 22:20:18 -05:00
Glenn Randers-Pehrson
862cb20ea6
[devel] Freeze build-time only configuration in the build.
...
In all prior versions of libpng most configuration options
controlled by compiler #defines had to be repeated by the
application code that used libpng. This patch changes this
so that compilation options that can only be changed at build
time are frozen in the build. Options that are compiler
dependent (and those that are system dependent) are evaluated
each time - pngconf.h holds these. Options that can be changed
per-file in the application are in png.h. Frozen options are
in the new installed header file pnglconf.h
2010-04-16 22:12:51 -05:00
Glenn Randers-Pehrson
3cd7cffd0c
[devel] Imported from libpng-1.5.0beta17.tar
2010-04-16 19:28:42 -05:00
Glenn Randers-Pehrson
0f0a19e9ce
[devel] Expanded the CHANGES entry about disabling dithering support.
2010-04-13 22:32:16 -05:00
Glenn Randers-Pehrson
6098807252
[devel] Document the fact that png_set_dither() is no longer supported.
2010-04-13 22:11:06 -05:00
Glenn Randers-Pehrson
54ac9a918e
[devel] Slightly expanded the documentation of PNG_ABORT()
2010-04-02 17:06:22 -05:00
Glenn Randers-Pehrson
f136155383
[devel] Bump to version libpng-1.5.0beta17
2010-04-01 07:19:28 -05:00
Glenn Randers-Pehrson
c2fa196d14
[devel] Imported from libpng-1.5.0beta16.tar
2010-04-01 07:19:17 -05:00
Glenn Randers-Pehrson
3e42a99cf5
[devel] Restored the macro definition of png_check_sig().
2010-03-31 22:16:07 -05:00
Glenn Randers-Pehrson
92a3ef4a14
[devel] Combined multiple png_warning() calls for a single error.
2010-03-31 21:50:21 -05:00
Glenn Randers-Pehrson
946c3f985f
[devel] Relocated newly misplaced "else" in pngset.c
2010-03-30 14:50:07 -05:00
Glenn Randers-Pehrson
dd78d526d0
[devel] Make png_text_struct independent of PNG_iTXt_SUPPORTED
2010-03-30 08:34:02 -05:00
Glenn Randers-Pehrson
9ba962665d
[devel] Removed references to makefile.mingw from README.
2010-03-25 08:10:11 -05:00
Glenn Randers-Pehrson
844a3c050c
[devel] Bump to version libpng-1.5.0beta16
2010-03-17 07:42:04 -05:00
Glenn Randers-Pehrson
b07e8568ee
[devel] Fixed typo in CHANGES and ANNOUNCE
2010-03-17 07:39:02 -05:00
Glenn Randers-Pehrson
b2eacd3e1f
[devel] Imported from libpng-1.5.0beta15.tar
2010-03-17 07:33:10 -05:00
Glenn Randers-Pehrson
7e597910fd
[devel] Eliminated new gnu-specific usage of "@<" in Makefile.am
2010-03-17 07:29:42 -05:00
Glenn Randers-Pehrson
4c8f7269ff
[devel] Eliminated PNG_NO_EXTERN and PNG_ALL_EXTERN
2010-03-16 19:30:01 -05:00
Glenn Randers-Pehrson
8069aeb88e
[devel] Regenerated Makefile.in and configure; relocated libpng.def
...
to scripts/symbols.def, added scripts/checksym.*
2010-03-16 08:07:22 -05:00
Glenn Randers-Pehrson
c551c0dbb3
[devel] Added symbols.chk target to Makefile.am to validate symbols in png.h
...
against the new DEF file scripts/symbols.def.
Changed the default DEF file back to pngwin.def.
Removed makefile.mingw.
2010-03-16 07:52:34 -05:00
Glenn Randers-Pehrson
b92e2f7335
[devel] Expanded TAB characters in contrib/pngminus
2010-03-15 09:48:37 -05:00
Glenn Randers-Pehrson
42928551cf
[devel] Expanded TAB character in contrib/gregbook/rpng-x.c and rpng2-x.c
2010-03-15 08:38:06 -05:00
Glenn Randers-Pehrson
53198fb8b1
[devel] Bump to version libpng-1.5.0beta15
2010-03-14 09:46:36 -05:00
Glenn Randers-Pehrson
4a215541e7
[devel] Imported from libpng-1.5.0beta14.tar
2010-03-14 09:42:07 -05:00
Glenn Randers-Pehrson
d00bbb29b8
[devel] Made PNG_BUILD_DLL safe: it can be set whenever a DLL is being built.
...
Removed the include of sys/types.h - apparently unnecessary now on the
platforms on which it happened (all but Mac OS and RISC OS).
Moved the Mac OS test into pngpriv.h (the only place it is used.)
2010-03-14 09:15:49 -05:00
Glenn Randers-Pehrson
2bc7abfaca
[devel] Remove references to nonexistent files from README.
2010-03-13 21:36:45 -06:00
Glenn Randers-Pehrson
882340c959
[devel] Clean up indentation of comments in pngconf.h
2010-03-13 21:19:51 -06:00
Glenn Randers-Pehrson
c44253fa0c
[devel] Fixed indentation in pngconf.h
...
Removed scripting cruft from scripts/makefile.mingw
Removed mention of now nonexistent files from scripts/README.txt
2010-03-13 20:58:39 -06:00
Glenn Randers-Pehrson
d7da8bb121
[devel] Eliminated scripts/*.def in favor of libpng.def;
...
updated projects/visualc71 and removed scripts/makefile.cygwin.
2010-03-13 20:30:10 -06:00
Glenn Randers-Pehrson
1a0e1d27e4
[devel] Expand %HEADERS% markup in Makefile.am and Makefile.in
2010-03-13 19:26:34 -06:00
Glenn Randers-Pehrson
a528fba7aa
[devel] Enabled 'attribute' warnings that are relevant to library APIs
...
and callbacks.
Changed rules for generation of the various symbol files and added a new
rule for a DEF file (which is also added to the distribution).
Updated the symbol file generation to stop it adding spurious spaces
to EOL (coming from preprocessor macro expansion). Added a facility
to join tokens in the output and rewrite *.dfn to use this.
2010-03-12 21:03:18 -06:00
Glenn Randers-Pehrson
eae8e36ec4
[devel] PNG_EXPORT changed to include an 'ordinal' field
...
for DEF file generation.
PNG_CALLBACK added to make callback definitions uniform. PNGAPI split
into PNGCAPI (base C form), PNGAPI (exports) and PNGCBAPI (callbacks),
and appropriate changes made to all files. Cygwin builds re-hinged to
allow procedure call standard changes and to remove the need for the DEF
file (fixes build on Cygwin).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
to subscribe) or to glennrp at users.sourceforge.net
Glenn R-P
2010-03-12 17:36:53 -06:00
Glenn Randers-Pehrson
69dd5f56f8
[devel] Added back in export symbols that can be present
...
in the Windows build but are disabled by default.
2010-03-11 17:38:18 -06:00
Glenn Randers-Pehrson
300c8aea4d
[devel] Corrected CE and OS/2 DEF files (scripts/png*def)
...
for symbols removed and added ordinal numbers to the Windows DEF file,
and corrected the duplicated ordinal numbers on CE symbols that are
commented out.
2010-03-11 06:24:01 -06:00
Glenn Randers-Pehrson glennrp@comcast.net
d0e35cdb53
[devel] Revised Makefile.am to account for recent additions and replacements.
2010-03-11 05:48:32 -06:00
Glenn Randers-Pehrson
526a6ad5f6
[devel] Removed direct access to png_ptr->io_ptr from the pngtest Windows code
2010-03-11 05:42:20 -06:00
Glenn Randers-Pehrson
2f7cbabfda
[devel] Bump to version libpng-1.5.0beta14
2010-03-10 09:12:11 -06:00
Glenn Randers-Pehrson
c6fecfbaa5
[devel] Imported from libpng-1.5.0beta13.tar
2010-03-10 09:12:03 -06:00
Glenn Randers-Pehrson
632a84eff7
[devel] Make all png_debug macros into *unterminated* statements
...
or expressions (i.e. a trailing ';' must always be added) and correct
the format statements in various png_debug messages.
2010-03-09 22:28:33 -06:00
Glenn Randers-Pehrson
31f92b0ffa
[devel] Eliminated dependence of pngtest.c on the private pngdebug.h file.
2010-03-09 16:47:59 -06:00
Glenn Randers-Pehrson
f70645c592
[devel] Removed PNGAPI from the png_longjmp_ptr typedef.
2010-03-09 16:46:49 -06:00
Glenn Randers-Pehrson
dc6182a307
[devel] Moved the 'config.h' support from pngconf.h to pngpriv.h
2010-03-09 16:45:06 -06:00
Glenn Randers-Pehrson
f2c99bd5dc
[devel] Removed unused png_measure_compressed_chunk() from pngpriv.h
...
and libpngpf.3
2010-03-09 08:40:52 -06:00
Glenn Randers-Pehrson
afa999d446
[devel] Revise the "#ifdef" blocks in png_inflate()
...
so it will compile when neither PNG_USER_CHUNK_MALLOC_MAX nor
PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED is defined.
2010-03-09 07:52:30 -06:00
Glenn Randers-Pehrson
3919f23a69
[devel] Protect pngstruct.h pnginfo.h, and pngdebug.h from being included twice
2010-03-08 21:52:28 -06:00
Glenn Randers-Pehrson
c957b6b0a4
[devel] Bump to version libpng-1.5.0beta13
2010-03-08 21:49:31 -06:00
Glenn Randers-Pehrson
86f88ddd53
[devel] Imported from libpng-1.5.0beta12.tar
2010-03-08 21:31:46 -06:00
Glenn Randers-Pehrson
c17c957f95
[devel] Added copyright statement to pngdebug.h
...
and removed a redundant line from the copyright info in pngconf.h
2010-03-08 21:26:48 -06:00
Glenn Randers-Pehrson
c3cd22b404
[devel] Moved "#include png.h" inside pngpriv.h and removed "#include png.h"
...
from the source files, along with "#define PNG_EXPOSE_INTERNAL_STRUCTURES"
and "#define PNG_NO_PEDANTIC_WARNINGS" (John Bowler).
Also created new pngdebug.h and moved debug definitions there.
2010-03-08 21:10:25 -06:00
Glenn Randers-Pehrson
b709c4aedc
[devel] Updated TODO list now that png_struct and info_struct are hidden
...
and setjmp usage has been improved.
2010-03-08 11:34:41 -06:00
Glenn Randers-Pehrson
aaf377c874
[devel] Bump to version libpng-1.5.0beta12
2010-03-08 11:21:39 -06:00
Glenn Randers-Pehrson
e4c706af54
[devel] Imported from libpng-1.5.0beta11.tar
2010-03-06 14:53:56 -06:00
Glenn Randers-Pehrson
6f6a91a131
[devel] Fix indentation in png.c, pngmem,c, pngrio.c, and pngwio.c
2010-03-06 13:54:59 -06:00
Glenn Randers-Pehrson
e8b1aa0c5a
[devel] Fixed more inconsistent indentation in the header files.
2010-03-06 11:39:29 -06:00
Glenn Randers-Pehrson
d4df36c7f0
[devel] Fixed indentation of CPP directives in the header files
...
with the help of "cppi".
2010-03-06 10:45:55 -06:00
Glenn Randers-Pehrson
a565f0e234
[devel] Always put whitespace before "?"
2010-03-06 08:24:45 -06:00
Glenn Randers-Pehrson
72cda2db72
[devel] Expand tabs and use consistent whitespace in pngrutil.c
2010-03-06 08:18:03 -06:00
Glenn Randers-Pehrson
16908a1d78
[devel] Make use of whitespace consistent in pngget.c and pngwutil.c
2010-03-06 07:34:28 -06:00
Glenn Randers-Pehrson
da30135c4c
[devel] Fix whitespace in pngerror.c and pngset.c
2010-03-06 06:42:48 -06:00
Glenn Randers-Pehrson
45624d6c2c
[devel] Fix inconsistent whitespace in pngtrans.c, pngwrite.c, and pngwtran.c
2010-03-03 11:40:43 -06:00
Glenn Randers-Pehrson
4e763f1b30
[devel] Revised the "SEE ALSO" lines in manpages
...
to look like those in "man man"
2010-03-03 10:45:50 -06:00
Glenn Randers-Pehrson
7fb32a8621
[devel] Fixed formatting of the "See also" line in man pages.
2010-03-03 09:47:49 -06:00
Glenn Randers-Pehrson
3ea36758ef
[devel] Fix inconsistent whitespace and indentation.
2010-03-03 09:35:31 -06:00
Glenn Randers-Pehrson
262d0ff047
[devel] Tidied up some inconsistent indentation.
2010-03-03 07:06:54 -06:00
Glenn Randers-Pehrson
65a223794a
[devel] Bump to version libpng-1.5.0beta11
2010-03-03 05:39:36 -06:00
Glenn Randers-Pehrson
6c2e919c7e
[devel] Removed checking for already-included setjmp.h from pngconf.h
2010-03-03 05:37:04 -06:00
Glenn Randers-Pehrson
d259e6c570
[devel] Revised png_longjmp() calls in contrib/gregbook to use png_ptr
2010-02-21 23:36:35 -06:00
Glenn Randers-Pehrson
4531ded5c1
[devel] Removed unused gzio.c from contrib/pngminim gather and makefile scripts
...
This is necessary when libz is upgraded to 1.2.4
2010-02-21 23:07:13 -06:00
Glenn Randers-Pehrson
95ca51b6e2
[devel] Imported from libpng-1.5.0beta09.tar
2010-02-19 14:13:03 -06:00
Glenn Randers-Pehrson
a24fc2e1d3
[devel] Removed -D_ALLSOURCE from configure.ac, makefile.aix,
...
and CMakeLists.txt, and changed the name of png_ptr->jmpbuf in pngstruct.h
to png_ptr->png_jmpbuf.
2010-02-19 14:11:03 -06:00
Glenn Randers-Pehrson
69e238b098
[devel] Imported from libpng-1.5.0beta08.tar
2010-02-19 12:59:44 -06:00
Glenn Randers-Pehrson
64af5394f5
[devel] Added -D_ALLSOURCE in configure.ac, makefile.aix, and CMakeLists.txt
...
when building on AIX.
2010-02-19 12:50:45 -06:00
Glenn Randers-Pehrson
1beadafcc7
[devel] Added PNG_NORETURN attribute to the png_longjmp() function.
2010-02-19 11:26:40 -06:00
Glenn Randers-Pehrson
81dab093fc
[devel] Added "#ifdef _AIX; #define _ALL_SOURCE 1; #endif" to pngpriv.h,
...
otherwise AIX reserves "jmpbuf" and renames it to "__jmpbuf".
2010-02-19 11:02:41 -06:00
Glenn Randers-Pehrson
6a9e480512
[devel] Imported from libpng-1.5.0beta07.tar
2010-02-19 09:59:25 -06:00
Glenn Randers-Pehrson
f98726ae98
[devel] Added exported png_longjmp() function.
2010-02-19 09:54:53 -06:00
Glenn Randers-Pehrson
946199e8e4
[devel] Removed obsolete unused MMX-querying support from contrib/gregbook
2010-02-19 07:57:34 -06:00
Glenn Randers-Pehrson
cce6521a9f
[devel] Noted in scripts/makefile.mingw that it expects to be run under MSYS.
2010-02-18 23:03:09 -06:00
Glenn Randers-Pehrson
63ee896ab5
[devel] Fix typo in ANNOUNCE and CHANGES
2010-02-14 07:47:39 -06:00
Glenn Randers-Pehrson
9e966cadbd
[devel] Bump to version 1.5.0beta07
2010-02-14 07:45:27 -06:00
Glenn Randers-Pehrson
7a5be53631
[devel] Imported from libpng-1.5.0beta06.tar
2010-02-14 07:18:23 -06:00
Glenn Randers-Pehrson
6e283234c9
[devel] Imported from libpng-1.5.0beta05.tar
2010-02-12 21:28:31 -06:00
Glenn Randers-Pehrson
288ea702f2
[devel] Update png_compress_chunk() rewrite.
2010-02-12 21:20:37 -06:00
Glenn Randers-Pehrson
ee4eb9a910
[devel] Added several (png_bytep) typecasts in calls to png_inflate().
2010-02-12 20:30:45 -06:00
Glenn Randers-Pehrson
9d51afcacb
[devel] Complete rewrite of png_decompress_chunk() by John Bowler
2010-02-12 20:12:56 -06:00
Glenn Randers-Pehrson
389c1f20ad
[devel] Revised png_measure_compressed_chunk()
...
too break from "while" and issue a png_warning on over limit.
2010-02-12 14:14:15 -06:00
Glenn Randers-Pehrson
4748a3346e
[devel] Reset zlib datastream after detecting oversized compressed chunk
2010-02-12 13:55:01 -06:00
Glenn Randers-Pehrson
9b0956fed1
[devel] Reverted to original png_decompress_chunk() plus counting pass.
2010-02-12 11:17:22 -06:00
Glenn Randers-Pehrson
7d1f5914e5
[devel] Relocated misplaced closing curley bracket in png_decompress_chunk().
...
Removed unused "buffer_size" variable from png_decompress_chunk().
2010-02-11 23:03:26 -06:00
Glenn Randers-Pehrson
2f84504413
[devel] Removed the cbuilder5 project, which has not been updated to 1.4.0.
2010-02-09 02:01:22 -06:00
Glenn Randers-Pehrson
42f93fb706
[devel] Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES
2010-02-09 01:58:47 -06:00
Glenn Randers-Pehrson
f97953181a
[devel] Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES
...
and updated the "last change" comments to 1.5.0
2010-02-09 01:16:48 -06:00
Glenn Randers-Pehrson
3f506b788e
[devel] Removed PNG_DEPSTRUCT markup in pngstruct.h and pnginfo.h
...
and undid the linewrapping that it required.
Revised comments in pngstruct.h and pnginfo.h and added pointers to
the libpng license.
2010-02-09 00:36:08 -06:00
Glenn Randers-Pehrson
db5f4307ca
[devel] Bump to version libpng-1.5.0beta05
2010-02-08 23:34:43 -06:00
Glenn Randers-Pehrson
b9a78bedee
[devel] Imported from libpng-1.5.0beta04.tar
2010-02-08 23:34:32 -06:00
Glenn Randers-Pehrson
f0cdbe7e03
[devel] Removed malformed "incomplete struct declaration" of png_info
...
from png.h
2010-02-08 23:18:15 -06:00
Glenn Randers-Pehrson
42c4ebbea6
[devel] Bump to version libpng-1.5.0beta04
2010-02-08 15:48:07 -06:00
Glenn Randers-Pehrson
f1eb918dc8
[devel] Imported from libpng-1.5.0beta03.tar
2010-02-08 15:42:16 -06:00
Glenn Randers-Pehrson
3c6df196b5
[devel] Updated configure script to use SO number 15.
2010-02-08 15:40:53 -06:00
Glenn Randers-Pehrson
0014f3de55
[devel] Removed two new incorrect typedefs in png.h
2010-02-08 05:41:30 -06:00
Glenn Randers-Pehrson
e00ed36d71
[devel] Imported from libpng-1.5.0beta02.tar
2010-02-07 22:52:08 -06:00
Glenn Randers-Pehrson
c40df89cef
[devel] Fixed incorrect test in new png_push_save_buffer() code.
2010-02-07 19:49:07 -06:00
Glenn Randers-Pehrson
e3f3c4ea0b
[devel] Imported from libpng-1.5.0beta01.tar
2010-02-07 18:10:43 -06:00
Glenn Randers-Pehrson
67a83db98d
[devel] Imported from libpng-1.4.0rc08.tar
2010-01-01 18:32:13 -06:00
Glenn Randers-Pehrson
a0e0c6c8e7
[devel] Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
...
in pngtest.c
2010-01-01 18:31:26 -06:00
Glenn Randers-Pehrson
a58818a079
[devel] Imported from libpng-1.4.0rc07.tar
2010-01-01 10:31:50 -06:00
Glenn Randers-Pehrson
e69b55d9ac
[devel] Update copyright year to 2010
2010-01-01 10:29:06 -06:00
Glenn Randers-Pehrson
a515d3066e
[devel] Use png_calloc() instead of png_malloc(); png_memset() in pngrutil.c
2010-01-01 10:25:39 -06:00
Glenn Randers-Pehrson
45af819322
[devel] Updated documentation about libpng-1.2 to 1.4 differences.
2009-12-30 08:37:29 -06:00
Glenn Randers-Pehrson
f81b50bf9d
[devel] Imported from libpng-1.4.0rc06.tar
2009-12-29 16:51:34 -06:00
Glenn Randers-Pehrson
e52c7ac7a3
[devel] Imported from libpng-1.4.0rc05.tar
2009-12-27 16:39:14 -06:00
Glenn Randers-Pehrson
5ce838be40
[devel] Fix typo in INSTALL
2009-12-26 09:57:02 -06:00
Glenn Randers-Pehrson
a687af1e72
[devel] Changed "libpng-pc.in" to "libpng.pc.in" in configure.ac, configure,
...
and Makefile.in to be consistent with changes in libpng-1.4.0rc03
2009-12-25 16:17:30 -06:00
Glenn Randers-Pehrson
70529c3b40
[devel] Bump version to 1.4.0rc05
2009-12-25 16:15:50 -06:00
Glenn Randers-Pehrson
dbcfb7151f
[devel] Imported from libpng-1.4.0rc04.tar
2009-12-25 14:27:23 -06:00
Glenn Randers-Pehrson
6ba9088de9
[devel] Swapped PNG_UNKNOWN_CHUNKS_SUPPORTED and PNG_HANDLE_AS_UNKNOWN_SUPPORTED
...
in pngset.c to be consistent with other changes in version 1.2.38.
2009-12-25 14:26:13 -06:00
Glenn Randers-Pehrson
7520224a42
[devel] Bump to version 1.4.0rc04
2009-12-25 14:25:29 -06:00
Glenn Randers-Pehrson
296f64a43e
[devel] Imported from libpng-1.4.0rc03.tar
2009-12-22 09:38:19 -06:00
Glenn Randers-Pehrson
d44e05a363
[master] Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
...
(revising the change in 1.4.0beta99)
2009-12-22 09:16:15 -06:00
Glenn Randers-Pehrson
5265c3889c
[devel] Bump to version 1.4.0rc03
2009-12-22 09:10:46 -06:00
Glenn Randers-Pehrson
62ca98ef5e
[devel] Imported from libpng-1.4.0rc02.tar
2009-12-20 15:16:15 -06:00
Glenn Randers-Pehrson
094340d287
[devel] Bump to version 1.4.0beta110
2009-12-13 15:39:00 -06:00
Glenn Randers-Pehrson
addb84b1bc
[devel] Imported from libpng-1.4.0beta109.tar
2009-12-13 08:15:55 -06:00
Glenn Randers-Pehrson
ffa8924330
[devel] Added "bit_depth" parameter to the private png_build_gamma_table()
...
function. Pass bit_depth=8 to png_build_gamma_table() when bit_depth is 16
but the PNG_16_TO_8 transform has been set, to avoid unnecessary build of
16-bit tables.
2009-12-13 08:14:40 -06:00
Glenn Randers-Pehrson
0452bbcf84
[devel] Imported from libpng-1.4.0beta108.tar
2009-12-11 18:02:44 -06:00
Glenn Randers-Pehrson
7a59e1eae8
[devel] Relocated png_do_chop() to its original position in pngrtran.c
...
The change in version 1.2.41beta08 caused transparency to be handled wrong
in some 16-bit datastreams (Yusaku Sugai).
2009-12-11 07:57:36 -06:00
Glenn Randers-Pehrson
3da965ce4b
[devel] Removed leftover "-DPNG_CONFIGURE_LIBPNG"
...
from contrib/pngminim/*/makefile
2009-12-11 07:56:25 -06:00
Glenn Randers-Pehrson
f633e33632
[devel] Fix typo in CHANGES and ANNOUNCE (libpng12 should be libpng14)
2009-12-04 17:06:40 -06:00
Glenn Randers-Pehrson
914a7e3d4f
[devel] Bump to version 1.4.0beta108
2009-12-04 17:05:57 -06:00
Glenn Randers-Pehrson
d84af669dc
[devel] Imported from libpng-1.4.0beta107.tar
2009-12-04 09:48:05 -06:00
Glenn Randers-Pehrson
451fd6c439
[devel] use PNG_NO_PEDANTIC_WARNINGS instead of PNG_CONFIGURE_LIBPNG
...
to disable the warnings in pngconf.h
2009-12-04 08:46:31 -06:00
Glenn Randers-Pehrson
316152fe73
[devel] Revised scripts/makefile.netbsd, makefile.openbsd, and makefile.sco
...
to put png.h and pngconf.h in $prefix/include, like the other scripts,
instead of in $prefix/include/libpng. Also revised makefile.sco
to put them in $prefix/include/libpng12 instead of in
$prefix/include/libpng/libpng12.
2009-12-04 08:42:32 -06:00
Glenn Randers-Pehrson
03f9b02953
[devel] Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects.
...
and added "#define PNG_NO_PEDANTIC_WARNINGS" in the libpng source files.
2009-12-04 08:40:41 -06:00
Glenn Randers-Pehrson
ce96c3e6b7
[devel] Updated README
2009-11-27 16:17:19 -06:00
Glenn Randers-Pehrson
133840ba4b
[devel] Bump to version 1.4.0beta107
2009-11-27 06:09:41 -06:00
Glenn Randers-Pehrson
e4b9fc28de
[devel] Imported from libpng-1.4.0beta106.tar
2009-11-27 00:28:34 -06:00
Glenn Randers-Pehrson
5876b850b2
[devel] Removed premultiplied alpha feature.
...
It will be replaced in the future with a function that accounts for gamma.
2009-11-27 00:24:42 -06:00
Glenn Randers-Pehrson
4cfdb3c095
[devel] Add comment about TODO: issue warning if user tries to premultiply
...
in a nonliner colorspace.
2009-11-26 11:49:37 -06:00
Glenn Randers-Pehrson
b2154ccb2b
[devel] Moved the PNG_DIVIDE_* and PNG_*_PREMULTIPLY macros
...
from png.h to pngpriv.h.
2009-11-26 11:48:15 -06:00
Glenn Randers-Pehrson
5a2015e146
[devel] Bump to version 1.4.0beta106
2009-11-26 11:46:24 -06:00
Glenn Randers-Pehrson
d23f2b2845
[devel] Imported from libpng-1.4.0beta105.tar
2009-11-24 22:14:21 -06:00
Glenn Randers-Pehrson
9d172423df
[devel] Added missing "(" in new PNG_DIVIDE macro.
2009-11-24 20:17:58 -06:00
Glenn Randers-Pehrson
ec29c6507b
[devel] Changed "v" to "(v)" and "65535" to "65535L" in the new macros.
2009-11-24 08:40:44 -06:00
Glenn Randers-Pehrson
768429bbc1
[devel] Use fast integer PNG_DIVIDE_BY_255() or PNG_DIVIDE_BY_65535()
...
to accomplish alpha premultiplication when PNG_READ_COMPOSITE_NODIV_SUPPORTED
is defined. Changed "/255" to "/255.0" in background calculations to make it
clear that the 255 is used as a double (and to prevent anyone from being
tempted to use PNG_DIVIDE_BY_255() there).
2009-11-24 07:26:06 -06:00
Glenn Randers-Pehrson
2a087220dd
[devel] Bump to version 1.4.0beta105
2009-11-21 21:54:53 -06:00
Glenn Randers-Pehrson
bbd20f0a74
[devel] Imported from libpng-1.4.0beta104.tar
2009-11-21 21:51:28 -06:00
Glenn Randers-Pehrson
eae2cf0add
[devel] Rebuilt configure scripts with autoconf-2.65
2009-11-21 21:50:07 -06:00
Glenn Randers-Pehrson
ae3a70351c
[devel] Removed png_longjmp_ptr from scripts/*.def and libpng.3
...
It is a pointer, not an exported function.
2009-11-21 07:21:06 -06:00
Glenn Randers-Pehrson
52f4f257c9
[devel] Bump to version 1.4.0beta104
2009-11-20 23:01:45 -06:00
Glenn Randers-Pehrson
931400bd04
[devel] Imported from libpng-1.4.0beta103.tar
2009-11-20 22:58:48 -06:00
Glenn Randers-Pehrson
1e6ed7364b
[devel] Added png_set_longjmp_fn to scripts/*.def
...
and moved it from libpngpf.3 to libpng.3 since it is exported.
2009-11-20 22:06:56 -06:00
Glenn Randers-Pehrson
4a72ebfafa
[devel] Added png_longjmp_ptr() to libpng.3 synopsis and to scripts/*.def
...
and png_set_longjmp_fn() to libpngpf.3 synopsis
2009-11-20 21:56:36 -06:00
Glenn Randers-Pehrson
f4ea22480a
[devel] Make the 'png_jmpbuf' macro expand to a call that records the correct
...
longjmp function as well as returning a pointer to the setjmp
jmp_buf buffer, and marked direct access to jmpbuf 'deprecated'.
(John Bowler)
2009-11-20 21:38:24 -06:00
Glenn Randers-Pehrson
eddc5af8f5
[devel] Align row_buf on 16-byte boundary in memory.
2009-11-20 21:15:06 -06:00
Glenn Randers-Pehrson
edcd6e14c6
[devel] Restored the PNG_WRITE_FLUSH_AFTER_IEND_SUPPORTED guard
...
around the call to png_flush() after png_write_IEND(). See 1.4.0beta32,
1.4.0beta50 changes above and 1.2.30, 1.2.30rc01 and rc03 in 1.2.41
CHANGES in the libpng_master branch. Someone needs this feature but
I don't remember who.
2009-11-20 20:28:29 -06:00
Glenn Randers-Pehrson
311c8476f8
[devel] Bump to version 1.4.0beta103
2009-11-20 09:46:59 -06:00
Glenn Randers-Pehrson
e5403da657
[master] Removed obsolete comments about ASM
...
from projects/visualc71/README_zlib.txt
2009-11-18 15:50:27 -06:00
Glenn Randers-Pehrson
a7eda24870
[devel] Bump to version 1.4.0rc02
2009-11-18 15:49:11 -06:00
Glenn Randers-Pehrson
bda72552bf
[devel] Removed comments on ASM from projects/visualc71/README_zlib.txt
2009-11-18 15:34:39 -06:00
Glenn Randers-Pehrson
a02188ae94
[devel] Bump to version libpng-1.4.0beta102
2009-11-18 15:32:35 -06:00
Glenn Randers-Pehrson
5b7d8ff306
[devel] Bump to version 1.4.0rc02
2009-11-18 15:32:33 -06:00
Glenn Randers-Pehrson
cd7d63a805
[devel] Imported from libpng-1.4.0beta102.tar
2009-11-18 10:31:31 -06:00
Glenn Randers-Pehrson
9d27a1becf
[devel] Moved descriptions of makefiles and other scripts out of INSTALL
...
into scripts/README.txt and updated the copyright year in scripts/pngwin.rc
from 2006 to 2009.
2009-11-15 07:59:06 -06:00
Glenn Randers-Pehrson
c00408a4e5
[devel] Fixed two new typos in projects/visualc6/pngtest.dsp
2009-11-15 06:08:29 -06:00
Glenn Randers-Pehrson
bb0f557859
[devel] Added libpng-config.in and libpng-pc.in to the zip and 7z
...
distributions (they are needed by CMakeList.txt).
2009-11-15 05:49:13 -06:00
Glenn Randers-Pehrson
ac18f8a706
[devel] Bump to version 1.4.0beta102
2009-11-14 21:52:06 -05:00
Glenn Randers-Pehrson
a2aebb551e
[devel] Bumped INSTALL back to version beta101.
2009-11-14 17:58:32 -06:00
Glenn Randers-Pehrson
354bdb0d58
[devel] Revised INSTALL file slightly.
2009-11-14 17:45:58 -06:00
Glenn Randers-Pehrson
8e3389e574
[devel] Imported from libpng-1.4.0beta101.tar
2009-11-14 17:05:12 -06:00
Glenn Randers-Pehrson
0dfd8d379b
[devel] Bump to version 1.4.0beta101
2009-11-14 14:58:35 -06:00
Glenn Randers-Pehrson
3c38651e8c
[devel] Imported from libpng-1.4.0beta100.tar
2009-11-14 13:59:32 -06:00
Glenn Randers-Pehrson
22ad8f0e7a
[devel] Updated INSTALL to reflect removal and relocation of files.
2009-11-14 07:25:31 -06:00
Glenn Randers-Pehrson
76a64f4491
[devel] Revised CMakeLists.txt to account for new location of libpng-config.in
...
and libpng-pc.in
2009-11-14 06:58:16 -06:00
Glenn Randers-Pehrson
5741bac1c6
[devel] Removed scripts/makefile.nommx and makefile.vcawin32
2009-11-14 06:45:48 -06:00
Glenn Randers-Pehrson
8590d46785
[devel] Removed ASM builds from projects/visualc6 and projects/visualc71
2009-11-14 06:26:46 -06:00
Glenn Randers-Pehrson
71cff967a9
[devel] Bump to version 1.4.0beta100
2009-11-14 06:25:31 -06:00
Glenn Randers-Pehrson
b612eee957
[devel] Imported from libpng-1.4.0beta99.tar
2009-11-14 05:45:49 -06:00
Glenn Randers-Pehrson
28d4aae5b9
[devel] Moved libpng-config.in and libpng.pc-configure.in out of the scripts
...
directory, to libpng-config.in and libpng-pc.in, respectively, and
modified Makefile.am and configure.ac accordingly. Now "configure"
needs nothing from the "scripts" directory.
Also, avoid redefining PNG_CONST in pngconf.h
2009-11-13 16:29:45 -06:00
Glenn Randers-Pehrson
11313ba8e7
[devel] Imported from libpng-1.4.0beta98.tar
2009-11-13 05:19:59 -06:00
Glenn Randers-Pehrson
d708cb8360
[devel] Bump to version 1.4.0beta98
2009-11-12 22:36:41 -06:00
Glenn Randers-Pehrson
78c419c698
[devel] Imported from libpng-1.4.0beta97.tar
2009-11-12 22:27:19 -06:00
Glenn Randers-Pehrson
3f2b6a67d1
[devel] Bump to version 1.4.0beta97
2009-11-12 21:05:30 -06:00
Glenn Randers-Pehrson
9ef984d168
[devel] Bump to version 1.4.0beta98
2009-11-12 20:29:56 -06:00
Glenn Randers-Pehrson
fa557347ba
[devel] Imported from libpng-1.4.0beta97.tar
2009-11-12 20:04:58 -06:00
Glenn Randers-Pehrson
1c6959cfbe
[devel] Revised Makefile.am for better shared library names.
2009-11-12 18:10:00 -06:00
Glenn Randers-Pehrson
be199c1304
[devel] Updated INSTALL with new list of files in the projects directory.
2009-11-12 13:57:42 -06:00
Glenn Randers-Pehrson
51633b7bd7
[devel] Removed projects/beos since no one seems to be supporting it.
...
Also netware.txt
2009-11-12 13:48:02 -06:00
Glenn Randers-Pehrson
0acc99fdcd
[devel] Restored pngtest.png to the libpng-1.4.0beta7 version.
2009-11-12 12:23:07 -06:00
Glenn Randers-Pehrson
f210a05c37
[devel] Restored recent documentation changes.
2009-11-12 10:02:24 -06:00
Glenn Randers-Pehrson
9d57241790
[devel] Bump to version 1.4.0beta97
2009-11-12 10:01:25 -06:00
Glenn Randers-Pehrson
30ec56c8d3
[devel] Fixed up some line-wrapping in the documentation.
2009-11-12 09:57:06 -06:00
Glenn Randers-Pehrson
ce00e7de36
[devel] Imported from libpng-1.4.0beta96.tar
2009-11-12 08:53:06 -06:00
Glenn Randers-Pehrson
4e1e199da8
[devel] Added PNG_PRIVATE macro definition in pngconf.h for possible future use.
...
(ported from the "master" branch)
2009-11-12 08:29:21 -06:00
Glenn Randers-Pehrson
7336dd4a97
[devel] Revised pngtest.png again....
2009-11-12 08:19:37 -06:00
Glenn Randers-Pehrson
03c1bf96b2
[devel] Revised pngtest.png to put chunks in the same order written by pngtest
...
(evidently the same change made in libpng-1.0beta54 was lost).
2009-11-12 08:13:25 -06:00
Glenn Randers-Pehrson
ef07ed3bf8
[devel] Removed recently removed function names from scripts/*.def
...
and removed the deprecated png_check_sig() function.
2009-11-12 07:43:57 -06:00
Glenn Randers-Pehrson
197c2f3244
[devel] Revised Makefile.am to use libpng.sys while building libpng.so
...
so that only PNG_EXPORT functions are exported.
2009-11-12 07:03:54 -06:00
Glenn Randers-Pehrson
bdbade92a7
[devel] Bump to version 1.4.0beta96
2009-11-12 06:24:42 -06:00
Glenn Randers-Pehrson
b0dd0ad7af
[devel] Renamed scripts/makefile.wce to scripts/makefile.cegcc
2009-11-10 10:34:32 -06:00
Glenn Randers-Pehrson
95a15f7a83
[devel] Bump to version libpng-1.4.0rc02
2009-11-10 10:29:18 -06:00
Glenn Randers-Pehrson
fd10753fd8
[devel] Imported from libpng-1.4.0beta95.tar
2009-11-10 06:11:41 -06:00
Glenn Randers-Pehrson
d88da23cbd
[devel] Added dependency on pngpriv.h in contrib/pngminim/*/makefile
2009-11-09 13:34:10 -06:00
Glenn Randers-Pehrson
d5513a7490
[devel] Changed pngminim/*/gather.sh to stop trying to remove pnggccrd.c and pngvcrd.c
2009-11-09 11:28:15 -06:00
Glenn Randers-Pehrson
3d7e15f353
[devel] Changed pngminim/*/gather.sh to stop trying to remove pnggccrd.c and pngvcrd.c
2009-11-09 11:05:40 -06:00
Glenn Randers-Pehrson
ec3f949874
[devel] Fixed some deprecated usages in the contrib directory.
2009-11-09 10:49:12 -06:00
Glenn Randers-Pehrson
884297323d
[devel] Fixed a typo in a comment in CMakeLists.txt
2009-11-09 08:32:53 -06:00
Glenn Randers-Pehrson
015289e21d
[devel] Bump to version 1.4.0beta95
2009-11-09 06:58:18 -06:00
Glenn Randers-Pehrson
17ca34034b
[devel] Imported from libpng-1.4.0beta94.tar
2009-11-09 06:56:01 -06:00
Glenn Randers-Pehrson
44db6e39c3
[devel] Make PNG_DEPSTRUCT, etc., configurable.
...
Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined.
2009-11-08 20:36:28 -06:00
Glenn Randers-Pehrson
013d1d68c0
[devel] Removed dependency of pngtest.o on pngpriv.h in the makefiles.
2009-11-08 13:28:18 -06:00
Glenn Randers-Pehrson
69b0bc089a
[devel] Updated CMakeLists.txt to add "-DPNG_CONFIGURE_LIBPNG" to definitions.
2009-11-07 12:02:48 -06:00
Glenn Randers-Pehrson
0dd4a43f49
[devel] Removed the obsolete, unused pnggccrd.c and pngvcrd.c files.
2009-11-07 11:52:33 -06:00
Glenn Randers-Pehrson
727d3d7463
[devel] Bump to version bump-to-1.4.0beta94.tar
2009-11-07 11:09:16 -06:00
Glenn Randers-Pehrson
c2fb9ec3fa
[devel] Imported from libpng-1.4.0beta93.tar
2009-11-07 11:00:17 -06:00
Glenn Randers-Pehrson
9a4ed98618
[master] Revised projects to account for new deprecated-stuff detection
...
Updated projects/visualc6 and visualc71 with "/d PNG_CONFIGURE_LIBPNG".
They should work but still need to be updated to remove
references to pnggccrd.c or pngvcrd.c and ASM building.
Added README.txt to the beos, cbuilder5, netware, and xcode projects warning
that they need to be updated, to remove references to pnggccrd.c and
pngvcrd.c and to depend on pngpriv.h
2009-11-07 10:55:04 -06:00
Glenn Randers-Pehrson
58c4f6b355
Added -DPNG_CONFIGURE_LIBPNG to the makefile CFLAGS
...
to prevent warnings about direct access to png structs by libpng functions
while building libpng. They need to be tested, especially
those using compilers other than gcc.
2009-11-07 10:50:29 -06:00
Glenn Randers-Pehrson
d29033f264
[master] Added macros to detect use of deprecated features.
...
Added PNG_DEPSTRUCT, PNG_DEPRECATED, PNG_USE_RESULT, PNG_NORETURN, and
PNG_ALLOCATED macros to detect deprecated direct access to the
png_struct or info_struct members and other deprecated usage in
applications (John Bowler).
Added -DPNG_CONFIGURE_LIBPNG to the makefile CFLAGS, to prevent warnings
about direct access to png structs by libpng functions while building
libpng.
Removed three direct references to read_info_ptr members in pngtest.c
that were detected by the new PNG_DEPSTRUCT macro.
Moved the png_debug macro definitions and the png_read_destroy(),
png_write_destroy() and png_far_to_near() prototypes from png.h
to pngpriv.h (John Bowler)
Moved the synopsis lines for png_read_destroy(), png_write_destroy()
png_debug(), png_debug1(), and png_debug2() from libpng.3 to libpngpf.3.
2009-11-07 10:46:42 -06:00
Glenn Randers-Pehrson
047c34b734
[devel] Bump to version bump-to-1.4.0beta93.tar
2009-11-07 10:44:30 -06:00
Glenn Randers-Pehrson
649f741e71
[devel] Imported from libpng-1.4.0beta92.tar
2009-11-04 19:03:57 -06:00
Glenn Randers-Pehrson
d740c8425e
[devel] Show differences between 1.2.40 and 1.4.0
...
instead of between 1.2.41 and 1.4.0 in documentation.
2009-11-04 19:01:54 -06:00
Glenn Randers-Pehrson
9038c3bc48
[devel] Removed "#define 1_4_X" migration aid from pngconf.h
2009-11-03 19:22:32 -06:00
Glenn Randers-Pehrson
74b5acc35d
[devel] Make PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED
2009-11-03 12:27:25 -06:00
Glenn Randers-Pehrson
45b8761bc8
[devel] Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_tIME_SUPPORTED
2009-11-03 11:42:05 -06:00
Glenn Randers-Pehrson
cef4f14470
[devel] Added "pngpriv.h" to include list for makefile.wce
2009-11-03 07:17:50 -06:00
Glenn Randers-Pehrson
53651229b5
[devel] Bump version to 1.4.0beta92
2009-11-03 06:59:45 -06:00
Glenn Randers-Pehrson
555126e06f
[devel] Imported from libpng-1.4.0beta91.tar
2009-11-03 06:52:48 -06:00
Glenn Randers-Pehrson
163fd0a3e8
[devel] Added scripts/makefile.wce and scripts/png32ce.def
...
for supporting WindowsCE.
2009-11-02 21:01:19 -06:00
Glenn Randers-Pehrson
ef9c0e9b19
[devel] Fixed typo in pngrtran.c
2009-11-02 15:42:31 -06:00
Glenn Randers-Pehrson
65d235a5db
[devel] Use the new PNG_CONVERT_tIME_SUPPORTED macro in pngwrite.c
2009-11-02 11:32:30 -06:00
Glenn Randers-Pehrson
0cb46e200c
[devel] Added PNG_CONVERT_tIME_SUPPORTED macro.
2009-11-02 11:24:33 -06:00
Glenn Randers-Pehrson
3ce2146941
[devel] Added WinCE support to ltmain.sh
2009-11-02 09:21:46 -06:00
Glenn Randers-Pehrson
33023522ba
[devel] Bump version to 1.4.0beta91
2009-11-02 07:38:45 -06:00
Glenn Randers-Pehrson
d6ea40a7f0
[devel] Imported from libpng-1.4.0beta90.tar
2009-11-02 07:36:15 -06:00
Glenn Randers-Pehrson
99106deaa2
[devel] Restored WIN32_WCE #ifdefs involving the time.h "tm" structure
...
WindowsCE does not provide the "tm" structure.
2009-11-01 16:26:14 -06:00
Glenn Randers-Pehrson
34a2ebdc4f
[devel] Removed obsolete comments about WindowsCE not having time.h
2009-11-01 06:59:27 -06:00
Glenn Randers-Pehrson
418783e760
[devel] Removed all remaining WIN32_WCE #ifdefs
2009-11-01 06:45:09 -06:00
Glenn Randers-Pehrson
07def6f68b
[devel] Bump version to 1.4.0beta90
2009-10-31 21:43:26 -05:00
Glenn Randers-Pehrson
8f5846f86d
[devel] Imported from libpng-1.4.0beta89.tar
2009-10-31 21:43:16 -05:00
Glenn Randers-Pehrson
f298db9762
[devel] Fix typo in pngconf.h
2009-10-31 21:32:08 -05:00
Glenn Randers-Pehrson
ef29a5e827
[devel] Apply png_user_chunk_cache_max within png_decompress_chunk()
...
and merged libpng-1.2.41.txt with libpng-1.4.0.txt where appropriate.
2009-10-31 19:37:05 -05:00
Glenn Randers-Pehrson
8fe28948ca
[devel] Removed a harmless extra png_set_invert_alpha()
...
from pngwrite.c
2009-10-31 12:31:06 -05:00
Glenn Randers-Pehrson
ee35abbcd0
[devel] More bugfixes and improvements to CMakeLists.txt
...
(Contributed by Philip Lowman)
2009-10-30 15:42:54 -05:00
Glenn Randers-Pehrson
e108e19daf
[devel] Bump version to 1.4.0beta89
2009-10-30 15:35:41 -05:00
Glenn Randers-Pehrson
733da8cc46
[devel] Bump version to 1.4.0beta88
2009-10-30 00:01:48 -05:00
Glenn Randers-Pehrson
5df7edb6af
[devel] Imported from libpng-1.4.0beta87.tar
2009-10-29 23:55:21 -05:00
Glenn Randers-Pehrson
4f25bf37c2
[devel] Revised libpng.txt about 1.2.x->1.4.0 differences
2009-10-29 23:34:44 -05:00
Glenn Randers-Pehrson
dfa99afe40
[devel] Fixed some indentation
...
in pngwutil.c
2009-10-29 23:33:46 -05:00
Glenn Randers-Pehrson
c1a4d64a7b
[devel] Bump version to 1.4.0beta87
2009-10-29 23:31:06 -05:00
Glenn Randers-Pehrson
a2567be084
[devel] Imported from libpng-1.4.0rc01.tar
2009-10-19 20:36:57 -05:00
Glenn Randers-Pehrson
614b91ded0
[devel] Cosmetic changes in pngwrite.c
...
Changed "=" to " = " where needed.
2009-10-17 19:00:18 -05:00
Glenn Randers-Pehrson
bee5836721
[devel] Trivial cosmetic hanges in pngwrite.c
...
Changed "=" to " = ".
2009-10-17 18:29:52 -05:00
Glenn Randers-Pehrson
2f89d766fc
[devel] Fix an incorrect #ifdef in pngerror.c
2009-10-13 18:04:41 -05:00
Glenn Randers-Pehrson
a98aa48e57
[devel] Fixed some incorrect indentation in pngrutil.c
2009-10-13 09:23:39 -05:00
Glenn Randers-Pehrson
fa0281061b
[devel] Bump version to 1.4.0beta87
2009-10-10 06:26:55 -05:00
Glenn Randers-Pehrson
ea15ec6aa2
[devel] Imported from libpng-1.4.0beta86.tar
2009-10-10 06:25:39 -05:00
Glenn Randers-Pehrson
90b878c583
[devel] Eliminated a shadowed declaration of "pp"
...
in png_handle_sPLT().
2009-10-07 12:44:35 -05:00
Glenn Randers-Pehrson
132c7b03f0
[devel] Removed dup entries in xcode project's .gitignore
2009-10-05 12:11:49 -05:00
Glenn Randers-Pehrson
c5e4cd3345
[devel] Added projects/xcode/libpng.xcodeproj/.gitignore
2009-10-04 15:55:00 -05:00
Glenn Randers-Pehrson
aeaae7210f
[devel] Updated the "xcode" project (Alam Arias).
2009-10-02 09:58:15 -05:00
Glenn Randers-Pehrson
b69df93ec3
[devel] Bump version to 1.4.0beta86
2009-10-02 09:41:09 -05:00
Glenn Randers-Pehrson
0bfb58ff80
[devel] Imported from libpng-1.4.0beta85.tar
2009-09-30 23:14:01 -05:00
Glenn Randers-Pehrson
b35a745561
[devel] Revised png_check_IHDR() again
...
to check info_ptr members instead of the contents of the returned parameters.
2009-09-30 23:12:13 -05:00
Glenn Randers-Pehrson
b91c634df1
[devel] Bump version to 1.4.0beta85
2009-09-30 16:02:33 -05:00
Glenn Randers-Pehrson
5ade7edd7e
[devel] Imported from libpng-1.4.0beta84.tar
2009-09-30 15:13:12 -05:00
Glenn Randers-Pehrson
dd66f3ed20
[devel] Revised png_check_IHDR()
...
to add a test for user passing a 16-bit height varible to png_get_IHDR()
which causes an overflow into the high bytes of the width variable.
2009-09-30 14:58:28 -05:00
Glenn Randers-Pehrson
6076da8079
[devel] Fixed some inconsistent indentation in pngconf.h
...
and mentioned use of 2-space indentation in macro definitions in
the libpng style guide.
2009-09-30 12:28:07 -05:00
Glenn Randers-Pehrson
d237dacd83
[devel] Bump version to 1.4.0beta84
2009-09-25 11:56:46 -05:00
Glenn Randers-Pehrson
398a4138d5
[devel] Imported from libpng-1.4.0beta83.tar
2009-09-25 11:53:42 -05:00
Glenn Randers-Pehrson
7ec330ddeb
[devel] Revised png_check_IHDR()
...
to eliminate bogus complaint about filter_type.
2009-09-25 11:45:42 -05:00
Glenn Randers-Pehrson
6564abbf26
[devel] Bump version to bump_to_1.4.0beta83
2009-09-24 20:10:18 -05:00
Glenn Randers-Pehrson
b4f9901580
[devel] Imported from libpng-1.4.0beta82.tar
2009-09-24 20:09:23 -05:00
Glenn Randers-Pehrson
85b0237adc
[devel] Eliminated useless call to png_check_cHRM() from pngset.c
...
in png_set_gAMA_and_cHRM() where we supply the cHRM constants and
therefore we know they are OK.
2009-09-24 19:49:13 -05:00
Glenn Randers-Pehrson
4071d1ed7e
[devel] Add png_check_IHDR() to documentation synopses
...
also png_check_cHRM_fixed() which was apparently overlooked when it
was created.
2009-09-24 19:33:47 -05:00
Glenn Randers-Pehrson
134bbe416d
[devel] Improve IHDR checking and error reporting
...
Move redundant IHDR checking into new png_check_IHDR() in png.c
and report all errors found in the IHDR data. Report problems
with width and height separately.
2009-09-24 18:10:49 -05:00
Glenn Randers-Pehrson
3243fea0ac
[devel] Remove scripting cruft in contrib/pngminim/*/pngusr.h
2009-09-24 18:05:22 -05:00
Glenn Randers-Pehrson
216c9b00a8
[devel] Bump version to 1.4.0beta82
2009-09-24 18:03:21 -05:00
Glenn Randers-Pehrson
67f3b485c2
[devel] Imported from libpng-1.4.0beta81.tar
2009-09-23 11:49:44 -05:00
Glenn Randers-Pehrson
b2aca215c0
[devel] Changed several "if !defined(X)" to "ifndef X"
2009-09-23 11:32:37 -05:00
Glenn Randers-Pehrson
e26c09529a
[devel] Changed some "#if defined(" to "ifdef"
2009-09-23 11:22:08 -05:00
Glenn Randers-Pehrson
212defee0f
[devel] Eliminated unused png_ptr->row_buf_size
2009-09-23 10:29:21 -05:00
Glenn Randers-Pehrson
4e6b5e91df
[devel] Changed some "#if defined(" to "ifdef"
...
and revised libpng style to mention not using the TAB character.
2009-09-23 10:24:53 -05:00
Glenn Randers-Pehrson
9bf6083375
[devel] Removed PNG_CONST from all "PNG_CONST PNG_CHNK" declarations
...
to avoid compiler complaints about doubly declaring things "const".
2009-09-20 13:37:50 -05:00
Glenn Randers-Pehrson
72cbc6ee95
[devel] Expanded TAB characters in pngrtran.c
2009-09-20 07:28:43 -05:00
Glenn Randers-Pehrson
f74c5acf29
[devel] Eliminated unused PNG_FLAG_FREE_* defines from pngpriv.h
2009-09-20 07:27:34 -05:00
Glenn Randers-Pehrson
6bbc336c02
[devel] Bump version to 1.4.0beta81
2009-09-17 13:32:41 -05:00
Glenn Randers-Pehrson
93fc3da348
[devel] Bump version to libpng-1.4.0beta81
2009-09-17 11:08:12 -05:00
Glenn Randers-Pehrson
c7dd196b04
[devel] Update CHANGES and ANNOUNCE
...
about fixing the "#if def " bug
2009-09-17 11:03:48 -05:00
Glenn Randers-Pehrson
9c1bb203e3
[devel] Fix typo in pngtest.c
...
("#if def" should be "#ifdef")
2009-09-17 10:55:49 -05:00
Glenn Randers-Pehrson
63a054d7d7
[devel] Imported from libpng-1.4.0beta80.tar
2009-09-17 09:47:47 -05:00
Glenn Randers-Pehrson
495e399865
[devel] Revise ANNOUNCE and CHANGES
...
to give Dennis Gustafsson credit for noticing the incorrect typecast
of "filler".
2009-09-17 09:43:34 -05:00
Glenn Randers-Pehrson
36ac0b59b0
[devel] Changed (png_byte)filler to (png_uint_16)filler in png_set_filler().
2009-09-15 19:12:08 -05:00
Glenn Randers-Pehrson
00768a2d76
[devel] Removed scripts/libpng.icc
2009-09-03 13:23:59 -05:00
Glenn Randers-Pehrson
bb9ff29efd
[devel] Bump version to libpng-1.4.0beta80
2009-09-01 11:38:15 -05:00
Glenn Randers-Pehrson
5d95de74d3
[devel] Imported from libpng-1.4.0beta79.tar
2009-09-01 11:38:04 -05:00
Glenn Randers-Pehrson
5618e46179
[devel] Eliminated PNG_NO_CALLOC and PNG_CALLOC_SUPPORTED
...
and always use png_calloc(). The macros were only there for testing,
since libpng-1.4.0beta48 and no problems have been reported.
2009-09-01 10:48:04 -05:00
Glenn Randers-Pehrson
b380515c84
[devel] Removed references to PNG_NO_GLOBAL_ARRAYS
...
from contrib/visupng and contrib/pngminim sources.
2009-08-31 14:50:08 -05:00
Glenn Randers-Pehrson
9e9788497e
[devel] Documented removal of GLOBAL_ARRAY support.
2009-08-31 14:28:33 -05:00
Glenn Randers-Pehrson
8631250eea
[devel] Eliminate PNG_USE_GLOBAL_ARRAYS option
...
Always use local arrays, which has been the default behavior
for a long time.
2009-08-31 14:17:23 -05:00
Glenn Randers-Pehrson
3d893a0804
[devel] Updated documentation about newly deprecated macros.
2009-08-31 13:32:46 -05:00
Glenn Randers-Pehrson
c31d7179e5
[devel] Bump version to libpng-1.4.0beta79
2009-08-31 11:25:46 -05:00
Glenn Randers-Pehrson
77d0cdef02
[devel] Imported from libpng-1.4.0beta78.tar
2009-08-31 11:22:08 -05:00
Glenn Randers-Pehrson
02564cc842
[devel] Revise CHANGES and ANNOUNCE entry for previous commit.
2009-08-31 11:19:20 -05:00
Glenn Randers-Pehrson
d9f21ee796
[devel] Initialize row_pointers to NULL with a loop
...
instead of memset to zero in png_read_png().
2009-08-31 10:52:38 -05:00
Glenn Randers-Pehrson
0af5378d4d
[devel] Eliminated PNG_NO_FREE_ME and PNG_FREE_ME_SUPPORTED macros
...
They were only useful for obtaining compatibility for old applications
that used libpng-1.0.x versions prior to the implementation of "free_me".
2009-08-31 09:02:37 -05:00
Glenn Randers-Pehrson
dbd4014239
[devel] Replaced all "PNG_NO_FEATURE" tests with "PNG_FEATURE_SUPPORTED" tests
...
except in pngconf.h where they can be used to request that
PNG_FEATURE_SUPPORTED not be defined.
2009-08-31 08:42:02 -05:00
Glenn Randers-Pehrson
8551d59672
[devel] Reverted previous change (png_memset loop)
...
It does not seem to promise any benefit to libpng.
2009-08-29 16:25:19 -05:00
Glenn Randers-Pehrson
10ee432860
[devel] Optionally use a loop instead of memset() to initialize memory.
...
To try this, configure libpng using PNG_USE_MEMSET_LOOP. Initial testing
with pngcrush was not promising, although it does save a hundred bytes or
so of executable size.
2009-08-29 14:30:36 -05:00
Glenn Randers-Pehrson
194ca9e7bb
[devel] Remove reference to KNOWNBUG in ANNOUNCE.
2009-08-28 07:25:42 -05:00
Glenn Randers-Pehrson
2d7767b700
[devel] Bump version to libpng-1.4.0beta78
2009-08-28 07:17:18 -05:00
Glenn Randers-Pehrson
e14f98280b
[devel] Imported from libpng-1.4.0beta77.tar
2009-08-27 16:02:21 -05:00
Glenn Randers-Pehrson
38e467edac
[devel] Various bugfixes and improvements to CMakeLists.txt (Philip Lowman)
...
1. Modify project(PNG) to project(PNG C) to avoid search for C++ compiler
2. set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) and fix end conditionals
from ugly else(FOO AND BAR) endif(FOO AND BAR) to else() endif()
3. Add missing include_directories() for ZLIB_INCLUDE_DIR
4. Created CMake options to allow configurable building of STATIC or SHARED
libpng, both default on.
5. Modified PNG_DEBUG to default to false?
6. Fix installation of static/shared libraries so DLL goes in prefix+/bin,
all others in prefix+/lib
2009-08-27 15:59:40 -05:00
Glenn Randers-Pehrson
5b754aac0d
[devel] Updated INSTALL
...
to reflect the new set of files in the distribution.
2009-08-26 12:16:18 -05:00
Glenn Randers-Pehrson
9d2ab7b405
[devel] Moved scripts/CMakeLists.txt to main libpng directory
2009-08-26 12:14:11 -05:00
Glenn Randers-Pehrson
21ab827567
[devel] Removed some files from distribution
...
lpXYZ.tar.bz2 (with CRLF), KNOWNBUG, libpng-x.y.z-KNOWNBUG.txt,
and the "noconfig" files have been removed from the distribution.
2009-08-26 12:10:02 -05:00
Glenn Randers-Pehrson
b7e4c1c2e2
[devel] Bump version to libpng-1.4.0beta77
2009-08-26 12:04:32 -05:00
Glenn Randers-Pehrson
023841f4fd
[devel] Imported from libpng-1.4.0beta76.tar
2009-08-25 15:03:19 -05:00
Glenn Randers-Pehrson
6d75d0c51f
[devel] Moved an improperly located if-test in png_read_row()
...
It had been put inside the png_debug2() statement.
2009-08-22 08:45:09 -05:00
Glenn Randers-Pehrson
3dfe93776f
[devel] Trivial changes to commentary in pngwrite.c
2009-08-22 08:44:23 -05:00
Glenn Randers-Pehrson
ec323d3036
[devel] Bump version to libpng-1.4.0beta76
2009-08-20 23:03:26 -05:00
Glenn Randers-Pehrson
f4431031a7
[devel] Imported from libpng-1.4.0beta75.tar
2009-08-20 22:57:28 -05:00
Glenn Randers-Pehrson
0fe929e778
[devel] Fixed incorrect #ifdef in pngset.c
...
PNG_UNKNOWN_CHUNK_SUPPORTED should be PNG_HANDLE_AS_UNKNOWN_SUPPORTED.
2009-08-20 22:55:49 -05:00
Glenn Randers-Pehrson
626afd6219
[devel] Removed an extra debug statement from pngwutil.c
2009-08-20 22:52:51 -05:00
Glenn Randers-Pehrson
c81bb8a463
[devel] Relocate some png_debug() statements
...
Putting them ahead of the test for png_ptr==NULL so the debug
statements accuratly reflect the fact that the function was entered.
2009-08-15 22:02:26 -05:00
Glenn Randers-Pehrson
b3ce365d91
[devel] Add some whitespace and relocate some png_debug statements.
2009-08-15 21:47:03 -05:00
Glenn Randers-Pehrson
da00980433
[devel] Made use of whitespace around debug statements consistent.
2009-08-15 13:25:47 -05:00
Glenn Randers-Pehrson
951028949c
[devel] Remove extra png_debug() from png_write_find_filter()
...
in pngwutil.c, that was recently added by mistake.
2009-08-13 18:09:22 -05:00
Glenn Randers-Pehrson
fbd727aa11
[devel] Bump version to libpng-1.4.0beta75
...
in libpng.3 and png.h
2009-08-13 18:08:26 -05:00
Glenn Randers-Pehrson
3358a9880b
[devel] Bump version to libpng-1.4.0beta75
2009-08-13 18:05:36 -05:00
Glenn Randers-Pehrson
3c9c3ea7ae
[devel] Imported from libpng-1.4.0beta74.tar
2009-08-08 16:58:26 -05:00
Glenn Randers-Pehrson
6abea7562b
[devel] Change "trans" to "trans_alpha"
2009-08-08 16:55:36 -05:00
Glenn Randers-Pehrson
866b62acdc
[devel] Bumpt to version libpng-1.4.0beta74
2009-08-08 16:49:46 -05:00
Glenn Randers-Pehrson
3a054e1e96
[devel] Imported from libpng-1.4.0beta73.tar
2009-08-01 08:59:19 -05:00
Glenn Randers-Pehrson
ad81d71ecb
[devel] Bump version to libpng-1.4.0beta72
2009-07-30 15:42:11 -05:00
Glenn Randers-Pehrson
faf49916cb
[devel] Imported from libpng-1.4.0beta71.tar
2009-07-29 07:20:49 -05:00
Glenn Randers-Pehrson
bb8d8a8a4a
[devel] Update configure scripts with autoconf-2.64
...
Previous log message is wrong, should say update configure scripts
instead of revert...
2009-07-28 17:38:41 -05:00
Glenn Randers-Pehrson
bafb1e27c2
[devel] Revert configure script update (2nd attempt)
2009-07-28 17:35:49 -05:00
Glenn Randers-Pehrson
8568f6e3e9
[devel] Revert configure script update
2009-07-28 17:21:59 -05:00
Glenn Randers-Pehrson
dfabe7d0f8
[devel] Revert configure script update
2009-07-28 17:17:39 -05:00
Glenn Randers-Pehrson
81233967ca
[devel] Update configure scripts with autoconf-2.64.
2009-07-28 17:02:38 -05:00
Glenn Randers-Pehrson
922ad083e6
[devel] Revise references to zlib/libpng license
2009-07-28 16:48:28 -05:00
Glenn Randers-Pehrson
0d6ade69e2
[devel] Bump version to libpng-1.4.0beta71
2009-07-28 08:04:56 -05:00
Glenn Randers-Pehrson
416976fffd
[devel] Imported from libpng-1.4.0beta70.tar
2009-07-27 22:31:35 -05:00
Glenn Randers-Pehrson
bc438d3671
[devel] Revise CHANGES and ANNOUNCE
...
with information that the NULL dereference bug first appeared in libpng-0.95.
2009-07-27 22:17:19 -05:00
Glenn Randers-Pehrson
e2a118f81a
[devel] Avoid a possible NULL dereference in debug builds
...
in png_set_text-2(). Bug discovered by Evan Rouault, using cochinelle.
2009-07-27 22:08:25 -05:00
Glenn Randers-Pehrson
78389d8396
[devel] Bump version to libpng-1.4.0beta70
2009-07-27 22:05:20 -05:00
Glenn Randers-Pehrson
1cece74438
[devel] Imported from libpng-1.4.0beta69.tar
2009-07-25 09:26:53 -05:00
Glenn Randers-Pehrson
3f705ba9a5
[devel] Added a prototype for png_64bit_product()
...
in png.c (suggested by Peter Breitenlohner)
2009-07-23 12:53:06 -05:00
Glenn Randers-Pehrson
8f075be1e2
[devel] Fixed up xcode project (Alam Arias)
2009-07-19 19:33:22 -05:00
Glenn Randers-Pehrson
8cb69f0f2b
[devel] Removed extraneous declaration
...
from the new call to png_read_gray_to_rgb() (bug introduced in
libpng-1.4.0beta67). (Patch contributed by Alam Arias)
2009-07-19 19:24:58 -05:00
Glenn Randers-Pehrson
97a4573885
[devel] Describe new filter-selection test in CHANGES and ANNOUNCE.
2009-07-19 15:10:36 -05:00
Glenn Randers-Pehrson
4ace0e1530
[devel] Revised the new test
...
to run faster in the usual PNG_ALL_FILTERS case. The previous, more
accurate test, would save some computation in uncommon cases, but is
probably not worth while in the long run.
2009-07-19 15:04:35 -05:00
Glenn Randers-Pehrson
9d8b41ea6f
[devel] Relocated new 'if' test
...
after the 'png_debug(1, "in png_write_find_filter");' statement.
2009-07-19 14:45:43 -05:00
Glenn Randers-Pehrson
0b1ba8c05e
[devel] Bump version to libpng-1.4.0beta69
2009-07-19 14:30:05 -05:00
Glenn Randers-Pehrson
12a11c521b
[devel] Imported from libpng-1.4.0beta68.tar
2009-07-19 14:27:36 -05:00
Glenn Randers-Pehrson
9c90d7f4ee
[devel] Revised test for avoiding filter selection tests
...
to obtain the same result as previously when the user asks for
a filter selection that does not include NONE or SUB, e.g., if
the user asks for PAETH-only that's what they should get.
2009-07-19 13:11:25 -05:00
Glenn Randers-Pehrson
575d067998
[devel] Revised test for avoiding filter selection tests
...
to obtain the same result as previously when the user asks for
a filter selection that does not include NONE or SUB, e.g., if
the user asks for PAETH-only that's what they should get.
2009-07-19 12:57:34 -05:00
Glenn Randers-Pehrson
ae4af5600d
[devel] Avoid some tests while selecting a filter.
...
The AVG and PAETH filters will never be selected for the first
row, so we need not test them.
2009-07-18 11:28:33 -05:00
Glenn Randers-Pehrson
ee100094e4
[devel] Bump version to libpng-1.4.0beta68
2009-07-07 13:55:58 -05:00
Glenn Randers-Pehrson
bc7156d089
[devel] Imported from libpng-1.4.0beta67.tar
2009-07-06 09:14:14 -05:00
Glenn Randers-Pehrson
237d1fba11
[devel] add "xcode" project
...
contributed by Alam Arias
2009-07-05 14:21:54 -05:00
Glenn Randers-Pehrson
99708d560f
[devel] Added high-level PNG_TRANSFORM_GRAY_TO_RGB transform.
2009-06-29 17:30:00 -05:00
Glenn Randers-Pehrson
6878eb6899
[devel] Relocate the INVERT_ALPHA function within png_read_png()
...
and png_write_png().
2009-06-29 16:45:53 -05:00
Glenn Randers-Pehrson
cd2634b3ce
[devel] Bump version to libpng-1.4.0beta67
2009-06-29 16:39:03 -05:00
Glenn Randers-Pehrson
bfbf86558c
[devel] Imported from libpng-1.4.0beta66.tar
2009-06-26 21:49:39 -05:00
Glenn Randers-Pehrson
c332bbcd34
[devel] Revise references to zlib/libpng license
2009-06-25 13:46:50 -05:00
Glenn Randers-Pehrson
e0dc4c8a1e
[devel] Imported from libpng-1.4.0beta65.tar
2009-06-25 12:19:52 -05:00
Glenn Randers-Pehrson
02045b57b1
[devel] Change "zlib-libpng" to "zlib/libpng"
...
to see if that works better for the auto-license-detectors
2009-06-25 08:12:20 -05:00
Glenn Randers-Pehrson
037023bb31
[devel] Revise references to zlib-libpng license
2009-06-24 10:30:58 -05:00
Glenn Randers-Pehrson
ed82c3bb59
[devel] Add pointer to png.h LICENSE info in pngpriv.h and pngconf.h
2009-06-24 10:03:45 -05:00
Glenn Randers-Pehrson
3e61d7985c
[devel] Mention zlib-libpng license in each source file
2009-06-24 09:35:48 -05:00
Glenn Randers-Pehrson
d84748a467
[devel] Bump version to libpng-1.4.0beta65
2009-06-24 08:19:43 -05:00
Glenn Randers-Pehrson
668af4ef48
[devel] Imported from libpng-1.4.0beta64.tar
2009-06-24 07:04:19 -05:00
Glenn Randers-Pehrson
83fb85581d
[devel] Fixed some indentation in pngset.c
2009-06-16 17:52:23 -05:00
Glenn Randers-Pehrson
59c39b886d
[devel] Changed one PNG_HANDLE_AS_UNKNOWN to PNG_UNKNOWN_CHUNKS_SUPPORTED
2009-06-16 17:23:08 -05:00
Glenn Randers-Pehrson
3b3e09075a
[devel] Added an "#ifdef PNG_WRITE_SUPPORTED/#endif" block in pngconf.h
2009-06-16 17:20:43 -05:00
Glenn Randers-Pehrson
658ea4304e
[devel] Relocated various UNKNOWN_CHUNK macros
...
outside of the PNG_READ|WRITE_ANCILLARY_CHUNK_SUPPORTED blocks, where
they did not really belong. Updated CHANGES and ANNOUNCE.
2009-06-16 16:24:57 -05:00
Glenn Randers-Pehrson
33188acf8f
Eliminated PNG_LEGACY_SUPPORTED
...
It is not of any use in libpng-1.4.0; it was only to support binary
compatibility between some old libpng-1.0.x versions. It should have
been removed from libpng-1.2.x as well but it is too late for that now.
2009-06-16 14:12:35 -05:00
Glenn Randers-Pehrson
38674ec994
[devel] Added 2 defined(PNG_HANDLE_AS_UNKNOWN_SUPPORTED) tests in png.h.
2009-06-16 13:33:01 -05:00
Glenn Randers-Pehrson
8d6adb6090
[devel] bump version to libpng-1.4.0beta64
2009-06-16 07:02:00 -05:00
Glenn Randers-Pehrson
d60c886ebc
[devel] Imported from libpng-1.4.0beta63.tar
2009-06-16 06:35:35 -05:00
Glenn Randers-Pehrson
6c7a09ab7c
[devel] Reformatted some comments.
2009-06-15 21:57:39 -05:00
Glenn Randers-Pehrson
7824a70c1d
[devel] Changed several "#ifdef PNG_UNKNOWN_CHUNK_SUPPORTED" to
...
to "#ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED", to make the png_set_keep
mechanism available for ignoring known chunks even when not saving
unknown chunks.
2009-06-13 10:07:55 -05:00
Glenn Randers-Pehrson
b5444a1779
[devel] Revise libpng.3
...
about calling png_set_IHDR() multiple times and about the order
of color samples in the tRNS chunk.
2009-06-08 08:36:19 -05:00
Glenn Randers-Pehrson
9dcde09ac8
[devel] Revise libpng*.txt
...
about calling png_set_IHDR() multiple times and about the order
of color samples in the tRNS chunk.
2009-06-08 08:31:59 -05:00
Glenn Randers-Pehrson
7aa1834c95
[devel] Bump version to bump-to-libpng-1.4.0beta63
2009-06-05 17:26:31 -05:00
Glenn Randers-Pehrson
424c98547d
Imported from libpng-1.4.0beta62.tar
2009-06-04 07:48:17 -05:00
Glenn Randers-Pehrson
37e7e0bd81
[devel] Added a section in documentation
...
about using png_set_io_ptr() in configure scripts for detecting libpng
2009-06-02 13:46:41 -05:00
Glenn Randers-Pehrson
e0c505cfae
Bump version to libpng-1.4.0beta62
2009-05-30 21:22:44 -05:00
Glenn Randers-Pehrson
d8eb62ff15
More cosmetic reformatting
...
Broke several remaining "if () statement;" and "else statement;" into
two lines.
2009-05-30 20:19:20 -05:00
Glenn Randers-Pehrson
45ae51743b
In contrib/pngminim, #define PNG_NO_READ|WRITE_SWAP in pngusr.h
2009-05-28 20:22:38 -05:00
Glenn Randers-Pehrson
4bb4d01681
Imported from libpng-1.4.0beta61.tar
2009-05-20 17:15:20 -05:00
Glenn Randers-Pehrson
b205f291f6
Actually add the renamed makefiles.
2009-05-19 13:10:55 -05:00
Glenn Randers-Pehrson
a24b08a42a
Rename contrib/pngminim/*/makefile.std to makefile
...
since there's only one makefile, so users can just type "make"
instead of "make -f makefile.std".
2009-05-19 13:08:48 -05:00
Glenn Randers-Pehrson
058d6f321a
Bump version to libpng-1.4.0beta61
2009-05-19 13:05:39 -05:00
Glenn Randers-Pehrson
dbab08f936
Imported from libpng-1.4.0beta60.tar
2009-05-18 17:02:31 -05:00
Glenn Randers-Pehrson
c996d13ec3
Add contrib/pngminim/preader
...
based on contrib/gregbook/rpng2-x
2009-05-18 16:01:26 -05:00
Glenn Randers-Pehrson
a31c74f7ef
Undo mistakes in porting png_memset() calls from libpng-1.2.37beta02
2009-05-18 15:52:01 -05:00
Glenn Randers-Pehrson
0ab7868d8a
Restore png_combine_row() to progressive-read-only builds.
2009-05-18 15:28:44 -05:00
Glenn Randers-Pehrson
5902059c7c
Conditionally compile functions only used by sequential readers
...
png_combine_row() and png_read_finish_row() are not used by progressive
PNG readers.
2009-05-18 10:54:11 -05:00
Glenn Randers-Pehrson
580f4f5561
Revert "Set png_ptr->old_prev_row_size=0 in pngpread.c and pngrutil.c"
...
This should be handled in the APNG fork instead of in libpng proper.
This reverts commit ee59a9f9f0 .
2009-05-18 10:40:33 -05:00
Glenn Randers-Pehrson
ee59a9f9f0
Set png_ptr->old_prev_row_size=0 in pngpread.c and pngrutil.c
...
This forces the prev_row array to be cleared before the first
row of each image and interlace pass.
2009-05-16 07:32:28 -05:00
Glenn Randers-Pehrson
7654682c25
Bump version to libpng-1.4.0beta60
2009-05-16 07:25:42 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
b1c0d33128
Housecleaning: revise identation and comments to meet libpng coding style.
2009-05-15 20:39:34 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
9a692c0769
Fix typos in libpng*.txt: AVE filter should be AVG filter
2009-05-15 20:38:11 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
11a3c7b50a
Bump version to 1.4.0beta59
2009-05-15 20:33:24 -05:00
Glenn Randers-Pehrson
acfe7dc475
Imported from libpng-1.4.0beta58.tar
2009-05-14 05:33:33 -05:00
Glenn Randers-Pehrson
64548deafc
Reformatted comments in example.c
...
Added advice about setting pointers to NULL after png_free(),
capitalized sentences, reformatted long comments in libpng style.
2009-05-13 15:23:03 -05:00
Glenn Randers-Pehrson
640b7d514d
Merged example.c with libpng-1.2.37beta01
...
(from the git master branch)
2009-05-13 07:33:22 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
d603c89397
Revert typo in scripts/makefile.mingw
...
Should refer to "pngwin.def" instead of "pngw32.def"
2009-05-03 05:47:20 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
cdd4330edc
Revert typo in scripts/makefile.mingw
...
(should refer to pngwin.def not pngw32.def)
2009-05-03 05:44:06 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
389c655a5a
Bump internal version to bump-libpng-to-1.4.0beta58
2009-05-03 05:40:08 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
31cafa0a3e
Fix typo about autoconf version again
...
There are too many master directories floating around now...
2009-05-02 16:08:06 -05:00
Glenn Randers-Pehrson
3011945d6f
Imported from libpng-1.4.0beta57.tar
2009-05-02 15:58:33 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
7ecf7bdc6b
Removed support of pngprefs.h from makefiles.
...
It is no longer used since the MMX support was removed.
2009-05-02 15:36:08 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
4cd137127f
Fix typo in CHANGES and ANNOUNCE (mentioned wrong versions of autoconf).
2009-05-02 15:28:09 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
0a2547e83d
Rebuilt configure scripts with autoconf 2.63
2009-05-02 15:25:36 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
d209ec76b2
Remove unused png_freeptr() prototype ... again.
2009-05-02 15:15:46 -05:00
Glenn Randers-Pehrson glennrp@comcast.net
92d9534c1a
Bump internal versioning to libpng-1.4.0beta57
2009-05-02 15:12:50 -05:00
Glenn Randers-Pehrson
1d0240500c
Imported from libpng-1.4.0beta56.tar
2009-04-25 07:44:20 -05:00
Glenn Randers-Pehrson
4db4affbaf
Change two remaining "gamma" to "png_gamma" (Brandon Casey)
2009-04-20 11:49:24 -05:00
Glenn Randers-Pehrson
8764c2595d
Changed local variable "gamma" to "png_gamma"
...
This avoids a "shadowed declaration" variable when compiling with
"gcc -Wshadow ..." due to another use of this name in math.h on
some platforms.
2009-04-19 07:52:22 -05:00
Glenn Randers-Pehrson
4ec05bf614
Change name of local variable "gamma" to "png_gamma"
...
This avoids a "shadowed declaration" warning from "gcc -Wshadow"
due to math.h using "gamma" on some platforms.
2009-04-19 07:44:37 -05:00
Glenn Randers-Pehrson
871f5cd155
Bump internal versioning to 1.4.0beta56
2009-04-19 07:43:02 -05:00
Glenn Randers-Pehrson
f0a8fe0bf6
Imported from libpng-1.4.0beta55.tar
2009-04-15 07:57:25 -05:00
Glenn Randers-Pehrson
a93c942070
Imported from libpng-1.4.0beta54.tar
2009-04-13 12:02:11 -05:00
Glenn Randers-Pehrson
a6cc627446
Imported from libpng-1.4.0beta53.tar
2009-04-06 16:11:12 -05:00
Glenn Randers-Pehrson
6a9c2cefdd
Imported from libpng-1.4.0beta52.tar
2009-04-06 16:11:09 -05:00
Glenn Randers-Pehrson
8fb550cc3e
Imported from libpng-1.4.0beta51.tar
2009-04-06 16:11:07 -05:00
Glenn Randers-Pehrson
6917b51660
Imported from libpng-1.4.0beta50.tar
2009-04-06 16:11:04 -05:00
Glenn Randers-Pehrson
0ffb71a6af
Imported from libpng-1.4.0beta49.tar
2009-04-06 16:11:02 -05:00
Glenn Randers-Pehrson
79134c69a4
Imported from libpng-1.4.0beta48.tar
2009-04-06 16:11:00 -05:00
Glenn Randers-Pehrson
4a82d69b9f
Imported from libpng-1.4.0beta47.tar
2009-04-06 16:10:57 -05:00
Glenn Randers-Pehrson
1eb14e95d3
Imported from libpng-1.4.0beta46.tar
2009-04-06 16:10:55 -05:00
Glenn Randers-Pehrson
65a0992f0d
Imported from libpng-1.4.0beta45.tar
2009-04-06 16:10:53 -05:00
Glenn Randers-Pehrson
5ca69e43ec
Imported from libpng-1.4.0beta44.tar
2009-04-06 16:10:50 -05:00
Glenn Randers-Pehrson
d6d8075c0a
Imported from libpng-1.4.0beta43.tar
2009-04-06 16:10:48 -05:00
Glenn Randers-Pehrson
35f5196386
Imported from libpng-1.4.0beta42.tar
2009-04-06 16:10:46 -05:00
Glenn Randers-Pehrson
71a3c1f821
Imported from libpng-1.4.0beta41.tar
2009-04-06 16:10:44 -05:00
Glenn Randers-Pehrson
02a5e33061
Imported from libpng-1.4.0beta40.tar
2009-04-06 16:10:41 -05:00
Glenn Randers-Pehrson
398b5a31a7
Imported from libpng-1.4.0beta39.tar
2009-04-06 16:10:39 -05:00
Glenn Randers-Pehrson
d0c40591f2
Imported from libpng-1.4.0beta38.tar
2009-04-06 16:10:36 -05:00
Glenn Randers-Pehrson
f783101c88
Imported from libpng-1.4.0beta37.tar
2009-04-06 16:10:34 -05:00
Glenn Randers-Pehrson
97a9b48789
Imported from libpng-1.4.0beta36.tar
2009-04-06 16:10:32 -05:00
Glenn Randers-Pehrson
56f6396137
Imported from libpng-1.4.0beta35.tar
2009-04-06 16:10:29 -05:00
Glenn Randers-Pehrson
a5fa5c9013
Imported from libpng-1.4.0beta34.tar
2009-04-06 16:10:27 -05:00
Glenn Randers-Pehrson
800d1e9a67
Imported from libpng-1.4.0beta33.tar
2009-04-06 16:10:25 -05:00
Glenn Randers-Pehrson
dbed41fde1
Imported from libpng-1.4.0beta32.tar
2009-04-06 16:10:22 -05:00
Glenn Randers-Pehrson
4198360421
Imported from libpng-1.4.0beta31.tar
2009-04-06 16:10:20 -05:00
Glenn Randers-Pehrson
1916f6ae42
Imported from libpng-1.4.0beta30.tar
2009-04-06 16:10:18 -05:00
Glenn Randers-Pehrson
e0784c72f4
Imported from libpng-1.4.0beta29.tar
2009-04-06 16:10:15 -05:00
Glenn Randers-Pehrson
43aaf6eb37
Imported from libpng-1.4.0beta28.tar
2009-04-06 16:10:13 -05:00
Glenn Randers-Pehrson
51650b8a65
Imported from libpng-1.4.0beta27.tar
2009-04-06 16:10:11 -05:00
Glenn Randers-Pehrson
79084216af
Imported from libpng-1.4.0beta26.tar
2009-04-06 16:10:08 -05:00
Glenn Randers-Pehrson
eb58091392
Imported from libpng-1.4.0beta25.tar
2009-04-06 16:10:05 -05:00
Glenn Randers-Pehrson
895a9c97e2
Imported from libpng-1.4.0beta24.tar
2009-04-06 16:10:03 -05:00
Glenn Randers-Pehrson
72b633026b
Imported from libpng-1.4.0beta23.tar
2009-04-06 16:10:00 -05:00
Glenn Randers-Pehrson
d8d7b949d9
Imported from libpng-1.4.0beta22.tar
2009-04-06 16:09:58 -05:00
Glenn Randers-Pehrson
b3ff968558
Imported from libpng-1.4.0beta21.tar
2009-04-06 16:09:56 -05:00
Glenn Randers-Pehrson
145f5c8164
Imported from libpng-1.4.0beta20.tar
2009-04-06 16:09:54 -05:00
Glenn Randers-Pehrson
a7dbcba1e8
Imported from libpng-1.4.0beta19.tar
2009-04-06 16:09:51 -05:00
Glenn Randers-Pehrson
c3f52f12bb
Imported from libpng-1.4.0beta18.tar
2009-04-06 16:09:49 -05:00
Glenn Randers-Pehrson
7edd45814c
Imported from libpng-1.4.0beta17.tar
2009-04-06 16:09:47 -05:00
Glenn Randers-Pehrson
701dbaa81e
Imported from libpng-1.4.0beta16.tar
2009-04-06 16:09:45 -05:00
Glenn Randers-Pehrson
ae4bd5c2be
Imported from libpng-1.4.0beta15.tar
2009-04-06 16:09:42 -05:00
Glenn Randers-Pehrson
6b12c08bfc
Imported from libpng-1.4.0beta14.tar
2009-04-06 16:09:40 -05:00
Glenn Randers-Pehrson
3779c69674
Imported from libpng-1.4.0beta13.tar
2009-04-06 16:09:38 -05:00
Glenn Randers-Pehrson
ebd7f9a371
Imported from libpng-1.4.0beta12.tar
2009-04-06 16:09:36 -05:00
Glenn Randers-Pehrson
beb572e616
Imported from libpng-1.4.0beta11.tar
2009-04-06 16:09:34 -05:00
Glenn Randers-Pehrson
3424ee7354
Imported from libpng-1.4.0beta10.tar
2009-04-06 16:09:31 -05:00
Glenn Randers-Pehrson
e826d7e200
Imported from libpng-1.4.0beta9.tar
2009-04-06 16:09:29 -05:00
Glenn Randers-Pehrson
d120996a49
Imported from libpng-1.4.0beta8.tar
2009-04-06 16:09:27 -05:00
Glenn Randers-Pehrson
6bc53be992
Imported from libpng-1.4.0beta7.tar
2009-04-06 16:09:25 -05:00
Glenn Randers-Pehrson
f46918d129
Imported from libpng-1.4.0beta6.tar
2009-04-06 16:09:22 -05:00
Glenn Randers-Pehrson
73b064c2af
Imported from libpng-1.4.0beta5.tar
2009-04-06 16:09:20 -05:00
Glenn Randers-Pehrson
b3870ab5f9
Imported from libpng-1.4.0beta4.tar
2009-04-06 16:09:18 -05:00
Glenn Randers-Pehrson
86dc981475
Imported from libpng-1.4.0beta3.tar
2009-04-06 16:09:16 -05:00
Glenn Randers-Pehrson
d60b8fab03
Imported from libpng-1.4.0beta2.tar
2009-04-06 16:09:14 -05:00
Glenn Randers-Pehrson
1721829464
Imported from libpng-1.4.0beta1.tar
2009-04-06 16:09:11 -05:00
Glenn Randers-Pehrson
f628ee2fa4
Imported from libpng-1.2.10rc1.tar
2009-04-06 16:09:08 -05:00
Glenn Randers-Pehrson
ad310547a2
Imported from libpng-1.2.10beta7.tar
2009-04-06 16:09:06 -05:00
Glenn Randers-Pehrson
629330e761
Imported from libpng-1.2.10beta6.tar
2009-04-06 16:09:04 -05:00
Glenn Randers-Pehrson
b511b60aaa
Imported from libpng-1.2.10beta5.tar
2009-04-06 16:09:02 -05:00
Glenn Randers-Pehrson
77be22c09a
Imported from libpng-1.2.10beta4.tar
2009-04-06 16:09:00 -05:00
Glenn Randers-Pehrson
b0270f77a9
Imported from libpng-1.2.10beta3.tar
2009-04-06 16:08:58 -05:00
Glenn Randers-Pehrson
3a5a759bb7
Imported from libpng-1.2.10beta2.tar
2009-04-06 16:08:55 -05:00
Glenn Randers-Pehrson
d5d63601b9
Imported from libpng-1.2.10beta1.tar
2009-04-06 16:08:53 -05:00
Glenn Randers-Pehrson
a7d0c94169
Imported from libpng-1.2.9.tar
2009-04-06 16:08:51 -05:00
Glenn Randers-Pehrson
3a51203c48
Imported from libpng-1.2.9rc1.tar
2009-04-06 16:08:49 -05:00
Glenn Randers-Pehrson
4deeb795f6
Imported from libpng-1.2.9beta11.tar
2009-04-06 16:08:46 -05:00
Glenn Randers-Pehrson
26e47d9a71
Imported from libpng-1.2.9beta10.tar
2009-04-06 16:08:44 -05:00
Glenn Randers-Pehrson
170b70ce30
Imported from libpng-1.2.9beta9.tar
2009-04-06 16:08:42 -05:00
Glenn Randers-Pehrson
1ce0836b4a
Imported from libpng-1.2.9beta8.tar
2009-04-06 16:08:39 -05:00
Glenn Randers-Pehrson
5c60b2367e
Imported from libpng-1.2.9beta7.tar
2009-04-06 16:08:37 -05:00
Glenn Randers-Pehrson
b7f9593715
Imported from libpng-1.2.9beta6.tar
2009-04-06 16:08:35 -05:00
Glenn Randers-Pehrson
e64746200b
Imported from libpng-1.2.9beta5.tar
2009-04-06 16:08:32 -05:00
Glenn Randers-Pehrson
c3d51c14f2
Imported from libpng-1.2.9beta4.tar
2009-04-06 16:08:30 -05:00
Glenn Randers-Pehrson
7b34df33a5
Imported from libpng-1.2.9beta3.tar
2009-04-06 16:08:27 -05:00
Glenn Randers-Pehrson
ddfebd35be
Imported from libpng-1.2.9beta2.tar
2009-04-06 16:08:25 -05:00
Glenn Randers-Pehrson
9c3ab68145
Imported from libpng-1.2.9beta1.tar
2009-04-06 16:08:23 -05:00
Glenn Randers-Pehrson
917648ecb9
Imported from libpng-1.2.8.tar
2009-04-06 16:08:21 -05:00
Glenn Randers-Pehrson
584b96e859
Imported from libpng-1.2.8rc5.tar
2009-04-06 16:08:18 -05:00
Glenn Randers-Pehrson
228c637527
Imported from libpng-1.2.8rc4.tar
2009-04-06 16:08:16 -05:00
Glenn Randers-Pehrson
c3dda6daea
Imported from libpng-1.2.8rc3.tar
2009-04-06 16:08:15 -05:00
Glenn Randers-Pehrson
73b029f9d3
Imported from libpng-1.2.8rc2.tar
2009-04-06 16:08:13 -05:00
Glenn Randers-Pehrson
5dd2b8e208
Imported from libpng-1.2.8rc1.tar
2009-04-06 16:08:11 -05:00
Glenn Randers-Pehrson
4093607bc9
Imported from libpng-1.2.8beta5.tar
2009-04-06 16:08:09 -05:00
Glenn Randers-Pehrson
878b31e0b4
Imported from libpng-1.2.8beta4.tar
2009-04-06 16:08:07 -05:00
Glenn Randers-Pehrson
7806777139
Imported from libpng-1.2.8beta3.tar
2009-04-06 16:08:05 -05:00
Glenn Randers-Pehrson
94d9362fc5
Imported from libpng-1.2.8beta2.tar
2009-04-06 16:08:03 -05:00
Glenn Randers-Pehrson
16e11660fe
Imported from libpng-1.2.8beta1.tar
2009-04-06 16:08:01 -05:00
Glenn Randers-Pehrson
250dfe1777
Imported from libpng-1.2.7.tar
2009-04-06 16:08:00 -05:00
Glenn Randers-Pehrson
5b77916ecd
Imported from libpng-1.2.7rc1.tar
2009-04-06 16:07:57 -05:00
Glenn Randers-Pehrson
67864af957
Imported from libpng-1.2.7beta2.tar
2009-04-06 16:07:56 -05:00
Glenn Randers-Pehrson
a4981d4ded
Imported from libpng-1.2.7beta1.tar
2009-04-06 16:07:54 -05:00
Glenn Randers-Pehrson
37f116a900
Imported from libpng-1.2.6.tar
2009-04-06 16:07:52 -05:00
Glenn Randers-Pehrson
8f3dd833d7
Imported from libpng-1.2.6rc5.tar
2009-04-06 16:07:50 -05:00
Glenn Randers-Pehrson
36d7bc7530
Imported from libpng-1.2.6rc4.tar
2009-04-06 16:07:48 -05:00
Glenn Randers-Pehrson
d029a75d4f
Imported from libpng-1.2.6rc3.tar
2009-04-06 16:07:46 -05:00
Glenn Randers-Pehrson
dff799ef89
Imported from libpng-1.2.6rc2.tar
2009-04-06 16:07:44 -05:00
Glenn Randers-Pehrson
272489dc69
Imported from libpng-1.2.6rc1.tar
2009-04-06 16:07:42 -05:00
Glenn Randers-Pehrson
5fea36fb00
Imported from libpng-1.2.6beta4.tar
2009-04-06 16:07:40 -05:00
Glenn Randers-Pehrson
5b5dcf8b88
Imported from libpng-1.2.6beta3.tar
2009-04-06 16:07:38 -05:00
Glenn Randers-Pehrson
761bf9f06f
Imported from libpng-1.2.6beta2.tar
2009-04-06 16:07:36 -05:00
Glenn Randers-Pehrson
c33ab4e8df
Imported from libpng-1.2.6beta1.tar
2009-04-06 16:07:34 -05:00
Glenn Randers-Pehrson
0cc2f95a9d
Imported from libpng-1.2.5.tar
2009-04-06 16:07:32 -05:00
Glenn Randers-Pehrson
5ff38d3e16
Imported from libpng-1.2.5rc3.tar
2009-04-06 16:07:30 -05:00
Glenn Randers-Pehrson
865f4f073a
Imported from libpng-1.2.5rc2.tar
2009-04-06 16:07:28 -05:00
Glenn Randers-Pehrson
51d9250c88
Imported from libpng-1.2.5rc1.tar
2009-04-06 16:07:27 -05:00
Glenn Randers-Pehrson
8a7df0024b
Imported from libpng-1.2.5beta2.tar
2009-04-06 16:07:25 -05:00
Glenn Randers-Pehrson
859665d847
Imported from libpng-1.2.5beta1.tar
2009-04-06 16:07:23 -05:00
Glenn Randers-Pehrson
484a8a10fe
Imported from libpng-1.2.4.tar
2009-04-06 16:07:21 -05:00
Glenn Randers-Pehrson
2ae022da7e
Imported from libpng-1.2.4rc1.tar
2009-04-06 16:07:18 -05:00
Glenn Randers-Pehrson
d020e9d826
Imported from libpng-1.2.4beta3.tar
2009-04-06 16:07:16 -05:00
Glenn Randers-Pehrson
d1e8c8694d
Imported from libpng-1.2.4beta2.tar
2009-04-06 16:07:14 -05:00
Glenn Randers-Pehrson
07748d1b2c
Imported from libpng-1.2.4beta1.tar
2009-04-06 16:07:12 -05:00
Glenn Randers-Pehrson
cfbed9bdf2
Imported from libpng-1.2.3.tar
2009-04-06 16:07:10 -05:00
Glenn Randers-Pehrson
22f28966c4
Imported from libpng-1.2.3rc6.tar
2009-04-06 16:07:08 -05:00
Glenn Randers-Pehrson
837a3d1745
Imported from libpng-1.2.3rc5.tar
2009-04-06 16:07:06 -05:00
Glenn Randers-Pehrson
704228f7e7
Imported from libpng-1.2.3rc4.tar
2009-04-06 16:07:04 -05:00
Glenn Randers-Pehrson
299d73503c
Imported from libpng-1.2.3rc3.tar
2009-04-06 16:07:02 -05:00
Glenn Randers-Pehrson
25d8224d15
Imported from libpng-1.2.3rc2.tar
2009-04-06 16:07:00 -05:00
Glenn Randers-Pehrson
03008a08d1
Imported from libpng-1.2.3rc1.tar
2009-04-06 16:06:58 -05:00
Glenn Randers-Pehrson
4fb046a52d
Imported from libpng-1.2.2.tar
2009-04-06 16:06:56 -05:00
Glenn Randers-Pehrson
fcbd7870e9
Imported from libpng-1.2.2rc1.tar
2009-04-06 16:06:54 -05:00
Glenn Randers-Pehrson
25228abdc1
Imported from libpng-1.2.2beta6.tar
2009-04-06 16:06:52 -05:00
Glenn Randers-Pehrson
73d57cb97b
Imported from libpng-1.2.2beta5.tar
2009-04-06 16:06:50 -05:00
Glenn Randers-Pehrson
377657d1d6
Imported from libpng-1.2.2beta4.tar
2009-04-06 16:06:49 -05:00
Glenn Randers-Pehrson
c1bfe686ce
Imported from libpng-1.2.2beta3.tar
2009-04-06 16:06:47 -05:00
Glenn Randers-Pehrson
c6de22da1d
Imported from libpng-1.2.2beta2.tar
2009-04-06 16:06:45 -05:00
Glenn Randers-Pehrson
9c0f094b21
Imported from libpng-1.2.2beta1.tar
2009-04-06 16:06:43 -05:00
Glenn Randers-Pehrson
f50c91b7bd
Imported from libpng-1.2.1.tar
2009-04-06 16:06:41 -05:00
Glenn Randers-Pehrson
db3b88dad2
Imported from libpng-1.2.1rc2.tar
2009-04-06 16:06:39 -05:00
Glenn Randers-Pehrson
ae498dcff3
Imported from libpng-1.2.1rc1.tar
2009-04-06 16:06:37 -05:00
Glenn Randers-Pehrson
5cded0b4b5
Imported from libpng-1.2.1beta4.tar
2009-04-06 16:06:35 -05:00
Glenn Randers-Pehrson
3f549259b2
Imported from libpng-1.2.1beta3.tar
2009-04-06 16:06:33 -05:00
Glenn Randers-Pehrson
6c97ddbffc
Imported from libpng-1.2.1beta2.tar
2009-04-06 16:06:32 -05:00
Glenn Randers-Pehrson
5a0be341ba
Imported from libpng-1.2.1beta1.tar
2009-04-06 16:06:30 -05:00
Glenn Randers-Pehrson
10781048be
Imported from libpng-1.2.0.tar
2009-04-06 16:06:28 -05:00
Glenn Randers-Pehrson
1b8e567237
Imported from libpng-1.2.0rc1.tar
2009-04-06 16:06:26 -05:00
Glenn Randers-Pehrson
1ea0ff34fa
Imported from libpng-1.2.0beta5.tar
2009-04-06 16:06:24 -05:00
Glenn Randers-Pehrson
b182893c04
Imported from libpng-1.2.0beta4.tar
2009-04-06 16:06:22 -05:00
Glenn Randers-Pehrson
8b6a889881
Imported from libpng-1.2.0beta3.tar
2009-04-06 16:06:20 -05:00
Glenn Randers-Pehrson
3097f618f2
Imported from libpng-1.2.0beta2.tar
2009-04-06 16:06:18 -05:00
Glenn Randers-Pehrson
1fd5fb33c2
Imported from libpng-1.2.0beta1.tar
2009-04-06 16:06:16 -05:00