-
-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit and, by extension, PR attempts to update `stb` in the most straightforward way possible as well as include fixes from main repo's unmerged PRs for cases rearing their ugly heads during everyday usage: - stb#1299: stb_rect_pack: Make rect_height_compare a stable sort - stb#1402: stb_image: Fix "unused invalid_chunk" with STBI_FAILURE_USERMSG - stb#1404: stb_image: Fix gif two_back memory address - stb#1420: stb_image: Improve error reporting if file operations fail within *_from_file functions - stb#1445: stb_vorbis: Few static analyzers fixes - stb#1487: stb_vorbis: Fix residue classdata bounding for f->temp_memory_required - stb#1490: stb_vorbis: Fix broken clamp in codebook_decode_deinterleave_repeat - stb#1496: stb_image: Fix pnm only build - stb#1497: stb_image: Fix memory leaks if stbi__convert failed - stb#1498: stb_vorbis: Fix memory leaks in stb_vorbis - stb#1499: stb_vorbis: Minor change to prevent the undefined behavior - left shift of a negative value - stb#1500: stb_vorbis: Fix signed integer overflow Includes additional small fixes that I felt didn't warrant a separate PR. Signed-off-by: mataha <[email protected]>
- Loading branch information
Showing
20 changed files
with
1,439 additions
and
1,107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,19 +5,34 @@ LOCAL CHANGES | |
- Removed undefined behavior | ||
- Removed BMP [endian code made it 100x slower than PNG/JPEG] | ||
- Removed PIC [never heard of it] | ||
- Removed TGA [consider imaagemagick convert command] | ||
- Removed PSD [consider imaagemagick convert command] | ||
- Removed TGA [consider imagemagick convert command] | ||
- Removed PSD [consider imagemagick convert command] | ||
- Removed HDR [mine eyes and wikipedia agree stb gamma math is off] | ||
- Patched PNG loading edge case | ||
- Fixed code C standard says is undefined | ||
- PNG now uses ultra-fast Chromium zlib w/ CLMUL crc32 | ||
- Removed unnecessary ifdefs | ||
- Removed MSVC torture code | ||
|
||
SYNCHRONIZATION POINT | ||
SYNCHRONIZATION POINT (`--date=format:"%a %b %d %H:%M:%S %Y %z"`) | ||
|
||
commit f67165c2bb2af3060ecae7d20d6f731173485ad0 | ||
Author: Sean Barrett <[email protected]> | ||
Date: Mon Oct 28 09:30:02 2019 -0700 | ||
commit 5736b15f7ea0ffb08dd38af21067c314d6a3aae9 | ||
Author: Sean Barrett <[email protected]> | ||
Date: Sun Jan 29 10:46:04 2023 -0800 | ||
|
||
Update README.md | ||
re-add perlin noise again | ||
|
||
ADDITIONAL CHANGES/FIXES: | ||
|
||
- https://github.com/nothings/stb/pull/1299 | ||
- https://github.com/nothings/stb/pull/1402 | ||
- https://github.com/nothings/stb/pull/1404 | ||
- https://github.com/nothings/stb/pull/1420 | ||
- https://github.com/nothings/stb/pull/1445 | ||
- https://github.com/nothings/stb/pull/1487 | ||
- https://github.com/nothings/stb/pull/1490 | ||
- https://github.com/nothings/stb/pull/1496 | ||
- https://github.com/nothings/stb/pull/1497 | ||
- https://github.com/nothings/stb/pull/1498 | ||
- https://github.com/nothings/stb/pull/1499 | ||
- https://github.com/nothings/stb/pull/1500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.