Fabian Giesen
4d160de463
stb_image: Fix name of stbi_set_unpremultiply_on_load_thread impl
...
Bug reported by N-R-K. Fixes #1276 .
ago%!(EXTRA string=2 years)
Fabian Giesen
e5da6acacd
Merge branch 'neilbickford/image_hdr_pgm_fixes' into dev
ago%!(EXTRA string=2 years)
Neil Bickford
9f22cc9008
stb_image PNG: Checks for invalid DEFLATE codes.
...
Specifically, this rejects length codes 286 and 287, and distance codes 30 and 31.
This avoids a scenario in which a file could contain a table in which
0 corresponded to length code 287, which would result in writing 0 bits.
Signed-off-by: Neil Bickford <nbickford@nvidia.com>
ago%!(EXTRA string=2 years)
Neil Bickford
2a02ff76b5
Fixes two stb_image issues that could occur with specially constructed HDR and PGM files.
...
Signed-off-by: Neil Bickford <nbickford@nvidia.com>
ago%!(EXTRA string=2 years)
Sean Barrett
8b5f1f37b5
update readme
ago%!(EXTRA string=3 years)
Sean Barrett
bc00c178ac
Merge branch 'master' of https://github.com/nothings/stb
ago%!(EXTRA string=3 years)
Sean Barrett
4af130e863
stb_perlin.h: restore file now that patent is expired
ago%!(EXTRA string=3 years)
Sean Barrett
af1a5bc352
Update bug_report.md
ago%!(EXTRA string=4 years)
Sean Barrett
37e21f17b2
Update bug_report.md
ago%!(EXTRA string=4 years)
Sean Barrett
b9e1d86edc
Create config.yml
ago%!(EXTRA string=4 years)
Sean Barrett
b1826c9894
Update issue templates
ago%!(EXTRA string=4 years)
Sean Barrett
c0c982601f
stb_truetype 1.26: fix rendering glitches
ago%!(EXTRA string=4 years)
Sean Barrett
ef861421e2
stb.h: stb_splitpath correctly handles relative paths with explicit drive specifiers
ago%!(EXTRA string=4 years)
Sean Barrett
59e7dec3e8
delete file covered by patents
ago%!(EXTRA string=4 years)
Sean Barrett
08e89524f6
Merge branch 'dev' of https://github.com/nothings/stb into dev
ago%!(EXTRA string=4 years)
Fabian Giesen
5ba0baaa26
stb_image: Reject fractional JPEG component subsampling ratios
...
The component resamplers are not written to support this and I've
never seen it happen in a real (non-crafted) JPEG file so I'm
fine rejecting this as outright corrupt.
Fixes issue #1178 .
ago%!(EXTRA string=4 years)
Sean Barrett
c404b789ca
stb_truetype: fix sample code drawing characters upside-down
ago%!(EXTRA string=4 years)
Sean Barrett
1401f2257d
clean up project file
ago%!(EXTRA string=4 years)
Sean Barrett
7c65d5621f
fix compiling with NO_HDR NO_LINEAR
ago%!(EXTRA string=4 years)
Sean Barrett
be901954b2
stb_truetype: fix sample code drawing characters upside-down
ago%!(EXTRA string=4 years)
Sean Barrett
7de8f7999b
Merge branch 'master' into dev
ago%!(EXTRA string=4 years)
Sean Barrett
3a1174060a
opengl stb_truetype demo app
ago%!(EXTRA string=4 years)
Sean Barrett
4adb57af42
clean up project file
ago%!(EXTRA string=4 years)
Sean Barrett
cd6b6f70ec
fix compiling with NO_HDR NO_LINEAR
ago%!(EXTRA string=4 years)
Sean Barrett
a0a939058c
update README
ago%!(EXTRA string=4 years)
Sean Barrett
5a0bb8b1c1
update readme
ago%!(EXTRA string=4 years)
Sean Barrett
c4ef8e1fdc
fix version date
ago%!(EXTRA string=4 years)
Sean Barrett
7023e273f1
fix stb_dxt version
ago%!(EXTRA string=4 years)
Fabian Giesen
5324597dcb
README: update stb_dxt version for fix
ago%!(EXTRA string=4 years)
Fabian Giesen
3cfb892cf3
stb_dxt: Fix bug in table generator
...
Forgot to put the *100 back, oops.
ago%!(EXTRA string=4 years)
Sean Barrett
1ee679ca2e
update version numbers
ago%!(EXTRA string=4 years)
Sean Barrett
fd7807e92d
stb_c_lexer: allow including stb_c_lexer.h without defining overrides (all tokens are always defined; token values have changed)
ago%!(EXTRA string=4 years)
Sean Barrett
0be82e4814
stb_truetype: fix incorrect antialiasing computation in v2 rasterizer, and handle certain cases where math blew up
ago%!(EXTRA string=4 years)
Sean Barrett
e05ecc05ee
Fix compiling-as-C-pre-C99 issues
ago%!(EXTRA string=4 years)
Sean Barrett
38c15ee7cf
Merge pull request #1165 from randy408/dev-fix
...
Fix CIFuzz integration
ago%!(EXTRA string=4 years)
Randy
af4c673174
change directory for seed corpus downloads
ago%!(EXTRA string=4 years)
Randy
a0a8653a7d
attempt to fix issue with CIFuzz
ago%!(EXTRA string=4 years)
ocornut
818ac26785
stb_rect_pack: making functions cdecl for msvc qsort
ago%!(EXTRA string=4 years)
Fabian Giesen
c8e3d3086d
stb_truetype: Small tweaks to make PVS Studio happy
...
No actual bugs as far as I can tell.
Fixes issue #1162 .
ago%!(EXTRA string=4 years)
Sean Barrett
5bf78b8f23
stb_truetype: fix bad declaration
ago%!(EXTRA string=4 years)
Sean Barrett
99e13217ce
Merge branch 'dev' of https://github.com/nothings/stb into dev
ago%!(EXTRA string=4 years)
Sean Barrett
4bb337ddf0
test including stb_c_lexer header independnet of implementation
ago%!(EXTRA string=4 years)
Fabian Giesen
2b667e4d30
stb_rect_pack: Several minor fixes
...
1. Always use large rects mode to avoid definition of stbrp_coord
in header file depending on implementation #defines
2. Expose STBRP__MAXVAL to users
3. Fix value of STBRP__MAXVAL for large rect mode (stbrp_coord
is a 32-bit int, so needs to be <=0x7fffffff, 0xffffffff
doesn't work)
4. Add comment at the top about which #define to set to get the
implementation.
Fixes issue #1143 , or rather, replaces that pull request.
ago%!(EXTRA string=4 years)
Fabian Giesen
1e1efbdc75
stb_image_write: Make globals extern "C" in C++
...
Fixes issue #921
ago%!(EXTRA string=4 years)
Fabian Giesen
d2476c3845
stb_sprintf: GCC compilation fix
...
Fixes issue #1010 .
ago%!(EXTRA string=4 years)
Fabian Giesen
06b6009e3b
stb_sprintf: Fix unused variable warning with STB_SPRINTF_NOFLOAT
...
Fixes issue #986 .
ago%!(EXTRA string=4 years)
Fabian Giesen
3be65f1c0c
stb_sprintf: Small simplification
...
This was intentional but we might as well just set cs=0
directly here.
Fixes issue #997 .
ago%!(EXTRA string=4 years)
Fabian Giesen
013884b53b
stb_sprintf: Fix string length calc
...
Factor out string length computation into helper func, comment
it a bit more, always use a limit to avoid 32b unsigned overflow,
and avoid reading past the bounds of non-0-terminated strings given
with specified precision.
Fixes issue #966 .
ago%!(EXTRA string=4 years)
Fabian Giesen
2af2e69219
stb_ds: Fix addn when n=0
...
In this case, the array pointer may still be 0 even after the
maybegrow.
Fixes issue #1015 .
ago%!(EXTRA string=4 years)
Fabian Giesen
b14a80784c
stb_image_write: Support writing BMPs with alpha
...
Fixes issue #1159 .
ago%!(EXTRA string=4 years)