Glenn Randers-Pehrson
4aa590288b
[libpng16] Updated CHANGES and ANNOUNCE
2015-12-15 12:55:56 -06:00
Glenn Randers-Pehrson
315b39c73a
Merge branch 'libpng16' of git://github.com/jbowler/libpng-1 into libpng16
2015-12-15 12:28:33 -06:00
John Bowler
2225ca0a54
pngvalid with 'limit' checks disabled in RC+
...
This widens the 'limit' check on the internally calculated error limits in the
'DIGITIZE' case (the code used prior to 1.7 for rgb_to_gray error checks) and it
changes the check to only operate in non-release builds (base build type not RC
or RELEASE.)
Signed-off-by: John Bowler <jbowler@acm.org>
2015-12-15 08:28:47 -08:00
Glenn Randers-Pehrson
ad29c03711
[libpng16] Bump version to 1.6.21beta03
2015-12-13 23:24:36 -06:00
Glenn Randers-Pehrson
0a4967ce0c
[libpng16] Imported from libpng-1.6.21beta02.tar
2015-12-13 23:23:41 -06:00
Glenn Randers-Pehrson
b3d3a5ed6a
[libpng16] Imported from libpng-1.6.21beta02.tar
2015-12-13 22:44:31 -06:00
Glenn Randers-Pehrson
4d8de33979
[libpng16] Update copyright uears in source files.
2015-12-13 22:41:17 -06:00
Glenn Randers-Pehrson
32629bb522
[libpng16] Update CHANGES and ANNOUNCE
2015-12-13 20:35:15 -06:00
Glenn Randers-Pehrson
0bc972fbc2
[libpng16] Fix typo in "last-changed" date.
2015-12-13 20:19:36 -06:00
John Bowler
6cc84b3c44
Fix rgb_to_gray graylo==0 errors, build issues
...
Fixes to pngvalid for various reduced build configurations (eliminate unused
statics) and a fix for the case in rgb_to_gray when the digitize option reduces
graylo to 0, producing a large error.
Signed-off-by: John Bowler <jbowler@acm.org>
2015-12-13 18:00:41 -08:00
John Bowler
c5e81c51d9
Remove LE/BE dependencies in pngvalid
...
This 'fixes' the current problem in the BE tests by not testing it, making the
BE code the same as the LE version.
Signed-off-by: John Bowler <jbowler@acm.org>
2015-12-13 17:15:02 -08:00
John Bowler
cbe5d34f6f
Backport pngvalid.c from libpng17
...
One fix is required for libpng16 LE, more for libpng16 BE
Signed-off-by: John Bowler <jbowler@acm.org>
2015-12-13 17:07:36 -08: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
f3da771890
[libpng16] Bump version to 1.6.21beta02
2015-12-11 19:21:01 -06:00
Glenn Randers-Pehrson
2edfd187f2
[libpng16] Imported from libpng-1.6.21beta01.tar
2015-12-11 16:39:54 -06:00
John Bowler
2c8a90ef52
[libpng16] Changed "( ... )" to " ...
" in tests/pngstest (John Bowler)
2015-12-09 13:16:28 -06:00
Glenn Randers-Pehrson
0de0101fdd
[libpng16] Bump version to 1.6.21beta01
2015-12-08 22:19:15 -06:00
Glenn Randers-Pehrson
1dbfb07c08
[libpng16] Fixed a syntax error in tests/pngstest that some shells other than
...
bash could not parse (Bug report by Nelson Beebe).
2015-12-08 22:18:01 -06:00
Glenn Randers-Pehrson
5b6a6f914b
[libpng16] Imported from libpng-1.6.20.tar
2015-12-02 22:30:37 -06:00
Glenn Randers-Pehrson
4fa5f90346
[libpng16] Imported from libpng-1.6.20rc02.tar
2015-11-29 16:46:56 -06:00
Glenn Randers-Pehrson
ebeca5bd9b
[libng16] Update CHANGES
2015-11-29 16:46:04 -06:00
Glenn Randers-Pehrson
9dcf45c65c
Merge branch 'libpng16' of git://github.com/jbowler/libpng-1 into libpng16
2015-11-29 16:20:54 -06:00
Glenn Randers-Pehrson
030e12ec39
[libpng16] Bump version to libpng-1.6.20rc02.tar
2015-11-29 16:10:46 -06:00
John Bowler
12bebfe0f9
Merge branch 'libpng16' of ../../libpng into libpng16
2015-11-28 00:08:20 -08:00
John Bowler
28a1cdfc2e
Fix inconsistent handling of invalid zlib data
...
In libpng 1.6 zlib initialization was changed to use the window size in the zlib
stream, not a fixed value. This causes some invalid images, ones where CINFO is
too large, to display 'correctly' if the rest of the data is valid. This
provides a work-round for zlib versions where the error arises (ones that
support the API change to use the window size in the stream).
Signed-off-by: John Bowler <jbowler@acm.org>
2015-11-27 23:57:39 -08:00
Glenn Randers-Pehrson
e7092bc59c
[libpng16] Imported from libpng-1.6.20rc01.tar
2015-11-26 07:04:24 -06:00
Glenn Randers-Pehrson
87049cbf84
[libpng16] Update CHANGES, ANNOUNCE, minor editing of contrib/*/*.c
2015-11-25 15:55:01 -06:00
Glenn Randers-Pehrson
19ffb62903
[libpng16] Update CHANGES and ANNOUNCE about pngfix.c
2015-11-25 15:25:40 -06:00
John Bowler
f5778c8fbb
Fix error in handling of bad zlib CMINFO field
...
Signed-off-by: John Bowler <jbowler@acm.org>
2015-11-25 12:59:42 -08:00
Glenn Randers-Pehrson
92ec30a3b1
[libpng16] Imported from libpng-1.6.20beta03.tar
2015-11-24 09:34:02 -06:00
John Bowler
8a08b6457a
Test backport
...
Tests backported from the multi-version compatible ones in libpng 1.7
Signed-off-by: John Bowler <jbowler@acm.org>
2015-11-23 20:15:51 -08:00
Glenn Randers-Pehrson
9a2065c5ee
[libpng16] Imported from libpng-1.6.20beta02.tar
2015-11-23 09:29:44 -06:00
Glenn Randers-Pehrson
27f08ac11d
[lbpng16] Revert 12 -> 12U change in pngrutil.c
2015-11-22 22:59:47 -06:00
Glenn Randers-Pehrson
0a9afc12de
[libpng16] Fixed bug recently introduced in png_set_PLTE() that uses png_ptr
...
not info_ptr.
2015-11-22 20:53:02 -06:00
Glenn Randers-Pehrson
a1a2ae2a25
[libpng16] Bump version to 1.6.20beta02
2015-11-22 14:11:29 -06:00
Glenn Randers-Pehrson
26942c818e
[libpng16] Imported from libpng-1.6.20beta01.tar
2015-11-22 14:08:52 -06:00
Glenn Randers-Pehrson
8ba160ba94
[libpng16] Use unsigned constants in buffer length comparisons
2015-11-21 14:31:59 -06:00
John Bowler
1ceedd0bf6
[libpng16] Another whack at png_handle_sPLT() pointer calculation.
2015-11-19 20:45:08 -06:00
Viktor Szakats
4db6127658
pngread: avoid clang warning for unreachable code
...
```
pngread.c:2841:10: warning: 'break' will never be executed [-Wunreachable-code-break]
break;
^~~~~
```
2015-11-19 19:54:01 +01:00
Glenn Randers-Pehrson
c4b2282fee
[libpng16] Removed new redundant check for length < 12 in pngrutil.c
2015-11-17 16:36:06 -06:00
Glenn Randers-Pehrson
001513c9ca
[libpng16] Removed new redundant check for libpng < 12 in pngrutil.c
2015-11-17 16:23:51 -06:00
Glenn Randers-Pehrson
162f9f87f9
[libpng16] Remove newly-added useless typecasts.
2015-11-16 09:23:25 -06:00
Glenn Randers-Pehrson
9965f63a44
[libpng16] Changed size_t to png_uint_32 in new buffer checks (John Bowler)
2015-11-15 15:27:22 -06:00
Glenn Randers-Pehrson
070a0eb58f
[libpng16] Revised recent pngrutil.c patch as suggested by pascal
2015-11-14 16:45:26 -06:00
Glenn Randers-Pehrson
0b4e7deab1
[libpng16] Avoid potential pointer overflow in png_handle_sPLT() and
...
png_handle_pCAL() (Bug report by John Regehr).
2015-11-13 11:05:27 -06:00
Glenn Randers-Pehrson
f1cdf4e1ca
[libpng16] Bump version to 1.6.20beta01
2015-11-13 10:18:18 -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
83f4c735c8
[libpng16] Clean up coding style in png_handle_PLTE()
2015-11-05 11:18:44 -06:00
Glenn Randers-Pehrson
64fef09b67
[libpng16] Imported from libpng-1.6.19rc04.tar
2015-11-05 06:59:34 -06:00
Glenn Randers-Pehrson
9f2ad4928e
[libpng16] Fixed new bug with CRC error after reading an over-length palette.
2015-11-04 23:47:42 -06:00