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
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
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
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
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
John Bowler
537c146082
[devel] Fixed gcc -ansi -pedantic compile, using __STRICT_ANSI__
2011-04-15 06:36:21 -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
205483d592
[devel] Added PNG_WRITE_COMPRESSED_TEXT_SUPPORTED macro.
2011-04-01 12:33:42 -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
1345cbeea8
[devel] Update change comments (1.5.2 -> 1.5.3)
2011-03-31 20:33:04 -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
f3dd1cc51e
[devel] Imported from libpng-1.5.2rc01.tar
2011-03-18 22:03:48 -05:00
Glenn Randers-Pehrson
cad6798a8c
[devel] Imported from libpng-1.5.2beta01.tar
2011-02-13 06:13:39 -06:00
Glenn Randers-Pehrson
c36bb79352
[devel] Trim trailing blanks from sources and manual
2011-02-12 09:49:07 -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
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
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
bf3293a3cb
[devel] Fixed comments around PNG_UNUSED macro definition in pngpriv.h
2011-01-28 15:14:43 -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
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
8f8061adba
[devel] Imported from libpng-1.5.0rc05.tar
2010-12-31 09:15:08 -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
57731529dc
[devel] Bump to version libpng-1.5.0rc03
2010-12-27 21:35:41 -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
4c93a7cb6f
[devel] Bump to version libpng-1.5.0beta58
2010-12-09 06:11:18 -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
845b74e6d4
[devel] Bump to version libpng-1.5.0beta57
2010-12-06 20:25:05 -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
2776d5e9e6
[devel] Bump to version libpng-1.5.0beta56
2010-11-21 15:19:55 -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
71c0dd6c4a
[devel] Bump to version libpng-1.5.0beta54
2010-10-17 20:37:37 -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
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
94b582e45e
[devel] Bump to version 1.5.0beta50
2010-10-07 22:34:33 -05:00