Commit Graph

304 Commits

Author SHA1 Message Date
Sean Barrett
828e6cfdf7 update test 2020-02-05 04:31:55 -08:00
Sean Barrett
2805fe39ab Merge branch 'fix_ub_shift' of https://github.com/wojdyr/stb into working 2020-02-05 03:15:56 -08:00
Sean Barrett
f06f586d18 sprintf warnings 2020-02-05 03:10:07 -08:00
Marcin Wojdyr
3366d1e797 stb_sprintf: avoid left shift of negative value
fix undefined behaviour reported by UBSan:
  runtime error: left shift of negative value -9223372036854775808
and add a test case.

fixes #800
2020-02-03 20:17:03 +01:00
Sean Barrett
50dc48013b test stb_include.h 2020-02-02 11:12:27 -08:00
Sean Barrett
c046a25fd7 Merge branch 'fuzz' of https://github.com/randy408/stb into work2 2020-02-02 08:00:39 -08:00
Sean Barrett
81b4fd7342 test_sprintf: clean up for MSVC6 & integration to codebase 2020-02-02 07:37:20 -08:00
Sean Barrett
3223673e86 Merge branch 'test_sprintf' of https://github.com/wojdyr/stb into work2 2020-02-02 07:21:45 -08:00
Sean Barrett
57de42c23f disable broken tilemap editor build 2020-02-02 07:06:27 -08:00
Sean Barrett
4a7a434c2d various tests and infrastructure fixes 2020-02-01 04:21:41 -08:00
Sean Barrett
c7343d4263 more Travis fixing 2019-08-11 16:45:14 -07:00
Sean Barrett
897c33133f more travis testing 2019-08-11 16:42:27 -07:00
Sean Barrett
5037e236ed try to work around Travis old GCC errors 2019-08-11 15:55:39 -07:00
Sean Barrett
787f1d646a Update version numbers 2019-08-11 05:38:37 -07:00
Sean Barrett
b26a31072d test.sbm: tweak tests so all pass 2019-08-11 05:17:42 -07:00
Sean Barrett
846d15c102 image_test: tweak testing to open image in more modes 2019-08-11 04:58:48 -07:00
Sean Barrett
bd8d9a88bc test.sbm: add clang compilation 2019-08-11 04:57:39 -07:00
Randy
0637408284 fuzz: fix error handling 2019-03-12 00:59:20 +01:00
Randy
af516b99ff fuzz: remove some chunk identifiers from stb_png.dict
these chunks are not parsed
2019-03-12 00:14:16 +01:00
Randy
cd797f8116 add fuzz target, dictionary, iphone png's 2019-03-11 23:56:45 +01:00
Sean Barrett
a0b521fcf2 no warnings when compiling /W3
compiling all test cases and compilers in test.sbm
   Compilers:
     32-bit:
       VS2015
       VS2013
       VS2008
       VC6 (1998)
       clang-cl 9.0.1
     64-bit
       VS2015
       clang-cl 9.0.1
2019-03-04 14:45:06 -08:00
Sean Barrett
96b4748d57 update test_ds.c 2019-03-03 21:40:18 -08:00
Sean Barrett
30496e22d7 add new test files 2019-03-03 21:39:46 -08:00
Sean Barrett
72990efc3e test updates for test_ds unit testing 2019-02-25 13:49:37 -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
5715e6faaf Makefile: update how to build image_write_test 2019-02-24 04:37:37 -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
e0ee0de26c tests: Add simple image_write_test smoke test 2019-02-23 05:18:14 -08:00
Sean Barrett
f11f1e801a stb_sprintf: credits 2019-02-07 09:23:01 -08:00
Sean Barrett
476c1f89a2 stb_image_write: fix the previous fix (incorrectly labelled as stb_image) 2019-02-07 07:01:23 -08:00
Sean Barrett
f82dbd638c windows unicode: don't malloc buffers, add explicit STBI_WINDOWS_UTF8 #define 2019-02-07 05:55:03 -08:00
Sean Barrett
3005bcfe87 Merge branch 'misc-typos' of https://github.com/luzpaz/stb into working 2019-02-07 05:00:12 -08:00
Sean Barrett
a28a6b126b tests: 64-bit fixes, fix typo in image tests 2019-02-07 04:42:32 -08:00
Marcin Wojdyr
e0a0328b43 add tests to tests/test_sprintf.c 2018-04-29 16:50:25 +01:00
Sean Barrett
e5254a7fde whoops, makefile for travis was no longer testing most libraries compiling 2018-04-27 04:47:03 -07:00
luz.paz
622b3adad3 Misc. comment typos
Found via `codespell -q 3`
2018-02-12 14:54:22 -05:00
Sean Barrett
aeb2b4b64d tweak handling of STBIWDEF 2018-02-11 11:19:45 -08:00
Sean Barrett
a6796aee40 test stb_lib 2018-01-31 10:46:31 -08:00
Sean Barrett
6ba21df503 update dsp with new compile tests 2018-01-30 17:33:17 -08:00
Sean Barrett
40f43afe56 tweak tests 2018-01-30 05:40:17 -08:00
Sean Barrett
085ba4b627 add compilation tests that have no other includes to avoid accidental dependencies 2018-01-30 05:31:18 -08:00
Sean Barrett
3ac351f39d break out stb_lib.h 2018-01-30 05:16:47 -08:00
Sean Barrett
06fedddb4d fix stb_dxt.h; fix misspelled STB_DXT_IMPLEMENTATION in test jig 2018-01-30 02:56:16 -08:00
Sean Barrett
5db03ef592 Merge branch 'master' into working
Conflicts:
	stb_image.h
2018-01-29 04:04:28 -08:00
Sean Barrett
986a5eeeb1 fix stb_truetype test file 2018-01-29 03:35:03 -08:00
Sean Barrett
0b8b3f2876 Merge branch 'stb_truetype_fixes_20171104' of https://github.com/kphillisjr/stb 2018-01-29 03:32:11 -08:00
Sean Barrett
f22857495b Merge branch 'compile' of https://github.com/alculquicondor/stb 2018-01-29 03:29:59 -08:00
Sean Barrett
5f1a73fe4e credits, tests 2018-01-29 03:18:40 -08:00
Kenney Phillis Jr
5182622b14 tests: fix test_trutype.c on msvc 2015
This is 3 short fixes for the file test_truetype.c.

1. Fix the Visual Studio Secure CRT Errors by defining
 _CRT_SECURE_NO_WARNINGS

2. Fix signed/unsigned Character conversion warning/error.

3. Fix the Definitions for the Image packer.
This now works as intended generating usable png files.
2017-11-04 03:28:03 -05:00