Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							05af5cd8fb 
							
						 
					 
					
						
						
							
							[libpng16] Fixed some typos and grammar in manual and comments  
						
						
						
						
					 
					
						2012-06-09 10:35:17 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							14ca47b453 
							
						 
					 
					
						
						
							
							[libpng16] Improved performance of new do_check_palette_indexes() function  
						
						... 
						
						
						
						(only update the value when it actually increases, move test for whether
the check is wanted out of the function. 
						
						
					 
					
						2012-06-06 13:30:30 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							23a30f8583 
							
						 
					 
					
						
						
							
							[libpng16] Prevent PNG_EXPAND+PNG_SHIFT doing the shift twice.  
						
						
						
						
					 
					
						2012-03-28 11:38:02 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							b11b31aea2 
							
						 
					 
					
						
						
							
							[libpng16] Changed chunk handler warnings into benign errors, incrementally  
						
						... 
						
						
						
						load iCCP 
						
						
					 
					
						2012-03-21 07:55:46 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							2bc76ffaf1 
							
						 
					 
					
						
						
							
							[ibpng16] Added application error reporting and added chunk names to read  
						
						... 
						
						
						
						benign errors; also added --strict to pngstest - not enabled
yet because a warning is produced. 
						
						
					 
					
						2012-03-18 22:37:25 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							66efa24241 
							
						 
					 
					
						
						
							
							[libpng16] Removed erroneous setting of DETECT_UNINITIALIZED and added more  
						
						... 
						
						
						
						checks. The code now does a png_error if an attempt is made to do the
row initialization twice; this is an application error and it has
serious consequences because the transform data in png_struct is
changed by each call. 
						
						
					 
					
						2012-03-18 21:10:29 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							0c11b5f8e7 
							
						 
					 
					
						
						
							
							[libpng16]  Work around for duplicate row start calls; added warning messages.  
						
						... 
						
						
						
						This turns on PNG_FLAG_DETECT_UNINITIALIZED to detect app code that
fails to call one of the 'start' routines (not enabled in libpng-1.5
because it is technically an API change, since it did normally work
before.)  It also makes duplicate calls to png_read_start_row (an
internal function called at the start of the image read) benign, as
they were before changes to use png_inflate_claim. Somehow webkit is
causing this to happen; this is probably a mis-feature in the zlib
changes so this commit is only a work-round. 
						
						
					 
					
						2012-03-18 14:39:41 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							eeb1bb678d 
							
						 
					 
					
						
						
							
							[libng16] Added palette-index checking while writing.  
						
						... 
						
						
						
						Relocated palette-index checking function from pngrutil.c to pngtrans.c 
						
						
					 
					
						2012-03-02 22:10:15 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							5541ea8aaf 
							
						 
					 
					
						
						
							
							[libpng16] Relocated declarations of index and padding in new index-checking  
						
						... 
						
						
						
						code. 
						
						
					 
					
						2012-03-01 22:18:09 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							363ae65e2b 
							
						 
					 
					
						
						
							
							[libpng16] Added tests for invalid palette index while reading and writing  
						
						... 
						
						
						
						(work in progress, the latter isn't finished). 
						
						
					 
					
						2012-03-01 21:39:29 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							a4badc4b50 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.0beta12.tar  
						
						
						
						
					 
					
						2012-02-17 17:07:54 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							8fb6c6a9b3 
							
						 
					 
					
						
						
							
							[libpng16] Eliminated Intel icc/icl compiler warnings. The Intel (GCC derived)  
						
						... 
						
						
						
						compiler issues slightly different warnings from those issued by the
current vesions of GCC. This eliminates those warnings by
adding/removing casts and small code rewrites. 
						
						
					 
					
						2012-01-25 07:47:44 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							fea2a877c8 
							
						 
					 
					
						
						
							
							[libpng16] Added some whitespace in comments.  
						
						
						
						
					 
					
						2012-01-23 22:52:59 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							5bc90389bf 
							
						 
					 
					
						
						
							
							[libpng16]  Added color-map support to simplified API.  
						
						... 
						
						
						
						This is an initial version for review; the documentation has not yet been
updated. 
						
						
					 
					
						2012-01-23 22:43:22 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							1531bd61a0 
							
						 
					 
					
						
						
							
							[libpng16] Updated copyright year to 2012  
						
						
						
						
					 
					
						2012-01-01 14:45:04 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							fcd301daed 
							
						 
					 
					
						
						
							
							[libpng16] Changed png_memcpy to C assignment where appropriate. Changed all  
						
						... 
						
						
						
						those uses of png_memcpy that were doing a simple assignment to assignments
(all those cases where the thing being copied is a non-array C L-value.)
Added some error checking to png_set_*() routines and removed the
reference to the non-exported function png_memcpy() from example.c. Fixed
the Visual C 64-bit build - it requires jmp_buf to be aligned, but it had
become misaligned. 
						
						
					 
					
						2011-12-28 21:34:27 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							5d56786eff 
							
						 
					 
					
						
						
							
							[libpng16] Implemented 'restrict' for png_info and png_struct.  
						
						... 
						
						
						
						Added new "png_structrp" typedef. Because of the
way libpng works both png_info and png_struct are always accessed via a
single pointer.  This means adding C99 'restrict' to the pointer gives
the compiler some opportunity to optimize the code.  This change allows that. 
						
						
					 
					
						2011-12-24 09:12:00 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							13831bc06e 
							
						 
					 
					
						
						
							
							[libpng16] Updated "last changed" dates  
						
						
						
						
					 
					
						2011-12-21 08:28:28 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							0b26ac5dee 
							
						 
					 
					
						
						
							
							[libpng16] Replaced an "#if" with "ifdef" in pngrtran.c  
						
						
						
						
					 
					
						2011-11-28 10:38:41 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							baeb6d1e92 
							
						 
					 
					
						
						
							
							[libpng16] Added ANSI-C (C90) headers; eliminated the use of FAR/far.  
						
						
						
						
					 
					
						2011-11-26 18:21:02 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							18c5cfafeb 
							
						 
					 
					
						
						
							
							[libpng15] Multiple transform bug fixes plus a work-round for double gamma  
						
						... 
						
						
						
						correction. 
						
						
					 
					
						2011-11-16 14:26:34 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							4be12aa1e3 
							
						 
					 
					
						
						
							
							[libpng15] Updated commentary  
						
						
						
						
					 
					
						2011-11-10 06:35:48 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							efc4b69767 
							
						 
					 
					
						
						
							
							[libpng15] Fixed some typos in comments.  
						
						
						
						
					 
					
						2011-11-07 23:31:34 -06:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							7875d534cb 
							
						 
					 
					
						
						
							
							[libpng15] Simplified read/write API initial version; basic read/write tested  
						
						... 
						
						
						
						on a variety of images, limited documentation (in the header file.) 
						
						
					 
					
						2011-11-07 22:33:49 -06:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							55e85c24b4 
							
						 
					 
					
						
						
							
							[libpng15] Imported from libpng-1.5.7beta01.tar  
						
						
						
						
					 
					
						2011-11-04 13:47:49 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							2b7d730e27 
							
						 
					 
					
						
						
							
							[libpng15] Bump version to libpng-1.5.7beta01  
						
						
						
						
					 
					
						2011-11-02 23:14:13 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							bc6726bc04 
							
						 
					 
					
						
						
							
							[libpng15] Imported from libpng-1.5.6.tar  
						
						
						
						
					 
					
						2011-11-02 22:48:36 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							92ef313c77 
							
						 
					 
					
						
						
							
							[libpng15] Fixed compiler warnings with Intel and MSYS compilers.  
						
						... 
						
						
						
						The logical shift fix for Microsoft Visual C is required by other compilers,
so this enables that fix for all compilers when using compile-time constants.
Under MSYS 'byte' is a name declared in a system header file, so we
changed the name of a local variable to avoid the warnings that result. 
						
						
					 
					
						2011-10-27 19:53:14 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							07772cba07 
							
						 
					 
					
						
						
							
							[libpng15] Fixes for multiple calls to png_read_update_info.  
						
						... 
						
						
						
						These fixes attend to most of the errors revealed in pngvalid, however doing
the gamma work twice results in inaccuracies that can't be easily fixed.
There is now a warning in the code if this is going to happen. 
						
						
					 
					
						2011-10-14 18:19:47 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							bb5cb1476b 
							
						 
					 
					
						
						
							
							[libpng15] Bump version to libpng-1.5.6beta02  
						
						
						
						
					 
					
						2011-09-22 12:48:19 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							115020d985 
							
						 
					 
					
						
						
							
							[libpng15] Imported from libpng-1.5.6beta01.tar  
						
						
						
						
					 
					
						2011-09-22 09:51:23 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							3e2263abf2 
							
						 
					 
					
						
						
							
							[libpng15] Imported from libpng-1.5.5.tar  
						
						
						
						
					 
					
						2011-09-22 08:45:04 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							751561218f 
							
						 
					 
					
						
						
							
							[libpng15] Constant changes for 64-bit compatibility (removal of L suffixes).  
						
						... 
						
						
						
						The 16-bit cases still use "L" as we don't have a 16-bit test system. 
						
						
					 
					
						2011-09-09 17:21:44 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							63071acbd9 
							
						 
					 
					
						
						
							
							[devel] Zapped "zap" (changed "zap" to "remove")  
						
						
						
						
					 
					
						2011-08-29 16:16:26 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							8b8aacde83 
							
						 
					 
					
						
						
							
							[devel] Use "color" spelling consistently.  
						
						
						
						
					 
					
						2011-08-25 18:10:50 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							736f40f459 
							
						 
					 
					
						
						
							
							[devel] Fixes to rgb_to_gray and cHRM XYZ APIs  
						
						
						
						
					 
					
						2011-08-25 16:19:44 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							75d5bfda5b 
							
						 
					 
					
						
						
							
							[devel] Imported from libpng-1.5.5beta05.tar  
						
						
						
						
					 
					
						2011-08-17 07:47:04 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							0bc79772c8 
							
						 
					 
					
						
						
							
							[devel] Revised commentary about png_rgb_to_gray coefficents  
						
						... 
						
						
						
						and fixed spelling (truely -> truly) in comments. 
						
						
					 
					
						2011-08-11 15:11:11 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							99ffac0838 
							
						 
					 
					
						
						
							
							[devel] Imported from libpng-1.5.5beta04.tar  
						
						
						
						
					 
					
						2011-07-29 12:35:41 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							d404b6d488 
							
						 
					 
					
						
						
							
							[devel] Imported from libpng-1.5.4.tar  
						
						
						
						
					 
					
						2011-07-07 06:26:30 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							8d261262d9 
							
						 
					 
					
						
						
							
							[devel] Fixed pngvalid, simplified macros, added checking for 0 in sCAL.  
						
						
						
						
					 
					
						2011-06-18 13:37:11 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							aee83b43d6 
							
						 
					 
					
						
						
							
							[devel] Fixed buffer bug (both the strip_16 and scale_16 transforms were  
						
						... 
						
						
						
						being applied. 
						
						
					 
					
						2011-06-18 00:19:54 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							24145c8869 
							
						 
					 
					
						
						
							
							[devel] Still trying to fix row buffer problem but pngvalid still fails  
						
						
						
						
					 
					
						2011-06-17 22:45:03 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							e6a8060a71 
							
						 
					 
					
						
						
							
							[devel] Fixed some errors with 16_TO_8 macros  
						
						... 
						
						
						
						pngvalid still fails two tests, problem with row buffer. 
						
						
					 
					
						2011-06-17 22:28:23 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							ab63dd0892 
							
						 
					 
					
						
						
							
							[devel] Renamed png_set_chop_16() to png_set_strip_16().  
						
						
						
						
					 
					
						2011-06-17 20:41:19 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							a7428d443c 
							
						 
					 
					
						
						
							
							[devel] Renamed png_set_strip_16() to png_set_scale_16().  
						
						
						
						
					 
					
						2011-06-17 19:07:04 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							5f0b9276ec 
							
						 
					 
					
						
						
							
							[devel] Made PNG_READ_16_TO_8_ACCURATE_SCALE configurable again.  
						
						... 
						
						
						
						If this is not enabled, png_set_strip_16() and png_do_scale_16_to_8()
aren't built. 
						
						
					 
					
						2011-06-16 09:05:40 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							ef217b76a3 
							
						 
					 
					
						
						
							
							[devel] Updated comments that mention 1.5.3; changed them to 1.5.4.  
						
						
						
						
					 
					
						2011-06-15 12:58:27 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							903c64dce8 
							
						 
					 
					
						
						
							
							[devel] Added "#ifdef PNG_READ_BACKGROUND_SUPPORTED/#endif" in pngrtran.c  
						
						
						
						
					 
					
						2011-06-15 11:50:23 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							be720edba7 
							
						 
					 
					
						
						
							
							[devel] Correction to the expand_16 code; removed extra instance of  
						
						... 
						
						
						
						png_set_scale_16_to_8 from pngpriv.h 
						
						
					 
					
						2011-06-15 08:20:37 -05:00