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
Robert Nix
b639b6a468
Don't use __asm int 3; on 64-bit platforms
2015-06-09 12:54:45 -05:00
Sean Barrett
0b05bde303
quick fixes w/o version updates
2015-02-22 14:26:21 -08:00
Philipp Wiesemann
b3653cc3f1
fix double free (found by cppcheck)
2015-01-18 21:17:49 +01:00
Sean Barrett
5ad4169ed1
update version number
2015-01-17 08:39:41 -08:00
Sean Barrett
50edcdb972
Merge branch 'master' of https://github.com/scullion/stb
2015-01-17 08:37:50 -08:00
T. J. Moran
933a1fdd8d
Add explicit wchar_t casts in stb.h
2014-12-18 23:19:13 +00:00
Kristoffer Grönlund
83c5588584
Remove unused variables and ambiguous dangling else
2014-10-27 10:02:27 +01:00
Kristoffer Grönlund
f298f7dabe
Ensure GCC that p is not used uninitialized
2014-10-27 09:05:40 +01:00
Kristoffer Grönlund
3202fb6a55
Remove stb_readdir_size which was written (on windows) but never read
2014-10-27 09:03:31 +01:00
Kristoffer Grönlund
ce9b680784
Add missing return type declaration
2014-10-27 09:01:12 +01:00