update version numbers, documentation, and contributors

pull/271/head
Sean Barrett 2016-04-02 04:51:26 -07:00
parent b03133000a
commit 6e4154737c
10 changed files with 67 additions and 47 deletions

View File

@ -7,15 +7,15 @@ single-file public domain libraries for C/C++ <a name="stb_libs"></a>
library | lastest version | category | LoC | description
--------------------- | ---- | -------- | --- | --------------------------------
**stb_vorbis.c** | 1.07 | audio | 5462 | decode ogg vorbis files from file/memory to float/16-bit signed output
**stb_image.h** | 2.10 | graphics | 6614 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
**stb_truetype.h** | 1.09 | graphics | 3249 | parse, decode, and rasterize characters from truetype fonts
**stb_image_write.h** | 1.01 | graphics | 1044 | image writing to disk: PNG, TGA, BMP
**stb_image_resize.h** | 0.90 | graphics | 2586 | resize images larger/smaller with good quality
**stb_vorbis.c** | 1.08 | audio | 5395 | decode ogg vorbis files from file/memory to float/16-bit signed output
**stb_image.h** | 2.11 | graphics | 6753 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
**stb_truetype.h** | 1.10 | graphics | 3262 | parse, decode, and rasterize characters from truetype fonts
**stb_image_write.h** | 1.02 | graphics | 1048 | image writing to disk: PNG, TGA, BMP
**stb_image_resize.h** | 0.91 | graphics | 2578 | resize images larger/smaller with good quality
**stb_rect_pack.h** | 0.08 | graphics | 572 | simple 2D rectangle packer with decent quality
**stretchy_buffer.h** | 1.02 | utility | 216 | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++
**stb_textedit.h** | 1.7 | user&nbsp;interface | 1301 | guts of a text editor for games etc implementing them from scratch
**stb_voxel_render.h** | 0.83 | 3D&nbsp;graphics | 3750 | Minecraft-esque voxel rendering "engine" with many more features
**stb_textedit.h** | 1.8 | user&nbsp;interface | 1304 | guts of a text editor for games etc implementing them from scratch
**stb_voxel_render.h** | 0.84 | 3D&nbsp;graphics | 3752 | Minecraft-esque voxel rendering "engine" with many more features
**stb_dxt.h** | 1.04 | 3D&nbsp;graphics | 630 | Fabian "ryg" Giesen's real-time DXT compressor
**stb_perlin.h** | 0.2 | 3D&nbsp;graphics | 182 | revised Perlin noise (3D input, 1D output)
**stb_easy_font.h** | 0.7 | 3D&nbsp;graphics | 258 | quick-and-dirty easy-to-deploy bitmap font for printing frame rate, etc
@ -23,11 +23,11 @@ library | lastest version | category | LoC | description
**stb_herringbone_wa...** | 0.6 | game&nbsp;dev | 1220 | herringbone Wang tile map generator
**stb_c_lexer.h** | 0.07 | parsing | 816 | simplify writing parsers for C-like languages
**stb_divide.h** | 0.91 | math | 379 | more useful 32-bit modulus e.g. "euclidean divide"
**stb.h** | 2.26 | misc | 14184 | helper functions for C, mostly redundant in C++; basically author's personal stuff
**stb.h** | 2.27 | misc | 14185 | helper functions for C, mostly redundant in C++; basically author's personal stuff
**stb_leakcheck.h** | 0.2 | misc | 124 | quick-and-dirty malloc/free leak-checking
Total libraries: 18
Total lines of C code: 46718
Total lines of C code: 46805
FAQ

View File

@ -3,26 +3,24 @@
2016-04-02:
- other_libs: cro_mipmap, greatest, munit, parg, dr_flac
- stb_image_write: allocate large structures on stack for embedded (Thatcher Ulrich)
- stb_image: allocate large structures on stack for embedded (Thatcher Ulrich)
- stb_image: remove white matting for transparent PSD (stb, Oriol Ferrer Mesia)
- stb_image: fix reported channel count in PNG when req_comp is non-zero
- stb_image: re-enable SSE2 in x64 (except in gcc)
- stb_image: fix harmless typo in name (Matthew Gregan)
- stb_image: support images coded as RGB
- stb_voxel_render: fix type of glModelview matrix (Stephen Olsen)
- stb_textedit: better support for keying while holding mouse drag button (ocornut)
- stb_image: bmp could return wrong channel count (snagar@github)
- stb_image: read 16-bit PNGs as 8-bit (socks-the-fox)
- stb_image_resize: fix handling of subpixel regions
- stb_image_resize: avoid warnings on asserts (Wu Shuang)
- stb_truetype: allow fabs() to be supplied by user (Simon Glass)
- stb_image: read 16-bit PNGs as 8-bit (socks-the-fox)
- stb_leakcheck: typo in comment (Lukas Meller)
- stb_vorbis: warnings (Thiago Goulart)
- stb_image: allocate large structures on stack for embedded (Thatcher Ulrich)
- stb_image_write: allocate large structures on stack for embedded (Thatcher Ulrich)
- stb_image: fix harmless typo in name (Matthew Gregan)
- stb_vorbis: fix multiple memory leaks of setup-memory (manxorist@github)
- stb_image: remove white matting for transparent PSD (stb, Oriol Ferrer Mesia)
- stb.h: fix _WIN32 when defining STB_THREADS
- stb_image: fix reported channel count in PNG when req_comp is non-zero
- stb_truetype: duplicate typedef
- stb_truetype: don't leak memory if fontsize=0
- stb_image: re-enable SSE2 in x64 (except in gcc)
- stb_vorbis: warnings (Thiago Goulart)
- stb_vorbis: fix multiple memory leaks of setup-memory (manxorist@github)
- stb_vorbis: avoid dropping final frame of audio data
- stb_textedit: better support for keying while holding mouse drag button (ocornut)
- stb_voxel_render: fix type of glModelview matrix (Stephen Olsen)
- stb_leakcheck: typo in comment (Lukas Meller)
- stb.h: fix _WIN32 when defining STB_THREADS

5
stb.h
View File

@ -1,4 +1,4 @@
/* stb.h - v2.26 - Sean's Tool Box -- public domain -- http://nothings.org/stb.h
/* stb.h - v2.27 - Sean's Tool Box -- public domain -- http://nothings.org/stb.h
no warranty is offered or implied; use this code at your own risk
This is a single header file with a bunch of useful utilities
@ -25,7 +25,8 @@
Version History
2.26 various warning & buffixes
2.27 test _WIN32 not WIN32 in STB_THREADS
2.26 various warning & bugfixes
2.25 various warning & bugfixes
2.24 various warning & bugfixes
2.23 fix 2.22

View File

@ -1,4 +1,4 @@
/* stb_image - v2.10 - public domain image loader - http://nothings.org/stb_image.h
/* stb_image - v2.11 - public domain image loader - http://nothings.org/stb_image.h
no warranty implied; use at your own risk
Do this:
@ -146,6 +146,10 @@
Latest revision history:
2.11 (2016-04-02) 16-bit PNGS; enable SSE2 in non-gcc x64
RGB-format JPEG; remove white matting in PSD;
allocate large structures on the stack;
correct channel count for PNG & BMP
2.10 (2016-01-22) avoid warning introduced in 2.09
2.09 (2016-01-16) 16-bit TGA; comments in PNM files; STBI_REALLOC_SIZED
2.08 (2015-09-13) fix to 2.07 cleanup, reading RGB PSD as RGBA
@ -167,10 +171,6 @@
STBI_MALLOC,STBI_REALLOC,STBI_FREE
STBI_NO_*, STBI_ONLY_*
GIF bugfix
1.48 (2014-12-14) fix incorrectly-named assert()
1.47 (2014-12-14) 1/2/4-bit PNG support (both grayscale and paletted)
optimize PNG
fix bug in interlaced PNG with user-specified channel count
See end of file for full revision history.
@ -201,11 +201,10 @@
Janez Zemva John Bartholomew Michal Cichon svdijk@github
Jonathan Blow Ken Hamada Tero Hanninen Baldur Karlsson
Laurent Gomila Cort Stratton Sergio Gonzalez romigrou@github
Aruelien Pocheville Thibault Reuille Cass Everitt
Ryamond Barbiero Paul Du Bois Engin Manap
Michaelangel007@github Oriol Ferrer Mesia
Aruelien Pocheville Thibault Reuille Cass Everitt Matthew Gregan
Ryamond Barbiero Paul Du Bois Engin Manap snagar@github
Michaelangel007@github Oriol Ferrer Mesia socks-the-fox
Blazej Dariusz Roszkowski
Oriol Ferrer Mesia
LICENSE
@ -6593,6 +6592,12 @@ STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int
/*
revision history:
2.11 (2016-04-02) allocate large structures on the stack
remove white matting for transparent PSD
fix reported channel count for PNG & BMP
re-enable SSE2 in non-gcc 64-bit
support RGB-formatted JPEG
read 16-bit PNGs (only as 8-bit)
2.10 (2016-01-22) avoid warning introduced in 2.09 by STBI_REALLOC_SIZED
2.09 (2016-01-16) allow comments in PNM files
16-bit-per-pixel TGA (not bit-per-component)

View File

@ -1,4 +1,4 @@
/* stb_image_resize - v0.90 - public domain image resizing
/* stb_image_resize - v0.91 - public domain image resizing
by Jorge L Rodriguez (@VinoBS) - 2014
http://github.com/nothings/stb
@ -156,6 +156,7 @@
Sean Barrett: API design, optimizations
REVISIONS
0.91 (2016-04-02) fix warnings; fix handling of subpixel regions
0.90 (2014-09-17) first released version
LICENSE

View File

@ -1,4 +1,4 @@
/* stb_image_write - v1.01 - public domain - http://nothings.org/stb/stb_image_write.h
/* stb_image_write - v1.02 - public domain - http://nothings.org/stb/stb_image_write.h
writes out PNG/BMP/TGA images to C stdio - Sean Barrett 2010-2015
no warranty implied; use at your own risk
@ -102,6 +102,7 @@ CREDITS:
Sergio Gonzalez
Jonas Karlsson
Filip Wasil
Thatcher Ulrich
LICENSE
@ -1016,6 +1017,8 @@ STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x,
#endif // STB_IMAGE_WRITE_IMPLEMENTATION
/* Revision history
1.02 (2016-04-02)
avoid allocating large structures on the stack
1.01 (2016-01-16)
STBIW_REALLOC_SIZED: support allocators with no realloc support
avoid race-condition in crc initialization

View File

@ -1,4 +1,4 @@
// stb_textedit.h - v1.7 - public domain - Sean Barrett
// stb_textedit.h - v1.8 - public domain - Sean Barrett
// Development of this library was sponsored by RAD Game Tools
//
// This C header file implements the guts of a multi-line text-editing
@ -31,6 +31,7 @@
//
// VERSION HISTORY
//
// 1.8 (2016-04-02) better keyboard handling when mouse button is down
// 1.7 (2015-09-13) change y range handling in case baseline is non-0
// 1.6 (2015-04-15) allow STB_TEXTEDIT_memmove
// 1.5 (2014-09-10) add support for secondary keys for OS X

View File

@ -1,4 +1,4 @@
// stb_truetype.h - v1.09 - public domain
// stb_truetype.h - v1.10 - public domain
// authored from 2009-2015 by Sean Barrett / RAD Game Tools
//
// This library processes TrueType files:
@ -21,6 +21,10 @@
// Mikko Mononen: compound shape support, more cmap formats
// Tor Andersson: kerning, subpixel rendering
//
// Misc other:
// Ryan Gordon
// Simon Glass
//
// Bug/warning reports/fixes:
// "Zer" on mollyrocket (with fix)
// Cass Everitt
@ -45,11 +49,9 @@
// Thomas Fields
// Derek Vinyard
//
// Misc other:
// Ryan Gordon
//
// VERSION HISTORY
//
// 1.10 (2016-04-02) user-defined fabs(); rare memory leak; remove duplicate typedef
// 1.09 (2016-01-16) warning fix; avoid crash on outofmem; use allocation userdata properly
// 1.08 (2015-09-13) document stbtt_Rasterize(); fixes for vertical & horizontal edges
// 1.07 (2015-08-01) allow PackFontRanges to accept arrays of sparse codepoints;
@ -3213,6 +3215,9 @@ STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *font_collection, const
// FULL VERSION HISTORY
//
// 1.10 (2016-04-02) allow user-defined fabs() replacement
// fix memory leak if fontsize=0.0
// fix warning from duplicate typedef
// 1.09 (2016-01-16) warning fix; avoid crash on outofmem; use alloc userdata for PackFontRanges
// 1.08 (2015-09-13) document stbtt_Rasterize(); fixes for vertical & horizontal edges
// 1.07 (2015-08-01) allow PackFontRanges to accept arrays of sparse codepoints;

View File

@ -1,4 +1,4 @@
// Ogg Vorbis audio decoder - v1.07 - public domain
// Ogg Vorbis audio decoder - v1.08 - public domain
// http://nothings.org/stb_vorbis/
//
// Original version written by Sean Barrett in 2007.
@ -31,11 +31,13 @@
// Terje Mathisen Niklas Frykholm Andy Hill
// Casey Muratori John Bolton Gargaj
// Laurent Gomila Marc LeBlanc Ronny Chevalier
// Bernhard Wodo Evan Balster "alxprd"@github
// Bernhard Wodo Evan Balster alxprd@github
// Tom Beaumont Ingo Leitgeb Nicolas Guillemot
// Phillip Bennefall Rohit
// Phillip Bennefall Rohit Thiago Goulart
// manxorist@github saga musix
//
// Partial history:
// 1.08 - 2016/04/02 - warnings; setup memory leaks; truncation of last frame
// 1.07 - 2015/01/16 - fixes for crashes on invalid files; warning fixes; const
// 1.06 - 2015/08/31 - full, correct support for seeking API (Dougall Johnson)
// some crash fixes when out of memory or with corrupt files
@ -5340,6 +5342,8 @@ int stb_vorbis_get_samples_float(stb_vorbis *f, int channels, float **buffer, in
#endif // STB_VORBIS_NO_PULLDATA_API
/* Version history
1.08 - 2016/04/02 - fixed multiple warnings; fix setup memory leaks;
avoid discarding last frame of audio data
1.07 - 2015/01/16 - fixed some warnings, fix mingw, const-correct API
some more crash fixes when out of memory or with corrupt files
1.06 - 2015/08/31 - full, correct support for seeking API (Dougall Johnson)

View File

@ -1,4 +1,4 @@
// stb_voxel_render.h - v0.83 - Sean Barrett, 2015 - public domain
// stb_voxel_render.h - v0.84 - Sean Barrett, 2015 - public domain
//
// This library helps render large-scale "voxel" worlds for games,
// in this case, one with blocks that can have textures and that
@ -187,9 +187,11 @@
// Sean Barrett github:r-leyh Jesus Fernandez
// Miguel Lechon github:Arbeiterunfallversicherungsgesetz
// Thomas Frase James Hofmann
// Stephen Olsen
//
// VERSION HISTORY
//
// 0.84 (2016-04-02) fix GLSL syntax error on glModelView path
// 0.83 (2015-09-13) remove non-constant struct initializers to support more compilers
// 0.82 (2015-08-01) added input.packed_compact to store rot, vheight & texlerp efficiently
// fix broken tex_overlay2