udpate version numbers
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Sean Barrett · committed by Sean Barrett · parent d79349d · Browse files · 13 files·+23 added−10 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
13 files+23 added−10 removed
- other:+23 added−10 removed
Provenance
- Commit
5e4a061- Tree
1a047f5- Author
Sean Barrett <sean@nothings.org>- Committer
Sean Barrett <sean@nothings.org>- Parent
d79349d
13 files changed+23 added−10 removed
This commit is too large to show whole: its files are listed by path, without their changes.
modified:stb_divide.h+2 added-1 removed
1-// stb_divide.h - v0.92 - public domain - Sean Barrett, Feb 20101+// stb_divide.h - v0.93 - public domain - Sean Barrett, Feb 20102 // Three kinds of divide/modulus of signed integers.3 //4 // HISTORY5 //6+// v0.93 2020-02-02 Write useful exit() value from main() 7 // v0.92 2019-02-25 Fix warning8 // v0.91 2010-02-27 Fix euclidean division by INT_MIN for non-truncating C9 // Check result with 64-bit math to catch such cases10 // v0.90 2010-02-24 First public release420 unmodified linesmodified:stb_ds.h+1 added-1 removed
1-/* stb_ds.h - v0.62b - public domain data structures - Sean Barrett 20191+/* stb_ds.h - v0.63 - public domain data structures - Sean Barrett 20192 3 This is a single-header-file library that provides easy-to-use4 dynamic arrays and hash tables for C (also works in C++).5 1823 unmodified linesmodified:stb_dxt.h+3 added-2 removed
1-// stb_dxt.h - v1.08b - DXT1/DXT5 compressor - public domain1+// stb_dxt.h - v1.09 - DXT1/DXT5 compressor - public domain2 // original by fabian "ryg" giesen - ported to C by stb3 // use '#define STB_DXT_IMPLEMENTATION' before including to create the implementation4 //5 // USAGE:3 unmodified lines9 // must supply some constant alpha in the alpha channel).10 // You can turn on dithering and "high quality" using mode.11 //12 // version history:13+// v1.09 - (stb) update documentation re: surprising alpha channel requirement13-// v1.08 - (sbt) fix bug in dxt-with-alpha block14+// v1.08 - (stb) fix bug in dxt-with-alpha block15 // v1.07 - (stb) bc4; allow not using libc; add STB_DXT_STATIC16 // v1.06 - (stb) fix to known-broken 1.0517 // v1.05 - (stb) support bc5/3dc (Arvids Kokins), use extern "C" in C++ (Pavel Krajcevski)18 // v1.04 - (ryg) default to no rounding bias for lerped colors (as per S3TC/DX10 spec);712 unmodified linesmodified:stb_easy_font.h+2 added-1 removed
1-// stb_easy_font.h - v1.0 - bitmap font for 3D rendering - public domain1+// stb_easy_font.h - v1.1 - bitmap font for 3D rendering - public domain2 // Sean Barrett, Feb 20153 //4 // Easy-to-deploy,5 // reasonably compact,64 unmodified lines70 // See end of file for license information.71 //72 // VERSION HISTORY73 //74+// (2020-02-02) 1.1 make everything static so can compile it in more than one src file75 // (2017-01-15) 1.0 space character takes same space as numbers; fix bad spacing of 'f'76 // (2016-01-22) 0.7 width() supports multiline text; add height()77 // (2015-09-13) 0.6 #include <math.h>; updated license78 // (2015-02-01) 0.5 First release227 unmodified linesmodified:stb_image_resize.h+1 added
157 unmodified lines158 Aras Pranckevicius: bugfix159 Nathan Reed: warning fixes160 161 REVISIONS162+ 0.97 (2020-02-02) fixed warning163 0.96 (2019-03-04) fixed warnings164 0.95 (2017-07-23) fixed warnings165 0.94 (2017-03-18) fixed warnings166 0.93 (2017-03-03) fixed bug with certain combinations of heights2465 unmodified linesmodified:stb_image_write.h+4 added-1 removed
1-/* stb_image_write - v1.13 - public domain - http://nothings.org/stb1+/* stb_image_write - v1.14 - public domain - http://nothings.org/stb2 writes out PNG/BMP/TGA/JPEG/HDR images to C stdio - Sean Barrett 2010-20153 no warranty implied; use at your own risk4 5 Before #including,1567 unmodified lines1573 1574 #endif // STB_IMAGE_WRITE_IMPLEMENTATION1575 1576 /* Revision history1577+ 1.14 (2020-02-02) updated JPEG writer to downsample chroma channels1578+ 1.131579+ 1.121580 1.11 (2019-08-11)1581 1582 1.10 (2019-02-07)1583 support utf8 filenames in Windows; fix warnings and platform ifdefs 83 unmodified linesmodified:stb_image.h+8 added-3 removed
46 unmodified lines47 See end of file for license information.48 49 RECENT REVISION HISTORY:50 51+ 2.24 (2020-02-02) fix warnings; thread-local failure_reason and flip_vertically52 2.23 (2019-08-11) fix clang static analysis warning53 2.22 (2019-03-04) gif fixes, fix warnings54 2.21 (2019-02-25) fix typo in comment55 2.20 (2019-02-07) support utf8 filenames in Windows; fix warnings and platform ifdefs 380 unmodified lines436 #endif // STBI_NO_STDIO437 438 439 // get a VERY brief reason for failure439-// NOT THREADSAFE440+// on most compilers (and ALL modern mainstream compilers) this is threadsafe441 STBIDEF const char *stbi_failure_reason (void);442 443 // free the loaded image -- this is just free()444 STBIDEF void stbi_image_free (void *retval_from_stbi_load);23 unmodified lines468 STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert);469 470 // flip the image vertically, so the first pixel in the output array is the bottom left471 STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip);472+473 // as above, but only applies to images loaded on the thread that calls the function472-// this function is only available if your compiler supports thread-local variables474+// this function is only available if your compiler supports thread-local variables;475+// calling it will fail to link if your compiler doesn't476+#if __cplusplus >= 201103L || __STDC_VERSION_ >= 201112L || defined(__GNUC__) || defined(_MSC_VER)477 STBIDEF void stbi_set_flip_vertically_on_load_thread(int flag_true_if_should_flip);478+#endif479 480 // ZLIB client - used by PNG, available for other purposes481 482 STBIDEF char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen);96 unmodified lines579 #elif __STDC_VERSION_ >= 201112L580 #define STBI_THREAD_LOCAL _Thread_local581 #elif defined(__GNUC__)582 #define STBI_THREAD_LOCAL __thread578- #elif _MSC_VER583+ #elif defined(_MSC_VER)584 #define STBI_THREAD_LOCAL __declspec(thread)585 #endif586 #endif587 7071 unmodified linesmodified:stb_include.h+1 added-1 removed
1-// stb_include.h - v0.01 - parse and process #include directives - public domain1+// stb_include.h - v0.02 - parse and process #include directives - public domain2 //3 // To build this, in one source file that includes this file do4 // #define STB_INCLUDE_IMPLEMENTATION5 //290 unmodified linesmodified:stb_leakcheck.hnot shown
Its text is not shown, modified.
modified:stb_perlin.hnot shown
Its text is not shown, modified.
modified:stb_sprintf.hnot shown
Its text is not shown, modified.
modified:stb_truetype.hnot shown
Its text is not shown, modified.
modified:stb.h+1 added
21 unmodified lines22 ============================================================================23 24 Version History25 26+ 2.36 various fixes27 2.35 fix clang-cl issues with swprintf28 2.34 fix warnings29 2.33 more fixes to random numbers30 2.32 stb_intcmprev, stb_uidict, fix random numbers on Linux14425 unmodified lines