Nathan Reed
4306eea3cb
Fix VS2019 warning
...
- VS2019 on /W4 warns about applying '*' to enums. Fixed by casting to int.
ago%!(EXTRA string=6 years)
Try
4148eb4d90
stb_image: fix CRC reading at the end of IEND chunk in png file
ago%!(EXTRA string=6 years)
Andrew Kensler
57b9ea6510
Quell -Wcast-align warnings from Clang
...
The stbi__sbraw() macro in stb_image_write.h causes Clang to spew about 24
warnings complaining that "cast from 'unsigned char *' to 'int *' increases
required alignment from 1 to 4" when compiled with the -Wcast-align option.
In practice, this is spurious so long as STBIW_MALLOC() and STBIW_REALLOC()
follow the usual alignment semantics for malloc() and realloc() in that they
align sufficiently for any built-in type.
To quell the warning, we can cast through a void pointer as an intermediary.
ago%!(EXTRA string=6 years)
Michal Klos
221a9efcfe
added credits according to contributor guide
ago%!(EXTRA string=6 years)
Michal Klos
cdf3ef1536
stb_include: fix stb_include_string iteration. Upper bound was incremented each loop instead of iterator causing endless loop when called
ago%!(EXTRA string=6 years)
arlecchino
117e1741a2
stb_printf - added contributor
ago%!(EXTRA string=6 years)
arlecchino
b97d06e0fa
fix: stb_sprintf - gcc defines __powerpc64__
...
Fix for stb_sprintf https://github.com/nothings/stb/issues/806
fixes #806
ago%!(EXTRA string=6 years)
Sean Barrett
f67165c2bb
Update README.md
ago%!(EXTRA string=6 years)
Dougall Johnson
da79a214ef
stb_vorbis: improve fix for theoretical seek performance problem
ago%!(EXTRA string=6 years)
Dougall Johnson
c3298670d0
stb_vorbis: fix a couple asserts that fail on invalid files
ago%!(EXTRA string=6 years)
Dougall Johnson
057914d959
stb_vorbis: fix pushdata for files with audio packets in header pages
...
Fixes #259 , #597
ago%!(EXTRA string=6 years)
Andreas Haferburg
905d05a1d0
Fixed whitespace
ago%!(EXTRA string=6 years)
Andreas Haferburg
c70479c47b
Revert "Fixed whitespace"
...
This reverts commit 72646ac4ae
.
ago%!(EXTRA string=6 years)
Andreas Haferburg
72646ac4ae
Fixed whitespace
ago%!(EXTRA string=6 years)
Andreas Haferburg
df0c8e92d4
Fixed compiler warnings C4244 conversion from 'int' to 'unsigned char'/'unsigned short'.
ago%!(EXTRA string=6 years)
cnlohr
e615214488
Fix bare backslash n as being a valid whitespace character.
ago%!(EXTRA string=6 years)
Niclas Olmenius
da12942957
stb_image_write: fix clang warning
...
fix -Wmissing-variable-declarations clang warning
`stbi__flip_vertically_on_write` is now static like
`stbi__vertically_flip_on_load` in `stb_image.h`
ago%!(EXTRA string=6 years)
Dougall Johnson
7c4eb44a63
stb_vorbis: fix seeking in files with audio packets in header pages
...
Fixes #682 , #580
ago%!(EXTRA string=6 years)
Dougall Johnson
2abc5c6ced
stb_vorbis: fix seek_to_sample_coarse failure near page end
ago%!(EXTRA string=6 years)
Dougall Johnson
6ca87a9e0e
stb_vorbis: fix theoretical seek performance problem
ago%!(EXTRA string=6 years)
Audino
2a0cff1288
Add comment support to stb_vorbis
ago%!(EXTRA string=6 years)
BlackMATov
01b2d76baf
stb_image.h: fix warning about unused function 'stbi__err'
...
Fixes issue #746 .
ago%!(EXTRA string=6 years)
Sean Barrett
052dce117e
more fixing
ago%!(EXTRA string=6 years)
Sean Barrett
657be5c654
fix README.md "noteworthy" links
ago%!(EXTRA string=6 years)
Dima Krasner
791a907faa
stb_leakcheck: add support for output to stderr
ago%!(EXTRA string=6 years)
Sean Barrett
bcb2815ab3
stb_ds: add documentation for STBDS_UNIT_TESTS, -std=c++0x
ago%!(EXTRA string=6 years)
Sean Barrett
c7343d4263
more Travis fixing
ago%!(EXTRA string=6 years)
Sean Barrett
897c33133f
more travis testing
ago%!(EXTRA string=6 years)
Sean Barrett
5037e236ed
try to work around Travis old GCC errors
ago%!(EXTRA string=6 years)
Sean Barrett
76254f7758
Merge branch 'master' of https://github.com/nothings/stb
ago%!(EXTRA string=6 years)
Sean Barrett
be594f1e0b
stb_ds: maybe avoid problem with inferring template type from enum with gcc
ago%!(EXTRA string=6 years)
Sean Barrett
4136af1b23
Merge pull request #789 from sjml/patch-2
...
typo in credit comment
ago%!(EXTRA string=6 years)
Shane Liesegang
0cff58ecf8
very minor, non-urgent :)
ago%!(EXTRA string=6 years)
Sean Barrett
787f1d646a
Update version numbers
ago%!(EXTRA string=6 years)
Sean Barrett
5072185467
stb_image: fix static analyzer warnings
ago%!(EXTRA string=6 years)
Sean Barrett
a895aec686
stb_c_lexer: fix a static analysis warning
ago%!(EXTRA string=6 years)
Sean Barrett
a2d540a689
stb.h: fix clang compile
ago%!(EXTRA string=6 years)
Sean Barrett
b26a31072d
test.sbm: tweak tests so all pass
ago%!(EXTRA string=6 years)
Sean Barrett
846d15c102
image_test: tweak testing to open image in more modes
ago%!(EXTRA string=6 years)
Sean Barrett
bd8d9a88bc
test.sbm: add clang compilation
ago%!(EXTRA string=6 years)
Sean Barrett
8ca86ee1a1
stb_perlin: add non-power-of-two wrapping noise
ago%!(EXTRA string=6 years)
Sean Barrett
26a02f81ca
stb_image: fix bug where bmp claimed to be 24-bit but also claimed to have an alpha bitfield
ago%!(EXTRA string=6 years)
Sean Barrett
61be29d161
stb_ds: fix bug with shgeti not returning correct value
ago%!(EXTRA string=6 years)
Sean Barrett
a5cbacd1c0
Merge branch 'fix-textedit-typo' of https://github.com/mastensg/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
a5071ad702
Merge branch 'master' of https://github.com/rgriege/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
70bd711831
Merge branch 'pull-request' of https://github.com/kaesve/stb into working
ago%!(EXTRA string=6 years)
Sean Barrett
5c98e6564b
stb_vorbis: fix typo in CVE number in docs
ago%!(EXTRA string=6 years)
Sean Barrett
130f28df68
update readme
ago%!(EXTRA string=6 years)
Sean Barrett
1b2fa11055
stb_vorbis: bump version number
ago%!(EXTRA string=6 years)
Sean Barrett
98fdfc6df8
Fix seven bugs discovered and fixed by ForAllSecure:
...
CVE-2019-13217: heap buffer overflow in start_decoder()
CVE-2019-13218: stack buffer overflow in compute_codewords()
CVE-2019-13219: uninitialized memory in vorbis_decode_packet_rest()
CVE-2019-13220: out-of-range read in draw_line()
CVE-2019-13221: issue with large 1D codebooks in lookup1_values()
CVE-2019-13222: unchecked NULL returned by get_window()
CVE-2019-13223: division by zero in predict_point()
ago%!(EXTRA string=6 years)