Glenn Randers-Pehrson
96027d919f
[libpng16] Imported from libpng-1.6.0beta20.tar
2012-03-29 06:38:51 -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
ce9d8a3f48
[libpng16] Imported from libpng-1.6.0beta19.tar
2012-03-19 10:54:55 -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
dd6ecbe688
[libpng16] Imported from libpng-1.6.0beta18.tar
2012-03-16 08:34:31 -05: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
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
0c98cc7023
[libpng16] Imported from libpng-1.6.0beta16.tar
2012-03-05 21:28: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
1531bd61a0
[libpng16] Updated copyright year to 2012
2012-01-01 14:45:04 -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
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
Glenn Randers-Pehrson
67ee8cee39
[libpng16] bump version to 1.6.0beta04
2011-12-22 08:34:26 -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
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
55e85c24b4
[libpng15] Imported from libpng-1.5.7beta01.tar
2011-11-04 13:47:49 -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
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
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
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
4ae297867d
[devel] Bump version to libpng-1.5.5beta07
2011-08-26 06:07:33 -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
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
d404b6d488
[devel] Imported from libpng-1.5.4.tar
2011-07-07 06:26:30 -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
d2f0bc2d13
[devel] Improved gamma range checks and other things OpenWatcom warns about.
2011-06-11 06:42:06 -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
b75b24103d
[devel] Added some whitespace in comments.
2011-04-16 19:35:05 -05: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
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
John Bowler
168a433352
[devel] Eliminate more GCC shadow warnings
2011-01-16 19:32:22 -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
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
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
f0eda4e8d7
[devel] Imported from libpng-1.5.0beta51.tar
2010-10-15 15:08:42 -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
1b49a71df4
[devel] Imported from libpng-1.5.0beta49.tar
2010-10-07 21:01: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
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
39515c9ee0
[devel] Imported from libpng-1.5.0beta46.tar
2010-08-28 06:25:21 -05:00