Glenn Randers-Pehrson
5f7e71fa78
[libpng17] Restored compiling of png_reciprocal2 with PNG_NO_16BIT.
2015-02-22 16:42:54 -06:00
Glenn Randers-Pehrson
0cd3d25ae8
[libpng17] Bump version to 1.7.0beta53
2015-02-21 12:50:08 -06:00
Glenn Randers-Pehrson
83a2959908
[libpng17] Imported from libpng-1.7.0beta52.tar
2015-02-21 12:49:54 -06:00
Glenn Randers-Pehrson
ed3543679a
[libpng17] Added information about setjmp/simplified API interaction in the
...
manual page and INSTALL file. Added information about using
row_pointers with a single height*width*bpp allocated block
2015-02-17 20:15:21 -06:00
Glenn Randers-Pehrson
9c7aee825c
[libpng17] Bump version to 1.7.0beta52
2015-02-17 10:52:59 -06:00
Glenn Randers-Pehrson
92ef42d5e1
[libpng17] Display user limits in the output from pngtest.
2015-02-16 22:46:16 -06:00
Glenn Randers-Pehrson
d368235da4
[libpng17] Bump version to 1.7.0beta51
2015-02-15 14:27:48 -06:00
Glenn Randers-Pehrson
f1e4acb5b1
[libpng17] Combined sub_row, up_row, avg_row, and paeth_row buffers into a
...
single try_row buffer and in cases where two or more of those are
being tested, a second tst_row buffer. This improves CPU speed
over that achieved by libpng-1.7.0beta49.
2015-02-15 12:44:16 -06:00
Glenn Randers-Pehrson
7e56f5858d
[libpng17] Bump version to 1.7.0beta50
2015-02-11 07:25:31 -06:00
Glenn Randers-Pehrson
9c9009ec7d
[libpng17] Deal with integer overflow of sum in pngwutil.c
2015-02-11 06:09:54 -06:00
Glenn Randers-Pehrson
01d91b4370
[libpng17] Consolidated redundant code in pngwutil.c
2015-02-10 22:49:31 -06:00
Glenn Randers-Pehrson
9149259041
[libpng17] Added PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED macro, on by default.
2015-02-10 17:09:48 -06:00
Glenn Randers-Pehrson
8bc832389a
[libpng17] Combined sub_row, up_row, avg_row, and paeth_row buffers into a
...
single try_row buffer.
2015-02-10 17:03:27 -06:00
Glenn Randers-Pehrson
ba22b208ed
[libpng17] Bump version to 1.7.0beta49
2015-02-07 09:16:28 -06:00
Glenn Randers-Pehrson
6ce2d220b4
[lipng17] Do not build png_product2() when it is unused and work around
...
one more Coverity-scan dead-code warning.
2015-02-07 08:54:07 -06:00
Glenn Randers-Pehrson
125eac0ee4
[libpng17] Bump version to 1.7.0beta48
2015-01-28 19:30:45 -06:00
Glenn Randers-Pehrson
565e1bc1ae
[libpng17] Added #ifndef __COVERITY__ where needed in png.c, pngrutil.c and
...
pngset.c to avoid warnings about dead code.
2015-01-27 07:00:59 -06:00
Glenn Randers-Pehrson
5bdcb914a4
[libpng17] Updated CHANGES and ANNOUNCE
2015-01-13 09:05:53 -06:00
Glenn Randers-Pehrson
e8213aa68f
[libpng17] Add recent CVE numbers to CHANGES and ANNOUNCE.
2015-01-10 19:12:46 -06:00
Glenn Randers-Pehrson
56e6741b25
[libpng17] Made the check for out-of-range values in png_set_tRNS() work on
...
16-bit platforms.
2015-01-07 18:59:10 -06:00
Glenn Randers-Pehrson
3e04e189d8
[libpng17] Bump version to 1.7.0beta47
2015-01-02 09:23:24 -06:00
Glenn Randers-Pehrson
9c078fb7d2
[libpng17] Allow calling png_get_IHDR() with NULL arguments (Reuben Hawkins).
2015-01-02 08:23:24 -06:00
Glenn Randers-Pehrson
b1d49de5bc
[libpng17] Happy New Year -- update copyright year.
2014-12-31 18:43:44 -06:00
John Bowler
d7e9c1c584
[libpng17] Fixed byte order in 2-byte filler, in png_do_read_filler().
2014-12-29 16:06:32 -06:00
John Bowler
28451a8797
[libpng17] Implement previously untested libpng transforms in pngvalid.c
2014-12-29 14:18:50 -06:00
Glenn Randers-Pehrson
e6eb1d6fda
[libpng17] Bump version to 1.7.0beta46
2014-12-28 13:30:20 -06:00
John Bowler
a5b6764cea
[libpng17] Added testing of png_set_packing() to pngvalid.c
2014-12-27 19:11:41 -06:00
John Bowler
56850aba35
[libpng17] Removed user limits from pngfix. Also pass NULL pointers to
...
png_read_row to skip the unnecessary row de-interlace stuff.
2014-12-24 17:45:38 -06:00
Glenn Randers-Pehrson
eeab1cfefc
[libpng17] Eliminated the PNG_SAFE_LIMITS macro and set default limits in
...
pnglibconf.dfa, that can be reset by the user at build time or run time.
This provides a more robust defense against DOS and as-yet undiscovered
overflows.
2014-12-23 22:13:40 -06:00
Glenn Randers-Pehrson
38d22ef928
[libpng17] Bump version to 1.7.0beta45
2014-12-23 14:15:30 -06:00
Glenn Randers-Pehrson
caa59e0007
[libpng17] Removed extraneous PNG_SAFE_LIMITS_SUPPORTED handling from pngconf.h
2014-12-23 14:13:35 -06:00
John Bowler
310ffb25f8
[libpng17] Corrected the width limit calculation in png_check_IHDR().
2014-12-21 19:33:02 -06:00
John Bowler
c026b07529
[libpng17] Restored a test on width that was removed from png.c at libpng-1.6.9
...
(Bug report by Alex Eubanks).
Fixed an overflow in png_combine_row with very wide interlaced images.
2014-12-21 18:42:37 -06:00
Glenn Randers-Pehrson
6988b31244
[libpng17] Bump version to 1.7.0beta44
2014-12-18 09:00:26 -06:00
Glenn Randers-Pehrson
b23a10f565
[libpng17] Imported from libpng-1.7.0beta43.tar
2014-12-18 09:00:17 -06:00
John Bowler
201e9144a6
[libpng17] Quiet a "comparison always true" warning in pngstest.c (John Bowler).
2014-12-16 19:16:18 -06:00
Glenn Randers-Pehrson
ba8495bba9
[libpng17] Revised Makefile.am and scripts/*.dfn to work with MinGW/MSYS;
...
renamed scripts/*.dfn to scripts/*.c (Bob Friesenhahn and John Bowler).
2014-12-14 22:14:48 -06:00
Glenn Randers-Pehrson
a072dfee8e
[libpng17] Added ".align 2" to arm/filter_neon.S to support old GAS assemblers
...
that don't do alignment correctly.
2014-11-29 16:25:15 -06:00
Glenn Randers-Pehrson
e39e182357
[libpng17] Bump version to 1.7.0beta43
2014-11-21 08:25:41 -06:00
Glenn Randers-Pehrson
ab71e135e7
[libpng17] Imported from libpng-1.7.0beta42.tar
2014-11-20 10:23:06 -06:00
Glenn Randers-Pehrson
1b577e9bc6
[libpng17] Merged clang no-warning fix from libpng-1.6.13: png_digit was defined
...
but never used in pngerror.c.
2014-11-17 13:46:27 -06:00
Cosmin Truta
238fdc197d
[libpng17] Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in
...
scripts/makefile.vcwin32.
Removed the obsolete $ARCH variable from scripts/makefile.darwin.
2014-11-16 19:59:24 -06:00
Cosmin Truta
8cfee5fa78
[libpng17] The macros passed in the command line to Borland make were ignored if
...
similarly-named macros were already defined in makefiles. This behavior
is different from POSIX make and other make programs. Surround the
macro definitions with ifndef guards (Cosmin).
2014-11-14 09:56:33 -06:00
Glenn Randers-Pehrson
44a9af81b0
[libpng17] Bump version to 1.7.0beta42
2014-11-07 07:58:35 -06:00
Glenn Randers-Pehrson
755f92fc41
[libpng17] Imported from libpng-1.7.0beta41.tar
2014-11-07 07:58:23 -06:00
Glenn Randers-Pehrson
d9d1c997d8
[libpng17] More "#endif" housecleaning, in *.h
2014-11-07 07:39:41 -06:00
Glenn Randers-Pehrson
aeb4a22975
[libpng17] Changed "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* FEATURE */"
2014-11-06 23:09:14 -06:00
Glenn Randers-Pehrson
9c0b5ab848
[libpng17] 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 21:14:16 -06:00
Glenn Randers-Pehrson
05dcaffd38
[libpng17] Bump version to 1.7.0beta41
2014-11-05 19:07:47 -06:00
John Bowler
f87df31c8c
[libpng17] Fixed GCC unsigned int->float warnings. Various versions of GCC
...
seem to generate warnings when an unsigned value is implicitly
converted to double. This is probably a GCC bug but this change
avoids the issue by explicitly converting to (int) where safe.
Free all allocated memory in pngimage. The file buffer cache was left
allocated at the end of the program, harmless but it causes memory
leak reports from clang.
Fixed array size calculations to avoid warnings. At various points
in the code the number of elements in an array is calculated using
sizeof. This generates a compile time constant of type (size_t) which
is then typically assigned to an (unsigned int) or (int). Some versions
of GCC on 64-bit systems warn about the apparent narrowing, even though
the same compiler does apparently generate the correct, in-range,
numeric constant. This adds appropriate, safe, casts to make the
warnings go away.
2014-11-05 18:53:01 -06:00