Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | address a few minor Visual warnings | Yann Collet | 2019-04-18 | 1 | -3/+4 |
| | | | | and created target cxx17build | ||||
* | fix several minor static analyzer warnings | Yann Collet | 2019-04-18 | 1 | -6/+8 |
| | |||||
* | added a fake initialization to please an analyzer | Yann Collet | 2019-04-15 | 1 | -1/+1 |
| | | | | | which is unable to understand that the variable is necessarily initialized in spite of an assert just before. | ||||
* | added more margin for canary in frametest | Yann Collet | 2019-04-15 | 1 | -5/+4 |
| | |||||
* | frametest: removed uninitialized warning | Yann Collet | 2019-04-15 | 1 | -17/+26 |
| | | | | was a false positive, but better remove it anyway | ||||
* | assert() the failed test | Yann Collet | 2019-04-15 | 1 | -0/+1 |
| | | | | ensure canary remains within buffer limits | ||||
* | fixed frametest | Yann Collet | 2019-04-15 | 1 | -10/+14 |
| | | | | | | One test could write a canary value out of bound in exceptional conditions involving multiple flushes triggered by -s3421 -t462948. | ||||
* | made LZ4F_getHeaderSize() public | Yann Collet | 2019-04-10 | 1 | -3/+8 |
| | |||||
* | fuzzer: fixed strict c99 with mmap+MAP_ANONYMOUS | Yann Collet | 2019-04-05 | 1 | -5/+4 |
| | |||||
* | Fix C90 compatibility issue | Tim Zakian | 2019-01-09 | 1 | -1/+2 |
| | |||||
* | Make LZ4F_getBlockSize public and publis in experimental section | Tim Zakian | 2019-01-09 | 1 | -0/+22 |
| | |||||
* | clang: Fix -Wcomma | Lzu Tao | 2018-12-02 | 1 | -1/+1 |
| | |||||
* | added a test for LZ4F_compressEnd() | Yann Collet | 2018-10-09 | 1 | -2/+12 |
| | | | | | | | | | | | | | | | which actively tries to make it write out of bound. For this scenario to be possible, it's necessary to set dstCapacity < LZ4F_compressBound() When a compression operation fails, the CCtx context is left in an undefined state, therefore compression cannot resume. As a consequence : - round trip tests must be aborted, since there is nothing valid to decompress - most users avoid this situation, by ensuring that dstCapacity >= LZ4F_compressBound() For these reasons, this use case was poorly tested up to now. | ||||
* | tried to clean another bunch of cppcheck warnings | Yann Collet | 2018-09-19 | 1 | -5/+6 |
| | | | | | | | | | | | | so "funny" thing with cppcheck is that no 2 versions give the same list of warnings. On Mac, I'm using v1.81, which had all warnings fixed. On Travis CI, it's v1.61, and it complains about a dozen more/different things. On Linux, it's v1.72, and it finds a completely different list of a half dozen warnings. Some of these seems to be bugs/limitations in cppcheck itself. The TravisCI version v1.61 seems unable to understand %zu correctly, and seems to assume it means %u. | ||||
* | added cppcheck | Yann Collet | 2018-09-18 | 1 | -2/+2 |
| | | | | | | as Makefile target and Travis CI test. Fixed last cppcheck warnings in tests and examples | ||||
* | small extDict : fixed side-effect | Yann Collet | 2018-05-06 | 1 | -0/+1 |
| | | | | | | don't fix dictionaries of size 0. setting dictEnd == source triggers prefix mode, thus removing possibility to use CDict. | ||||
* | fixed frametest error | Yann Collet | 2018-05-06 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | The error can be reproduced using following command : ./frametest -v -i100000000 -s1659 -t31096808 It's actually a bug in the stream LZ4 API, when starting a new stream and providing a first chunk to complete with size < MINMATCH. In which case, the chunk becomes a dictionary. No hash was generated and stored, but the chunk is accessible as default position 0 points to dictStart, and position 0 is still within MAX_DISTANCE. Then, next attempt to read 32-bits from position 0 fails. The issue would have been mitigated by starting from index 64 KB, effectively eliminating position 0 as too far away. The proper fix is to eliminate such "dictionary" as too small. Which is what this patch does. | ||||
* | Multiply-Include Header to Check Guard Macro Correctness | W. Felix Handte | 2018-04-24 | 1 | -0/+3 |
| | |||||
* | Change Over Includes in the Project | W. Felix Handte | 2018-04-24 | 1 | -1/+2 |
| | |||||
* | Make LZ4F_compressFrame_usingCDict Take a Compression Context | W. Felix Handte | 2018-03-12 | 1 | -8/+11 |
| | |||||
* | Add Bounds Check to locateBuffDiff | W. Felix Handte | 2018-03-12 | 1 | -3/+5 |
| | |||||
* | restored block checksum capability at lz4frame API level | Yann Collet | 2017-08-12 | 1 | -2/+26 |
| | |||||
* | implemented lz4frame decompression API | Yann Collet | 2017-08-10 | 1 | -3/+64 |
| | |||||
* | support dictionary compression with independent blocks | Yann Collet | 2017-08-10 | 1 | -0/+30 |
| | |||||
* | dictionary compression correctly uses compression level | Yann Collet | 2017-08-10 | 1 | -0/+24 |
| | | | | Not obvious : copying the state was copying cdict's compression level | ||||
* | implemented dictionary compression in lz4frame | Yann Collet | 2017-08-09 | 1 | -1/+27 |
| | | | | | note : only compression API is implemented and tested still to do : decompression API | ||||
* | added dictID inside LZ4F_frameInfo_t | Yann Collet | 2017-08-09 | 1 | -85/+76 |
| | | | | | Compressor can set dictID on LZ4F_compressBegin() Decompressor can retrieve it using LZ4F_getFrameInfo() | ||||
* | fix (minor) g++ compatibility for frametest | Yann Collet | 2017-05-11 | 1 | -1/+1 |
| | |||||
* | added test for LZ4F_resetDecompressionContext() | Yann Collet | 2017-05-10 | 1 | -16/+29 |
| | |||||
* | fixed c_standards tests | Yann Collet | 2017-05-10 | 1 | -1/+2 |
| | | | | and added entry "make list" | ||||
* | lz4frame : Added negative compression levels | Yann Collet | 2017-04-09 | 1 | -1/+11 |
| | |||||
* | added LZ4F_resetDecompressionContext() | Yann Collet | 2017-03-29 | 1 | -22/+22 |
| | |||||
* | Safer LZ4_getFrameInfo() | Yann Collet | 2017-03-29 | 1 | -9/+17 |
| | | | | | LZ4_getFrameInfo() is now guaranteed to keep dctx state clean, even in case of failure. | ||||
* | Merge pull request #292 from inikep/dev | Yann Collet | 2016-12-22 | 1 | -22/+4 |
|\ | | | | | improved POSIX | ||||
| * | util.h and platform.h based on zstd | Przemyslaw Skibinski | 2016-12-21 | 1 | -1/+1 |
| | | |||||
| * | improved MinGW support | Przemyslaw Skibinski | 2016-12-21 | 1 | -3/+3 |
| | | |||||
| * | executables use basic types from util.h | Przemyslaw Skibinski | 2016-12-21 | 1 | -20/+2 |
| | | |||||
* | | LZ4F_compressBound(0) provides upper bound for LZ4F_flush() and ↵ | Yann Collet | 2016-12-21 | 1 | -0/+7 |
|/ | | | | LZ4F_compressEnd() [#290, suggested by @vtermanis] | ||||
* | fixed conversion warnings | Yann Collet | 2016-11-14 | 1 | -14/+12 |
| | |||||
* | updated frametest | Yann Collet | 2016-11-11 | 1 | -136/+161 |
| | |||||
* | updated links to LZ4 repository | Przemyslaw Skibinski | 2016-11-03 | 1 | -1/+1 |
| | |||||
* | test programs moved to tests/ | Przemyslaw Skibinski | 2016-11-03 | 1 | -0/+866 |