Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactored ressource allocation to avoid goto | Yann Collet | 2018-02-01 | 1 | -23/+12 |
| | |||||
* | examples/Makefile : changed dependency order | Yann Collet | 2018-02-01 | 2 | -10/+10 |
| | | | | static library *.a must come after source files *.c on linux | ||||
* | Merge branch 'dev' into frameCompress | Yann Collet | 2018-02-01 | 4 | -47/+42 |
|\ | |||||
| * | travisci : ensure "clean" betweeb 2 tests | Yann Collet | 2018-02-01 | 1 | -1/+1 |
| | | |||||
| * | modified gpptest recipe | Yann Collet | 2018-02-01 | 1 | -11/+8 |
| | | |||||
| * | Merge pull request #459 from Tyilo/clang-stdc++14 | Yann Collet | 2018-02-01 | 2 | -35/+33 |
| |\ | | | | | | | Ensure LZ4_DEPRECATED("...") is before LZ4LIB_API | ||||
| | * | Always prefer c++14 attributes if available | Asger Hautop Drewsen | 2018-01-31 | 1 | -4/+2 |
| | | | |||||
| | * | Ensure LZ4_DEPRECATED("...") is before LZ4LIB_API | Asger Hautop Drewsen | 2018-01-31 | 2 | -31/+31 |
| |/ | | | | | | | | | | | When using clang++ with std c++14 or c++17 you would get the error "an attribute list cannot appear here" when including "lz4.h" as the visibility attribute is before the c++ attribute. This ensures that the [[deprecated]] c++ attribute is before everything else in the function declarations. | ||||
* | | refactored frameCompress.c example code | Yann Collet | 2018-02-01 | 1 | -51/+81 |
| | | | | | | | | | | | | compression function returns a struct. Also : nested structure ressources->computation to make it easier to manage multiple exit points. | ||||
* | | fixed read size, as noticed by @terrelln | Yann Collet | 2018-02-01 | 1 | -1/+1 |
| | | |||||
* | | ensure proper dependencies are built for /examples | Yann Collet | 2018-02-01 | 1 | -19/+25 |
| | | | | | | | | also : use liblz4.a static lib to share compilation time | ||||
* | | refactored frameCompress example | Yann Collet | 2018-01-31 | 6 | -96/+120 |
|/ | | | | to better reflect LZ4F API usage. | ||||
* | Merge pull request #455 from terrelln/hc-default | Yann Collet | 2018-01-22 | 1 | -1/+1 |
|\ | | | | | [lz4hc] level == 0 means default, not level 1 | ||||
| * | [lz4hc] level == 0 means default, not level 1 | Nick Terrell | 2018-01-22 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #453 from lz4/clockfix | Yann Collet | 2018-01-17 | 1 | -1/+8 |
|\ | | | | | fix #450 : use more restrictive conditions for clock_gettime() | ||||
| * | use more restrictive conditions for clock_gettime() | Yann Collet | 2018-01-16 | 1 | -1/+8 |
| | | |||||
* | | Merge pull request #454 from sunpoet/dev | Yann Collet | 2018-01-17 | 1 | -2/+2 |
|\ \ | |/ |/| | Change file format back to ASCII (from UTF-8) | ||||
| * | Change file format back to ASCII (from UTF-8) | Po-Chuan Hsieh | 2018-01-17 | 1 | -2/+2 |
|/ | | | | | | | - Replace U+00A0 by space - Fix build failure of archivers/py-borgbackup in FreeBSD Reference: https://bugs.FreeBSD.org/225235 | ||||
* | added checkTag | Yann Collet | 2018-01-15 | 4 | -1/+92 |
| | | | | | checkTag verifies that provided tag and library version match. It's started automatically in circleCI when a new tag is created. | ||||
* | restored .travisv1.8.1.2 | Yann Collet | 2018-01-14 | 2 | -25/+148 |
| | |||||
* | lz4frame : removed some intermediate stage from LZ4F_decompress() | Yann Collet | 2018-01-14 | 1 | -16/+6 |
| | | | | | ensure some strange jump cases are not possible (they were already not possible, but static analyzer couldn't understand it). | ||||
* | Merge branch 'dev' into coverity_scan | Yann Collet | 2018-01-14 | 4 | -40/+47 |
|\ | |||||
| * | minor : try to tell static analyzer that we don't care if fseek() fails | Yann Collet | 2018-01-14 | 1 | -1/+1 |
| | | | | | | | | as already explained in comments. | ||||
| * | ensure a ptr is non-null | Yann Collet | 2018-01-14 | 1 | -0/+9 |
| | | | | | | | | | | with an assert() to help static analyzer understanding this condition. | ||||
| * | modified formulation for LZ4F_compressBound() | Yann Collet | 2018-01-14 | 2 | -24/+24 |
| | | | | | | | | | | | | previous version used an intentional overflow, which is defined since it uses unsigned type, but static analyzer complain about it. | ||||
| * | programs/datagen : attempt to please static analyzer | Yann Collet | 2018-01-14 | 1 | -15/+12 |
| | | | | | | | | | | with an assert() to reduce false positive | ||||
| * | lz4io: fixed minor ressource leak | Yann Collet | 2018-01-14 | 1 | -0/+1 |
| | | |||||
* | | revert project name | Yann Collet | 2018-01-14 | 1 | -1/+1 |
| | | |||||
* | | minor name update | Yann Collet | 2018-01-14 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into coverity_scan | Yann Collet | 2018-01-14 | 65 | -3150/+5623 |
|\ \ | |||||
| * \ | Merge pull request #449 from lz4/dev | Yann Collet | 2018-01-14 | 7 | -30/+43 |
| |\ \ | | |/ | | | | v1.8.1.2 | ||||
| | * | update man page | Yann Collet | 2018-01-14 | 1 | -1/+4 |
| | | | |||||
| | * | nicer console message for `make clean` | Yann Collet | 2018-01-14 | 3 | -15/+20 |
| | | | |||||
| | * | updated manuals to v1.8.1 | Yann Collet | 2018-01-14 | 1 | -2/+2 |
| | | | |||||
| | * | Merge pull request #448 from sunpoet/dev | Yann Collet | 2018-01-14 | 1 | -1/+1 |
| | |\ | | | | | | | | | Fix lz4 version | ||||
| | | * | Fix lz4 version | Po-Chuan Hsieh | 2018-01-13 | 1 | -1/+1 |
| | |/ | |||||
| | * | updated LZ4F_decompress() documentation | Yann Collet | 2018-01-13 | 1 | -11/+16 |
| | | | |||||
| * | | Merge pull request #446 from lz4/dev | Yann Collet | 2018-01-13 | 47 | -1267/+1620 |
| |\ \ | | |/ | | | | LZ4 v1.8.1 | ||||
| | * | updated NEWS for v1.8.1v1.8.1 | Yann Collet | 2018-01-12 | 1 | -1/+4 |
| | | | |||||
| | * | Merge pull request #442 from terrelln/441 | Yann Collet | 2018-01-10 | 2 | -8/+18 |
| | |\ | | | | | | | | | [lz4io] Fix decompression file stat with --rm | ||||
| | | * | [lz4io] Refuse to set file stat for non-regular files | Nick Terrell | 2018-01-05 | 1 | -0/+6 |
| | | | | |||||
| | | * | [lz4io] Fix decompression file stat with --rm | Nick Terrell | 2018-01-05 | 1 | -8/+12 |
| | | | | |||||
| | * | | Merge pull request #443 from terrelln/440 | Yann Collet | 2018-01-10 | 1 | -2/+4 |
| | |\ \ | | | | | | | | | | | [lz4f] Skip memcpy() on empty dictionary | ||||
| | | * | | [lz4f] Skip memcpy() on empty dictionary | Nick Terrell | 2018-01-05 | 1 | -2/+4 |
| | | |/ | |||||
| | * | | Merge pull request #444 from felixhandte/publish-static-functions | Yann Collet | 2018-01-10 | 1 | -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 Objects | W. Felix Handte | 2018-01-08 | 1 | -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/pattern | Yann Collet | 2018-01-06 | 2 | -8/+17 |
| | |\ \ | | | | | | | | | | | conditional pattern analysis | ||||
| | | * | | conditional pattern analysis | Yann Collet | 2017-12-22 | 2 | -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/destSize | Yann Collet | 2018-01-06 | 4 | -63/+91 |
| | |\ \ \ | | | |_|/ | | |/| | | lz4opt is now compatible with _destSize variant | ||||
| | | * | | object files in /tests | Yann Collet | 2017-12-27 | 1 | -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. |