Glenn Randers-Pehrson
dbf3e10487
[libpng15] Bump version to 1.5.29beta01
2016-12-30 08:41:07 -06:00
Glenn Randers-Pehrson
aba2535d0f
[libpng15] Bump version to 1.5.28
2016-12-29 07:45:56 -06:00
Glenn Randers-Pehrson
8cae396a20
[libpng15] Imported from libpng-1.5.28rc01.tar
2016-12-27 08:24:09 -06:00
John Bowler
8d4110bd61
Remove 'defined' within macro
...
This removes the use of a macro containing the pre-processor 'defined'
operator. It is unclear whether this is valid; a macro which
"generates" 'defined' is not permitted, but the use of the work
"generates" within the C90 standard seems to imply more than simple
substitution of an expression itself containing a well-formed defined
operation.
Signed-off-by: John Bowler <jbowler@acm.org>
2016-12-26 16:24:40 -08:00
Glenn Randers-Pehrson
6b7c27341e
[libpng15] Merge with libpng16/pngminus
2016-10-30 09:20:04 -05:00
Glenn Randers-Pehrson
5a945f3393
[libpng15] Merge with libpng16/pngtest.c, pngvalid.c, gregbook, pngminim
2016-10-30 08:39:00 -05:00
Glenn Randers-Pehrson
0188ecfb8f
[libpng15] Merge contrib/pngminim/*/makefile with those from libpng-1.6.24
2016-08-02 10:20:52 -05:00
Glenn Randers-Pehrson
a82098a22b
[libpng15] Sync contrib/libtests/pngvalid.c with libpng16
2016-06-25 15:00:36 -05:00
Glenn Randers-Pehrson
c1ac308d12
[libpng15] Merge contrib/libtests/pngvalid.c with libpng16
2016-05-31 10:05:56 -05:00
Glenn Randers-Pehrson
94727db1ea
[libpng15] Bump version to 1.5.28beta01
2016-05-29 15:59:43 -05:00
John Bowler
6a1a8df343
Backported pngvalid changes from libpng 1.6
...
Signed-off-by: John Bowler <jbowler@acm.org>
2016-05-29 12:44:22 -07:00
Glenn Randers-Pehrson
6fb875a54e
[libpng15] Imported from libpng-1.5.27.tar
2016-05-26 07:24:57 -05:00
Glenn Randers-Pehrson
870fcc9b64
[libpng15] Imported from libpng-1.5.27beta01.tar
2016-03-09 12:04:14 -06:00
John Bowler
1cef0c0eae
pngvalid: backport autoconf exit(77) fix
...
Signed-off-by: John Bowler <jbowler@acm.org>
2016-01-28 16:49:48 -08:00
Glenn Randers-Pehrson
73adedf0e4
[libpng15] Revised workaround for Coverity issue in pngvalid.c
2016-01-23 10:06:58 -06:00
Glenn Randers-Pehrson
7190c4f5af
[libpng15] Worked around a false-positive Coverity issue in pngvalid.c.
2016-01-13 09:55:15 -06:00
Glenn Randers-Pehrson
89a025317c
[libpng15] Update CHANGES and ANNOUNCE with recent pngvalid.c update
2015-12-17 20:22:16 -06:00
Glenn Randers-Pehrson
7c32176ba0
Merge branch 'libpng15' of git://github.com/jbowler/libpng-1 into libpng15
2015-12-17 20:19:23 -06:00
Glenn Randers-Pehrson
684c68d6fb
[libpng15] Bump version to 1.5.27beta01
2015-12-17 20:09:18 -06:00
John Bowler
829cba63d3
Fix undefined behavior in pngvalid.c
...
Undefined because (png_byte) << shift is undefined if it changes the signed bit
(because png_byte is promoted to int). The libpng exported functions
png_get_uint_32 and png_get_uint_16 handle this.
Bug reported by David Drysdale as a result of reports from UBSAN in clang 3.8.
This changes pngvalid to use BE random numbers; this used to produce errors but
these should not be fixed as a result of the previous changes.
Signed-off-by: John Bowler <jbowler@acm.org>
2015-12-17 12:57:49 -08:00
John Bowler
b409572cec
Merge branch 'libpng15' of ../../libpng into libpng15
2015-12-17 09:40:11 -08:00
Glenn Randers-Pehrson
94322f3f8f
[libpng15] Imported from libpng-1.5.26.tar
2015-12-17 08:11:20 -06:00
John Bowler
aff684567e
pngvalid from libpng 1.7 with fixes
...
Signed-off-by: John Bowler <jbowler@acm.org>
2015-12-15 08:28:02 -08:00
Glenn Randers-Pehrson
456d614959
[libpng15] Bump version to 1.5.26beta01
2015-12-09 09:42:49 -06:00
Glenn Randers-Pehrson
93e111afc5
[libpng15] Imported from libpng-1.5.25.tar
2015-12-02 22:30:30 -06:00
Glenn Randers-Pehrson
3a1a5256fa
[libpng15] Imported from libpng-1.5.25rc01.tar
2015-11-26 07:04:16 -06:00
Glenn Randers-Pehrson
b5da27d211
[libpng15] Imported from libpng-1.5.25beta03.tar
2015-11-24 09:36:23 -06:00
John Bowler
daf54fe4fc
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:16:21 -08:00
Glenn Randers-Pehrson
2cc28ebc00
[libpng15] Merged pngvalid.c with libpng16's pngvalid.c, again.
2015-10-03 18:07:03 -05:00
Glenn Randers-Pehrson
01789a5e8e
[libpng15] Fix "last changed" line for pngvalid.c
2015-09-18 22:01:55 -05:00
Glenn Randers-Pehrson
1f4508c7e2
[libpng15] Update CHANGES and ANNOUNCE per recent pull request.
2015-09-18 21:24:29 -05:00
John Bowler
9946064745
pngvalid. copied from libpng17
...
This change requires the fix to png_set_filler
Signed-off-by: John Bowler <jbowler@acm.org>
2015-09-18 15:49:57 -07:00
Glenn Randers-Pehrson
bb98fdbf31
[libpng15] Fixed potential leak of png_pixels in contrib/pngminus/pnm2png.c
...
and fixed uninitialized variable in contrib/gregbook/rpng2-x.c
2015-07-30 11:32:56 -05:00
Glenn Randers-Pehrson
ab096c961b
[libpng15] Quieted Coverity issues in pngvalid.c.
2015-06-03 16:18:23 -05:00
Glenn Randers-Pehrson
beaacb7821
[libpng15] Removed #if/#else/#endif from inside two pow() calls in pngvalid.c
...
because they were handled improperly by Portland Group's PGI-14.1 - PGI-14.3
when using its "__builtin_pow()" function.
2014-03-17 16:14:05 -05:00
John Bowler
7a456ca882
[libpng15] Removed now-redundant png_error redefinition from pngvalid.c
2014-02-17 07:32:39 -06:00
Glenn Randers-Pehrson
e9a25f4568
[libpng15] Updated scripts/makefile.* to use CPPFLAGS (Cosmin)
2014-01-12 11:57:09 -06:00
Glenn Randers-Pehrson
77adefeda6
[libpng15] Updated copyright year in recently-changed files.
2013-12-31 21:06:14 -06:00
John Bowler
01ad4848be
[libpng15] Pushed new pngvalid.c to the libpng15 branch.
2013-12-29 18:18:58 -06:00
John Bowler
71fcb39efc
[libpng15] Merged pngvalid and pngtest from libpng-1.5; made compressed chunks
...
after IDAT work with the progressive read code (this is a minor and
somewhat ugly fix-up; the proper fix is in 1.6).
2013-12-29 10:44:25 -06:00
John Bowler
c5568595ff
[libpng15] Merged libpng-1.7 changes and created a single pngvalid.c
2013-12-27 07:40:15 -06:00
John Bowler
bd7143e6eb
[libpng15] Fixed 'unused' warnings and mergeed with libpng16 pngvalid.
...
Various warnings revealed by configurations added to the tested
configurations in libpng 1.6 need corresponding fixes in libpng 1.5.
This takes the libpng 1.6 pngvalid.c and adds it back to libpng 1.5,
however one write-only test is currently disabled because it does not
work; possibly because of failures to reset or initialize the deflate
stream correctly in write-only cases.
2013-12-27 07:27:17 -06:00
Glenn Randers-Pehrson
642b1d8f1e
[libpng15] Imported from libpng-1.5.18beta02.tar
2013-12-26 12:03:21 -06:00
Glenn Randers-Pehrson
bc92887b2d
[libpng15] Imported from libpng-1.5.16beta06.tar
2013-05-12 18:34:58 -05:00
Glenn Randers-Pehrson
ae8174d9a3
[libpng15] Imported from libpng-1.5.15beta06.tar
2013-05-12 12:12:08 -05:00
Glenn Randers-Pehrson
a3bece6bb7
[libpng15] Ported libpng-1.6.3beta06/contrib/pngminus/pnm2png.c changes
...
to use unsigned long, not png_uint_32 arguments to sscanf().
2013-05-12 12:09:48 -05:00
Glenn Randers-Pehrson
1087026c09
[libpng15] Revised contrib/pngminim/*/makefile to separate CPPFLAGS and
...
CPFLAGS, and to generate pnglibconf.h with the right zlib header files.
2013-05-10 07:43:54 -05:00
Glenn Randers-Pehrson
080fecf0e4
[libpng15] Allow contrib/pnminus/pnm2png.c to compile without WRITE_INVERT
...
and WRITE_PACK supported (writes error message that it can't read P1 or P4
PBM files).
2013-05-09 14:26:00 -05:00
Glenn Randers-Pehrson
7bef6f83ec
[libpng15] Imported from libpng-1.5.16beta05.tar
2013-05-09 12:48:13 -05:00
Glenn Randers-Pehrson
dc7e768526
[libpng15] Updated contrib/pngminus/pnm2png.c (Paul Stewart):
...
Fixed whitespace handling
Added a call to png_set_packing()
Initialize dimension values so if sscanf fails at least we have known
invalid values.
2013-05-09 12:43:25 -05:00