Commit Graph

1674 Commits

Author SHA1 Message Date
Sean Barrett f9133c3677 stb_ds v0.3: fixes for compiling client code in C++
add missing _wrapper suffixes
   disable clang rvalue support in C++
   disable unit tests in VC6 C++
   other tweaks
2019-02-25 13:48:41 -08:00
Sean Barrett 39c05598a9 Update stb.h version number 2019-02-25 12:05:38 -08:00
Sean Barrett 0f9254357c update version numbers 2019-02-25 11:49:12 -08:00
Sean Barrett c963e40972 update version numbers 2019-02-25 11:48:42 -08:00
Sean Barrett a4111af960 update readme 2019-02-25 11:41:58 -08:00
Sean Barrett 1aeb8ec201 stb_ds: fix shift warnings in later VS compilers 2019-02-25 11:40:33 -08:00
Sean Barrett e704ed0efb update tests and project files for stb_ds 2019-02-25 11:17:27 -08:00
Sean Barrett 477471d9a8 add stb_ds.h and tests 2019-02-25 11:16:35 -08:00
Sean Barrett aeec66c6ec Merge branch 'randlong' of https://github.com/flibitijibibo/stb into working 2019-02-25 11:13:03 -08:00
Sean Barrett 9d8a9e7f16 Merge branch 'fix_issue-701' of https://github.com/rygorous/stb into working 2019-02-25 11:11:37 -08:00
Sean Barrett 742056dee9 Merge branch 'fix_issue-705' of https://github.com/rygorous/stb into working 2019-02-25 11:11:14 -08:00
Sean Barrett 5fe7fb52f2 various fixes for clang
also fix a comment typo
2019-02-25 11:10:54 -08:00
Sean Barrett 5715e6faaf Makefile: update how to build image_write_test 2019-02-24 04:37:37 -08:00
Sean Barrett 2ce93bf1d8 Merge branch 'fix_issue-707' of https://github.com/rygorous/stb into working 2019-02-24 04:27:18 -08:00
Sean Barrett 57c7029166 test_image_write.c: change from standalone to integrated with image_test.c 2019-02-24 04:22:47 -08:00
Fabian Giesen ae431d75e0 stb_rect_pack: Fix two bugs.
stbrp__skyline_find_best_pos didn't correctly handle rects too
large to ever fit inside the context. Since that function also
pads the width up to a multiple of the alignment, it makes the
most sense to do that check right after (but before entering
the main packing loop).

While we're here, also fix an off-by-1 bug in the best-fit
heuristic where it didn't want to use the last row in
certain cases.

Fixes issue #701.
2019-02-23 05:48:11 -08:00
Fabian Giesen af43e6b006 stb_truetype: Fix warning in comment.
Replace ASCII art with slightly crappier ASCII art that is not
going to make compilers complain about trailing backslashes.

Fixes issue #707.
2019-02-23 05:33:20 -08:00
Fabian Giesen bbbdc1e811 stb_image: Fix typo in comment.
Fixes issue #705.
2019-02-23 05:25:47 -08:00
Fabian Giesen e0ee0de26c tests: Add simple image_write_test smoke test 2019-02-23 05:18:14 -08:00
Fabian Giesen 980add9725 stb_image_write: Fix JPEG writer bug. 2019-02-23 05:17:37 -08:00
Ethan Lee 0666554276 stb.h rand: A few more long->int fixes 2019-02-18 10:53:26 -05:00
Sean Barrett 59e9702be5 update readme 2019-02-07 10:24:27 -08:00
Sean Barrett 63b59b46b0 update version numbers 2019-02-07 10:03:00 -08:00
Sean Barrett a23f466de0 "long int" => "long" 2019-02-07 09:49:08 -08:00
Sean Barrett 6244febf5f stb_truetype: tweaks to codepoint-missing packing 2019-02-07 09:33:54 -08:00
Sean Barrett f11f1e801a stb_sprintf: credits 2019-02-07 09:23:01 -08:00
Sean Barrett 08759eb405 Merge branch 'fix-sprintf-int-size-1' of https://github.com/account-login/stb into working 2019-02-07 09:22:06 -08:00
Sean Barrett 8cf07e85c8 rename stbtt_PackSetSkipMissingGlyphs to stbtt_PackSetSkipMissingCodepoints 2019-02-07 09:21:17 -08:00
Sean Barrett c35d1dd8ad stb_truetype: runtime selection of skipping missing codepoints 2019-02-07 09:20:11 -08:00
Sean Barrett eaf78c10b6 Merge branch 'truetype-skip_missing_glyphs' of https://github.com/ocornut/stb into working 2019-02-07 09:04:23 -08:00
Sean Barrett 9092c0487d Merge branch 'working' 2019-02-07 09:04:00 -08:00
Sean Barrett feb9de355d stb_image_write: add missing 'static' on internal functions 2019-02-07 09:03:27 -08:00
Sean Barrett 7463635e52 Merge branch 'patch-3' of https://github.com/NuklearBomb/stb into working 2019-02-07 08:53:19 -08:00
Sean Barrett 9643f6bd98 stb_sprintf: fix unaligned digitpair[], fix some signed-right-shifts 2019-02-07 08:45:19 -08:00
Sean Barrett 82310cc5ff stb_sprintf: fix unaligned digitpair[], fix some signed-right-shifts 2019-02-07 08:44:39 -08:00
Kevin Croft d1dc3fe89c Fix return typo, disambiguate else, and check for the complete fishead identifier 2019-02-07 08:43:59 -08:00
Kevin Croft 604b9367ee Add detection for Ogg skeleton metadata 2019-02-07 08:43:59 -08:00
Sean Barrett 38f86fc461 Merge branch 'fix-leakcheck' of https://github.com/Clownacy/stb into working 2019-02-07 08:34:39 -08:00
Sean Barrett ddccc72c5b stb_image_write: optimize other PNG loops besides previous merge 2019-02-07 08:13:56 -08:00
Sean Barrett d27796b585 Merge branch 'stb_image_write_optimization' of https://github.com/jarnoh/stb into working 2019-02-07 08:11:38 -08:00
Sean Barrett 619cdb6a3b stb_sprintf: fix 32 vs 64-bit sizes for format widts j/z/t 2019-02-07 07:53:28 -08:00
Sean Barrett 6e7e5c5787 Merge branch 'fix-unaligned' of https://github.com/stefano-zanotti-88/stb into working 2019-02-07 07:41:53 -08:00
Sean Barrett 694b61fcb1 stb_image: remove non-ASCII character from credits 2019-02-07 07:39:46 -08:00
Sean Barrett 0aa5984b6a Merge branch 'remove-assert' of https://github.com/rombankzero/stb into working 2019-02-07 07:39:03 -08:00
Sean Barrett f9d9a419a9 Merge branch 'optimize_stbi__ldr_to_hdr' of https://github.com/technik/stb into working 2019-02-07 07:33:00 -08:00
Sean Barrett db691f0c69 Merge branch 'fix_1bit_bmp' of https://github.com/plzombie/stb into working 2019-02-07 07:30:39 -08:00
Sean Barrett 5428c40870 Merge branch 'textedit-undo_char_position_type' of https://github.com/ocornut/stb into working 2019-02-07 07:28:41 -08:00
Sean Barrett 9bb4bc1db4 Merge branch 'patch-1' of https://github.com/sherjilozair/stb into working 2019-02-07 07:27:42 -08:00
Sean Barrett 79a7719c37 stb_image: fix d1252e1bb9 for building in C 2019-02-07 07:20:58 -08:00
Sean Barrett 7056eae4ae Merge branch 'issue-609' of https://github.com/dp304/stb into working 2019-02-07 07:19:18 -08:00