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
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
bd85b5713c
[libpng16] Imported from libpng-1.6.18beta01.tar
2015-04-01 08:24:14 -05:00
Glenn Randers-Pehrson
d344589703
[libpng16] Removed PNG_SET_CHUNK_[CACHE|MALLOC]_LIMIT_SUPPORTED macros. They
...
have been combined with PNG_SET_USER_LIMITS_SUPPORTED (resolves
bug report by Andrew Church).
2015-03-27 08:58:32 -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
Glenn Randers-Pehrson
bb098218ca
[libpng16] Fixed some spelling (occur* -> occurr*), Bug report by Lauri Nurmi
2015-03-07 12:59:48 -06:00
Glenn Randers-Pehrson
7011a8cec3
[libpng16] Added "& 0xff" to things being typecast to "png_byte".
2015-02-27 18:53:44 -06:00
Sergey Kosarevsky
9a3de48b48
[libpng16] Avoid runtime checks when converting integer to png_byte with
...
Visual Studio (Sergey Kosarevsky)
2015-02-27 18:47:43 -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
bd76965879
[libpng16] Added #ifndef __COVERITY__ where needed in png.c, pngrutil.c and
...
pngset.c to avoid warnings about dead code.
2015-01-27 06:53:56 -06:00
Glenn Randers-Pehrson
018b4fccb9
[libpng16] Happy New Year! Update copyright year.
2014-12-31 18:45:23 -06:00
John Bowler
dc294204b6
[libpng16] Fixed an overflow in png_combine_row with very wide interlaced
...
images.
2014-12-21 17:11:33 -06:00
Glenn Randers-Pehrson
06ee38423b
[libpng16] Imported from libpng-1.6.16rc02.tar
2014-12-21 13:54:45 -06:00
Glenn Randers-Pehrson
6d8c88177a
[libpng16] Imported from libpng-1.6.16rc01.tar
2014-12-21 09:18:15 -06:00
Glenn Randers-Pehrson
f43b5e3709
[libpng16] Imported from libpng-1.6.16beta03.tar
2014-12-20 19:21:32 -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
c6a8cb7d10
[libpng16] Added missing "ptr = NULL" after some instances of png_free().
2014-10-29 08:27:34 -05:00
Glenn Randers-Pehrson
ebba0746bc
[libpng16] Changed "if (!x)" to "if (x == 0)" and "if (x)" to "if (x !== 0)"
2014-10-25 12:22:39 -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
48e6fad71c
[libpng16] Fixed incorrect handling of the iTXt compression flag
...
in pngrutil.c (bug report by Shunsaku Hirata). Bug was introduced
in libpng-1.6.0.
2014-09-27 09:37:50 -05:00
Glenn Randers-Pehrson
664bd637b5
[libpng16] Fixed some indentation in pngrutil.c
2014-08-26 19:55:58 -05:00
Glenn Randers-Pehrson
3efbecab92
[libpng16] Imported from libpng-1.6.13beta02.tar
2014-07-21 17:21:21 -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
72855fb11e
[libpng16] Made progressive reading of interlaced images consistent with the
...
behavior of the sequential reader and consistent with the manual. The
row_callback now receives the proper pass number and unexpanded rows,
when png_combine_row is not used or not built, by moving some code
out of the PNG_READ_INTERLACING_SUPPORTED blocks.
2014-04-13 21:27:25 -05:00
Glenn Randers-Pehrson
fa26eb1678
[libpng16] Fixed a typo in pngrutil.c, introduced in libpng-1.5.6, that
...
interferes with "blocky" expansion of sub-8-bit interlaced PNG files.
2014-04-06 09:06:37 -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
Glenn Randers-Pehrson
b8f433417f
[libpng16] Removed unreachable return statement after png_chunk_error()
...
in pngrutil.c
2014-02-27 12:12:54 -06:00
Glenn Randers-Pehrson
45625eceb4
[libpng16] Don't recognize known sRGB profiles as sRGB if they have been hacked,
...
but don't reject them and don't issue a copyright violation warning.
Simplified code in pngrutil.c that decides whether to warn about an
incorrect ancillary PLTE chunk.
2014-02-22 23:09:27 -06:00
Glenn Randers-Pehrson
eb657ae68f
[libpng16] Added png_ptr->process_mode = PNG_READ_IDAT_MODE in
...
png_push_read_chunk after recognizing the IDAT chunk, which avoids an
infinite loop while reading a datastream whose first IDAT chunk is of
zero-length.
2014-02-22 21:59:40 -06:00
Glenn Randers-Pehrson
9c5a1baea5
[libpng16] Check for info_ptr == NULL early in png_read_end() so we don't need
...
to run all the png_handle_*() and depend on them to return if info_ptr == NULL.
This improves the performance of png_read_end(png_ptr, NULL) and makes
it more robust against future programming errors.
2014-02-17 09:12:52 -06:00
Glenn Randers-Pehrson
9eec159ab0
[libpng16] Imported from libpng-1.6.10beta01.tar
2014-02-09 13:00:23 -06:00
John Bowler
414d7b5f7d
[libpng16] Backport recent changes from libpng-1.7.0beta30 and beta31.
2014-02-06 11:39:25 -06:00
Glenn Randers-Pehrson
be3977de2c
[libpng16] Imported from libpng-1.6.8.tar
2013-12-19 09:11:01 -06:00
Glenn Randers-Pehrson
3f8a2ed600
[libpng16] Removed or marked PNG_UNUSED some harmless "dead assignments"
...
reported by clang scan-build.
2013-11-25 10:38:21 -06:00
John Bowler
aaf1bb1ae1
[libpng16] Updated "last changed" dates
2013-11-22 15:40:52 -06:00
Glenn Randers-Pehrson
113213416c
[libpng16] Conditionally compile some unused functions reported by -Wall
...
in pngminim.
2013-11-18 20:12:24 -06:00
Glenn Randers-Pehrson
0ea69cdfa9
[libpng16] Imported from libpng-1.6.7.tar
2013-11-14 12:28:05 -06:00
John Bowler
0441ff62e7
[libpng16] Remove spurious "#ifdef PNG_sRGB_SUPPORTED" from pngrutil.c
2013-10-04 19:28:48 -05:00
Glenn Randers-Pehrson
b3721757a0
[libpng16] Catch up with some recent changes that did not get merged.
2013-09-30 13:56:44 -05:00
John Bowler
8f381901e3
[libpng16] Avoid up-cast warnings in pngvalid.c. On ARM the alignment
...
requirements of png_modifier are greater than that of png_store and as a
consequence compilation of pngvalid.c results in a warning about increased
alignment requirements because of the bare cast to (png_modifier*). The code
is safe, because the pointer is known to point to a stack allocated
png_modifier, but this change avoids the warning.
Fixed default behavior of ARM_NEON_API. If the ARM NEON API option was
compiled without the CHECK option it defaulted to on, not off.
Check user callback behavior in pngunknown.c. Previous versions compiled
if SAVE_UNKNOWN was not available but did nothing since the callback
was never implemented.
Merged pngunknown.c with 1.7 version and back ported 1.7 improvements/fixes
2013-09-30 11:24:17 -05:00
John Bowler
15a80443de
[libpng16] Allow HANDLE_AS_UNKNOWN to work when other options are configured
...
off. Also fixed the pngminim makefiles to work when $(MAKEFLAGS) contains stuff
which terminates the make options (as by default in recent versions of Gentoo).
2013-09-21 10:06:32 -05:00