Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lz4opt: added hash chain search | Yann Collet | 2017-10-21 | 3 | -24/+63 |
| | |||||
* | switched many types to int | Yann Collet | 2017-10-20 | 1 | -38/+37 |
| | |||||
* | removed SET_PRICE macro | Yann Collet | 2017-10-20 | 1 | -17/+14 |
| | |||||
* | removed one macro usage | Yann Collet | 2017-10-20 | 1 | -4/+11 |
| | |||||
* | minor refactor | Yann Collet | 2017-10-20 | 1 | -28/+35 |
| | | | | | reduce variable scope remove one macro usage | ||||
* | lz4opt: refactor sequence reverse traversal | Yann Collet | 2017-10-20 | 1 | -10/+20 |
| | |||||
* | refactor variable matchnum | Yann Collet | 2017-10-20 | 1 | -14/+14 |
| | | | | | separate initial and iterative search renamed nb_matches | ||||
* | simplified initial cost conditions | Yann Collet | 2017-10-20 | 1 | -10/+15 |
| | | | | llen integrated in opt[] | ||||
* | added assert | Yann Collet | 2017-10-19 | 2 | -1/+9 |
| | |||||
* | renamed last_pos into last_match_pos | Yann Collet | 2017-10-19 | 1 | -15/+15 |
| | |||||
* | simplified early exit when single solution | Yann Collet | 2017-10-19 | 1 | -5/+5 |
| | |||||
* | fused getLongerMatch and getWiderMatch | Yann Collet | 2017-10-09 | 1 | -1/+1 |
| | |||||
* | re-inserted last byte test in widerMatch | Yann Collet | 2017-10-09 | 1 | -19/+22 |
| | |||||
* | early out is not better | Yann Collet | 2017-10-09 | 2 | -2/+1 |
| | |||||
* | optional fuse | Yann Collet | 2017-10-09 | 1 | -68/+53 |
| | |||||
* | improved search of rep-1 patterns | Yann Collet | 2017-10-09 | 1 | -27/+131 |
| | |||||
* | insertAndFindBestMatch defers to insertAndGetWiderMatch | Yann Collet | 2017-10-09 | 1 | -3/+13 |
| | |||||
* | fixed decoding block checksum in lz4frame | Yann Collet | 2017-10-04 | 1 | -4/+3 |
| | |||||
* | fix #404 | Yann Collet | 2017-09-30 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | static analyzer `cppcheck` complains about a shift-by-32 on a 32 bits value, which is an undefined behavior. However, the flagged code path is never triggered in 32-bits mode, (actually, it's not even generated if DCE kicks in), the shift-by-32 is necessarily performed on a 64-bits value. While it doesn't change anything regarding lz4 code generation, for both 32 and 64 bits mode, (can be checked by md5sum on the generated binary), the shift has been rewritten in a way which should please this static analyzer, since it now pretends to shift by 16 on 32-bits cpu (note : it doesn't matter since the code will not even be generated in this case). Note : this is a blind fix, the new code has not been tested with cppcheck, because cppcheck only works on Windows. Other static analyzer, such as scan-build, do not trigger this false positive. | ||||
* | minor lz4frame code refactor | Yann Collet | 2017-09-23 | 1 | -50/+54 |
| | | | | | try to improve code readability. minor optimization on condition to preserve history. | ||||
* | Fix Segfault When Copying Dict | W. Felix Handte | 2017-09-22 | 1 | -0/+1 |
| | | | | dctx must have been initialized before we can copy the dictionary in. | ||||
* | fixed a bunch of -Wcomma warnings | Yann Collet | 2017-09-10 | 1 | -1/+5 |
| | | | | reported by @rvandermeulen (#398) | ||||
* | fix #397 : decompression failed when using a combination of extDict + low ↵ | Yann Collet | 2017-09-07 | 1 | -2/+1 |
| | | | | | | | | memory address Reported and fixed by @jscheid Note : we are missing a test case to include it in the CI | ||||
* | bench : made decompression speed evaluation same time as compression | Yann Collet | 2017-09-07 | 1 | -17/+16 |
| | | | | minor : slightly modified an example do avoid disabling a gcc warning through #pragma | ||||
* | minor Makefile fixes | Yann Collet | 2017-09-07 | 1 | -1/+2 |
| | |||||
* | updated lib/README | Yann Collet | 2017-09-06 | 1 | -28/+28 |
| | | | | clarifications, improved wording | ||||
* | complementary information for #394 | Yann Collet | 2017-08-30 | 1 | -8/+14 |
| | |||||
* | clarified documentation of streaming decompression functions | Yann Collet | 2017-08-30 | 1 | -9/+13 |
| | | | | | (synchronous bufferless mode) answering questions by @jtbandes (#394) | ||||
* | fixed FS-independent file order in /lib | Yann Collet | 2017-08-29 | 1 | -2/+2 |
| | | | | identified by @bmwiedemann | ||||
* | build: source files sorted in a FS independent manner | Yann Collet | 2017-08-26 | 1 | -2/+3 |
| | | | | | to be more compatible with reproducible builds. patch inspired by @bmwiedemann | ||||
* | Don't use C++11 deprecation attribute with clang | Nick Terrell | 2017-08-24 | 1 | -2/+4 |
| | | | | | Clang doesn't accept a C++11 attribute following `LZ4LIB_API`. Use the GNU attribute instead. | ||||
* | FIX: added prefix to FORCE_INLINE to prevent redefinition error during ↵ | tcpan | 2017-08-24 | 4 | -37/+37 |
| | | | | compilation when used with other libraries that define FORCE_INLINE | ||||
* | fix : asan error in dctx, due to increased maximum frame header size, ↵v1.8.0 | Yann Collet | 2017-08-17 | 1 | -3/+3 |
| | | | | reported by Craig Young | ||||
* | Merge branch 'dev' into installVars and fixed conflicts | Yann Collet | 2017-08-15 | 7 | -526/+817 |
|\ | |||||
| * | Merge pull request #383 from lz4/blockChecksum | Yann Collet | 2017-08-15 | 3 | -326/+400 |
| |\ | | | | | | | Block checksum | ||||
| | * | restored block checksum capability at lz4frame API level | Yann Collet | 2017-08-12 | 3 | -326/+400 |
| | | | |||||
| * | | Merge pull request #380 from lz4/dictID | Yann Collet | 2017-08-15 | 7 | -239/+456 |
| |\ \ | | |/ | | | | Frame Dictionary API | ||||
| | * | implemented lz4frame decompression API | Yann Collet | 2017-08-10 | 3 | -64/+72 |
| | | | |||||
| | * | support dictionary compression with independent blocks | Yann Collet | 2017-08-10 | 2 | -62/+83 |
| | | | |||||
| | * | fixed gcc prototype warning | Yann Collet | 2017-08-10 | 1 | -1/+1 |
| | | | |||||
| | * | dictionary compression correctly uses compression level | Yann Collet | 2017-08-10 | 5 | -36/+62 |
| | | | | | | | | | | | | Not obvious : copying the state was copying cdict's compression level | ||||
| | * | fixed C++ conversion warnings | Yann Collet | 2017-08-10 | 1 | -2/+2 |
| | | | |||||
| | * | fixed uninitialization error in lz4frame | Yann Collet | 2017-08-10 | 1 | -4/+5 |
| | | | |||||
| | * | implemented dictionary compression in lz4frame | Yann Collet | 2017-08-09 | 6 | -93/+238 |
| | | | | | | | | | | | | | | | note : only compression API is implemented and tested still to do : decompression API | ||||
| | * | added dictID inside LZ4F_frameInfo_t | Yann Collet | 2017-08-09 | 2 | -15/+31 |
| | | | | | | | | | | | | | | | Compressor can set dictID on LZ4F_compressBegin() Decompressor can retrieve it using LZ4F_getFrameInfo() | ||||
* | | | better respect GNU standard Makefile conventions | Yann Collet | 2017-08-14 | 1 | -17/+23 |
|/ / | | | | | | | | | | | supports lowercase directory variables add an "Installation" section in README.md added an INSTALL file | ||||
* | | Allow to predefine FORCE_INLINE macro. | Alex Deymo | 2017-08-07 | 2 | -20/+32 |
|/ | | | | | | | | | | | FORCE_INLINE macro is defined based on the compiler used. When using gcc, it will include "__attribute__((always_inline))" forcing gcc to always inline all the functions marked as FORCE_INLINE. However, this can cause a performance degradation of about 15%. This patch allows to set the FORCE_INLINE macro from the compiler command line to either "static" or "static inline" giving allowing it to inline functions as needed when performing optimizations. | ||||
* | Fix typos preventing installation of static lib. | Ido Rosen | 2017-08-01 | 1 | -1/+2 |
| | |||||
* | fix #369 | Yann Collet | 2017-06-26 | 2 | -1/+18 |
| | | | | | | | | | | | | | | The bug would make the bt search read one byte in an invalid memory region, and make a branch decision based on its value. Impact was small (missed compression opportunity). It only happens in -BD mode, with extDict-prefix overlapping matches. The bt match search is supposed to work also in extDict mode. In which case, the match ptr can point into Dict. When the match was overlapping Dict<->Prefix, match[matchLength] would end up outside of Dict, in an invalid memory area. The correction ensures that in such a case, match[matchLength] ends up at intended location, inside prefix. | ||||
* | Fix gcc7 Wimplicit-fallthrough warnings | Chocobo1 | 2017-06-19 | 2 | -4/+4 |
| | | | | | For the default Wimplicit-fallthrough=3 level, the comment should start with "fall*" |