Glenn Randers-Pehrson
9f7134c3fc
[libpng16] Update some "last changed" dates
2017-06-29 17:52:18 -05:00
Viktor Szakats
b3ffdc5991
URL updates
2017-03-31 23:25:57 +00:00
Glenn Randers-Pehrson
e744ee1338
[libpng16] Update CHANGES, ANNOUNCE, and "last changed" dates.
2017-03-30 12:24:55 -05:00
Viktor Szakats
8c50acb9d2
silence clang -Wcomma warnings
2017-03-29 23:54:40 +00:00
Glenn Randers-Pehrson
d42e88d5b3
[libpng16] Imported from libpng-1.6.29.tar
2017-03-16 07:26:33 -05:00
Glenn Randers-Pehrson
4f31b7f242
[libpng16= Avoid potential overflow of shift operations in png_do_expand() (Aaron Boxer).
2017-02-27 20:17:56 -06:00
Glenn Randers-Pehrson
761d833372
[libpng16] Quieted all remaining -Wconversion compiler warnings
2016-10-02 18:46:35 -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
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
05591abeb1
[libpng16] Updated CHANGES, ANNOUNCE, change date in pngrtran.c
2016-01-30 10:08:47 -06:00
John Bowler
f1eafe8b01
Relax limit checks on gamma values.
...
As suggested in the comments gamma values outside the range currently permitted
by png_set_alpha_mode are useful for HDR data encoding. These values are
already permitted by png_set_gamma so it is reasonable caution to extend the
png_set_alpha_mode range as HDR imaging systems are starting to emerge.
Signed-off-by: John Bowler <jbowler@acm.org>
2016-01-29 18:09:49 -08:00
Glenn Randers-Pehrson
4d8de33979
[libpng16] Update copyright uears in source files.
2015-12-13 22:41:17 -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
b00d986d54
[libpng16] Imported from libpng-1.6.19rc02.tar
2015-10-31 09:04:18 -05:00
John Bowler
896c3cfb76
rowbytes check correction
...
The old code incorrectly calculated the output rowbytes when the
application decreased either the number of channels or the bit depth (or
both) in a user transform. This was safe; libpng overallocated buffer
space (potentially by quite a lot; up to 4 times the amount required)
but, from 1.5.4 on, resulted in a png_error.
Signed-off-by: John Bowler <jbowler@acm.org>
2015-10-29 18:16:48 -07:00
Glenn Randers-Pehrson
01a0e8062d
[libpng16] Reverted addition of png_set_filler_16 and png_set_add_alpha_16()
...
functions. They unnecessarily duplicate png_set_filler() and png_set_add_alpha()
which now work properly with 16-bit images.
2015-09-24 22:39:53 -05:00
Glenn Randers-Pehrson
efe4e5d10d
[libpng16] Reverted the fix of byte order in png_do_read_filler() with 16-bit
...
input that was made in version 1.6.17beta01, to preserve legacy
behavior even though it was incorrect. Instead, added new API
png_set_filter_16() and png_set_add_alpha_16() that set a flag to
make png_do_read_filter() interpret the filler bytes properly.
2015-09-23 22:08:04 -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
b9ba8d6a57
[libpng16] Mention in manual that 16-bit platform support has been dropped.
2015-08-16 23:32:04 -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
Victor Szakats
4e1d299e6b
[libpng16] Removed unreachable "break" statements in png.c, pngread.c, and
...
pngrtran.c to suppress clang warnings (Bug report by Viktor Szakats).
2015-08-07 14:31:11 -05:00
Glenn Randers-Pehrson
e6172809bd
[libpng16] Imported from libpng-1.6.18.tar
2015-07-22 22:40:52 -05:00
Glenn Randers-Pehrson
a390897ba4
[libpng16] Fixed a new signed-unsigned comparison in pngrtran.c (Max Stepin).
...
Removed some useless typecasts from contrib/tools/png-fix-itxt.c
2015-07-01 14:06:39 -05:00
Glenn Randers-Pehrson
c861dc8923
[libpng16] Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler
...
(Bug report by Viktor Szaka'ts).
2015-04-01 12:06:01 -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
f17e6c3046
[libpng16] Imported from libpng-1.6.17rc06.tar
2015-03-22 19:43:23 -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
Glenn Randers-Pehrson
bbe2be3f54
[libpng16] Spelling fixes: less then N -> less than N (Lauri Nurmi)
2015-03-07 13:13:11 -06: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
8cd78da8b3
[libpng16] Do not build png_product2() when it is unused.
...
Work around more Coverity-scan dead-code warnings.
2015-02-07 09:03:30 -06:00
Glenn Randers-Pehrson
018b4fccb9
[libpng16] Happy New Year! Update copyright year.
2014-12-31 18:45:23 -06:00
Glenn Randers-Pehrson
bba3aa9533
[libpng16] Update "last changed" info in pngrtran.c
2014-12-29 16:36:50 -06:00
John Bowler
cde8cd6b30
[libpng16] Fixed byte order in 2-byte filler, in png_do_read_filler().
2014-12-29 16:24:33 -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
6df21524cd
[libpng16] Imported from libpng-1.6.15rc01.tar
2014-11-13 06:47:08 -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
70cb8f9a7e
[libpng16] Removed #ifdef PNG_16BIT_SUPPORTED/#endif around png_product2(); it is
...
needed by png_reciprocal2().
Added #ifdef PNG_16BIT_SUPPORTED/#endif around png_log16bit() and
png_do_swap().
2014-11-06 20:58:33 -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
36b246a571
[libpng16] Imported from libpng-1.6.14beta04.tar
2014-09-27 10:28:57 -05:00
Glenn Randers-Pehrson
212fd5745d
[libpng16] Bump version to 1.6.13beta01
2014-06-11 21:13:33 -05:00
Glenn Randers-Pehrson
e429c66cea
[libpng16] Imported from libpng-1.6.12.tar
2014-06-11 20:41:51 -05:00
Glenn Randers-Pehrson
da7b692ce0
[libpng16] Bump version to 1.6.12beta01
2014-06-06 11:57:30 -05:00
Glenn Randers-Pehrson
c4e0f3de64
[libpng16] Imported from libpng-1.6.11.tar
2014-06-05 10:00:45 -05:00
Glenn Randers-Pehrson
05670156f3
[libpng16] Use "if (value != 0)" instead of "if (value)" consistently.
2014-03-08 12:39:52 -06:00
Glenn Randers-Pehrson
71d23c4d6e
[libpng16] Bump version to 1.6.11beta01
2014-03-06 21:09:24 -06:00
Glenn Randers-Pehrson
4df37bfa4f
[libpng16] Imported from libpng-1.6.10.tar
2014-03-06 12:49:17 -06:00