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
John Bowler
c9fd075c89
[libpng16] Fix bug in calculation of maxbits, in png_write_sBIT, introduced
...
in libpng-1.6.17beta01 (John Bowler).
2015-03-16 16:31:13 -05:00
Glenn Randers-Pehrson
7011a8cec3
[libpng16] Added "& 0xff" to things being typecast to "png_byte".
2015-02-27 18:53:44 -06:00
Glenn Randers-Pehrson
6ef579df50
[libpng16] Imported from libpng-1.6.17beta01.tar
2015-01-28 19:15:16 -06:00
Glenn Randers-Pehrson
e8ef689cb9
[libpng16] Imported from libpng-1.6.15.tar
2014-11-20 10:22:57 -06:00
Glenn Randers-Pehrson
cda68df8c1
[libpng16] Changed "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* FEATURE */"
2014-11-06 22:11:39 -06:00
Glenn Randers-Pehrson
b963feeec6
[libpng16] More cosmetic changes
2014-11-01 13:18:36 -05:00
Glenn Randers-Pehrson
5d713fe123
[libpng16] Changed remaining "if (!x)" to "if (x == 0)" and "if (x)" to
...
"if (x !== 0)"
2014-10-31 20:58:40 -05:00
Glenn Randers-Pehrson
edb772fd6d
[libpng16] Imported from libpng-1.6.14.tar
2014-10-22 19:32:52 -05:00
Glenn Randers-Pehrson
91e3a7d735
[libpng16] Edited some comments in pngwutil.c
2014-10-03 17:33:14 -05:00
Glenn Randers-Pehrson
cb4823d91f
[libpng16] Conditionally compile some code in png_deflate_claim(), when
...
PNG_WARNINGS_SUPPORTED and PNG_ERROR_TEXT_SUPPORTED are disabled.
2014-10-03 17:14:39 -05:00