Sean Barrett
ddccc72c5b
stb_image_write: optimize other PNG loops besides previous merge
2019-02-07 08:13:56 -08:00
Sean Barrett
d27796b585
Merge branch 'stb_image_write_optimization' of https://github.com/jarnoh/stb into working
2019-02-07 08:11:38 -08:00
Sean Barrett
619cdb6a3b
stb_sprintf: fix 32 vs 64-bit sizes for format widts j/z/t
2019-02-07 07:53:28 -08:00
Sean Barrett
6e7e5c5787
Merge branch 'fix-unaligned' of https://github.com/stefano-zanotti-88/stb into working
2019-02-07 07:41:53 -08:00
Sean Barrett
694b61fcb1
stb_image: remove non-ASCII character from credits
2019-02-07 07:39:46 -08:00
Sean Barrett
0aa5984b6a
Merge branch 'remove-assert' of https://github.com/rombankzero/stb into working
2019-02-07 07:39:03 -08:00
Sean Barrett
f9d9a419a9
Merge branch 'optimize_stbi__ldr_to_hdr' of https://github.com/technik/stb into working
2019-02-07 07:33:00 -08:00
Sean Barrett
db691f0c69
Merge branch 'fix_1bit_bmp' of https://github.com/plzombie/stb into working
2019-02-07 07:30:39 -08:00
Sean Barrett
5428c40870
Merge branch 'textedit-undo_char_position_type' of https://github.com/ocornut/stb into working
2019-02-07 07:28:41 -08:00
Sean Barrett
9bb4bc1db4
Merge branch 'patch-1' of https://github.com/sherjilozair/stb into working
2019-02-07 07:27:42 -08:00
Sean Barrett
79a7719c37
stb_image: fix d1252e1bb9
for building in C
2019-02-07 07:20:58 -08:00
Sean Barrett
7056eae4ae
Merge branch 'issue-609' of https://github.com/dp304/stb into working
2019-02-07 07:19:18 -08:00
Sean Barrett
d1252e1bb9
Merge branch 'master' of https://github.com/ab-cpp/stb into working
2019-02-07 07:17:05 -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
aa223d9693
Merge branch 'patch-1' of https://github.com/mastensg/stb into working
2019-02-07 07:00:59 -08:00
Sean Barrett
ba5fc494b4
Merge branch 'master' of https://github.com/WARP-LAB/stb into working
2019-02-07 06:58:18 -08:00
Sean Barrett
e5d4d6fcce
stb_image; optimize row computation in PR
2019-02-07 06:58:00 -08:00
Sean Barrett
b2bde485a2
Merge branch 'stbiw-fix-jpeg-flipping' of https://github.com/DanielGibson/stb into working
2019-02-07 06:48:44 -08:00
Sean Barrett
09998eb596
Merge branch 'truetype-comment' of https://github.com/ocornut/stb into working
2019-02-07 06:05:47 -08:00
Sean Barrett
ff1eb8b8d4
Merge branch 'fix_stbi_write_hdr_core' of https://github.com/poppolopoppo/stb into working
2019-02-07 06:03:48 -08:00
Sean Barrett
94f93a86e7
Merge branch 'truetype-warnings' of https://github.com/ocornut/stb into working
2019-02-07 06:02:51 -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
ae773aa438
Merge branch 'unicode-file-support' of https://github.com/jrsmith17/stb into temp
2019-02-07 05:07:14 -08:00
Sean Barrett
841c8b0f55
Merge branch 'rectpack-warnings' of https://github.com/ocornut/stb into working
2019-02-07 05:01:35 -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
cc53512cb9
added integer seed to noise function, use it in multi-octave noises
2019-02-07 04:59:05 -08:00
Sean Barrett
ca980dd2dc
Merge branch 'perlin' of https://github.com/Auburns/stb into working
2019-02-07 04:54:14 -08:00
Sean Barrett
a28a6b126b
tests: 64-bit fixes, fix typo in image tests
2019-02-07 04:42:32 -08:00
Sean Barrett
27460c23a6
stb_truetype: allow getting font metrics without explicitly opening file
2019-02-07 04:41:26 -08:00
Sean Barrett
9f1ef73e96
stb_sprintf: minor reformatting
2019-02-07 04:40:32 -08:00
Sean Barrett
061422f580
fix non-fastpath BMP pixels with bit 31 set when asserts are on
2019-02-07 04:39:51 -08:00
Sean Barrett
d85e594654
various fixes:
...
add stb_intcmprev
add stb_uidict
fixes to stb__dirtree_scandir
change rand functions from unsigned long to unsigned int so they're 32-bit on Linux as well
2019-02-07 04:33:18 -08:00
Andrew Beatty
eee50c079d
Update to STB conventions
2019-02-07 07:30:42 -05:00
NuklearBomb
d156642036
Silence warning 'tc' may be used uninitialized in this function
2019-01-29 01:43:31 -05:00
Andrew Beatty
ccc4b3716a
fix compiler warnings and const error
2019-01-22 19:31:46 -05:00
root
eccee04e5a
stb_sprintf: fix integer size for %ld
2018-11-09 22:49:33 +08:00
Clownacy
610a976b83
Removed redundant check
2018-11-02 00:20:31 +00:00
Clownacy
3e6370720e
Fixed STB_LEAKCHECK_SHOWALL
...
5a5cf7f9ba
derped
2018-11-02 00:14:22 +00:00
Clownacy
359bb10d3c
Try to clean up stblkck_internal_print a little
...
No need to pass all those parameters. Also long longs aren't 8 digits
long. I don't know how to find out the length of a size_t at
compile-time in a way I can use with a format specifier.
2018-11-01 23:55:07 +00:00
Clownacy
79dc50bb79
...Actually, I don't think these are meant to be here
...
Looking at 501812f307
, the entire point
was to *replace* these lines. That explains why they lacked braces
earlier.
2018-11-01 23:49:17 +00:00
Clownacy
f7d9426f8e
Add a way to use %zd on MinGW(-w64)
...
This is suggested here:
https://sourceforge.net/p/mingw-w64/wiki2/gnu%20printf/
Compared to using __USE_MINGW_ANSI_STDIO, this prevents those annoying
warning about "unsupported" format specifiers.
2018-11-01 23:25:47 +00:00
Clownacy
248604ffbc
Shut up GCC -pedantic warnings
2018-10-18 13:29:55 +01:00
Clownacy
80b89cf6c8
Fixes for stb_leakcheck.h
...
I ran into a couple of problems while trying to use this with my
program:
My compiler (MinGW-w64 GCC 8.2.0) complained about not recognising %lld
format specifiers.
The compiler also warned about non-guarding 'if's. I ignored it at
first, but then I noticed my program crashed when it ran
stb_leakcheck_dumpmem. Making the 'if's guard fixed that.
After that, the lib worked until I changed how it was included: instead
of tacking a debug-only #include at the start of every file, I switched
to using GCC's '-include' option to force-include it in every file. But
doing that gave me errors about size_t not being defined. And after
fixing that, I instead got errors about the #defines messing with
stdlib.h. So to fix those I made the declaration-only part of the header
include stdlib.h.
2018-10-12 12:04:49 +01:00
jarnoh
60a5755478
use simple memcpy if png filter=0
2018-07-27 10:25:17 +03:00
jarnoh
7a02732eb3
allow STBIW_CRC32 override default crc32
2018-07-27 10:24:55 +03:00
Stefano Zanotti
05b45da629
stb_sprintf: fix unaligned access
...
Fix an unaligned 32-bit access even if STB_SPRINTF_NOUNALIGNED was defined.
2018-06-27 10:37:00 +02:00
rombankzero
f65ed67e89
stb_rect_pack: Remove always-true assert
2018-06-21 16:51:30 +03:00
Mikhail Morozov
5d90a8375a
stb_image: fix 1-bit bmp
2018-06-08 07:29:00 +03:00
Carmelo Fernandez Aguera
e64d4f89eb
Added myself to the list of contributors.
2018-06-07 17:10:00 +01:00
Carmelo Fernandez Aguera
f1f077b272
Break a for loop into two parts and get an if out of the loop.
2018-06-07 16:18:23 +01:00