From 4e691f5917140f9dc6d01974a8195cd8b2edc823 Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Thu, 12 Nov 2015 06:12:06 -0800 Subject: [PATCH 1/3] Update other_libs.md --- docs/other_libs.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/other_libs.md b/docs/other_libs.md index 96651bd..49ad9b2 100644 --- a/docs/other_libs.md +++ b/docs/other_libs.md @@ -52,6 +52,7 @@ this! But you might like them anyway: - **2D** [noc_turtle](https://github.com/guillaumechereau/noc): procedural graphics generator (public domain) - **geometry** [Tomas Akenine-Moller snippets](http://fileadmin.cs.lth.se/cs/Personal/Tomas_Akenine-Moller/code/): various 3D intersection calculations, not lib-ified (public domain) - **geometry** [Clipper](http://www.angusj.com/delphi/clipper.php): line & polygon clipping & offsetting (Boost license) +- _**geometry** [PolyPartition](https://github.com/ivanfratric/polypartition): polygon triangulation, partitioning (MIT license)_ - **network** [yocto](https://github.com/tom-seddon/yhs): non-production-use http server (public domain) - **network** [happyhttp](http://scumways.com/happyhttp/happyhttp.html): http client requests (zlib license) - **network** [mongoose](https://github.com/cesanta/mongoose): http server (GPL v2) From 5809508de3329c992d4d8dea03a8be7e1a0d0f35 Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Thu, 12 Nov 2015 06:12:24 -0800 Subject: [PATCH 2/3] Update other_libs.md --- docs/other_libs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/other_libs.md b/docs/other_libs.md index 49ad9b2..a5c944c 100644 --- a/docs/other_libs.md +++ b/docs/other_libs.md @@ -17,7 +17,7 @@ free to tell me about their quality.) _Newest additions are in italics._ - **strings** [utf8](https://github.com/sheredom/utf8.h): utf8 string library (public domain) - **misc** [MakeID.h](http://www.humus.name/3D/MakeID.h): allocate/deallocate small integer IDs efficiently (public domain) - **misc** [gb_string.h](https://github.com/gingerBill/gb): dynamic strings for C (public domain) -- _**misc** [loguru](https://github.com/emilk/loguru): flexible logging for C++ (public domain) +- _**misc** [loguru](https://github.com/emilk/loguru): flexible logging for C++ (public domain)_ - _**hardware** [EasyTab](https://github.com/ApoorvaJ/EasyTab): multi-platform tablet input (public domain)_ Not public domain: From 4337345c5ddd636bcdee65439e5a9f4451114e88 Mon Sep 17 00:00:00 2001 From: baldurk Date: Sat, 14 Nov 2015 13:14:26 +0100 Subject: [PATCH 3/3] Prevent HDR info function from trashing stbi context by over-reading --- stb_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_image.h b/stb_image.h index 0a9de39..a91952b 100644 --- a/stb_image.h +++ b/stb_image.h @@ -6017,7 +6017,7 @@ static int stbi__hdr_info(stbi__context *s, int *x, int *y, int *comp) char *token; int valid = 0; - if (strcmp(stbi__hdr_gettoken(s,buffer), "#?RADIANCE") != 0) { + if (stbi__hdr_test(s) == 0) { stbi__rewind( s ); return 0; }