Sean Barrett
d32dc9f43a
add todo list, try to compile as C++ (untested), tweak data structure
ago%!(EXTRA string=9 years)
Sean Barrett
31bc5d1ecc
Merge branch 'master' of https://github.com/nothings/stb
ago%!(EXTRA string=9 years)
Sean Barrett
1c5a92440d
stb_connected_components added
ago%!(EXTRA string=9 years)
Sean Barrett
133a565624
yocto stuff
ago%!(EXTRA string=9 years)
Sean Barrett
4c519106a7
back out previous change to stb_vorbis (truncation of last frame in corrupt file)
ago%!(EXTRA string=9 years)
ocornut
75ce29fe0b
stb_textedit: Add support for custom move word left/right handlers
ago%!(EXTRA string=9 years)
Sean Barrett
5aef2b50aa
Merge branch 'master' of https://github.com/nothings/stb
ago%!(EXTRA string=9 years)
Sean Barrett
62d773db5d
updat versions
ago%!(EXTRA string=9 years)
Sean Barrett
a1a918a487
fix unused variable warning
ago%!(EXTRA string=9 years)
Sean Barrett
fdca443892
fix crash in 2.11
ago%!(EXTRA string=9 years)
Sean Barrett
136455df6d
clarify
ago%!(EXTRA string=9 years)
Sean Barrett
fcdf5c682e
Merge branch 'master' of https://github.com/nothings/stb
ago%!(EXTRA string=9 years)
Sean Barrett
6e4154737c
update version numbers, documentation, and contributors
ago%!(EXTRA string=9 years)
Sean Barrett
b03133000a
avoid dropping final frame of audio data due to wrong test
ago%!(EXTRA string=9 years)
Sean Barrett
7a694bdcca
re-enable SSE2 code on x64 except with gcc
ago%!(EXTRA string=9 years)
Sean Barrett
92bd7a49a8
emscripten needs explicit alloca as well
ago%!(EXTRA string=9 years)
Sean Barrett
56e8fd063c
don't leak vertex data if text is scaled to 0
ago%!(EXTRA string=9 years)
Sean Barrett
538b96d6e2
remove claims of supporting C++ in stretchy_buffer
ago%!(EXTRA string=9 years)
Sean Barrett
5990ff8a47
remove duplicate typedef of stbtt_fontinfo
ago%!(EXTRA string=9 years)
Sean Barrett
201af99d9f
return correct # of channels for PNG
ago%!(EXTRA string=9 years)
Sean Barrett
65edb64dd8
Merge branch 'master' into working
ago%!(EXTRA string=9 years)
Sean Barrett
75c5908f95
fix includes for linux alloca
ago%!(EXTRA string=9 years)
Sean Barrett
591c7f8cb3
remove white matting when loading transparent PSD
ago%!(EXTRA string=9 years)
Sean Barrett
a8876b884d
fix _WIN32 if STB_THREADS
ago%!(EXTRA string=9 years)
Jörn Heusipp
aeba55604a
stb_vorbis: Fix memory leak in start_decoder().
ago%!(EXTRA string=9 years)
Sean Barrett
b7603b0ca6
dr_flac
ago%!(EXTRA string=9 years)
Sean Barrett
8420e20af6
Merge branch 'for-upstream-fix-stbvorbis-startdecoder-memleak' of https://github.com/manxorist/stb into working
ago%!(EXTRA string=9 years)
Sean Barrett
8f368799e1
Merge branch 'for-upstream-stbvorbis-fix-memleaks' of https://github.com/manxorist/stb
ago%!(EXTRA string=9 years)
Sean Barrett
c03f4b3c2f
Merge branch 'patch-1' of https://github.com/kinetiknz/stb
ago%!(EXTRA string=9 years)
Sean Barrett
097a70ae38
Merge branch 'master' of https://github.com/tulrich/stb
ago%!(EXTRA string=9 years)
Sean Barrett
ba1277e39c
Merge branch 'fix_warnings' of https://github.com/tgoulart/stb into working
ago%!(EXTRA string=9 years)
Sean Barrett
a013c036f3
initialize bmp mr/mg/mb/ma properly
ago%!(EXTRA string=9 years)
Sean Barrett
218ecd17a4
Merge branch 'patch-1' of https://github.com/looki/stb
ago%!(EXTRA string=9 years)
Sean Barrett
406d537b41
Merge branch 'initial_png_16bpc' of https://github.com/socks-the-fox/stb into working
ago%!(EXTRA string=9 years)
Sean Barrett
275d1204b1
Merge branch 'working'
ago%!(EXTRA string=9 years)
Sean Barrett
4be8fa919f
Merge branch 'pull-request-fabs2' of https://github.com/sglass68/stb into working
ago%!(EXTRA string=9 years)
Sean Barrett
814bb9b5dc
remove STBIR__DEBUG_ASSERT because it requires defining/not-defining assert() in a warning-free way on all platforms independent of #include <assert.h>, which is too hard
ago%!(EXTRA string=9 years)
Sean Barrett
d514035d70
Merge branch 'textedit-drag-while-typing' of https://github.com/ocornut/stb
ago%!(EXTRA string=9 years)
Sean Barrett
878e8caaa6
Merge branch 'patch-1' of https://github.com/saolsen/stb into working
ago%!(EXTRA string=9 years)
Sean Barrett
cbc1e7c897
Merge branch 'test' into working
ago%!(EXTRA string=9 years)
Sean Barrett
4ff6723a6d
make resample_test work in VC6
ago%!(EXTRA string=9 years)
Sean Barrett
c238cebe6a
Merge branch 'master' of https://github.com/BSVino/stb into test
ago%!(EXTRA string=9 years)
Sean Barrett
86bff62371
greatest; munit; parg
ago%!(EXTRA string=9 years)
Sean Barrett
c66b565cb3
cro_mipmap
ago%!(EXTRA string=9 years)
Sean Barrett
b79fa5b08c
Merge pull request #255 from corporateshark/master
...
Added PoissonGenerator.h
ago%!(EXTRA string=9 years)
Sean Barrett
efdfbb3c7c
Merge branch 'master' into working
ago%!(EXTRA string=9 years)
Sean Barrett
a222dc519e
Merge branch 'license' of https://github.com/oon3m0oo/stb into work2
ago%!(EXTRA string=9 years)
Sean Barrett
50479cb07c
stb_image: allow jpegs that are rgb not YCrCb
ago%!(EXTRA string=9 years)
Jörn Heusipp
0e3506d7d1
stb_vorbis: Fix memory leak in start_decoder().
ago%!(EXTRA string=9 years)
Jörn Heusipp
0985e89335
stb_vorbis: Fix memory leak in decode_residue() and inverse_mdct() when redefining temp_alloc() and temp_free()
...
temp_alloc() and temp_free() are documented as customization points in section "MEMORY ALLOCATION" (stb_vorbis.c:81).
However, in decode_residue() and inverse_mdct() (via temp_block_array() and temp_alloc() respectively), stb_vorbis allocates temporary memory but does not call temp_free() when finished. It does call temp_alloc_restore() though, but there is no sane way to provide an implementation thereof when using a malloc()/free()-like allocation backend.
Adding calls to temp_free() before the respective calls to temp_alloc_restore() is safe, because in case of a non-empty temp_alloc_restore() implementation, temp_free() would simply be implemented empty (the current implementation of temp_*() is fine in this regard). That way, all possible temporary memory allocation schemes (i.e. alloca(), custom provided alloc_buffer, malloc()) are handled properly.
Add the appropriate temp_free() calls.
ago%!(EXTRA string=9 years)