summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* new test program : roundTripTestYann Collet2018-09-043-1/+208
| | | | | | | | make a round trip test with arbitrary input file, generate an `abort()` on error, to work in tandem with `afl`. note : currently locked on level 9, to investigate #560.
* Merge pull request #553 from mrjoel/mrjoel/cmake-optional-lz4cYann Collet2018-08-091-4/+10
|\ | | | | Add CMake option to not build legacy lz4c program
| * Add CMake option to not build legacy lz4c programJoel Johnson2018-08-091-4/+10
|/
* Merge pull request #552 from jackluo923/devYann Collet2018-07-302-2/+2
|\ | | | | fixed spelling mistake in lz4_manual and lz4.h
| * fixed spelling mistake in lz4.hJack Luo2018-07-291-1/+1
| |
| * fixed spelling mistake in lz4_manualJack Luo2018-07-291-1/+1
|/
* Merge pull request #547 from jennifermliu/devYann Collet2018-07-175-4/+56
|\ | | | | Add --fast command to cli
| * Fixed bugs about incorrect acceleration calculation and benchmarking ↵Jennifer Liu2018-06-273-5/+7
| | | | | | | | negative compresion level
| * Fixed invalid argument test and reformatted elseJennifer Liu2018-06-272-4/+3
| |
| * Fixed code based on comments from pull requestJennifer Liu2018-06-273-6/+14
| |
| * Removed duplicated circile.yml fileJennifer Liu2018-06-261-39/+0
| |
| * Fixed lz4 not found error part 2Jennifer Liu2018-06-261-3/+3
| |
| * Fixed lz4 not found errorJennifer Liu2018-06-261-3/+3
| |
| * delete commented out code in bench.cJennifer Liu2018-06-261-2/+0
| |
| * fix yml fileJennifer Liu2018-06-261-0/+0
| |
| * Fixed bug about file to be compressed is not presentJennifer Liu2018-06-262-17/+42
| |
| * Added --fast command to cliJennifer Liu2018-06-264-2/+48
| |
| * set up sample .ysmlJennifer Liu2018-06-201-0/+13
| |
* | Merge pull request #550 from terrelln/compress-docYann Collet2018-07-161-1/+1
|\ \ | |/ |/| Fix LZ4_compress_fast_continue() docs
| * Fix LZ4_compress_fast_continue() docsNick Terrell2018-07-101-1/+1
|/ | | | Fixes #549.
* Merge pull request #543 from nrgiii/aix_32bit_fuzzerYann Collet2018-06-011-1/+5
|\ | | | | Aix 32bit fuzzer
| * Merge branch 'master' of https://github.com/nrgiii/lz4 into aix_32bit_fuzzerNorm Green2018-06-010-0/+0
| |\
| | * Merge pull request #531 from lz4/devv1.8.2Yann Collet2018-05-0750-1985/+5037
| | |\ | | | | | | | | Preparing v1.8.2
| * | | Fix AIX 32 bit build problem of fuzzer.cNorm Green2018-06-011-1/+5
|/ / /
* | | Merge pull request #542 from wbx-github/devYann Collet2018-05-291-3/+4
|\ \ \ | | | | | | | | allow to override uname when cross-compiling
| * | | allow to override uname when cross-compilingWaldemar Brodkorb2018-05-221-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | When cross-compiling for example from Darwin to Linux it might be useful to override uname output to force Linux and create Linux libraries instead of Darwin libraries.
* | | | Merge pull request #541 from felixhandte/hc-extern-cYann Collet2018-05-226-9/+61
|\ \ \ \ | |/ / / |/| | | Add `extern "C"` Guard Around Experimental HC Declarations
| * | | Also Fix Appveyor Cast WarningW. Felix Handte2018-05-221-1/+1
| | | |
| * | | Add `extern "C"` Guards Around Experimental HC DeclarationsW. Felix Handte2018-05-221-0/+8
| | | |
| * | | Remove #define-rename of `LZ4_decompress_safe_forceExtDict`W. Felix Handte2018-05-221-8/+8
| | | |
| * | | Test Linking C-Compiled Library and C++-Compiled TestsW. Felix Handte2018-05-225-1/+45
|/ / /
* | | Merge pull request #540 from fbrosson/HaikuYann Collet2018-05-174-4/+4
|\ \ \ | |_|/ |/| | Add Haiku as a validated target.
| * | Add Haiku as a validated target.fbrosson2018-05-174-4/+4
|/ / | | | | | | lz4 1.8.2 works fine on Haiku and passes all tests.
* | Merge pull request #537 from lz4/xpHCmf2Yann Collet2018-05-071-48/+81
|\ \ | | | | | | Speed optimization for optimal parser
| * | renamed variable for clarityYann Collet2018-05-071-12/+12
| | |
| * | fixed minor conversion warningYann Collet2018-05-071-1/+2
| | |
| * | small PA optimizationYann Collet2018-05-061-11/+18
| | | | | | | | | | | | | | | which measurably improves speed on levels 9+
| * | lz4hc: fixed PA / SC parameter orderYann Collet2018-05-051-5/+5
| | | | | | | | | | | | | | | | | | also : reserved PA for levels 9+ (instead of 8+). In most cases, speed is lower, and compression benefit is not worth.
| * | lz4hc: SC only enabled for opt parserYann Collet2018-05-051-7/+7
| | | | | | | | | | | | | | | the trade off is not good for regular HC parser : compression is a little bit better, but speed cost is too large in comparison.
| * | fixed SC.opt integration with regular HC parserYann Collet2018-05-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Only enabled when searching forward. note : it slighly improves compression ratio, but measurably decreases speed. Trade-off to analyse.
| * | lz4hc: fixed performance issueYann Collet2018-05-051-114/+20
| | | | | | | | | | | | when combining both PA and CS optimizations
| * | integrated chain swapper into HC match finderYann Collet2018-05-051-45/+76
| | | | | | | | | | | | | | | | | | | | | slower than expected Pattern analyzer and Chain Swapper work slower when both activated. Reasons unclear.
| * | implemented search acceleratorYann Collet2018-05-031-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | greatly improves speed compared to non-accelerated, especially for slower files. On my laptop, -b12 : ``` calgary.tar : 4.3 MB/s => 9.0 MB/s enwik7 : 10.2 MB/s => 13.3 MB/s silesia.tar : 4.0 MB/s => 8.7 MB/s ``` Note : this is the simplified version, without handling dictionaries, external buffer, nor pattern analyzer. Current `dev` branch on these samples gives : ``` calgary.tar : 4.2 MB/s enwik7 : 9.7 MB/s silesia.tar : 3.5 MB/s ``` interestingly, it's slower, presumably due to handling of dictionaries.
| * | created LZ4HC_FindLongestMatch()Yann Collet2018-05-031-16/+88
| | | | | | | | | | | | | | | | | | simplified match finder only searching forward and within current buffer, for easier testing of optimizations.
* | | Merge pull request #538 from lz4/frameTestErrorYann Collet2018-05-073-5/+26
|\ \ \ | | | | | | | | Fix frametest error
| * | | small extDict : fixed side-effectYann Collet2018-05-063-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | don't fix dictionaries of size 0. setting dictEnd == source triggers prefix mode, thus removing possibility to use CDict.
| * | | fixed frametest errorYann Collet2018-05-063-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #536 from terrelln/make-installYann Collet2018-05-044-67/+93
|\ \ \ \ | |/ / / |/| | | Fix make install
| * | | Attempt to fix travisNick Terrell2018-05-042-2/+4
| | | |
| * | | Fix make installNick Terrell2018-05-044-67/+91
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | * Uninstall didn't remove the pkg-config correctly. * Fix `mandir` * Allow overriding either upper- or lower-case location variables, but always use the lower case variables. * Add test case that ensures overriding both upper- and lower-case variables is the same, and that the directory is empty after uninstall.