Skip to content
Myr

Update 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 5072185 · Browse files · 11 files+31 added−16 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

11 files+31 added−16 removed

  • tests:+0 added−0 removed
  • other:+31 added−16 removed

11 files+31 added−16 removed

This commit is too large to show whole: its files are listed by path, without their changes.

modified:tests/stb.dspnot shown

Its text is not shown, modified.

added:tools/build_matrix.cnot shown

Its text is not shown, added.

modified:tools/README.header.mdnot shown

Its text is not shown, modified.

modified:tools/README.listnot shown

Its text is not shown, modified.

modified:README.md+19 added-10 removed
3 unmodified lines
4===56single-file public domain (or MIT licensed) libraries for C/C++ <a name="stb_libs"></a>78Noteworthy:910* image loader: <a href="/nothings/stb/blob/master/stb_image.h">stb_image.h</a>11* image writer: <a href="/nothings/stb/blob/master/stb_image_write.h">stb_image_write.h</a>12* image resizer: <a href="/nothings/stb/blob/master/stb_image_resize.h">stb_image_resize.h></a>13* font text rasterizer: <a href="/nothings/stb/blob/master/stb_truetype.h">stb_truetype.h</a>14* typesafe containers: <a href="/nothings/stb/blob/master/stb_ds.h">stb_ds.h</a>1516Most libraries by stb, except: stb_dxt by Fabian "ryg" Giesen, stb_image_resize17by Jorge L. "VinoBS" Rodriguez, and stb_sprintf by Jeff Roberts.181920library | lastest version | category | LoC | description21--------------------- | ---- | -------- | --- | --------------------------------14**[stb_vorbis.c](stb_vorbis.c)** | 1.17 | audio | 5486 | decode ogg vorbis files from file/memory to float/16-bit signed output15**[stb_image.h](stb_image.h)** | 2.22 | graphics | 7547 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC16**[stb_truetype.h](stb_truetype.h)** | 1.21 | graphics | 4882 | parse, decode, and rasterize characters from truetype fonts17**[stb_image_write.h](stb_image_write.h)** | 1.13 | graphics | 1617 | image writing to disk: PNG, TGA, BMP22**[stb_vorbis.c](stb_vorbis.c)** | 1.17 | audio | 5502 | decode ogg vorbis files from file/memory to float/16-bit signed output23**[stb_image.h](stb_image.h)** | 2.23 | graphics | 7559 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC24**[stb_truetype.h](stb_truetype.h)** | 1.22 | graphics | 4888 | parse, decode, and rasterize characters from truetype fonts25**[stb_image_write.h](stb_image_write.h)** | 1.13 | graphics | 1619 | image writing to disk: PNG, TGA, BMP26**[stb_image_resize.h](stb_image_resize.h)** | 0.96 | graphics | 2630 | resize images larger/smaller with good quality27**[stb_rect_pack.h](stb_rect_pack.h)** | 1.00 | graphics | 628 | simple 2D rectangle packer with decent quality20**[stb_ds.h](stb_ds.h)** | 0.5 | utility | 1691 | typesafe dynamic array and hash tables for C, will compile in C++28**[stb_ds.h](stb_ds.h)** | 0.6 | utility | 1699 | typesafe dynamic array and hash tables for C, will compile in C++29**[stb_sprintf.h](stb_sprintf.h)** | 1.06 | utility | 1860 | fast sprintf, snprintf for C/C++30**[stretchy_buffer.h](stretchy_buffer.h)** | 1.03 | utility | 262 | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++31**[stb_textedit.h](stb_textedit.h)** | 1.13 | user&nbsp;interface | 1404 | guts of a text editor for games etc implementing them from scratch32**[stb_voxel_render.h](stb_voxel_render.h)** | 0.88 | 3D&nbsp;graphics | 3806 | Minecraft-esque voxel rendering "engine" with many more features33**[stb_dxt.h](stb_dxt.h)** | 1.08b | 3D&nbsp;graphics | 728 | Fabian "ryg" Giesen's real-time DXT compressor26**[stb_perlin.h](stb_perlin.h)** | 0.4 | 3D&nbsp;graphics | 366 | revised Perlin noise (3D input, 1D output)34**[stb_perlin.h](stb_perlin.h)** | 0.4 | 3D&nbsp;graphics | 427 | revised Perlin noise (3D input, 1D output)35**[stb_easy_font.h](stb_easy_font.h)** | 1.0 | 3D&nbsp;graphics | 303 | quick-and-dirty easy-to-deploy bitmap font for printing frame rate, etc36**[stb_tilemap_editor.h](stb_tilemap_editor.h)** | 0.41 | game&nbsp;dev | 4161 | embeddable tilemap editor37**[stb_herringbone_wa...](stb_herringbone_wang_tile.h)** | 0.7 | game&nbsp;dev | 1221 | herringbone Wang tile map generator30**[stb_c_lexer.h](stb_c_lexer.h)** | 0.10 | parsing | 964 | simplify writing parsers for C-like languages38**[stb_c_lexer.h](stb_c_lexer.h)** | 0.11 | parsing | 966 | simplify writing parsers for C-like languages39**[stb_divide.h](stb_divide.h)** | 0.92 | math | 421 | more useful 32-bit modulus e.g. "euclidean divide"40**[stb_connected_comp...](stb_connected_components.h)** | 0.96 | misc | 1049 | incrementally compute reachability on grids33**[stb.h](stb.h)** | 2.34 | misc | 14453 | helper functions for C, mostly redundant in C++; basically author's personal stuff41**[stb.h](stb.h)** | 2.35 | misc | 14453 | helper functions for C, mostly redundant in C++; basically author's personal stuff42**[stb_leakcheck.h](stb_leakcheck.h)** | 0.5 | misc | 190 | quick-and-dirty malloc/free leak-checking43**[stb_include.h](stb_include.h)** | 0.01 | misc | 288 | implement recursive #include support, particularly for GLSL4436Total libraries: 21 37Total lines of C code: 5566945Total libraries: 22 46Total lines of C code: 56064474849FAQ50---
118 unmodified lines
modified:stb_c_lexer.h+2 added-1 removed
1// stb_c_lexer.h - v0.10 - public domain Sean Barrett 20131// stb_c_lexer.h - v0.11 - public domain Sean Barrett 20132// lexer for making little C-like languages with recursive-descent parsers3//4// This file provides both the interface and the implementation.5// To instantiate the implementation,
3 unmodified lines
9// The default configuration is fairly close to a C lexer, although10// suffixes on integer constants are not handled (you can override this).11//12// History:13// 0.11 fix clang static analysis warning14// 0.10 fix warnings15// 0.09 hex floats, no-stdlib fixes16// 0.08 fix bad pointer comparison17// 0.07 fix mishandling of hexadecimal constants parsed by strtol
949 unmodified lines
modified:stb_ds.h+1 added-1 removed
1/* stb_ds.h - v0.5 - public domain data structures - Sean Barrett 20191/* stb_ds.h - v0.6 - 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
1694 unmodified lines
modified:stb_image_write.h+4 added-2 removed
1/* stb_image_write - v1.13 - public domain - http://nothings.org/stb/stb_image_write.h1/* stb_image_write - v1.13 - 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 risk45 Before #including,
861 unmodified lines
867 static unsigned char disteb[] = { 0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13 };868 unsigned int bitbuf=0;869 int i,j, bitcount=0;870 unsigned char *out = NULL;871 unsigned char ***hash_table = (unsigned char***) STBIW_MALLOC(stbiw__ZHASH * sizeof(char**));871 unsigned char ***hash_table = (unsigned char***) STBIW_MALLOC(stbiw__ZHASH * sizeof(unsigned char**));872 if (hash_table == NULL)873 return NULL;874 if (quality < 5) quality = 5;875
653 unmodified lines
15291530#endif // STB_IMAGE_WRITE_IMPLEMENTATION15311532/* Revision history1533 1.11 (2019-08-11)1534 1535 1.10 (2019-02-07)1536 support utf8 filenames in Windows; fix warnings and platform ifdefs 1537 1.09 (2018-02-11)1538 fix typo in zlib quality API, improve STB_I_W_STATIC in C++
81 unmodified lines
modified:stb_image.h+2 added-1 removed
1/* stb_image - v2.22 - public domain image loader - http://nothings.org/stb1/* stb_image - v2.23 - public domain image loader - http://nothings.org/stb2 no warranty implied; use at your own risk34 Do this:5 #define STB_IMAGE_IMPLEMENTATION
41 unmodified lines
47 See end of file for license information.4849RECENT REVISION HISTORY:5051 2.23 (2019-08-11) fix clang static analysis warning52 2.22 (2019-03-04) gif fixes, fix warnings53 2.21 (2019-02-25) fix typo in comment54 2.20 (2019-02-07) support utf8 filenames in Windows; fix warnings and platform ifdefs 55 2.19 (2018-02-11) fix warning
7504 unmodified lines
modified:stb_truetype.hnot shown

Its text is not shown, modified.

modified:stb.h+3 added-1 removed
1/* stb.h - v2.34 - Sean's Tool Box -- public domain -- http://nothings.org/stb.h1/* stb.h - v2.35 - Sean's Tool Box -- public domain -- http://nothings.org/stb.h2 no warranty is offered or implied; use this code at your own risk34 This is a single header file with a bunch of useful utilities5 for getting stuff done in C/C++.
18 unmodified lines
242526Version History2728 2.35 fix clang-cl issues with swprintf29 2.34 fix warnings30 2.33 more fixes to random numbers31 2.32 stb_intcmprev, stb_uidict, fix random numbers on Linux32 2.31 stb_ucharcmp
7117 unmodified lines
71507151 // @TODO: do this concatenation without using swprintf to avoid this mess:7152#if (defined(_MSC_VER) && _MSC_VER < 1400) // || (defined(__clang__))7153 // confusingly, Windows Kits\10 needs to go down this path?!?7154 // except now it doesn't, I don't know what changed7155 if (has_slash)7156 swprintf(full_path, L"%s*", stb__from_utf8(path));7157 else7158 swprintf(full_path, L"%s/*", stb__from_utf8(path));
7295 unmodified lines