c72a95d766 
								
							
								 
							
						 
						
							
							
								
								update README  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								9f1836f0b1 
								
							
								 
							
						 
						
							
							
								
								update version  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								f9910f1f9a 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'hmlen-null' of  https://github.com/phoekz/stb  into working  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								8f0bade4ae 
								
							
								 
							
						 
						
							
							
								
								tweak STBDS_REALLOC/STBDS_FREE change  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								258c6e1f50 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'use-free' of  https://github.com/adurdin/stb  into working  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								eddae8cc98 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into working  
							
							
 
							
						 
						
							ago%!(EXTRA string=6 years)  
				
					
						
							
							
								 
						
							
							
								fad8903fe8 
								
							
								 
							
						 
						
							
							
								
								Credits  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								96021689c8 
								
							
								 
							
						 
						
							
							
								
								hmlen and hmlenu now returns 0 on NULL pointer  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								2cddbc934d 
								
							
								 
							
						 
						
							
							
								
								stb_ds: STBDS_REALLOC and STBDS_FREE only need to be defined for the implementation.  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								6b2fb7702f 
								
							
								 
							
						 
						
							
							
								
								stb_ds: Allow STBDS_REALLOC and STBDS_FREE defines to customize memory management.  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								5a2a8e882f 
								
							
								 
							
						 
						
							
							
								
								stb_ds: Use free() instead of realloc(x,0).  Fixes   #768  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								4a4c9deaac 
								
							
								 
							
						 
						
							
							
								
								stb_image: fix warning (unused parameter ‘bpc’)  
							
							... 
							
							
 
							
							Fixes issue #745 . 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								6bde00651c 
								
							
								 
							
						 
						
							
							
								
								stb_textedit: fix typo: STB_TEXTED_K_RIGHT  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								1034f5e5c4 
								
							
								 
							
						 
						
							
							
								
								add stb_include.h  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								f7d1cd581e 
								
									
								
							
								 
							
						 
						
							
							
								
								Allowing Compound Glyphs with `numberOfContours < -1`  
							
							... 
							
							
 
							
							While it is recommended that the numberOfContours are set to -1 for compound glyphs, it is allowed to have any negative value. Source: https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6glyf.html 
However, I don't know if this happens in practice. 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								4e0c494515 
								
							
								 
							
						 
						
							
							
								
								stb_image: fixed 'out' nulled but not freed upon failure  
							
							... 
							
							
 
							
							If realloc fails it returns NULL and out pointer becomes invalid. To
fix this it is necessary to store realloc return value in temporary
pointer and then compare it with NULL. If it equals NULL then return
error and source pointer will still valid.
This error was caught by cppcheck:
Common realloc mistake: 'out' nulled but not freed upon failure. 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								0a1016331c 
								
							
								 
							
						 
						
							
							
								
								Add functions to extract SVG glyphs from font.  
							
							... 
							
							
 
							
							The fucntions are:
stbtt_GetCodepointSVG - provides a pointer to the SVG data in the supplied argument, and returns the length of this data
stbtt_GetGlyphSVG - As above but takes the glyph index instead of the codepoint
Note that the returned data may be deflate compressed. 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								48ffc6bc55 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix gcc warning: expression always true  
							
							... 
							
							
 
							
							stb_image.h:5113:18: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
    STBI_ASSERT(v >= 0 && v < 256); 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								0637408284 
								
							
								 
							
						 
						
							
							
								
								fuzz: fix error handling  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								af516b99ff 
								
							
								 
							
						 
						
							
							
								
								fuzz: remove some chunk identifiers from stb_png.dict  
							
							... 
							
							
 
							
							these chunks are not parsed 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								cd797f8116 
								
							
								 
							
						 
						
							
							
								
								add fuzz target, dictionary, iphone png's  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								a5b663f1b0 
								
							
								 
							
						 
						
							
							
								
								stb_truetype: update contributors list  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								8ac257b00f 
								
							
								 
							
						 
						
							
							
								
								stb_truetype: limit to 1 missing glyph in texture  
							
							... 
							
							
 
							
							When calling stbtt_PackFontRanges, multiple missing glyphs in the range
of codepoints will create multiple copies of the font's missing glyph to
be added to the pixel buffer.  Instead, the first codepoint that maps to the missing glyph will add it to the pixel buffer, and all subsequent glyphs will simply copy the stbtt_packedchar data to reference the same region of the buffer.
This does NOT prevent duplication in multiple calls to stbtt_PackFontRange(s) - that would require modifying the packing context, which could be nice but is a bit more intrusive. 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								f3ca0dd5ae 
								
							
								 
							
						 
						
							
							
								
								Remove redundant scale check in stbtt_GetGlyphSDF  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								7638200f0b 
								
							
								 
							
						 
						
							
							
								
								Remove old documentation re: SECURE_CRT  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								2c2908f505 
								
							
								 
							
						 
						
							
							
								
								update version numbers  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								d940053a01 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into working  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								8cf9f5adb4 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/rsachetto/stb  into working  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								1737c342e2 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'fix_issue-656' of  https://github.com/rygorous/stb  into working  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								3b5ffbe31c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'fix_issue-608' of  https://github.com/rygorous/stb  into working  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								a0b521fcf2 
								
							
								 
							
						 
						
							
							
								
								no warnings when compiling /W3  
							
							... 
							
							
 
							
							compiling all test cases and compilers in test.sbm
   Compilers:
     32-bit:
       VS2015
       VS2013
       VS2008
       VC6 (1998)
       clang-cl 9.0.1
     64-bit
       VS2015
       clang-cl 9.0.1 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								96b4748d57 
								
							
								 
							
						 
						
							
							
								
								update test_ds.c  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								30496e22d7 
								
							
								 
							
						 
						
							
							
								
								add new test files  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								b8960f32b8 
								
							
								 
							
						 
						
							
							
								
								stb_ds: major string hash fix, minor other changes  
							
							... 
							
							
 
							
							- arena and strdup string hashes were badly broken due to not setting up default slot correctly
  - tweak use of seed in 4-byte and 8-byte hash functions to hopefully be slightly stronger
  - a few internal #ifdefs for performance tuning 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								a2cd79b8ff 
								
							
								 
							
						 
						
							
							
								
								fix comma warnings when building with -Wcomma  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								d6a598186c 
								
							
								 
							
						 
						
							
							
								
								stb_image: Pacify some MSVC warnings.  
							
							... 
							
							
 
							
							Convince the compiler's dataflow analysis that yes, we are not
reading uninitialized values of coutput.
Fixes issue #608 . 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								6570d6a825 
								
							
								 
							
						 
						
							
							
								
								stb_image: Make GIF reader validate image size.  
							
							... 
							
							
 
							
							I must've missed it when I did this for the other image loaders.
Either way, combined with the previous checkin, this should fix
issue #614  properly.
Fixes issue #614 . 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								50b1bfba58 
								
							
								 
							
						 
						
							
							
								
								stb_image: Fix multiple bugs in GIF decoder.  
							
							... 
							
							
 
							
							1. Check not just g->out allocation for failure.
2. If an image descriptor specified a 0-width image, this could be
   used to produce an out-of-bounds write.
3. Fix memory leak in case an error occurs during decoding.
Fixes issue #656 . 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								caf9608826 
								
							
								 
							
						 
						
							
							
								
								Adding arrpop macro to stb_ds.h  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								89bccdd567 
								
							
								 
							
						 
						
							
							
								
								Small documentation correction  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								72990efc3e 
								
							
								 
							
						 
						
							
							
								
								test updates for test_ds unit testing  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								f9133c3677 
								
							
								 
							
						 
						
							
							
								
								stb_ds v0.3: fixes for compiling client code in C++  
							
							... 
							
							
 
							
							add missing _wrapper suffixes
   disable clang rvalue support in C++
   disable unit tests in VC6 C++
   other tweaks 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								39c05598a9 
								
							
								 
							
						 
						
							
							
								
								Update stb.h version number  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								0f9254357c 
								
							
								 
							
						 
						
							
							
								
								update version numbers  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								c963e40972 
								
							
								 
							
						 
						
							
							
								
								update version numbers  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								a4111af960 
								
							
								 
							
						 
						
							
							
								
								update readme  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								1aeb8ec201 
								
							
								 
							
						 
						
							
							
								
								stb_ds: fix shift warnings in later VS compilers  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								e704ed0efb 
								
							
								 
							
						 
						
							
							
								
								update tests and project files for stb_ds  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								477471d9a8 
								
							
								 
							
						 
						
							
							
								
								add stb_ds.h and tests  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)  
				
					
						
							
							
								 
						
							
							
								aeec66c6ec 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'randlong' of  https://github.com/flibitijibibo/stb  into working  
							
							
 
							
						 
						
							ago%!(EXTRA string=7 years)