Commit Graph

193 Commits

Author SHA1 Message Date
Sean Barrett
e8b2939df9 fix bug in stb_vorbis_get_samples_float 2014-06-19 19:44:34 -07:00
Sean Barrett
b7be9848ae update version numbers 2014-06-15 13:36:34 -07:00
Sean Barrett
f5dfba0b8b Update stb_image test code to test loading with all channel counts (including 0),
to avoid missing bugs like the recent TGA bug in the future. Doesn't check the
*results*, but tests that it doesn't crash or fail.
2014-06-15 13:17:04 -07:00
Sean Barrett
23a775cc13 update release notes at end of file 2014-06-15 13:11:10 -07:00
Sean Barrett
5753c13f25 Merge branch 'load-bmp-v5-header' of https://github.com/saitoha/stb into working
Update version number
2014-06-15 13:08:12 -07:00
Sean Barrett
fa30cdba89 Merge branch 'rewind-after-bmp-testing' of https://github.com/saitoha/stb into working 2014-06-15 13:01:11 -07:00
Sean Barrett
d0c33a77f9 TGA loader fix to new optimized path by Jerry Jansson 2014-06-15 13:00:00 -07:00
Sean Barrett
2fb6df190b fix accidental stb__skip renames in comments 2014-06-15 12:49:32 -07:00
Sean Barrett
42ee042407 Re-add lost fix to 'get_location' function as reported by Andreas Fredriksson. 2014-06-15 12:47:14 -07:00
Hayaki Saito
cd6819374c Make sure to rewind after BMP test, to fix broken GIF test 2014-06-15 13:57:03 +09:00
Hayaki Saito
381ae02955 Add support for loading BMP v5 header 2014-06-15 13:47:41 +09:00
Sean Barrett
79c0470c0c Merge branch 'click-half-character' of https://github.com/sgraham/stb into textedit 2014-06-08 13:26:58 -07:00
Scott Graham
339beafc12 Clicking on left half of character selects before, and right half after 2014-06-08 12:44:28 -07:00
Sean Barrett
48234a1644 Merge branch 'shift-home-end-cursor' of https://github.com/sgraham/stb into working 2014-06-07 15:47:24 -07:00
Scott Graham
c4530794fb cursor should move on shift-home and shift-end 2014-06-07 14:36:04 -07:00
Sean Barrett
2684499fce tweak textedit sample fix 2014-06-06 23:59:38 -07:00
Scott Graham
885b1b7ded fix textedit_sample a bit 2014-06-06 23:08:51 -07:00
Sean Barrett
3557e66362 fix accidental rename of 'skip' 2014-06-06 12:17:39 -07:00
Sean Barrett
47a34c1723 stb_image.h version number increase 2014-06-06 10:17:32 -07:00
Sean Barrett
c28ffbbf0d Change byte casts in stb_image.h that intentionally truncate to do so explicitly for MSVC runtime check compatibility 2014-06-06 10:15:30 -07:00
Sean Barrett
f54bc09e4f make header files visible in file list 2014-06-04 17:57:42 -07:00
Sean Barrett
6f851e8c0f update stb_image version number 2014-06-04 17:57:25 -07:00
Sean Barrett
d6fa4e14ee Merge branch 'master' of https://github.com/nothings/stb 2014-06-04 17:57:00 -07:00
Sean Barrett
df3dcb5d0d remove duplicate typedef of stbi_uc 2014-06-04 17:56:18 -07:00
nothings
41a3179397 Note insecurity of stb_sprintf 2014-06-03 10:23:12 -07:00
nothings
b5230e0685 Add comments describing all stb_ functions
Added comments for all stb_ functions since I'm
now using this program as an illustrative example
of the value of something like stb_ functions.
2014-06-03 10:21:39 -07:00
Sean Barrett
9e63c50707 rename stb_image.c to stb_image.h 2014-06-03 09:15:53 -07:00
Sean Barrett
b96edc012c Merge branch 'headerify'
Conflicts:
	tests/stretch_test.dsp
2014-06-03 08:51:40 -07:00
Sean Barrett
334cec8d8c Fix handling of iphone-procesed image to not accidentally appear corrupt (instead they just load wrong).
Add a proper testing path to image test
2014-06-03 08:45:34 -07:00
Sean Barrett
b0d2481b49 added a little more documentation to stretchy_buffer.h and bumped version number 2014-06-01 12:13:50 -07:00
Sean Barrett
76dcd60fd4 update stretchy_buffer version number 2014-06-01 08:24:08 -07:00
Sean Barrett
5dc4bbbdc4 minor README tweak 2014-06-01 08:05:01 -07:00
Sean Barrett
ca093eda56 add strict-aliasing warnings; update readme to include stretchy_buffer 2014-06-01 08:04:07 -07:00
Sean Barrett
a57dfc50fc fix bugs in new stretchy buffer code, add stretchy buffer tests 2014-06-01 08:01:01 -07:00
Sean Barrett
728d435591 move stb_howto this time 2014-05-31 23:48:58 -07:00
Sean Barrett
add9346eef whoops, wrong file 2014-05-31 23:48:05 -07:00
Sean Barrett
05a9cfe036 update readme with new stb_how.txt location 2014-05-31 23:45:34 -07:00
Sean Barrett
037491ca45 Merge branch 'working' 2014-05-31 23:43:47 -07:00
Sean Barrett
4e8cade2cf move image_test into main tests directory 2014-05-31 13:46:13 -07:00
Sean Barrett
2bf4326350 cleanup runtime output/error detection of stb.h unit tests 2014-05-31 13:39:00 -07:00
Sean Barrett
509f9777e5 minor doc improvement 2014-05-31 13:34:37 -07:00
Sean Barrett
cf72af7788 header guards, fix faux-null-ptr constant, tweak docs 2014-05-31 13:22:56 -07:00
Sean Barrett
666596ed89 untested rewrite of stretchy_buffer relying on implicit cast from void* 2014-05-31 13:00:39 -07:00
Sean Barrett
5576a5044f initial check-in 2014-05-31 12:12:34 -07:00
Sean Barrett
687985dbf9 move stb_image.c to deprecated since stb_image.h replaces it 2014-05-31 12:10:35 -07:00
Sean Barrett
236004f573 finished renaming all private functions & globals with stbi__ prefix 2014-05-31 06:55:48 -07:00
Sean Barrett
a7691e1510 check-in missing project file updates for stb_image.h usage 2014-05-31 06:31:27 -07:00
Sean Barrett
d5272d32e4 renaming completed through png decoder 2014-05-31 06:27:37 -07:00
Sean Barrett
7add5044e0 bump version number 2014-05-31 06:27:09 -07:00
Sean Barrett
9f251b6da1 rename stb_image_write private functions to use stbiw__ not stbi__ to avoid conflict with stb_image.h 2014-05-31 06:25:31 -07:00