Glenn Randers-Pehrson
d13542a3ee
[legacy] Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
...
before IDAT.
2011-06-07 15:35:48 -05:00
Glenn Randers-Pehrson
950f965bca
[legacy] Fixed 1-byte uninitialized memory reference in png_format_buffer()
...
(Bug report by Frank Busse, related to CVE-2004-0421).
Pass "" instead of '\0' to png_default_error() in png_err(). This mistake
was introduced in libpng-1.2.20beta01.
2011-06-07 15:17:35 -05:00
Glenn Randers-Pehrson
7bda306764
[legacy] Tag the recent releases.
2010-06-25 20:45:51 -05:00
Glenn Randers-Pehrson
72c637ec63
[legacy] Imported from libpng-1.2.44.tar
2010-06-25 20:28:26 -05:00
Glenn Randers-Pehrson
303d2490a3
[legacy] Imported from libpng-1.2.44rc03.tar
2010-06-25 20:27:51 -05:00
Glenn Randers-Pehrson
47c6e47d1f
[legacy] Imported from libpng-1.2.44rc02.tar
2010-06-25 20:27:48 -05:00
Glenn Randers-Pehrson
009516860a
[legacy] Imported from libpng-1.2.44rc01.tar
2010-06-25 20:27:45 -05:00
Glenn Randers-Pehrson
e4fc243de4
[legacy] Imported from libpng-1.2.44beta03.tar
2010-06-25 20:27:42 -05:00
Glenn Randers-Pehrson
191fb4f5ba
[legacy] Imported from libpng-1.2.44beta02.tar
2010-06-25 20:27:40 -05:00
Glenn Randers-Pehrson
b52da4038d
[legacy] Imported from libpng-1.2.44beta01.tar
2010-06-25 20:27:37 -05:00
Glenn Randers-Pehrson
e193ade706
[legacy] Imported from libpng-1.2.43.tar
2010-02-25 05:58:29 -06:00
Glenn Randers-Pehrson
3159d9be71
[legacy] Removed unused gzio.c from contrib/pngminim gather and makefile
...
scripts. This is necessary when libz is upgraded to version 1.2.4
2010-02-21 23:14:03 -06:00
Glenn Randers-Pehrson
17e8ca3df0
[legacy] Define _ALL_SOURCE in configure.ac, makefile.aix, and CMakeLists.txt
...
when using AIX compiler.
2010-02-19 20:01:05 -06:00
Glenn Randers-Pehrson
a89dc3acff
[legacy] Define _ALL_SOURCE in pngconf.h when building with AIX compiler.
...
Otherwise AIX reserves "jmpbuf" and renames it to "__jmpbuf".
2010-02-19 19:46:02 -06:00
Glenn Randers-Pehrson
f0d041aeaf
[legacy] Imported from libpng-1.2.43rc01.tar
2010-02-18 07:06:43 -06:00
Glenn Randers-Pehrson
05a22295f2
[legacy] Ported png_decompress_chunk() from libpng-1.4.1
2010-02-12 21:05:33 -06:00
Glenn Randers-Pehrson
8c061f646c
[legacy] Imported from libpng-1.2.43beta04.tar
2010-02-08 23:45:49 -06:00
Glenn Randers-Pehrson
cac0408b59
[legacy] Return allocated "old_buffer" in png_push_save_buffer()
...
before png_error(), to avoid a memory leak.
2010-02-08 07:30:16 -06:00
Glenn Randers-Pehrson
d08f1469cb
[previous] Removed PNGAPI declaration of png_calloc() and png_write_sig()
...
in 1ibpng-1.2.X, introduced by mistake in libpng-1.2.41.
2010-02-08 06:18:54 -06:00
Glenn Randers-Pehrson
fa9633125d
[legacy] Imported from libpng-1.2.43beta04.tar
2010-02-07 22:54:43 -06:00
Glenn Randers-Pehrson
6328fc1321
[legacy] Fixed incorrect test in new png_push_save_buffer() code.
2010-02-07 19:56:19 -06:00
Glenn Randers-Pehrson
bc4873c665
[legacy] Imported from libpng-1.2.43beta03.tar
2010-02-07 08:15:08 -06:00
Glenn Randers-Pehrson
eea742c2c5
[legacy] Backported new png_decompress_chunk() algorithm from libpng-1.4.1
2010-02-01 09:28:01 -06:00
Glenn Randers-Pehrson
17020e5076
[legacy] Removed "#ifdef PNG_1_0_X / #endif" around PNG_READ_16_TO_8_SUPPORTED
...
and PNG_READ_GRAY_TO_RGB_SUPPORTED in pngconf.h. These were added in
libpng-1.2.41beta08 and libpng-1.0.51, introducing a binary incompatibility
with libpng-1.0.50.
2010-01-14 09:50:54 -06:00
Glenn Randers-Pehrson
0f6cf8332f
[legacy] Updated CMakeLists.txt for consistent indentation and to avoid an
...
unclosed if-statement warning (Philip Lowman).
2010-01-04 10:06:38 -06:00
Glenn Randers-Pehrson
dc393e4162
[legacy] Bump to version 1.2.43beta01
2010-01-03 17:32:42 -06:00
Glenn Randers-Pehrson
115817d118
[master] Imported from libpng-1.2.42.tar
2010-01-02 23:15:22 -06:00
Glenn Randers-Pehrson
a87c870f99
[master] Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
...
in pngtest.c
2010-01-01 18:28:50 -06:00
Glenn Randers-Pehrson
b9d671326b
[master] Imported from libpng-1.2.42rc04.tar
2010-01-01 10:50:04 -06:00
Glenn Randers-Pehrson
9686172872
[master] 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:22:08 -06:00
Glenn Randers-Pehrson
9a80a35f4b
[master] Imported from libpng-1.2.42rc02.tar
2009-12-23 07:43:15 -06:00
Glenn Randers-Pehrson
4cde19b0c9
[master] Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
...
(revising changes made in 1.2.41beta17 and 1.2.41rc01)
2009-12-22 08:09:39 -06:00
Glenn Randers-Pehrson
230e8b436f
[master] Bump to version libpng-1.2.42rc02
2009-12-22 08:07:11 -06:00
Glenn Randers-Pehrson
dbb86efac3
[master] Imported from libpng-1.2.42rc01.tar
2009-12-17 05:53:39 -06:00
Glenn Randers-Pehrson
e8d28e1b1c
[master] Bump to version 1.2.42rc01
2009-12-13 07:37:24 -06:00
Glenn Randers-Pehrson
a3a5d0d1f4
[master] Imported from libpng-1.2.42beta02.tar
2009-12-11 17:58:22 -06:00
Glenn Randers-Pehrson
4cf1ca4338
[master] 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:29:18 -06:00
Glenn Randers-Pehrson
f174f27096
[master] Removed leftover "-DPNG_CONFIGURE_LIBPNG"
...
from contrib/pngminim/*/makefile
2009-12-11 07:26:31 -06:00
Glenn Randers-Pehrson
1a15762c59
[master] Bump to version 1.2.42beta02
2009-12-11 07:21:54 -06:00
Glenn Randers-Pehrson
fec6a4ca4e
[master] Removed leftover "-DPNG_CONFIGURE_LIBPNG" from scripts/makefile.darwin
2009-12-04 08:26:21 -06:00
Glenn Randers-Pehrson
bcc878bb81
[master] Imported from libpng-1.2.42beta01.tar
2009-12-04 07:16:38 -06:00
Glenn Randers-Pehrson
df61a00acc
[master] 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.
2009-12-04 06:54:36 -06:00
Glenn Randers-Pehrson
878fea5403
[master] Removed "#define PNG_NO_ERROR_NUMBERS" that was inadvertently added
...
to pngconf.h in version 1.2.41.
2009-12-04 06:03:57 -06:00
Glenn Randers-Pehrson
804cc98cd1
[master] Bump to version 1.2.42beta01
2009-12-04 06:03:15 -06:00
Glenn Randers-Pehrson
6e00020a9f
[master] Imported from libpng-1.2.41.tar
2009-12-02 19:48:27 -06:00
Glenn Randers-Pehrson
2aac9a1fa3
[master] Brought README up to date.
2009-11-27 15:48:31 -06:00
Glenn Randers-Pehrson
5aa8676122
[master] Bump to version 1.2.41rc04
2009-11-27 15:47:49 -06:00
Glenn Randers-Pehrson
ea88d94dcf
[master] Imported from libpng-1.2.41rc03.tar
2009-11-25 16:00:51 -06:00
Glenn Randers-Pehrson
de5c932283
[master] Disabled the new pedantic warnings
...
about deprecated function use and deprecated structure access unless the
user defines PNG_PEDANTIC_WARNINGS. Added "#define PNG_NO_PEDANTIC_WARNINGS"
in the libpng source files. Removed "-DPNG_CONFIGURE_LIBPNG" from the
makefiles and projects since the warnings no longer depend on this.
2009-11-25 08:51:04 -06:00
Glenn Randers-Pehrson
3b673e0fb0
[master] Bump to version libpng-1.2.41rc03
2009-11-25 08:42:36 -06:00
Glenn Randers-Pehrson
a460e00574
[master] Bump to version 1.2.41rc02
2009-11-22 08:31:00 -06:00
Glenn Randers-Pehrson
c593d488f9
[master] Imported from libpng-1.2.41rc01.tar
2009-11-18 09:58:36 -06:00
Glenn Randers-Pehrson
44a7c89e02
[master] Moved descriptions of makefiles and other scripts out of INSTALL
...
into scripts/README.txt
and updated the copyright year in scripts/pngw32.rc from 2004 to 2009.
2009-11-15 08:31:00 -06:00
Glenn Randers-Pehrson
88bbbfa567
[master] Bump to version 1.2.41rc01
2009-11-14 07:41:19 -06:00
Glenn Randers-Pehrson
e3f9ce59eb
[master] Bump to version 1.2.41beta20
2009-11-12 20:24:32 -06:00
Glenn Randers-Pehrson
6099e57b07
[master] Restore pngtest.png, CHANGES, and ANNOUNCE to 1.2.41beta19 version.
2009-11-12 12:20:41 -06:00
Glenn Randers-Pehrson
e53ecd35c0
[master] Restored pngtest.png to the libpng-1.4.0beta7 version.
2009-11-12 12:16:23 -06:00
Glenn Randers-Pehrson
8397b45b20
[master] Removed reference to some non-exported functions from scripts/*.def
...
These functions won't be exported until libpng-1.4.0
2009-11-12 11:31:09 -06:00
Glenn Randers-Pehrson
bef02a89ea
[master] Bump to version 1.2.41beta19
2009-11-11 15:09:22 -06:00
Glenn Randers-Pehrson
1aae1bf9fd
[master] Updated CHANGES and ANNOUNCE about PNG_PRIVATE macro.
2009-11-11 15:03:20 -06:00
Glenn Randers-Pehrson
c87f913eb9
[master] Marked "internally exported" functions with PNG_PRIVATE.
2009-11-11 14:24:27 -06:00
Glenn Randers-Pehrson
a5fc3eb9d4
[master] Bump to version libpng-1.2.41beta18
2009-11-11 14:21:39 -06:00
Glenn Randers-Pehrson
780dc06584
[master] Renamed scripts/makefile.wce to scripts/makefile.cegcc
2009-11-10 09:30:18 -06:00
Glenn Randers-Pehrson
365cddf35f
[master] Bump to version libpng-1.2.41rc01
2009-11-10 09:25:53 -06:00
Glenn Randers-Pehrson
c099ea497a
[master] Imported from libpng-1.2.41beta17.tar
2009-11-10 06:11:31 -06:00
Glenn Randers-Pehrson
08e585d948
[master] Added "-DPNG_CONFIGURE_LIBPNG" to the contrib/pngminum makefiles.
2009-11-09 11:20:01 -06:00
Glenn Randers-Pehrson
7aacd895ee
[master] Fixed deprecated usages in contrib directory.
2009-11-09 10:47:12 -06:00
Glenn Randers-Pehrson
02a58af3c0
[master] Marked memory allocation function prototypes with PNG_ALLOCATED.
2009-11-09 08:25:36 -06:00
Glenn Randers-Pehrson
86645a3f19
[master] Marked deprecated function prototypes with PNG_DEPRECATED.
2009-11-09 08:10:22 -06:00
Glenn Randers-Pehrson
edc3994cfd
[master] In CMakeLists.txt, add "-DPNG_CONFIGURE_LIBPNG" to the definitions.
2009-11-09 07:18:26 -06:00
Glenn Randers-Pehrson
71f29b701d
[master] Bump to version 1.2.41beta17
2009-11-09 06:50:36 -06:00
Glenn Randers-Pehrson
d5483f3352
[master] Make PNG_DEPSTRUCT, etc., configurable.
...
Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined.
2009-11-08 20:37:37 -06:00
Glenn Randers-Pehrson
2522de8594
[master] Restore new pngtest.c
2009-11-08 20:07:41 -06:00
Glenn Randers-Pehrson
e5e60564cf
[master] Bump to version 1.2.41beta16
2009-11-08 20:06:21 -06:00
Glenn Randers-Pehrson
bf2dabe6f1
[master] Removed three direct references to read_info_ptr members
...
in pngtest.c that were detected by the new PNG_DEPSTRUCT macro.
2009-11-08 20:01:55 -06:00
Glenn Randers-Pehrson
5aabf5b8eb
[master] Imported from libpng-1.2.41beta15.tar
2009-11-08 19:31:21 -06:00
Glenn Randers-Pehrson
20e82ae2a2
[master] Added deprectated-use reporting
...
ported from libpng-1.4.0
2009-11-08 19:18:45 -06:00
Glenn Randers-Pehrson
e890cb118c
[master] Bump to version bump-to-1.2.41beta15.tar
2009-11-08 17:05:27 -06:00
Glenn Randers-Pehrson
87480bf6d4
[master] Removed reference to png_calloc from scripts/*.def
2009-11-08 15:15:37 -06:00
Glenn Randers-Pehrson
bd6f1edea8
[master] Update png.h and pngconf.h to revert iTXt support.
2009-11-08 15:14:32 -06:00
Glenn Randers-Pehrson
ed4c9fc4e9
[master] Remove mention of empty pngpriv.h in CHANGES
2009-11-03 19:18:56 -06:00
Glenn Randers-Pehrson
ead562ed05
[master] Make PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED
2009-11-03 12:28:14 -06:00
Glenn Randers-Pehrson
8cf8726c7c
[master] Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_tIME_SUPPORTED
2009-11-03 11:42:47 -06:00
Glenn Randers-Pehrson
b83df4e711
[master] Added empty pngpriv.h file
...
as an aid to migration to 1.4.x
2009-11-03 10:10:20 -06:00
Glenn Randers-Pehrson
7e64470a71
[master] Bump version to libpng-1.2.41beta14
2009-11-03 07:05:11 -06:00
Glenn Randers-Pehrson
d4ebb803fa
[master] Added scripts/makefile.wce and scripts/png32ce.def
...
to support WindowsCE.
2009-11-02 21:03:14 -06:00
Glenn Randers-Pehrson
6dcfbc479d
[master] Added PNG_CONVERT_tIME_SUPPORTED macro.
2009-11-02 11:26:10 -06:00
Glenn Randers-Pehrson
d8bf20d9ac
[master] Updated scripts/pngw32.def and added CE support to ltmain.sh
2009-11-02 09:19:11 -06:00
Glenn Randers-Pehrson
38453101f0
[master] Bump version to 1.2.41beta13
2009-11-02 06:26:40 -06:00
Glenn Randers-Pehrson
8e46375186
[master] Free png_ptr->user_png_ver when destroying png_ptr.
2009-11-02 06:04:47 -06:00
Glenn Randers-Pehrson
c75d7fb32e
[master] Bump version to 1.2.41beta12
2009-11-02 05:54:39 -06:00
Glenn Randers-Pehrson
af9a41d770
[master] Store user's user_png_ver in new png_ptr->user_png_ver element.
...
Revised iTXt support. To ensure binary compatibility with
previous versions, the "lang" and "lang_key" members will be assumed
to be omitted from versions prior to 1.2.41beta11 whenever there is a
library mismatch.
2009-11-01 21:22:01 -06:00
Glenn Randers-Pehrson
3de7bde0e1
[master] Revised iTXt support and documentation
2009-11-01 08:47:04 -06:00
Glenn Randers-Pehrson
dc38e24fed
[master] Bump version to 1.2.41beta11
2009-10-31 23:29:58 -05:00
Glenn Randers-Pehrson
29b738b4e6
[master] Enabled iTXt support by default.
...
To ensure binary compatibility with
previous versions, the "lang" and "lang_key" members will be assumed
to be omitted from previous versions unless the current libpng
version was built with PNG_iTXt_SUPPORTED (which is otherwise no
longer necessary to gain iTXt support), as a signal that the user has
been building previous versions with PNG_iTXt_SUPPORTED as well.
2009-10-31 23:20:11 -05:00
Glenn Randers-Pehrson
602d314ba0
[master] Bump version to libpng-1.2.41beta10
2009-10-31 21:43:03 -05:00
Glenn Randers-Pehrson
da9b591621
[master] Updated documentation
...
Merged libpng-1.2.41.txt with libpng-1.4.0.txt where appropriate.
2009-10-31 19:21:30 -05:00
Glenn Randers-Pehrson
2e8aa25844
[master] Apply png_user_chunk_cache_max within png_decompress_chunk().
2009-10-31 19:20:20 -05:00
Glenn Randers-Pehrson
6611322a8b
[master] Moved CMakeLists.txt from scripts
...
into the main libpng directory. More bugfixes and improvements to
CMakeLists.txt (Philip Lowman)
2009-10-31 12:50:05 -05:00
Glenn Randers-Pehrson
948c6ee88d
[master] Removed a harmless extra png_set_invert_alpha()
...
from pngwrite.c
2009-10-31 12:28:23 -05:00