Commit Graph

1150 Commits

Author SHA1 Message Date
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
Sean Barrett
06ae60645e Update other_libs.md 2015-10-31 11:17:02 -07:00
Filip Wasil
8cea0090b2 Removie implicit cast to float
When compiling with more restrictive compiler options
such casting from double to float will cause a warning.

Ex. GCC -Wdouble-promotion

Signed-off-by: Filip Wasil <filip.wasil@gmail.com>
2015-10-29 16:09:21 +01:00
Jonas Karlsson
b95858a2f7 Add bitmask to unsigned char casts to fix MSVC runtime checks 2015-10-20 23:22:27 +02:00
Jonas Karlsson
22dd50f256 Fix documentation error 2015-10-20 22:03:50 +02:00
Jonas Karlsson
f1d401845f Fix race condition in static crc_table
If calling stbi_write_png concurrently the static array crc_table would be shared between threads causing data-races.
2015-10-17 17:33:00 +02:00
Sean Barrett
385927fb4b Update other_libs.md 2015-10-15 17:59:40 -07:00
Rohit Nirmal
35fcd0817f stb_vorbis.c: Silence -pedantic warning. 2015-10-09 20:46:59 -05:00
Sean Barrett
c4082cfb89 Update other_libs.md 2015-10-09 15:31:50 -07:00
Sean Barrett
ff085b88f4 Update other_libs.md 2015-10-09 02:11:28 -07:00
Sean Barrett
6a9cdd1c83 other_libs: add a few libraries 2015-10-09 02:03:44 -07:00
Sean Barrett
3e404042c5 other_libs: added TweetNaCl 2015-10-07 21:53:40 -07:00
Sean Barrett
0b79b3bfe1 Update other_libs.md 2015-10-05 09:43:46 -07:00
Sean Barrett
cc3bb7c458 Update other_libs.md 2015-10-05 09:43:27 -07:00
Sean Barrett
bdcc1535d6 Update other_libs.md 2015-09-27 11:04:06 -07:00
Sean Barrett
dc92c6c4c4 Update other_libs.md 2015-09-27 08:30:16 -07:00
Sean Barrett
bbdb4f65ef Update other_libs.md 2015-09-27 08:23:56 -07:00
Sean Barrett
cd9c6d7b43 Update other_libs.md 2015-09-27 08:21:39 -07:00
Sean Barrett
8d0ae2d39f move other_libs list to its own file 2015-09-27 08:16:33 -07:00
Sean Barrett
2bd2e571a2 Update other_libs.md 2015-09-27 08:16:13 -07:00
Sean Barrett
f6d172d92b Update other_libs.md 2015-09-27 08:15:32 -07:00
Sean Barrett
4b587a409a Update other_libs.md 2015-09-27 08:14:48 -07:00
Sean Barrett
847fb2c230 put other_libs list in its own file 2015-09-27 08:13:09 -07:00
Sean Barrett
6464d059ab fix typo 2015-09-27 08:11:09 -07:00
Sean Barrett
37a493ae21 fix typo 2015-09-27 08:11:02 -07:00
Sean Barrett
b1160eb7e9 update other_libs 2015-09-27 08:09:25 -07:00
Sean Barrett
60e3ecac85 added ImGui to other_libs 2015-09-26 12:14:37 -07:00
Sean Barrett
3eb363c193 italicize more recent others' libs 2015-09-26 12:03:24 -07:00
Sean Barrett
616633b557 italicize most recent others' libs 2015-09-26 12:03:09 -07:00
Sean Barrett
6998a8e064 add gb_string.h 2015-09-26 11:51:23 -07:00
Rasmus Christian Pedersen
007c850b48 nobug: removed unused variable 'k' 2015-09-25 19:46:27 +02:00
Sean Barrett
232927699c Vita warning fix 2015-09-23 05:03:26 -07:00
Sean Barrett
34d6c2ca87 update tinyexr's list position 2015-09-23 05:01:16 -07:00
Sergio Gonzalez
b372a1f86c Avoid macro redefinition in Win32 2015-09-21 12:18:18 -05:00
Tim Sjöstrand
412e1ecc16 compile fix for MinGW 2015-09-15 19:17:42 +02:00
Sean Barrett
5378a96536 clarify that olick's GIF also does animated 2015-09-14 07:07:20 -07:00
Sean Barrett
ac7daffc27 update readme 2015-09-14 05:58:09 -07:00
Sean Barrett
93b2b82996 get rid of unused return value from write callback 2015-09-14 05:57:42 -07:00
Sean Barrett
b4477803cb fix public function names;
fix internal names to be namspaced properly;
2015-09-14 05:48:24 -07:00
Sean Barrett
78fe0bfc24 handle fopen() failing 2015-09-14 05:40:12 -07:00
Sean Barrett
ad63a8d316 Merge branch 'master' of https://github.com/ejulien/stb into working
Conflicts:
	stb_image_write.h
2015-09-14 05:38:07 -07:00
Sean Barrett
955bd174a2 update list 2015-09-14 04:53:31 -07:00
Sean Barrett
c2978ae79f move anchor to *beginning* of question so links look better 2015-09-14 02:36:57 -07:00
Sean Barrett
99c7e64b62 rebuild README 2015-09-14 02:35:47 -07:00
Sean Barrett
996f0b0a6b fix spelling of SQLite 2015-09-14 02:35:31 -07:00
Sean Barrett
5c9c75fcbd Merge branch 'master' of https://github.com/nothings/stb
Conflicts:
	README.md
2015-09-14 02:33:07 -07:00
Sean Barrett
a2291e3e5d update single-file-libs list 2015-09-14 02:32:03 -07:00
Sean Barrett
1fa899a101 Update README.md 2015-09-13 18:36:51 -07:00
Sean Barrett
be1c75efa9 Merge pull request #176 from triplefox/patch-2
fix spelling of "Hofmann" -- doh
2015-09-13 18:24:53 -07:00