c046a25fd7 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'fuzz' of  https://github.com/randy408/stb  into work2  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								3f5db89baf 
								
							
								 
							
						 
						
							
							
								
								stb_sprintf: redo ASAN fixes after problematic merge  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								e802821e4d 
								
							
								 
							
						 
						
							
							
								
								stb_sprintf: PR 613  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								81b4fd7342 
								
							
								 
							
						 
						
							
							
								
								test_sprintf: clean up for MSVC6 & integration to codebase  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								5a2c8901b2 
								
							
								 
							
						 
						
							
							
								
								stb_dxt: documentation change for constant alpha  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								3223673e86 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'test_sprintf' of  https://github.com/wojdyr/stb  into work2  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								f792c3b982 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'work2' into working  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								c716696e28 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'stb_sprintf-asan' of  https://github.com/h-s-c/stb  into work2  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								57de42c23f 
								
							
								 
							
						 
						
							
							
								
								disable broken tilemap editor build  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								eb48fbdced 
								
							
								 
							
						 
						
							
							
								
								stb_image: use thread-locals for vertically_flip flag and g_failure_reason  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								cf1cb80c8e 
								
									
								
							
								 
							
						 
						
							
							
								
								Create LICENSE  
							
							... 
							
							
 
							
							Copied from stb.h 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								e2b8524aa2 
								
							
								 
							
						 
						
							
							
								
								Fix clang unused function compile warnings  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								7cce4c3ad9 
								
							
								 
							
						 
						
							
							
								
								stb_ds: remove accidental #include  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								2f870b3c07 
								
									
								
							
								 
							
						 
						
							
							
								
								Update CONTRIBUTING.md  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								a909108b45 
								
									
								
							
								 
							
						 
						
							
							
								
								fix   #820  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								4a7a434c2d 
								
							
								 
							
						 
						
							
							
								
								various tests and infrastructure fixes  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								c440a53d06 
								
							
								 
							
						 
						
							
							
								
								stb_image: fix reading BMP with explicit masks  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								d693c6103a 
								
							
								 
							
						 
						
							
							
								
								stb_ds.h: thread-safe functions; pointer-returning functions; change return value of arraddn  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								aa482fc4a1 
								
							
								 
							
						 
						
							
							
								
								stb.h: perfect hashing functions requires opting-in with "#define STB_PERFECT_HASH"; fix some missing parenthesis in stb_arr macros  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								d5d052c806 
								
							
								 
							
						 
						
							
							
								
								casting to int to remove ptrdiff_t <-> int comparison warnings  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								8fca192660 
								
							
								 
							
						 
						
							
							
								
								better to just use stb_strncpy inside stb__splitpath_raw, also fixed an indexing bug in stb_strncpy itself.  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								7c44b15903 
								
							
								 
							
						 
						
							
							
								
								forgot to update fixes list  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								41d1dcc029 
								
							
								 
							
						 
						
							
							
								
								changed buffer to path for STB_EXT_NO_PERIOD, and specified appropriate buffer size for the copy (sizeof(buffer) referred to the size of the buffer pointer, which was incorrect)  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								2f18c96cfb 
								
							
								 
							
						 
						
							
							
								
								Pad allocations in setup_{,temp_}malloc for 8-byte alignment  
							
							... 
							
							
 
							
							4-byte alignment triggered warnings with clang and -fsanitize=undefined.
Fix  #799 .
Signed-off-by: Peter Waller <p@pwaller.net> 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								a6945cb852 
								
									
								
							
								 
							
						 
						
							
							
								
								fix possible bug in uniform sample code  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								58e0c4438d 
								
									
								
							
								 
							
						 
						
							
							
								
								STB Vorbis: eliminate inaccessible branch  
							
							... 
							
							
 
							
							The eliminated code removes the (ch == 1) branch, which is scoped
within this if condition: `if (rtype == 2 && ch != 1)`, therefore
the (ch == 1) branch will never be taken.
Fixes  #842 . 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								3b491aa07c 
								
									
								
							
								 
							
						 
						
							
							
								
								STB Vorbis: prevent division by zero in decode_resign if ch == 0  
							
							... 
							
							
 
							
							In the call to decode_residue:
  decode_residue(f, residue_buffers, ch, n2, r, do_not_decode);
The channel count is previously intialized as zero and incremented
based on a for-loop (f->channels) plus a conditional,
if (map->chan[j].mux == i).  If this doesn't happen then 'ch'
remains zero.
Once inside decode_residue(..), the code has three branches based
on channel count: stereo (ch == 2), mono (ch == 1), and then the
exception if it's neither of those (simple 'else').  It's in here
where a zero-valued 'ch' can be used as the denominator in these
calculations:
    int c_inter = z % ch
    p_inter = z/ch;
Obviously this 'else' branch is meant for channel counts greater
than two an not for zero channels; so this change simply makes
that branch only valid if (ch > 2). 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								15516199e5 
								
							
								 
							
						 
						
							
							
								
								stb_image_write: Update JPEG code to jo_jpeg 1.60  
							
							... 
							
							
 
							
							For quality <= 90, it now supports subsampling U and V
so it encodes smaller files.
See https://www.jonolick.com/home/jo_jpeg-release-160  for more info
about jo_jpeg 1.60 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								4306eea3cb 
								
							
								 
							
						 
						
							
							
								
								Fix VS2019 warning  
							
							... 
							
							
 
							
							- VS2019 on /W4 warns about applying '*' to enums. Fixed by casting to int. 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								4148eb4d90 
								
							
								 
							
						 
						
							
							
								
								stb_image: fix CRC reading at the end of IEND chunk in png file  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								57b9ea6510 
								
							
								 
							
						 
						
							
							
								
								Quell -Wcast-align warnings from Clang  
							
							... 
							
							
 
							
							The stbi__sbraw() macro in stb_image_write.h causes Clang to spew about 24
warnings complaining that "cast from 'unsigned char *' to 'int *' increases
required alignment from 1 to 4" when compiled with the -Wcast-align option.
In practice, this is spurious so long as STBIW_MALLOC() and STBIW_REALLOC()
follow the usual alignment semantics for malloc() and realloc() in that they
align sufficiently for any built-in type.
To quell the warning, we can cast through a void pointer as an intermediary. 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								221a9efcfe 
								
							
								 
							
						 
						
							
							
								
								added credits according to contributor guide  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								cdf3ef1536 
								
							
								 
							
						 
						
							
							
								
								stb_include: fix stb_include_string iteration. Upper bound was incremented each loop instead of iterator causing endless loop when called  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								117e1741a2 
								
									
								
							
								 
							
						 
						
							
							
								
								stb_printf - added contributor  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								b97d06e0fa 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: stb_sprintf - gcc defines __powerpc64__  
							
							... 
							
							
 
							
							Fix for stb_sprintf https://github.com/nothings/stb/issues/806 
fixes  #806  
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								f67165c2bb 
								
									
								
							
								 
							
						 
						
							
							
								
								Update README.md  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								da79a214ef 
								
							
								 
							
						 
						
							
							
								
								stb_vorbis: improve fix for theoretical seek performance problem  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								c3298670d0 
								
							
								 
							
						 
						
							
							
								
								stb_vorbis: fix a couple asserts that fail on invalid files  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								057914d959 
								
							
								 
							
						 
						
							
							
								
								stb_vorbis: fix pushdata for files with audio packets in header pages  
							
							... 
							
							
 
							
							Fixes  #259 , #597  
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								905d05a1d0 
								
							
								 
							
						 
						
							
							
								
								Fixed whitespace  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								c70479c47b 
								
							
								 
							
						 
						
							
							
								
								Revert "Fixed whitespace"  
							
							... 
							
							
 
							
							This reverts commit 72646ac4ae 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								72646ac4ae 
								
							
								 
							
						 
						
							
							
								
								Fixed whitespace  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								df0c8e92d4 
								
							
								 
							
						 
						
							
							
								
								Fixed compiler warnings C4244 conversion from 'int' to 'unsigned char'/'unsigned short'.  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								e615214488 
								
							
								 
							
						 
						
							
							
								
								Fix bare backslash n as being a valid whitespace character.  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								da12942957 
								
							
								 
							
						 
						
							
							
								
								stb_image_write: fix clang warning  
							
							... 
							
							
 
							
							fix -Wmissing-variable-declarations clang warning
`stbi__flip_vertically_on_write` is now static like
`stbi__vertically_flip_on_load` in `stb_image.h` 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								7c4eb44a63 
								
							
								 
							
						 
						
							
							
								
								stb_vorbis: fix seeking in files with audio packets in header pages  
							
							... 
							
							
 
							
							Fixes  #682 , #580  
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								2abc5c6ced 
								
							
								 
							
						 
						
							
							
								
								stb_vorbis: fix seek_to_sample_coarse failure near page end  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								6ca87a9e0e 
								
							
								 
							
						 
						
							
							
								
								stb_vorbis: fix theoretical seek performance problem  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								2a0cff1288 
								
							
								 
							
						 
						
							
							
								
								Add comment support to stb_vorbis  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								01b2d76baf 
								
							
								 
							
						 
						
							
							
								
								stb_image.h: fix warning about unused function 'stbi__err'  
							
							... 
							
							
 
							
							Fixes issue #746 . 
							
						 
						
							ago%!(EXTRA string=6 years)