Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | changed LZ4_calloc() to a 2-arguments signature | Yann Collet | 2020-11-09 | 3 | -3/+5 |
| | | | | | | to remain similar to stdlib's calloc(). Updated test to use c++ compiler for stricter signature check. | ||||
* | fix fullbench's LZ4_free() | Yann Collet | 2020-11-09 | 1 | -1/+1 |
| | |||||
* | fix travis test | Yann Collet | 2020-11-09 | 1 | -1/+1 |
| | |||||
* | Merge branch 'dev' into customMem | Yann Collet | 2020-11-09 | 4 | -19/+63 |
|\ | |||||
| * | Merge pull request #944 from lz4/fix874 | Yann Collet | 2020-11-09 | 1 | -1/+1 |
| |\ | | | | | | | fix #874 | ||||
| | * | fix #874 | Yann Collet | 2020-11-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | coverity reported a warning regarding a memcpy() overwrite. This is a false positive (the memory area is large enough), but it's true that it's not trivial to determine (encompassing struct), and it's proper anyway to only memcpy() just the right amount of data. | ||||
| * | | Merge pull request #943 from lz4/fullbench_dec | Yann Collet | 2020-11-09 | 1 | -3/+44 |
| |\ \ | | | | | | | | | Added decompression tests in fullbench | ||||
| | * | | fullbench: added LZ4F_decompress_noHint() | Yann Collet | 2020-11-08 | 1 | -0/+35 |
| | | | | |||||
| | * | | added test for LZ4_decompress_safe_withPrefix64k() | Yann Collet | 2020-11-08 | 1 | -3/+9 |
| | |/ | |||||
| * | | Merge pull request #945 from lz4/fix926 | Yann Collet | 2020-11-09 | 3 | -15/+18 |
| |\ \ | | |/ | |/| | fixed remaining ubsan warnings | ||||
| | * | attempt at silencing cppcheck | Yann Collet | 2020-11-09 | 1 | -12/+12 |
| | | | |||||
| | * | fixed remaining ubsan warnings | Yann Collet | 2020-11-09 | 2 | -3/+6 |
| | | | |||||
* | | | first proposal for LZ4_USER_MEMORY_FUNCTIONS | Yann Collet | 2020-11-09 | 6 | -16/+45 |
|/ / | | | | | | | | | | | | | | | | | makes it possible to replace at link time malloc, calloc and free by user-provided functions which must be named LZ4_malloc(), LZ4_calloc() and LZ4_free(). answer #937 | ||||
* | | update obsolete section documentation | Yann Collet | 2020-11-08 | 3 | -38/+54 |
| | | | | | | | | | | and update manuals. fix #712 | ||||
* | | Merge pull request #942 from lz4/fix926 | Yann Collet | 2020-11-08 | 3 | -21/+57 |
|\ \ | |/ | | | fix #926 | ||||
| * | fix minor UBs | Yann Collet | 2020-11-08 | 2 | -3/+5 |
| | | | | | | | | | | - check alignment before casting a pointer - saveDict : don't memmove() on NULL dst | ||||
| * | added similar tests for LZ4_saveDict() | Yann Collet | 2020-11-08 | 1 | -1/+17 |
| | | | | | | | | fast (non-HC) variant | ||||
| * | fix #926 | Yann Collet | 2020-11-08 | 2 | -20/+38 |
|/ | | | | | fix incorrect behavior of LZ4_saveDictHC() when invoked right after initialization. | ||||
* | Merge pull request #941 from lz4/revertinline | Yann Collet | 2020-11-08 | 2 | -20/+20 |
|\ | | | | | Revert "Replace "static" to "LZ4_FORCE_INLINE" for small functions" | ||||
| * | Revert "Replace "static" to "LZ4_FORCE_INLINE" for small functions" | Yann Collet | 2020-11-07 | 2 | -20/+20 |
| | | | | | | | | This reverts commit 0e3933edd435c54cc2e21e38f5d4ba7bf644a24e. | ||||
* | | Merge pull request #940 from lz4/fix935 | Yann Collet | 2020-11-08 | 2 | -3/+4 |
|\ \ | |/ |/| | fix #935 | ||||
| * | fix #935 | Yann Collet | 2020-11-07 | 2 | -3/+4 |
|/ | | | | | | | minor: identical declaration and prototypes of `LZ4HC_compress_optimal()` also : very minor optimization of `LZ4_memcpy_using_offset()` | ||||
* | Merge pull request #939 from lz4/fix927 | Yann Collet | 2020-11-07 | 3 | -7/+10 |
|\ | | | | | LZ4F_decompress requires a valid dctx state | ||||
| * | LZ4F_decompress requires a valid dctx state | Yann Collet | 2020-11-07 | 3 | -7/+10 |
|/ | | | | | This is now explicitly documented and asserted. fix #927 | ||||
* | Merge pull request #936 from lz4/alignTest | Yann Collet | 2020-11-07 | 8 | -143/+155 |
|\ | | | | | More alignment tests | ||||
| * | static state size | Yann Collet | 2020-11-07 | 2 | -4/+4 |
| | | | | | | | | for better inter-version compatibility | ||||
| * | re-enable alignment test on all targets | Yann Collet | 2020-11-07 | 3 | -17/+10 |
| | | |||||
| * | unified internal state declaration | Yann Collet | 2020-11-07 | 2 | -74/+41 |
| | | | | | | | | align on `void*` instead : there is no `long long` inside the structure | ||||
| * | document LZ4_ALIGN_TEST | Yann Collet | 2020-11-06 | 1 | -0/+3 |
| | | |||||
| * | unified alignment test | Yann Collet | 2020-11-06 | 3 | -55/+76 |
| | | | | | | | | across lz4.c and lz4hc.c | ||||
| * | fix minor explicit cast | Yann Collet | 2020-10-31 | 1 | -1/+1 |
| | | |||||
| * | reduce new test stack usage | Yann Collet | 2020-10-03 | 1 | -10/+12 |
| | | | | | | | | use heap instead | ||||
| * | Appveyor: added compilation and runtime fuzzer tests | Yann Collet | 2020-10-03 | 1 | -3/+9 |
| | | | | | | | | to all Windows compiler targets | ||||
| * | preserver alignment test on Visual Studio x64 | Yann Collet | 2020-10-02 | 1 | -16/+19 |
| | | | | | | | | | | this it works fine in this environment (only x86 is suspicious) | ||||
| * | fixed x32 test on Travis | Yann Collet | 2020-10-02 | 1 | -5/+2 |
| | | |||||
| * | fix cppcheck unused variable warning | Yann Collet | 2020-10-02 | 1 | -0/+1 |
| | | |||||
| * | added LZ4_streamHC_t init test | Yann Collet | 2020-10-02 | 1 | -2/+21 |
| | | | | | | | | which includes an alignment test | ||||
* | | Merge pull request #938 from terrelln/fuzzer-fix | Yann Collet | 2020-11-06 | 1 | -7/+7 |
|\ \ | | | | | | | [ossfuzz] Fix parallel builds | ||||
| * | | [ossfuzz] Fix parallel builds | Nick Terrell | 2020-11-05 | 1 | -7/+7 |
|/ / | | | | | | | | | | | With `make -j` multiple builds of `standaloneengine.o` happened in parallel. Fix this by detecting `standaloneengine.o` and moving it to a depedency. | ||||
* | | Merge pull request #930 from remittor-pr/fix_msvc | Yann Collet | 2020-10-31 | 2 | -38/+38 |
|\ \ | | | | | | | Fix: The "inline" specifier do not use for LZ4_wildCopy8 and LZ4_wildCopy32 | ||||
| * | | Replace "static" to "LZ4_FORCE_INLINE" for small functions | remittor | 2020-10-07 | 2 | -20/+20 |
| | | | | | | | | | | | | The "static" specifier does not guarantee that the function will be inlined. | ||||
| * | | Replace define LZ4_FORCE_O2_INLINE_GCC_PPC64LE to LZ4_FORCE_INLINE | remittor | 2020-10-07 | 1 | -18/+18 |
| | | | | | | | | | | | | There is no reason to separate these two definitions! | ||||
| * | | Fix: The "inline" specifier do not use for LZ4_wildCopy8 and LZ4_wildCopy32 | remittor | 2020-10-06 | 1 | -1/+1 |
| |/ | | | | | | | This problem was reproduced on MSVC 2015 (32-bit). Both functions were called using the operator "call". | ||||
* | | Merge pull request #928 from remittor-pr/human_redable | Yann Collet | 2020-10-06 | 1 | -23/+30 |
|\ \ | |/ |/| | Made function LZ4HC_encodeSequence a human readable | ||||
| * | [lz4hc] Made function LZ4HC_encodeSequence a human readable | remittor | 2020-10-03 | 1 | -23/+30 |
|/ | |||||
* | Merge pull request #925 from lz4/test_null | Yann Collet | 2020-10-02 | 3 | -37/+62 |
|\ | | | | | add LZ4F_decompress() tests with (NULL,0) input and output | ||||
| * | define sentinelTest | Yann Collet | 2020-10-02 | 1 | -2/+3 |
| | | | | | | | | to help scan-build detect the condition | ||||
| * | make it possible to select SCANBUILD binary on command line | Yann Collet | 2020-10-02 | 2 | -2/+4 |
| | | |||||
| * | add LZ4F_decompress() tests with (NULL,0) input and output | Yann Collet | 2020-10-02 | 2 | -33/+55 |
|/ | | | | fix one (rare & complex) issue discovered by this test | ||||
* | Merge pull request #924 from lz4/safixes | Yann Collet | 2020-10-01 | 11 | -86/+98 |
|\ | | | | | fix minor static analyzer warnings |