Glenn Randers-Pehrson
3524b0d201
[libpng16] Update "Last changed" dates and some copyright years
2017-07-31 17:03:17 -05:00
Glenn Randers-Pehrson
40afb68570
[libpng16] Added calls to png_handle_eXIf(() in pngread.c and png_write_eXIf()
...
in pngwrite.c, and made various other fixes to png_write_eXIf().
Eliminated png_ptr->num_exif member from pngstruct.h and added num_exif
to arguments for png_get_eXIf() and png_set_eXIf().
2017-07-31 14:21:46 -05:00
Glenn Randers-Pehrson
68cb0aaee3
[libpng16] Implement eXIf chunk support
2017-07-13 11:22:48 -05:00
Glenn Randers-Pehrson
5aaf6e889c
[libpng16] Imported from libpng-1.6.30beta04.tar
2017-06-06 19:38:17 -05:00
Glenn Randers-Pehrson
c548328904
[libpng16] Avoid writing an empty IDAT when the last IDAT exactly fills the
...
compression buffer (bug report by Brian Baird). This bug was introduced in
libpng-1.6.0.
2017-06-06 18:40:45 -05:00
Glenn Randers-Pehrson
f604c74a5f
[libpng16] Avoid conditional directives that break statements in pngrutil.c (Romero
...
Malaquias)
2017-01-20 14:46:21 -06:00
Romero B. de S. Malaquias
c3f4e5fb1a
Avoiding conditional directives that break statements
2017-01-20 16:31:54 -03:00
Glenn Randers-Pehrson
0c440812db
[libpng16] Imported from libpng-1.6.26.tar
2016-10-19 19:11:38 -05:00
Glenn Randers-Pehrson
565a751ca2
[libpng16] Quieted (bogus?) clang warnings about "absolute value has no effect".
2016-10-02 20:16:36 -05:00
Glenn Randers-Pehrson
761d833372
[libpng16] Quieted all remaining -Wconversion compiler warnings
2016-10-02 18:46:35 -05:00
Glenn Randers-Pehrson
ad3318ddc8
[libpng16] Bump version to 1.6.26beta03
2016-10-01 19:44:42 -05:00
Glenn Randers-Pehrson
1b363fa6b0
[libpng16] Quieted 116 (out of 288) -Wconversion compiler warnings by changing
...
flag definitions in pngpriv.h from 0xnnnn to 0xnnnnU and trivial changes
in png.c, pngread.c, and pngwutil.c.
2016-09-30 17:19:12 -05:00
Glenn Randers-Pehrson
217546ae43
[libpng16] Imported from libpng-1.6.26beta01.tar
2016-09-26 08:57:44 -05:00
Glenn Randers-Pehrson
b50d5cea2b
[libpng16] Imported from libpng-1.6.24.tar
2016-08-03 21:32:26 -05:00
Glenn Randers-Pehrson
dd70604cec
[libpng16] Fixed more indentation
2016-07-15 11:20:46 -05:00
Glenn Randers-Pehrson
5d7c7d5132
[libpng16] Fixed a harmless typo in pngwutil.c
2016-07-13 14:45:10 -05:00
Glenn Randers-Pehrson
f7d5419816
[libpng16] Avoid filter-selection heuristic sum calculations in cases where
...
only one filter is a candidate for selection. This trades off code size (added
png_setup_*_row_only() functions) for speed.
2016-07-08 10:09:25 -05:00
Glenn Randers-Pehrson
d9779744f9
[libpng16] Optimized absolute value calculation in filter selection, similar to
...
code in the PAETH decoder in pngrutil.c. Build with PNG_USE_ABS to use this.
2016-06-29 21:53:57 -05:00
Glenn Randers-Pehrson
3f2879bf60
[libpng16] Imported from libpng-1.6.24beta02.tar
2016-06-23 11:26:59 -05:00
Glenn Randers-Pehrson
4b4a9583b4
[libpng16] Imported from libpng-1.6.24beta02.tar
2016-06-23 11:08:06 -05:00
John Bowler
1df0ace0b4
Fix MSVC Level 2 warning
...
MSVC doesn't like '-(unsigned)', so replace it by 0U-(unsigned) (in 1.6).
Signed-off-by: John Bowler <jbowler@acm.org>
2016-06-22 17:35:49 -07:00
Glenn Randers-Pehrson
147dc568da
[libpng16] Backed out previous optimization; the compiler should handle that.
2016-06-19 22:20:52 -05:00
Glenn Randers-Pehrson
29135161d7
[libpng16] Avoid filter-selection heuristic sum calculations in cases where
...
only one filter is a candidate for selection. This trades off code size (added
png_setup_*_row_only() functions) for speed.
2016-06-19 18:43:35 -05:00
John Bowler
9c04f57cab
[libpng15] Corrected filter heuristic overflow handling.
2016-06-19 18:01:33 -05:00
Glenn Randers-Pehrson
ac43a87820
[libpng16] Imported from libpng-1.6.22.tar
2016-05-26 07:25:14 -05:00
Glenn Randers-Pehrson
1a3fa1e091
[libpng16] Imported from libpng-1.6.22beta03.tar
2016-03-09 12:04:40 -06:00
Glenn Randers-Pehrson
baf301d122
[libpng16] Restored "& 0xff" in png_save_uint_16() and png_save_uint_32() that
...
were accidentally removed from libpng-1.6.17.
2016-02-13 12:01:35 -06:00
Glenn Randers-Pehrson
5031c77d85
[libpng16] Bump version to 1.6.22beta01
2016-01-16 08:00:09 -06:00
Glenn Randers-Pehrson
fc0786a442
[libpng16] Imported from libpng-1.6.21.tar
2016-01-15 13:51:06 -06:00
Glenn Randers-Pehrson
66db757dd4
[libpng16] Happy 2016! Updated copyright year
2016-01-02 13:40:27 -06:00
Glenn Randers-Pehrson
975cbbb029
[libpng16] Moved png_check_keyword() from pngwutil.c to pngset.c
2015-12-13 15:04:18 -06:00
Glenn Randers-Pehrson
92ec30a3b1
[libpng16] Imported from libpng-1.6.20beta03.tar
2015-11-24 09:34:02 -06:00
Glenn Randers-Pehrson
415d26805a
[libpng16] Imported from libpng-1.6.19.tar
2015-11-12 07:13:31 -06:00
Glenn Randers-Pehrson
a901eb3ce6
[libpng16] Prevent reading over-length PLTE chunk (Cosmin Truta).
2015-10-30 07:57:49 -05:00
Glenn Randers-Pehrson
81f44665cc
[libpng16] Reject attempt to write over-length PLTE chunk
2015-10-29 09:26:41 -05:00
Glenn Randers-Pehrson
a8242fe6fb
[libng16] Reverted recent mistaken change of 0xnnnn to 0xnnnnUL
2015-08-17 20:46:27 -05:00
Glenn Randers-Pehrson
d8b93c29a7
[libpng16] Appended more "UL" to hex constants.
2015-08-17 10:56:17 -05:00
Glenn Randers-Pehrson
8ba4b13c55
[libpng16] Changed 0xnnnn constants to 0xnnnnUL.
2015-08-16 22:49:58 -05:00
Glenn Randers-Pehrson
8b83ff3704
[libpng16] Change "n bit" to "n-bit" in comments.
2015-08-13 20:57:18 -05:00
Glenn Randers-Pehrson
e1b505cd1d
[libpng16]Suppressed a warning from the Borland C++ 5.5.1/5.82 compiler
2015-07-29 07:42:19 -05:00
Glenn Randers-Pehrson
e6172809bd
[libpng16] Imported from libpng-1.6.18.tar
2015-07-22 22:40:52 -05:00
John Bowler
7023d871e8
[libpng16] Fix g++ build breaks
2015-06-03 15:04:03 -05:00
John Bowler
2dfcf65981
[libpng16] Fixed NO_WRITE_FILTER and -Wconversion build breaks (John Bowler).
2015-06-03 14:58:18 -05:00
John Bowler
b780eba4e4
[libpng16] Fixed cexcept.h in which GCC 5 now reports that one of the auto
...
variables in the Try macro needs to be volatile to prevent value
being lost over the setjmp.
2015-06-03 14:46:34 -05:00
Glenn Randers-Pehrson
89edbf8317
[libpng16] Removed WRITE_WEIGHTED_FILTERED code, to save a few kbytes of the
...
compiled library size. It never worked properly and as far as we can
tell, no one uses it. The png_set_filter_heuristics() and
png_set_filter_heuristics_fixed() APIs are retained but deprecated
and do nothing.
2015-05-31 22:40:36 -05:00
Glenn Randers-Pehrson
1088f4925f
[libpng16] Fixed old cut&paste bug in the weighted filter selection code in
...
pngwutil.c, introduced in libpng-0.95, March 1997.
2015-05-30 22:58:54 -05:00
Glenn Randers-Pehrson
e6877671f1
[libpng16] Backported filter selection code from libpng-1.7.0beta51, to combine
...
sub_row, up_row, avg_row, and paeth_row into try_row and tst_row.
2015-05-30 11:54:45 -05:00
John Bowler
8ee821e69a
[libpng16] PNG_RELEASE_BUILD replaces tests where the code depended on the build base
...
type and can be defined on the command line, allowing testing in beta builds. Back
ported from libpng17.
2015-05-06 20:03:14 -05:00
Glenn Randers-Pehrson
c98f7fb4e3
[libpng16] Imported from libpng-1.6.17.tar
2015-03-26 08:11:12 -05:00
Glenn Randers-Pehrson
c5370ede95
[libpng16] Reverted "& 0xff" additions of version 1.6.17beta01. Libpng passes
...
the Coverity scan without them.
2015-03-21 11:54:32 -05:00