summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lz4io: fixed minor ressource leakYann Collet2018-01-141-0/+1
|
* update man pageYann Collet2018-01-141-1/+4
|
* nicer console message for `make clean`Yann Collet2018-01-143-15/+20
|
* updated manuals to v1.8.1Yann Collet2018-01-141-2/+2
|
* Merge pull request #448 from sunpoet/devYann Collet2018-01-141-1/+1
|\ | | | | Fix lz4 version
| * Fix lz4 versionPo-Chuan Hsieh2018-01-131-1/+1
|/
* updated LZ4F_decompress() documentationYann Collet2018-01-131-11/+16
|
* updated NEWS for v1.8.1v1.8.1Yann Collet2018-01-121-1/+4
|
* Merge pull request #442 from terrelln/441Yann Collet2018-01-102-8/+18
|\ | | | | [lz4io] Fix decompression file stat with --rm
| * [lz4io] Refuse to set file stat for non-regular filesNick Terrell2018-01-051-0/+6
| |
| * [lz4io] Fix decompression file stat with --rmNick Terrell2018-01-051-8/+12
| |
* | Merge pull request #443 from terrelln/440Yann Collet2018-01-101-2/+4
|\ \ | | | | | | [lz4f] Skip memcpy() on empty dictionary
| * | [lz4f] Skip memcpy() on empty dictionaryNick Terrell2018-01-051-2/+4
| |/
* | Merge pull request #444 from felixhandte/publish-static-functionsYann Collet2018-01-101-16/+27
|\ \ | | | | | | Add Option to Make lz4frame_static.h Functions Visible in Shared Objects
| * | Add Option to Make lz4frame_static.h Functions Visible in Shared ObjectsW. Felix Handte2018-01-081-16/+27
|/ / | | | | | | | | | | | | | | | | | | In some contexts, *cough*like at facebook*cough*, dynamic linking is used in contexts which aren't truly dynamic. That is, the guarantee is maintained that a program will only ever execute against the library version it was compiled to interact with. For those situations, introduce a compile-time flag that overrides hiding these unstable APIs in shared objects.
* | Merge pull request #434 from lz4/patternYann Collet2018-01-062-8/+17
|\ \ | | | | | | conditional pattern analysis
| * | conditional pattern analysisYann Collet2017-12-222-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pattern analysis (currently limited to long ranges of identical bytes) is actually detrimental to performance when `nbSearches` is low. Reason is : `nbSearches` provides a built-in protection for these cases. The problem with patterns is that they dramatically increase the number of candidates to visit. But with a low nbSearches, the match finder just aborts early. In such cases, pattern analysis adds some complexity without reducing total nb of candidates. It actually increases compression ratio a little bit, by filtering only "good" candidates, but at a measurable speed cost, so it's not a good trade-off. This patch makes pattern analysis optional. It's enabled for levels 8+ only.
* | | Merge pull request #435 from lz4/destSizeYann Collet2018-01-064-63/+91
|\ \ \ | |_|/ |/| | lz4opt is now compatible with _destSize variant
| * | object files in /testsYann Collet2017-12-271-5/+10
| | | | | | | | | | | | | | | | | | object files created from /tests are compiled with specific flags (`-g -DLZ4_DEBUG=1`) which are not welcomed in release binary. `lib/*.o` files created from /tests are now stored in /tests, to avoid unintentional mix.
| * | lz4opt supports _destSizeYann Collet2017-12-223-33/+57
| | | | | | | | | | | | no longer limited to level 9
| * | /tests programs compiled with LZ4_DEBUG=1Yann Collet2017-12-222-25/+24
| |/ | | | | | | to enable assert() within /lib
* | Merge pull request #439 from eli-b/doc-nohup-behaviorYann Collet2018-01-011-0/+3
|\ \ | | | | | | Docs: describe behavior under nohup
| * | Docs: describe behavior under nohupEli Boyarski2018-01-011-0/+3
| |/
* | Merge pull request #438 from eli-b/grammar-fixYann Collet2018-01-012-2/+2
|\ \ | |/ |/| Grammar: "to silent" -> "to silence"
| * Grammar: "to silent" -> "to silence"Eli Boyarski2018-01-012-2/+2
|/
* Merge pull request #431 from lz4/newoptYann Collet2017-12-212-15/+39
|\ | | | | new level 10
| * new level 10Yann Collet2017-12-202-15/+39
|/ | | | | | | | | | | | lz4opt is only competitive vs lz4hc level 10. Below that level, it doesn't match the speed / compression effectiveness of regular hc parser. This patch propose to extend lz4opt to levels 10-12. The new level 10 tend to compress a bit better and a bit faster than previous one (mileage vary depending on file) The only downside is that `limitedDestSize` mode is now limited to max level 9 (vs 10), since it's only compatible with regular HC parser. (Note : I suspect it's possible to convert lz4opt to support it too, but haven't spent time into it).
* Merge pull request #427 from lz4/registerLessYann Collet2017-12-151-13/+13
|\ | | | | remove `register` keyword
| * remove `register` keywordYann Collet2017-12-051-13/+13
| | | | | | | | | | deprecated in newer C++ versions, and dubious utility
* | Merge pull request #424 from MaxRis/msbuild-properties-#423Yann Collet2017-12-119-17/+49
|\ \ | |/ |/| Msbuild properties #423
| * EnableWholeProgramOptimization and UseStaticCRT msbuild custom propertiesMax Risuhin2017-12-119-17/+49
|/
* Merge pull request #426 from aliceatlas/cli_chmod_fixYann Collet2017-12-041-1/+1
|\ | | | | Fix cli sometimes calling UTIL_setFileStat on /dev/null
| * Fix bug which could sometimes result in the lz4 cli chmodding /dev/null if ↵Alice Atlas2017-12-041-1/+1
|/ | | | running as root
* minor updates to examplesYann Collet2017-11-258-66/+67
| | | | see https://github.com/lz4/lz4/commit/810e2ca27b3561e0f6bfa7a88e0fde6faf807064#commitcomment-25810887
* API : changed a few variables' names for clarityYann Collet2017-11-202-87/+87
| | | | | updated relevant doc. This patch has no impact on ABI/API, nor on binary generation.
* updated NEWSYann Collet2017-11-131-1/+6
|
* Merge pull request #416 from lz4/newoptYann Collet2017-11-097-397/+421
|\ | | | | Improve Optimal parser
| * added code commentsYann Collet2017-11-091-1/+6
| |
| * added constant TRAILING_LITERALSYann Collet2017-11-091-5/+6
| | | | | | | | | | which is more explicit than its value `3`. reported by @terrelln
| * lz4opt: simplified match finder invocation to LZ4HC_FindLongerMatch()Yann Collet2017-11-092-21/+12
| |
| * added code commentsYann Collet2017-11-081-5/+8
| |
| * fixed LZ4HC_reverseCountPattern()Yann Collet2017-11-081-6/+5
| | | | | | | | | | for multi-bytes patterns (which is not useful for the time being)
| * removed the ip++ at the beginning of blockYann Collet2017-11-082-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The first byte used to be skipped to avoid a infinite self-comparison. This is no longer necessary, since init() ensures that index starts at 64K. The first byte is also useless to search when each block is independent, but it's no longer the case when blocks are linked. Removing the first-byte-skip saves about 10 bytes / MB on files compressed with -BD4 (linked blocks 64Kb), which feels correct as each MB has 16 blocks of 64KB.
| * removed legacy version of LZ4HC_InsertAndFindBestMatch()Yann Collet2017-11-071-53/+1
| |
| * ensure `pattern` is a 1-byte repetitionYann Collet2017-11-071-1/+2
| |
| * removed useless `(1 && ...)` conditionYann Collet2017-11-071-3/+4
| | | | | | | | as reported by @terrelln
| * improved LZ4HC_reverseCountPattern() :Yann Collet2017-11-071-3/+7
| | | | | | | | | | works for any repetitive pattern of length 1, 2 or 4 (but not 3!) works for any endianess
| * fixed LZ4HC_countPattern()Yann Collet2017-11-071-5/+19
| | | | | | | | | | | | | | - works with byte values other than `0` - works for any repetitive pattern of length 1, 2 or 4 (but not 3!) - works for little and big endian systems - preserve speed of previous implementation
| * fixed minor static analyzer warningYann Collet2017-11-031-1/+0
| | | | | | | | dead assignment
| * minor comment editYann Collet2017-11-033-33/+29
| |