Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-30 | fixed MSVC build warnings for plain C too | Martin Fiedler | |
2023-11-29 | fixed MSVC warnings | Martin Fiedler | |
23 warnings for 64-bit builds, 3 warnings for 32-bit builds | |||
2023-04-10 | optimize CRC32, and path for some compilers (helps for clang on modern x86 CPU) | Lode | |
2022-11-08 | fix error checking in pngdetail binary utility | Lode | |
2022-07-18 | fix a few possible empty vector accesses (C++11 not yet used for now), and ↵ | Lode | |
cleanup a few other unneeded [0]'s | |||
2022-06-19 | document NO_COMPILE macros better, and cleanups | Lode | |
2022-06-18 | small fixes | Lode | |
2022-06-18 | Merge pull request #168 from vitalybuka/master | Lode Vandevenne | |
Continue early to avoid uninitialized value | |||
2022-06-17 | Continue early to avoid uninitialized value | Vitaly Buka | |
If l == 0 we don't need to load symbol and call reverseBits. However if we do, symbol is uninitialized and function call with uninitialized argument and behavior is undefined. | |||
2022-06-17 | Fix undefined behavior found by UBSan fuzzing | Hans Petter Jansson | |
2022-06-13 | sBIT chunk support, and a few improved bounds checks | Lode | |
2022-01-10 | minor decoder speed improvements | Lode | |
2021-06-27 | wide character filename not supported warning and filter optimizations | Lode Vandevenne | |
2020-10-17 | prevent too huge text chunks or icc profiles | Lode | |
2020-05-19 | fix typo | NgaiShunChan | |
2020-05-04 | fix code style | NgaiShunChan | |
2020-04-29 | fix crash when preProcessScanlines allocs failed | NgaiShunChan | |
2020-03-07 | simplify and cleanup more dynamic memory allocations | Lode | |
2020-02-20 | fix potential compiler warning for enum value not handled in switch | Lode | |
2020-02-16 | handle getTreeInflateFixed error, and fix stray memcpy | Lode | |
2020-02-15 | more memory allocation simplifications, and fixes of out of memory handling | Lode | |
2020-02-15 | cleanups and cast fixes | Lode | |
2020-02-12 | fix error handling of failed allocation, and remove unneeded palette realloc | Lode | |
2020-02-12 | fix memory leaks which could occur when returning error after allocations failed | Lode | |
2020-01-12 | handle integer overflow in lodepng_chunk_next and lodepng_chunk_find | Lode | |
Fixes issue https://github.com/lvandeve/lodepng/issues/123 | |||
2019-12-20 | Fix decoding bug in bit reader | Lode | |
This bug could cause a wrong numeric value reading a PNG in the rare case of long huffman symbol for a distance with many extra bits Also add tests for the bit reader | |||
2019-12-08 | make auto_choose_color static since it's only internal | Lode | |
2019-11-18 | fix LODEPNG_RESTRICT for gcc | sezero | |
previously, it ignored any gcc with __GNUC_MINOR__ == 0. | |||
2019-11-12 | Merge pull request #119 from sezero/wcc | Lode Vandevenne | |
do not define LODEPNG_RESTRICT Open Watcom in C++ mode. | |||
2019-11-12 | do not define LODEPNG_RESTRICT Open Watcom in C++ mode. | sezero | |
see https://github.com/open-watcom/open-watcom-v2/issues/551 | |||
2019-11-11 | Fix alloc fail check. | JayXon | |
2019-11-09 | Fix left shift signed overflow | Lode | |
Move the unsigned cast inside to ensure C will not create a singed int when combining an unsigned char with an unsigned int. Also ensure unsigned constants for more left shifts. Fixes issue https://github.com/lvandeve/lodepng/issues/117 | |||
2019-11-08 | remove unnecessary sum arrays | Lode | |
2019-11-08 | Better integer x*log(x) approx for LFS_ENTROPY | Lode | |
Improves the results for issue https://github.com/lvandeve/lodepng/issues/116 | |||
2019-11-07 | Allow palette for gray alpha. | JayXon | |
Gray is only less overhead than palette when there's no alpha channel. | |||
2019-11-07 | length of huffman symbols in secondary table must be > FIRSTBITS | Lode | |
2019-11-06 | Fix support for huffman tree with 0 or 1 symbols | Lode | |
This fixes issue https://github.com/lvandeve/lodepng/issues/114 | |||
2019-10-21 | More palette error checking | Lode | |
Do empty input palette check in lodepng_convert for users of this function. Move the missing PLTE chunk error check to decodeGeneric so it triggers even if color_convert is not requested. Add error for trying to add too many colors to a palette. | |||
2019-10-21 | Move behind variable definitions and add test and error string | Lode | |
2019-10-21 | Fix null pointer derefs decoding paletteized data without PLTE chunk. | Brian Foley | |
2019-09-30 | spelling corrections | Lode | |
2019-09-14 | remove use of float | Lode | |
2019-09-09 | decoder speedups: faster palette to RGB conversion and possible paeth speedup | Lode | |
2019-09-08 | more decoder speedups, 5% faster | Lode | |
2019-09-01 | a few decoder speed optimizations (about 3%) | Lode | |
2019-08-25 | refactorings | Lode | |
2019-08-24 | less allocations in chunk encoding | Lode | |
as suggested in https://github.com/lvandeve/lodepng/pull/97 | |||
2019-08-22 | Return an error when an invalid sized ICC profile is provided. | bobsayshilol | |
Previously this had the potential to return an allocation error if the return value from malloc(0) was NULL, otherwise it would have returned success. The return value of malloc(0) shouldn't cause behavioural differences in a program, and thankfully in this case a zero sized ICC profile is invalid, so return an error about that instead. | |||
2019-08-16 | Merge pull request #104 from sezero/sezero3 | Lode Vandevenne | |
HuffmanTree_cleanup: change initializer of mask to a real constant constant | |||
2019-08-16 | style | Lode | |