Commit Graph

1333 Commits

Author SHA1 Message Date
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
Sean Barrett 9549e83e5d renaming completed through jpeg decoder 2014-05-31 05:40:05 -07:00
Sean Barrett 2514fbc2c7 more renaming 2014-05-31 05:38:26 -07:00
Sean Barrett 927b455d85 start converting stb_image.c to a .h file 2014-05-31 04:49:43 -07:00
Sean Barrett 7ed3bb26bb Merge branch 'working' 2014-05-30 14:25:49 -07:00
Sean Barrett 2d412f0d6c move stb_how.txt into docs directory 2014-05-30 14:20:16 -07:00
Sean Barrett 5ecae715b0 batch file to run make_readme 2014-05-30 14:17:19 -07:00
Sean Barrett fcfcb9bb3f generate README.md in part by parsing libraries so that version numbers are in sync 2014-05-30 14:15:51 -07:00
Sean Barrett 9e566c8b31 trailing newline 2014-05-28 11:05:17 -07:00
Sean Barrett f9ab452e7d Merge branch 'master' of https://github.com/nothings/stb 2014-05-27 23:13:55 -07:00
Sean Barrett 42bd3e253b rename test files to be more meaningful 2014-05-27 23:13:34 -07:00