Commit Graph

1567 Commits (master)

Author SHA1 Message Date
Sean Barrett 76ec599c68 stb_truetype - remove duplicate definition 2018-01-29 05:03:38 -08:00
Sean Barrett ee0ebfc79b version numbers 2018-01-29 04:59:32 -08:00
Sean Barrett 5db03ef592 Merge branch 'master' into working
Conflicts:
	stb_image.h
2018-01-29 04:04:28 -08:00
Sean Barrett 094cb31ec8 stb_image: compile as C; stb_image_write: credits 2018-01-29 04:03:18 -08:00
Sean Barrett faf08e0018 Merge branch 'stb_image_write_mscrt_errors' of https://github.com/xeekworx/stb 2018-01-29 04:01:29 -08:00
Sean Barrett 4254a9f237 stb_truetype credits 2018-01-29 03:59:48 -08:00
Sean Barrett 8732cff6c4 Merge branch 'winding-lengths-warning' of https://github.com/RobLoach/stb 2018-01-29 03:59:17 -08:00
Sean Barrett da4a7a1d6f Merge branch 'patch-2' of https://github.com/wojdyr/stb 2018-01-29 03:51:23 -08:00
Sean Barrett ae00f3a5f0 stb_image credits 2018-01-29 03:50:42 -08:00
Sean Barrett 1b9689cf77 Merge branch 'feature/gif_frames' of https://github.com/tocchan/stb 2018-01-29 03:50:03 -08:00
Sean Barrett f9d78c05a9 stb_image credits 2018-01-29 03:49:53 -08:00
Sean Barrett edf35ad14c Merge branch 'master' of https://github.com/jlnr/stb 2018-01-29 03:43:08 -08:00
Sean Barrett 0bd0d049e7 stb_image docs 2018-01-29 03:42:34 -08:00
Sean Barrett ead2b3fe2c Merge branch 'stbi_is_16' of https://github.com/anael-seghezzi/stb 2018-01-29 03:38:04 -08:00
Sean Barrett 501e29b245 stb_truetype.h docs 2018-01-29 03:36:23 -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 0b81a54354 Merge branch 'cff-type2-fixes' of https://github.com/dougallj/stb 2018-01-29 03:29:01 -08:00
Sean Barrett 72ef9dcbad fix fall-through case warning, add credit 2018-01-29 03:27:58 -08:00
Sean Barrett 8cc624142b credits 2018-01-29 03:25:02 -08:00
Sean Barrett 82f1929de5 Merge branch 'patch-1' of https://github.com/darealshinji/stb 2018-01-29 03:23:53 -08:00
Sean Barrett da4b342213 credits 2018-01-29 03:23:45 -08:00
Sean Barrett ab4fb5c38a Merge branch '1bit_bmp' of https://github.com/plzombie/stb 2018-01-29 03:22:12 -08:00
Sean Barrett b0383facf8 Merge branch 'master' of https://github.com/lieff/stb 2018-01-29 03:20:21 -08:00
Sean Barrett 41cd8bb527 Merge branch 'patch-1' of https://github.com/twoscomplement/stb 2018-01-29 03:19:34 -08:00
Sean Barrett 5f1a73fe4e credits, tests 2018-01-29 03:18:40 -08:00
Sean Barrett 9eb0e72950 Merge branch 'must_make_clang_happy_as_clam' of https://github.com/croepha/stb 2018-01-29 03:17:50 -08:00
Sean Barrett e5946524d7 Merge branch 'patch-1' of https://github.com/wojdyr/stb 2018-01-29 03:15:17 -08:00
Sean Barrett 3d7b4251f9 Merge branch 'png-ext-write' of https://github.com/akx/stb
Conflicts:
	stb_image_write.h
2018-01-29 03:14:31 -08:00
Sean Barrett b48101c971 Merge branch 'update_stbi_jpg_dcoumentation' of https://github.com/Benjins/stb 2018-01-29 02:57:46 -08:00
Sean Barrett f541fa1710 Merge branch 'valgrind-fix' of https://github.com/rohit-n/stb 2018-01-29 02:56:43 -08:00
Sean Barrett 35a3bf41e8 Integrate ZLIB changed from Daniel Gibson, fixup credits 2018-01-29 02:55:56 -08:00
Sean Barrett 9de22e5a70 Merge branch 'stbiw-png-compr' of https://github.com/DanielGibson/stb 2018-01-29 02:53:25 -08:00
Sean Barrett 39241e4928 update version number 2018-01-29 02:53:14 -08:00
Sean Barrett b056850ea9 stb_image_write can flip images vertically 2018-01-29 02:52:49 -08:00
Sean Barrett e371bd83f2 Merge branch 'sb_cpluscplus' of https://github.com/ZenToad/stb 2018-01-29 02:47:36 -08:00
Sean Barrett 593c9b7192 rewrite stbi__shiftsigned to use a different, faster algorithm
to avoid probelm with clang -O2 to outputting buggy code
2018-01-29 02:30:34 -08:00
Sean Barrett 68f857727c add stb_ucharcmp to stb.h 2018-01-29 02:24:05 -08:00
Sean Barrett 244d83bc3d fix unchecked length in stb_vorbis that could crash on corrupt/invalid files 2018-01-29 02:23:18 -08:00
John Tullos 76d9e05b2f Merge branch 'stb_image_write_mscrt_errors' of https://github.com/xeekworx/stb into stb_image_write_mscrt_errors 2018-01-01 19:02:00 -06:00
John Tullos 841862a622 Fixed grammar, spelling issues in comments
issue #533
2018-01-01 18:59:06 -06:00
John Tullos eb17d8a6dd Fixed grammar, spelling issues in comments 2018-01-01 18:56:36 -06:00
John Tullos 32a7d5ab68 Added STBI_MSC_SECURE_CRT to support newer MSVC compilers as optional
For issue #533
2018-01-01 18:54:26 -06:00
John Tullos 5e844ffe70 Using secure versions of CRT calls to avoid Microsoft Visual C/C++ compiler errors/warnings. 2018-01-01 18:08:30 -06:00
Rob Loach 5c2c826df9
stb_truetype: Silence warnings of winding_lengths
Coverty scan shows potential warnings of winding_lengths. Forcing it to be a NULL fixes the issue.
2017-12-24 13:59:30 -05:00
Marcin Wojdyr 3a969eb64c
remove duplicated `pr = 0`
avoid warning:
Variable 'pr' is reassigned a value before the old one has been used
caused by:

    fw = pr = fl = 0;
    ...
    pr = 0;
2017-12-07 15:30:43 +00:00
Chris Forseth de75509b1c Remove a nullptr 2017-11-27 23:42:13 -06:00
Chris Forseth 03b4bbc5d2 Fix a disposal flag mistype.
Only clear to background color if index is non-zero.
Fixed a the disposal test gif I was using - now renders properly (gif has no transparent set, but all renderers still considered it transparent.  Spec says 0 should be ignored if 0, but was confusing by saying it only in the context of the pal not existing.. but seems to be the case always.
2017-11-27 23:32:44 -06:00
Chris Forseth 28c28b0bd2 Per the contributor doc - added my name. Noticed urraka also did some work here, so hopefully didn't step on any toes.
- Fix an issue where the spec of the gif for restore to previous uses code 3, not 4.
- To get results that worked - made an assumption that "clear to background" meant "revert back to what was there before I drew", where mode 1 would revert back to the previous frame [slightly different].  If I clear to background color instead, I ended up with large opaque squares in gifs that changes their transparent colour each frame.
- Background color is supposed to be used only for pixels not rendered by the image, so took that to mean it only really affected the previous frame, or potentially any frame that used full disposal.  Since background color is allowed to be unspecified this is what lead me to believe I shouldn't use it for disposal.
- Oh, also upped the codes table to 8192 as 4096 ended up being too small for a few of my test cases.

Full disclaimer - I only read through the GIF format for this contribution, so competly could be misinterpreting the spec - but this gave me reuslts that matched Chrome.
2017-11-27 23:06:53 -06:00