John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							6297297708 
							
						 
					 
					
						
						
							
							Enable low-bit-depth gray tests in pngvalid  
						
						... 
						
						
						
						Signed-off-by: John Bowler <jbowler@acm.org> 
						
						
					 
					
						2015-09-25 16:21:45 -07:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							fd42ef9b06 
							
						 
					 
					
						
						
							
							pngstest 1.6 error limit and warning revisions  
						
						... 
						
						
						
						Remove the '--strict' in 1.6 because of the double-gamma-correction warning,
update pngstest-errors.h for the errors detected with the new contrib/testspngs
PNG test files.
Signed-off-by: John Bowler <jbowler@acm.org> 
						
						
					 
					
						2015-09-25 13:40:18 -07:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							a2671a7f49 
							
						 
					 
					
						
						
							
							test PNG files (contrib/testpngs)  
						
						... 
						
						
						
						Back ported from libpng 1.7
Signed-off-by: John Bowler <jbowler@acm.org> 
						
						
					 
					
						2015-09-25 13:10:13 -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 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							d6eb4b71ac 
							
						 
					 
					
						
						
							
							Updated pngstest-errors.h  
						
						... 
						
						
						
						This update incorporates errors resulting from the more extensive image test
suite used in libpng 1.7
Signed-off-by: John Bowler <jbowler@acm.org> 
						
						
					 
					
						2015-09-20 20:59:10 -07:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							4c9c43d4d4 
							
						 
					 
					
						
						
							
							[libpng16] Added license info to pngstest-errors.h and its generator.  
						
						
						
						
					 
					
						2015-09-19 20:17:44 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							0cc11b86ba 
							
						 
					 
					
						
						
							
							[libpng16] Update ANNOUNCE and CHANGES with recent pngstest updates.  
						
						
						
						
					 
					
						2015-09-19 19:57:59 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							93b4568fc0 
							
						 
					 
					
						
						
							
							pngstest: make error limits version specific  
						
						... 
						
						
						
						Splitting the machine generated error structs out to a file allows the values to
be updated without changing pngstest.c itself, since libpng 1.6 and 1.7 have
slightly different error limits this simplifies maintenance.
Signed-off-by: John Bowler <jbowler@acm.org> 
						
						
					 
					
						2015-09-19 16:34:30 -07:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							8bfcb4c7a7 
							
						 
					 
					
						
						
							
							[libpng16] Copied contrib/libtests/pngvalid.c from libpng17.  
						
						
						
						
					 
					
						2015-09-18 14:24:49 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							eb0bf4f468 
							
						 
					 
					
						
						
							
							[libpng16] Updated pngvalid.c with recent changes from libpng17  
						
						
						
						
					 
					
						2015-09-18 13:09:57 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							e8c554661c 
							
						 
					 
					
						
						
							
							Back-port pngvalid corrections and enhancements  
						
						... 
						
						
						
						This is a patch for libpng16.
It incorporates fixes to the low-bit-depth gray background handling from
libpng17 and turns one of the low-bit-depth gray cases that does work (and,
indeed, did work before) in libpng16
Signed-off-by: John Bowler <jbowler@acm.org> 
						
						
					 
					
						2015-09-17 07:56:30 -07:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							c3e7e7d715 
							
						 
					 
					
						
						
							
							[libpng16] tests backported from libpng 1.7  
						
						... 
						
						
						
						This updates libpng16 with all the test changes from libpng17,
including changes to pngvalid.c to ensure that the original,
distributed, version of contrib/visupng/cexcept.h can be used.
pngvalid contains the correction to the use of SAVE/STORE_
UNKNOWN_CHUNKS; a bug revealed by changes in libpng 1.7.  More
tests contain the --strict option to detect warnings and the
pngvalid-standard test has been corrected so that it does not
turn on progresive-read (there is a separate test which does
that.)
Some signed/unsigned fixes have been made.
Signed-off-by: John Bowler <jbowler@acm.org> 
						
						
					 
					
						2015-09-15 15:38:52 -07:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							1e16e8829d 
							
						 
					 
					
						
						
							
							[libpng16] Fix typo (extra "*/") in contrib/libtests/fakepng.c  
						
						
						
						
					 
					
						2015-09-15 17:07:34 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							4c02a5930a 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.19beta02.tar  
						
						
						
						
					 
					
						2015-08-19 12:58:14 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							8b83ff3704 
							
						 
					 
					
						
						
							
							[libpng16] Change "n bit" to "n-bit" in comments.  
						
						
						
						
					 
					
						2015-08-13 20:57:18 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							c6f629ffdd 
							
						 
					 
					
						
						
							
							[libpng16] Unlink temporary file immediately in pngstest (PNG_USE_MKSTEMP)  
						
						
						
						
					 
					
						2015-06-11 16:28:54 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							f6e7551f06 
							
						 
					 
					
						
						
							
							[libpng16] Eliminated the final two Coverity defects (insecure temporary file  
						
						... 
						
						
						
						handling in contrib/libtests/pngstest.c; possible overflow of
unsigned char in contrib/tools/png-fix-itxt.c). To use the "secure"
file handling, define PNG_USE_MKSTEMP, otherwise "tmpfile()" will
continue to be used. 
						
						
					 
					
						2015-06-10 07:05:18 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							867f2ec058 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.18beta07.tar  
						
						
						
						
					 
					
						2015-06-06 17:03:14 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							b26b51d154 
							
						 
					 
					
						
						
							
							[libpng16] Quieted Coverity issues in pngfix.c, png-fix-itxt.c, pngvalid.c,  
						
						... 
						
						
						
						pngstest.c, and pngimage.c. Most seem harmless, but png-fix-itxt
would only work with iTXt chunks with length 255 or less. 
						
						
					 
					
						2015-06-03 16:07:01 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							b780eba4e4 
							
						 
					 
					
						
						
							
							[libpng16] Fixed cexcept.h in which GCC 5 now reports that one of the auto  
						
						... 
						
						
						
						variables in the Try macro needs to be volatile to prevent value
being lost over the setjmp. 
						
						
					 
					
						2015-06-03 14:46:34 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							a21a5b22c1 
							
						 
					 
					
						
						
							
							[libpng16] Fixed rgb_to_gray checks and added tRNS checks to pngvalid.c  
						
						
						
						
					 
					
						2015-03-30 21:38:31 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							218a6fe9e5 
							
						 
					 
					
						
						
							
							[libpng16] Bump version to 1.6.18beta01  
						
						
						
						
					 
					
						2015-03-26 08:55:25 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							bc27b2f432 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.17rc02.tar  
						
						
						
						
					 
					
						2015-03-09 09:20:46 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							018b4fccb9 
							
						 
					 
					
						
						
							
							[libpng16] Happy New Year!  Update copyright year.  
						
						
						
						
					 
					
						2014-12-31 18:45:23 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							b6788ccaff 
							
						 
					 
					
						
						
							
							[libpng16] Implement previously untested libpng transforms in pngvalid.c  
						
						
						
						
					 
					
						2014-12-29 16:31:58 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							19ec55f40e 
							
						 
					 
					
						
						
							
							[libpng16] Added testing of png_set_packing() to pngvalid.c  
						
						
						
						
					 
					
						2014-12-27 19:10:04 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							ecd074945c 
							
						 
					 
					
						
						
							
							[libpng16] Bump version to 1.6.17beta01  
						
						
						
						
					 
					
						2014-12-21 22:56:42 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							88dd30b232 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.16.tar  
						
						
						
						
					 
					
						2014-12-21 21:53:00 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							f43b5e3709 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.16beta03.tar  
						
						
						
						
					 
					
						2014-12-20 19:21:32 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							a00ea0aeae 
							
						 
					 
					
						
						
							
							[libpng16] Quiet a "comparison always true" warning in pngstest.c (John Bowler).  
						
						
						
						
					 
					
						2014-12-16 19:18:06 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							61ea3eacb0 
							
						 
					 
					
						
						
							
							[libpng16] Reverted use png_get_libpng_ver(NULL) instead of PNG_LIBPNG_VER_STRING  
						
						... 
						
						
						
						in the manual, example.c, pngtest.c, and applications in the contrib directory.
It was incorrect advice. 
						
						
					 
					
						2014-11-06 06:39:56 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							03df189954 
							
						 
					 
					
						
						
							
							[libpng16] 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 17:19:36 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							6f2c50e7fc 
							
						 
					 
					
						
						
							
							[libpng16] 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. 
						
						
					 
					
						2014-11-05 17:11:59 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							f1b547a509 
							
						 
					 
					
						
						
							
							[libpng16] Use png_get_libpng_ver(NULL), not PNG_LIBPNG_VER_STRING  
						
						
						
						
					 
					
						2014-11-04 23:33:46 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							edb772fd6d 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.14.tar  
						
						
						
						
					 
					
						2014-10-22 19:32:52 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							af557d98e1 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.14beta03.tar  
						
						
						
						
					 
					
						2014-09-19 07:58:00 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							551019baf6 
							
						 
					 
					
						
						
							
							[libpng16] Revert recent pngvalid.c changes and define FE_DIVBYZERO, etc.,  
						
						... 
						
						
						
						if not already defined. 
						
						
					 
					
						2014-09-18 16:41:40 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							baa95a2d49 
							
						 
					 
					
						
						
							
							[libpng16] Do not include <fenv.h> when FLOATING_ARITHMETIC is not supported.  
						
						
						
						
					 
					
						2014-09-18 09:23:45 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							6b570f11e1 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.11beta02.tar  
						
						
						
						
					 
					
						2014-03-25 17:10:44 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							d74d82137b 
							
						 
					 
					
						
						
							
							[libpng16] Cosmetic revision of previous change  
						
						
						
						
					 
					
						2014-03-17 15:35:28 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							a518abd582 
							
						 
					 
					
						
						
							
							[libpng16] 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 15:29:25 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							4df37bfa4f 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.10.tar  
						
						
						
						
					 
					
						2014-03-06 12:49:17 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							37b7299b60 
							
						 
					 
					
						
						
							
							[libpng16] Deleted a now-redundant #define png_error from pngvalid.c  
						
						
						
						
					 
					
						2014-02-16 22:55:41 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							8a227ff25a 
							
						 
					 
					
						
						
							
							[libpng16] Bump version to 1.6.10beta01  
						
						
						
						
					 
					
						2014-02-05 23:51:39 -06:00