2209 Commits

Author SHA1 Message Date
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
e8d28e1b1c [master] Bump to version 1.2.42rc01 2009-12-13 07:37:24 -06:00
Glenn Randers-Pehrson
0452bbcf84 [devel] Imported from libpng-1.4.0beta108.tar v1.4.0beta108 2009-12-11 18:02:44 -06:00
Glenn Randers-Pehrson
a3a5d0d1f4 [master] Imported from libpng-1.2.42beta02.tar v1.2.42beta02 2009-12-11 17:58:22 -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
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
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 v1.4.0beta107 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
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 v1.2.42beta01 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 v1.2.41 2009-12-02 19:48:27 -06:00
Glenn Randers-Pehrson
ce96c3e6b7 [devel] Updated README 2009-11-27 16:17:19 -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
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 v1.4.0beta106 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
ea88d94dcf [master] Imported from libpng-1.2.41rc03.tar v1.2.41rc03 2009-11-25 16:00:51 -06:00
Glenn Randers-Pehrson
eaa1b0a5f2 [master] Removed test for PNG_CONFIGURE_LIBPNG from pngconf.h 2009-11-25 09:27:48 -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
d23f2b2845 [devel] Imported from libpng-1.4.0beta105.tar v1.4.0beta105 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
83b84d65c2 [master] Removed some trailing blanks
in Makefile.ac and Makefile.in
2009-11-22 11:37:19 -06:00
Glenn Randers-Pehrson
c31e04e2f8 [master] Rebuilt the configure scripts with autoconf-2.65 v1.2.41rc02 2009-11-22 08:55:10 -06:00
Glenn Randers-Pehrson
a460e00574 [master] Bump to version 1.2.41rc02 2009-11-22 08:31:00 -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 v1.4.0beta104 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