Commit Graph

249 Commits (03611a369e1a1d8c9241104f83d2e39419059484)

Author SHA1 Message Date
Sean Barrett 83a2489d5b fix compilation on non-C99 compilers 2017-03-03 09:22:07 -08:00
Sean Barrett 7ef6ac1b35 added redundant pg_test.c just in case 2017-01-29 18:16:38 -08:00
Sean Barrett 84e2fc0a9e makefile 2017-01-16 03:01:40 -08:00
Sean Barrett 1dd1b6c191 makefile 2017-01-16 02:53:36 -08:00
Sean Barrett c09f1eebe7 makefile 2017-01-16 02:47:27 -08:00
Sean Barrett 1b7aa1af87 makefile 2017-01-16 02:39:18 -08:00
Sean Barrett d71aea034b makefile 2017-01-16 01:41:23 -08:00
Sean Barrett a235b6cd44 makefile 2017-01-16 01:36:58 -08:00
Sean Barrett cf6d17cd74 makefile 2017-01-16 01:28:11 -08:00
Sean Barrett e29e2bfb12 makefile 2017-01-16 01:22:16 -08:00
Sean Barrett 21913be792 makefile 2017-01-16 01:14:08 -08:00
Sean Barrett fc5668cdac makefile for tests 2017-01-16 01:09:50 -08:00
Sean Barrett 53e4334bf7 Merge pull request #363 from mgerhardy/patch-1
Shouldn't this be 6?
2017-01-02 18:15:16 -05:00
Sean Barrett c9fe5bac48 rename all stb_sprintf identifiers to follow stb conventions 2016-12-05 03:48:37 -08:00
Sean Barrett 0b2c06a7e1 more STB_IMAGE_STATIC fixes 2016-12-04 05:39:35 -08:00
Sean Barrett 7d0099ecc9 fix bug in stb_connected_components adjacency list updating incorrectly handling avoiding adding the same connection twice 2016-10-16 07:58:59 -07:00
Sean Barrett cf51044bc6 update stb_pg project 2016-10-07 08:23:24 -07:00
Martin Gerhardy 4a60c54710 Shouldn't this be 6? 2016-09-30 10:13:05 +02:00
Sean Barrett 25b1f563d1 stbcc 0.94 2016-04-17 09:16:26 -07:00
Sean Barrett 51393c0a7a remove dead code after previous optimizations 2016-04-17 08:45:06 -07:00
Sean Barrett d1eba33305 fix bug w/ large clumps per cluster;
reduce time spent on global union-find by skipping clumps that don't touch edges
2016-04-17 08:12:52 -07:00
Sean Barrett ad55a9b383 version 0.93
assign surplus adjacency storage only to clumps that touch edge
document timings and memory usage
2016-04-16 14:05:40 -07:00
Sean Barrett 667f79589a forgot to include stb_connected_components test source file 2016-04-16 12:58:37 -07:00
Sean Barrett e585dad291 change map image formats to workaround stb_image bug 2016-04-16 11:21:59 -07:00
Sean Barrett 0214a3c71f untested simple batching;
document algorithm;
automatically use sqrt(N) instead of 32 as cluster size
2016-04-16 10:04:03 -07:00
Sean Barrett 1392344cdd include stb_connected_components.h in main stb compile tests, add test app 2016-04-16 09:14:39 -07:00
Sean Barrett cbc1e7c897 Merge branch 'test' into working 2016-04-02 02:13:41 -07:00
Sean Barrett 4ff6723a6d make resample_test work in VC6 2016-04-02 02:13:20 -07:00
Sean Barrett 50479cb07c stb_image: allow jpegs that are rgb not YCrCb 2016-03-26 15:46:59 -07:00
Jorge Rodriguez ff862a2a46 Merge https://github.com/nothings/stb 2016-02-09 19:37:07 -08:00
Sean Barrett 9c8762a156 update other_libs.md 2016-01-23 08:44:27 -08:00
Sean Barrett 820f63be44 stb_tilemap_editor: fix typo in docuemtnation, update version & credits 2016-01-22 05:17:12 -08:00
Sean Barrett 0860860af6 avoid __forceinline in mingw since their definition for C is broken;
dummy definitions for malloc et al (note you have to modify source to make this work though anyway);
tweak credits change;
2016-01-16 07:19:27 -08:00
Jorge Rodriguez 831b2d2fa6 Fix a merge gone wrong, add some more test cases. 2015-11-10 13:41:53 -08:00
Jorge Rodriguez a1ef3a1060 Fix the calculation of the input image shift when using subpixel regions 2015-11-10 11:25:59 -08:00
Sean Barrett 2b57ea95da fixed version of removed support for CODEBOOK_SHORTS 2015-11-08 19:16:25 -08:00
Sean Barrett bc2219e1b3 fix multiple crashes on invalid files 2015-11-08 16:22:07 -08:00
Sean Barrett ea88e59b5d fix invalid handling of truncated end-of-file indicator 2015-11-08 13:45:33 -08:00
Sean Barrett 69a318bdb3 fix two invalid-file crashes found by fuzz testing 2015-11-08 13:20:55 -08:00
Sean Barrett 2073403a5f fix two setup crashes found by fuzz testing 2015-11-08 13:09:30 -08:00
Sean Barrett 297ff62859 change bmp info to use common header parser 2015-11-08 13:09:16 -08:00
Sean Barrett 876aea3dbe refactor bmp header parser for sharing with stbi_info 2015-11-08 01:22:30 -08:00
Sean Barrett 93b2b82996 get rid of unused return value from write callback 2015-09-14 05:57:42 -07:00
Sean Barrett b4477803cb fix public function names;
fix internal names to be namspaced properly;
2015-09-14 05:48:24 -07:00
Sean Barrett ff116a4fe8 allow font ranges with first_char = 0;
fix divide by 0 for exactly-vertical edges;
fix possible divide by 0 for exactly-horizontal edges
add documentation for stbtt_Rasterize;
2015-09-13 11:42:54 -07:00
Sean Barrett d5b8af12cb fix missing "defined" in #if defined(STBI_NO_foo);
fix incorrect initialization of alpha channel for RGB PSD
2015-09-13 11:08:40 -07:00
Sean Barrett 023ff3ffd2 Merge pull request #140 from ocornut/stb-wingraph-static
stb_wingraph.h: missing lib pragmas for completeness
2015-09-13 07:01:02 -07:00
Sean Barrett 33c9010223 update version & version history 2015-09-13 05:51:16 -07:00
Sean Barrett 90dc93a1cc fix bug where we couldn't rewind a file that reached EOF, which can happen with < 92-byte PIC,PNM,HDR,TGA 2015-09-13 05:41:21 -07:00
Sean Barrett a3d62dfec1 fix a few crash bugs with invalid stb_vorbis files (reported by Philip Bennefall, found using a fuzz tester) 2015-09-03 11:16:19 -07:00