kroko
a2cd79b8ff
fix comma warnings when building with -Wcomma
ago%!(EXTRA string=6 years)
Fabian Giesen
d6a598186c
stb_image: Pacify some MSVC warnings.
...
Convince the compiler's dataflow analysis that yes, we are not
reading uninitialized values of coutput.
Fixes issue #608 .
ago%!(EXTRA string=6 years)
Fabian Giesen
6570d6a825
stb_image: Make GIF reader validate image size.
...
I must've missed it when I did this for the other image loaders.
Either way, combined with the previous checkin, this should fix
issue #614 properly.
Fixes issue #614 .
ago%!(EXTRA string=6 years)
Fabian Giesen
50b1bfba58
stb_image: Fix multiple bugs in GIF decoder.
...
1. Check not just g->out allocation for failure.
2. If an image descriptor specified a 0-width image, this could be
used to produce an out-of-bounds write.
3. Fix memory leak in case an error occurs during decoding.
Fixes issue #656 .
ago%!(EXTRA string=6 years)
Rafael Sachetto
caf9608826
Adding arrpop macro to stb_ds.h
ago%!(EXTRA string=6 years)
Rafael Sachetto
89bccdd567
Small documentation correction
ago%!(EXTRA string=6 years)
Sean Barrett
72990efc3e
test updates for test_ds unit testing
ago%!(EXTRA string=6 years)
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
ago%!(EXTRA string=6 years)
Sean Barrett
39c05598a9
Update stb.h version number
ago%!(EXTRA string=6 years)
Sean Barrett
0f9254357c
update version numbers
ago%!(EXTRA string=6 years)
Sean Barrett
c963e40972
update version numbers
ago%!(EXTRA string=6 years)
Sean Barrett
a4111af960
update readme
ago%!(EXTRA string=6 years)
Sean Barrett
1aeb8ec201
stb_ds: fix shift warnings in later VS compilers
ago%!(EXTRA string=6 years)
Sean Barrett
e704ed0efb
update tests and project files for stb_ds
ago%!(EXTRA string=6 years)
Sean Barrett
477471d9a8
add stb_ds.h and tests
ago%!(EXTRA string=6 years)
Sean Barrett
aeec66c6ec
Merge branch 'randlong' of https://github.com/flibitijibibo/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
9d8a9e7f16
Merge branch 'fix_issue-701' of https://github.com/rygorous/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
742056dee9
Merge branch 'fix_issue-705' of https://github.com/rygorous/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
5fe7fb52f2
various fixes for clang
...
also fix a comment typo
ago%!(EXTRA string=6 years)
Sean Barrett
5715e6faaf
Makefile: update how to build image_write_test
ago%!(EXTRA string=6 years)
Sean Barrett
2ce93bf1d8
Merge branch 'fix_issue-707' of https://github.com/rygorous/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
57c7029166
test_image_write.c: change from standalone to integrated with image_test.c
ago%!(EXTRA string=6 years)
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 .
ago%!(EXTRA string=6 years)
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 .
ago%!(EXTRA string=6 years)
Fabian Giesen
bbbdc1e811
stb_image: Fix typo in comment.
...
Fixes issue #705 .
ago%!(EXTRA string=6 years)
Fabian Giesen
e0ee0de26c
tests: Add simple image_write_test smoke test
ago%!(EXTRA string=6 years)
Fabian Giesen
980add9725
stb_image_write: Fix JPEG writer bug.
ago%!(EXTRA string=6 years)
Ethan Lee
0666554276
stb.h rand: A few more long->int fixes
ago%!(EXTRA string=6 years)
Sean Barrett
59e9702be5
update readme
ago%!(EXTRA string=6 years)
Sean Barrett
63b59b46b0
update version numbers
ago%!(EXTRA string=6 years)
Sean Barrett
a23f466de0
"long int" => "long"
ago%!(EXTRA string=6 years)
Sean Barrett
6244febf5f
stb_truetype: tweaks to codepoint-missing packing
ago%!(EXTRA string=6 years)
Sean Barrett
f11f1e801a
stb_sprintf: credits
ago%!(EXTRA string=6 years)
Sean Barrett
08759eb405
Merge branch 'fix-sprintf-int-size-1' of https://github.com/account-login/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
8cf07e85c8
rename stbtt_PackSetSkipMissingGlyphs to stbtt_PackSetSkipMissingCodepoints
ago%!(EXTRA string=6 years)
Sean Barrett
c35d1dd8ad
stb_truetype: runtime selection of skipping missing codepoints
ago%!(EXTRA string=6 years)
Sean Barrett
eaf78c10b6
Merge branch 'truetype-skip_missing_glyphs' of https://github.com/ocornut/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
9092c0487d
Merge branch 'working'
ago%!(EXTRA string=6 years)
Sean Barrett
feb9de355d
stb_image_write: add missing 'static' on internal functions
ago%!(EXTRA string=6 years)
Sean Barrett
7463635e52
Merge branch 'patch-3' of https://github.com/NuklearBomb/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
9643f6bd98
stb_sprintf: fix unaligned digitpair[], fix some signed-right-shifts
ago%!(EXTRA string=6 years)
Sean Barrett
82310cc5ff
stb_sprintf: fix unaligned digitpair[], fix some signed-right-shifts
ago%!(EXTRA string=6 years)
Kevin Croft
d1dc3fe89c
Fix return typo, disambiguate else, and check for the complete fishead identifier
ago%!(EXTRA string=6 years)
Kevin Croft
604b9367ee
Add detection for Ogg skeleton metadata
ago%!(EXTRA string=6 years)
Sean Barrett
38f86fc461
Merge branch 'fix-leakcheck' of https://github.com/Clownacy/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
ddccc72c5b
stb_image_write: optimize other PNG loops besides previous merge
ago%!(EXTRA string=6 years)
Sean Barrett
d27796b585
Merge branch 'stb_image_write_optimization' of https://github.com/jarnoh/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
619cdb6a3b
stb_sprintf: fix 32 vs 64-bit sizes for format widts j/z/t
ago%!(EXTRA string=6 years)
Sean Barrett
6e7e5c5787
Merge branch 'fix-unaligned' of https://github.com/stefano-zanotti-88/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
694b61fcb1
stb_image: remove non-ASCII character from credits
ago%!(EXTRA string=6 years)