Commit Graph

63 Commits

Author SHA1 Message Date
Sean Barrett
db4d92891c fix stb_sdict_for() 2018-01-29 07:44:04 -08:00
Sean Barrett
5db03ef592 Merge branch 'master' into working
Conflicts:
	stb_image.h
2018-01-29 04:04:28 -08:00
Sean Barrett
9eb0e72950 Merge branch 'must_make_clang_happy_as_clam' of https://github.com/croepha/stb 2018-01-29 03:17:50 -08:00
Sean Barrett
68f857727c add stb_ucharcmp to stb.h 2018-01-29 02:24:05 -08:00
Dave Butler
2545eee3ef Added myself as a contributor for the pull request 2017-08-25 08:24:58 -09:00
Dave Butler
f57bc38ff6 Made some changes to make Clang Happy
Someone should double check that that I didn't change
the behavior of any of the code.  I'm not using most (if any)
of the code I touched, just wanted it to compile...
2017-08-25 08:02:35 -09:00
Sean Barrett
dd039e8cc5 credits for mingw fixes in #444 2017-07-23 14:13:07 -07:00
Sean Barrett
d74530cd10 fix stb_fclose to do a better job of preserving content 2017-07-05 18:01:53 -07:00
Infatum
4963448726 fix: Build on MinGW32 2017-04-20 15:49:36 +03:00
Sean Barrett
b1a0089c4b stb.h swprintf fix 2017-03-03 10:45:59 -08:00
Sean Barrett
c9fe5bac48 rename all stb_sprintf identifiers to follow stb conventions 2016-12-05 03:48:37 -08:00
Sean Barrett
6f72440159 bump version numbers 2016-08-27 12:38:09 -07:00
Sean Barrett
4806aca183 windows fwrite doesn't handle arbitrarily large writes (!);
add a bunch of stuff used by my backup program 'smir';
2016-08-27 12:02:26 -07:00
Sean Barrett
6e4154737c update version numbers, documentation, and contributors 2016-04-02 04:51:26 -07:00
Sean Barrett
a8876b884d fix _WIN32 if STB_THREADS 2016-04-02 03:44:37 -07:00
Craig Donner
ee6978cb68 Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable. 2016-02-25 12:55:44 -08:00
Sean Barrett
820f63be44 stb_tilemap_editor: fix typo in docuemtnation, update version & credits 2016-01-22 05:17:12 -08:00
Sean Barrett
a33e40b1d4 Merge branch 'master' of https://github.com/timsjostrand/stb into stb_h_fix
Conflicts:
	stb.h
2016-01-22 05:05:30 -08:00
Sean Barrett
7d4f7c566e Merge branch 'master' of https://github.com/eugeneopalev/stb into stb_h_fix 2016-01-22 05:00:03 -08:00
Sean Barrett
c41629f262 Merge branch 'master' of https://github.com/blackpawn/stb into stb_h_fix 2016-01-22 04:58:41 -08:00
Eugene Opalev
a5bbc93087 Warning C4005 fix 2016-01-18 22:41:17 -08:00
Eugene Opalev
bc1b1f6cc9 Warning C4703 fix 2016-01-18 19:38:07 -08:00
blackpawn
a4ab8c08eb Corrected fix for stb_insertn
On insert the memmove length wasn't incorrect but the addlen call was.
2015-12-02 23:12:12 -06:00
blackpawn
28f1b0f569 Fix for stb_arr_insert 2015-12-02 22:34:04 -06:00
blackpawn
cbfa0c4418 Fix stb_arr_insertn and stb_arr_deleten memmove lengths
They were moving memory beyond the array bounds.
2015-12-02 01:16:29 -06:00
Michael Sartain
8d9302ab05 readdir_raw buffer overrun fixes.
- Add stb_vsnprintf, stb_snprintf functions.
- stb snprintf routines should return -1 on buffer truncation on all platforms.
- Add stb_strscpy string copy function which should behave the same as Linux kernel strscpy.
- Bump readdir_raw buffer sizes up to 4k, add checks for path truncations.
- Use d_type to check for directory instead of opendir/closedir. This
  should be faster and fix recursive symlnk death.
2015-11-01 17:53:35 -08:00
Michael Sartain
ba40683515 readdir_raw was skipping all dirnames starting with dots. Only skip . and .. 2015-11-01 17:53:35 -08:00
Tim Sjöstrand
412e1ecc16 compile fix for MinGW 2015-09-15 19:17:42 +02:00
Sean Barrett
f0268375da credit 2015-09-13 06:16:52 -07:00
Sean Barrett
ef21612364 Merge branch 'fix-clang-warnings' of https://github.com/vincentisambart/stb into working 2015-09-13 06:11:09 -07:00
Sean Barrett
b0852b766a Merge branch 'master' of https://github.com/rwhitworth/stb into working
Conflicts:
	stb.h
2015-09-13 06:10:16 -07:00
Sean Barrett
97dfb12f71 credits 2015-09-13 06:06:37 -07:00
Sean Barrett
9438a74f83 Merge branch 'master' of https://github.com/Mojofreem/stb into working 2015-09-13 06:05:38 -07:00
Sean Barrett
5583b62a70 credits 2015-09-13 06:05:24 -07:00
Sean Barrett
d422a247e0 Merge branch 'master' of https://github.com/blackpawn/stb into working 2015-09-13 06:00:32 -07:00
Sean Barrett
2adf6d29aa credits 2015-09-13 06:00:06 -07:00
Sean Barrett
a96eb04795 Merge branch 'master' of https://github.com/r-lyeh/stb into working
Conflicts:
	stb.h
2015-09-13 05:58:57 -07:00
Sean Barrett
c6f33a1ff0 Merge branch '64bit' of https://github.com/Mischanix/stb into working 2015-09-13 05:57:10 -07:00
Sean Barrett
24602db4a5 credits for previous patch 2015-09-13 05:53:56 -07:00
Sean Barrett
8ca1cdfe4c Merge branch 'fix-double-free' of https://github.com/philippwiesemann/stb into working 2015-09-13 05:52:59 -07:00
Vincent Isambart
09e1972fed fix clang warnings 2015-08-08 10:45:26 +09:00
rwhitworth
0c0a619ca4 Updated to compile with Visual Studio 2015 2015-08-05 22:27:53 -04:00
Sean Barrett
c9859afcf9 reverse some of the public-domain-license changes that I didn't
actually want
2015-08-01 23:53:49 -07:00
Ryan Whitworth
9e9ce0ab91 Added public domain license text 2015-08-01 14:46:04 -04:00
Liam Chasteen
65ebe75124 Tweaked to enable compilation under MinGW. 2015-07-02 11:50:32 -07:00
blackpawn
693772ed02 OSX 64bit fixes
Check for __LP64__ preprocessor define for 64bit. Allocator fix for 64bit.
2015-06-22 19:45:35 -07:00
r-lyeh
8702dce4d6 msvc 64-bit fixes 2015-06-13 14:33:42 +02:00
Michael Sartain
3787e1c143 Fix relative path check for non-Windows platforms in stb_fullpath. 2015-06-09 16:52:39 -07:00
Robert Nix
51415dea6e Fix 64-bit compile for pointer set 2015-06-09 12:54:51 -05:00
Robert Nix
0fbc8bec6f Don't truncate pointers to 4 bytes on 64-bit 2015-06-09 12:54:50 -05:00