Jorge Rodriguez
831b2d2fa6
Fix a merge gone wrong, add some more test cases.
2015-11-10 13:41:53 -08:00
Jorge Rodriguez
c81f0c62bc
Fix the calculation of the input image shift when using subpixel regions
2015-11-10 11:29:16 -08:00
Jorge Rodriguez
a1ef3a1060
Fix the calculation of the input image shift when using subpixel regions
2015-11-10 11:25:59 -08:00
Sean Barrett
2b57ea95da
fixed version of removed support for CODEBOOK_SHORTS
2015-11-08 19:16:25 -08:00
Sean Barrett
fe74a8c223
broken attempt at removign STB_VORBIS_CODEBOOK_FLOAT option
2015-11-08 19:13:32 -08:00
Jorge Rodriguez
cf6f69cdc9
Fix the calculation of the input image shift when using subpixel regions. Includes some more tests which had incorrect results before and now work fine.
2015-11-08 16:40:32 -08:00
Sean Barrett
bc2219e1b3
fix multiple crashes on invalid files
2015-11-08 16:22:07 -08:00
Sean Barrett
bdac1d2ab4
fix two crashes in invalid files
2015-11-08 16:01:40 -08:00
Sean Barrett
70b33e99f0
fix crash from invalid file
2015-11-08 14:04:56 -08:00
Sean Barrett
ea88e59b5d
fix invalid handling of truncated end-of-file indicator
2015-11-08 13:45:33 -08:00
Sean Barrett
69a318bdb3
fix two invalid-file crashes found by fuzz testing
2015-11-08 13:20:55 -08:00
Sean Barrett
2073403a5f
fix two setup crashes found by fuzz testing
2015-11-08 13:09:30 -08:00
Sean Barrett
297ff62859
change bmp info to use common header parser
2015-11-08 13:09:16 -08:00
Sean Barrett
876aea3dbe
refactor bmp header parser for sharing with stbi_info
2015-11-08 01:22:30 -08:00
Sean Barrett
16fc63404d
suppress bogus static analysis warning
2015-11-08 01:03:37 -08:00
Sean Barrett
6382e49063
don't crash if out of memory allocating a new active edge (assert in debug)
2015-11-08 00:54:49 -08:00
Sean Barrett
0615df6c9b
allows comments in pgm/ppm headers
2015-11-08 00:45:17 -08:00
Sean Barrett
a0f850421d
Merge branch 'master' into working
2015-11-08 00:41:01 -08:00
Sean Barrett
31eff2dcaf
fix bug in integer parsing
2015-11-08 00:37:52 -08:00
svdijk
9f1a587d22
stb_image.h: Fix/add some comments.
2015-11-05 23:34:44 +01:00
svdijk
8603c6e809
stb_image.h: Only define stbi__l2h_{gamme,scale} when needed.
...
This fixes a (well, actually the only) compiler warning.
2015-11-05 23:32:40 +01:00
Sean Barrett
3f73dfd7ce
Update other_libs.md
2015-11-05 06:49:02 -08:00
Sean Barrett
fa9a6e4e0a
Update other_libs.md
2015-11-05 06:48:42 -08:00
Sean Barrett
d4cea6123a
Update other_libs.md
2015-11-05 05:13:00 -08:00
Sean Barrett
20eea21e01
Update other_libs.md
2015-11-05 05:11:34 -08:00
Sean Barrett
a44e950d9a
Update other_libs.md
2015-11-05 04:58:42 -08:00
Sean Barrett
b6602ab085
Update other_libs.md
2015-11-05 04:51:38 -08:00
Sean Barrett
450db24449
Update other_libs.md
2015-11-05 04:47:49 -08:00
Sean Barrett
76b8ff0051
Update other_libs.md
2015-11-05 04:47:36 -08:00
Stephen Olsen
d113bea69a
typo in shader
...
Should be mat4 or mat4x4, not mat44
2015-11-04 14:02:33 -06:00
Sean Barrett
702c5bfee8
Update other_libs.md
2015-11-03 15:10:58 -08: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
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