Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #740 from terrelln/fix2 | Yann Collet | 2019-06-29 | 1 | -2/+8 |
|\ | | | | | Fix out-of-bounds read | ||||
| * | Fix out-of-bounds read of up to 64 KB in the past | Nick Terrell | 2019-06-28 | 1 | -2/+8 |
|/ | |||||
* | Merge pull request #735 from lz4/versionOut | Yann Collet | 2019-06-25 | 1 | -2/+3 |
|\ | | | | | fix #734 : --version should output to stdout | ||||
| * | fix #734 : --version should output to stdout | Yann Collet | 2019-06-24 | 1 | -2/+3 |
|/ | | | | instead of stderr | ||||
* | update simple_buffer example | Yann Collet | 2019-06-06 | 1 | -20/+25 |
| | | | | there were a few tiny inaccuracies, especially in error conditions. | ||||
* | precise again that LZ4 decoder needs metadata | Yann Collet | 2019-06-06 | 2 | -42/+62 |
| | | | | and that such metadata must be provided / sent / saved by the application. | ||||
* | Merge pull request #727 from ephiepark/dev | Yann Collet | 2019-06-05 | 2 | -32/+13 |
|\ | | | | | CircleCI : use custom Docker Image with pre-installed dependencies | ||||
| * | circleci : use custom docker image with pre-installed dependencies | Ephraim Park | 2019-06-05 | 2 | -32/+13 |
|/ | |||||
* | restored FORCE_INLINE | Yann Collet | 2019-06-04 | 1 | -1/+0 |
| | |||||
* | Merge pull request #718 from lz4/fullbench | Yann Collet | 2019-05-31 | 1 | -17/+64 |
|\ | | | | | fullbench: added test scenario LZ4F_decompress_followHint | ||||
| * | fullbench: ensure decompressionFunction and dName are initialized | Yann Collet | 2019-05-31 | 1 | -4/+14 |
| | | | | | | | | Visual Studio seems to miss that they are necessarily initialized in the switch() { case: } | ||||
| * | replaced while(1) | Yann Collet | 2019-05-31 | 1 | -3/+2 |
| | | | | | | | | | | by for (;;) just to please Visual Studio C4127 . | ||||
| * | fullbench: added test scenario LZ4F_decompress_followHint | Yann Collet | 2019-05-31 | 1 | -13/+51 |
| | | | | | | | | | | | | | | | | | | This emulates a streaming scenario, where the caller follows rigorously the srcSize hints provided as return value of LZ4F_decompress(). This is useful to show the issue in #714, where data is uselessly copied in a tmp buffer first. | ||||
* | | Merge pull request #717 from lz4/inplace | Yann Collet | 2019-05-31 | 5 | -79/+266 |
|\ \ | | | | | | | Added documentation and macro to support in-place compression and decompression | ||||
| * | | added more details for in-place documentation | Yann Collet | 2019-05-31 | 2 | -26/+28 |
| | | | |||||
| * | | decompress: changed final memcpy() into memmove() | Yann Collet | 2019-05-31 | 1 | -10/+13 |
| | | | | | | | | | | | | for compatibility with in-place decompression scenarios. | ||||
| * | | Makefile removed CFLAGS modifier | Yann Collet | 2019-05-31 | 1 | -1/+1 |
| | | | | | | | | | | | | which was removing `-O3` as a side effect | ||||
| * | | updated API manual | Yann Collet | 2019-05-30 | 1 | -1/+1 |
| | | | |||||
| * | | updated LZ4_DECOMPRESS_INPLACE_MARGIN | Yann Collet | 2019-05-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | to pass worst case scenario. Now adds margin proportional to input size to counter local expansion. | ||||
| * | | added test case for in-place decompression | Yann Collet | 2019-05-30 | 1 | -32/+63 |
| | | | | | | | | | | | | worst case, designed to make the decoder overwrite into input | ||||
| * | | add more doc on in-place (de)compression | Yann Collet | 2019-05-30 | 2 | -10/+50 |
| | | | |||||
| * | | fuzzer: changed internal buffer size | Yann Collet | 2019-05-29 | 1 | -9/+10 |
| | | | | | | | | | | | | to ensure no overflow during unit tests | ||||
| * | | one more conversion warning | Yann Collet | 2019-05-29 | 1 | -1/+1 |
| | | | |||||
| * | | some more minor conversion warnings fixes | Yann Collet | 2019-05-29 | 3 | -10/+10 |
| | | | |||||
| * | | fixed minor conversion warning | Yann Collet | 2019-05-29 | 1 | -1/+1 |
| | | | |||||
| * | | ensure lz4.h can be included with or without LZ4_STATIC_LINKING_ONLY in any ↵ | Yann Collet | 2019-05-29 | 3 | -4/+16 |
| | | | | | | | | | | | | | | | | | | order ensure correct propagation of LZ4_DISTANCE_MAX | ||||
| * | | added comments and macros for in-place (de)compression | Yann Collet | 2019-05-29 | 4 | -10/+83 |
| | | | |||||
| * | | added test case for in-place compression | Yann Collet | 2019-05-29 | 1 | -16/+41 |
| |/ | |||||
* | | Merge pull request #719 from parheliamm/dev | Yann Collet | 2019-05-31 | 1 | -2/+2 |
|\ \ | | | | | | | FAST_DEC_LOOP: move offset check in specific condition. | ||||
| * | | FAST_DEC_LOOP: only did offset check in specific condition. | Chenxi Mao | 2019-05-31 | 1 | -2/+2 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When I did FAST_DEC_LOOP performance test, I found the offset check is much more than v1.8.3 You will see the condition check difference via lzbench with dickens test case. v1.8.3 34959 v.1.9.x 1055885 After investigate the code, we could see the difference. v.1.8.3 SKIP the condition check if if condition is true in: https://github.com/lz4/lz4/blob/v1.8.3/lib/lz4.c#L1463 AND below condition is true https://github.com/lz4/lz4/blob/v1.8.3/lib/lz4.c#L1478\ The offset check should be invoked. v1.9.3 The offset check code will be invoked in every loop which lead to downgrade. So the fix would be move this check to specific condition to avoid useless condition check. After this change, the call number is same as v1.8.3 | ||||
* | | Merge pull request #714 from dreambottle/fix-lz4f-input-buf-use | Yann Collet | 2019-05-31 | 1 | -1/+1 |
|\ \ | |/ |/| | Fix src temporary buffer use in lz4frame | ||||
| * | fix temporary buffer use when input size hint is respected | Niko Dzhus | 2019-05-24 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #715 from gabrielstedman/ret | Yann Collet | 2019-05-27 | 2 | -3/+11 |
|\ \ | |/ |/| | Handle file not existing case #704 | ||||
| * | Handle file not existing case #704 | gabrielstedman | 2019-05-26 | 2 | -3/+11 |
|/ | |||||
* | Merge pull request #709 from lz4/circle | Yann Collet | 2019-05-17 | 3 | -8/+11 |
|\ | | | | | updated tests for CircleCI | ||||
| * | updated tests | Yann Collet | 2019-05-16 | 3 | -8/+11 |
|/ | | | | | - only play listTest with `make test`, not `make all` which is limited to build - update `clangtest`, so that it's possible to disable O3 optimization, for faster processing | ||||
* | Merge pull request #708 from gabrielstedman/list | Yann Collet | 2019-05-16 | 7 | -102/+608 |
|\ | | | | | Add multiframe report to --list command | ||||
| * | List mode improvements. | gstedman | 2019-05-16 | 4 | -191/+208 |
| | | | | | | | | | | | | | | | | | | Improve formatting Include static assert Use UTIL_fseek to handle potential fseek limitation Be explicit when refusing to read from stdin Properly free dctx after use Include valgrind tests | ||||
| * | Add multiframe report to --list command | gstedman | 2019-05-15 | 6 | -96/+585 |
| | | |||||
* | | Merge pull request #707 from prekageo/dev | Yann Collet | 2019-05-14 | 1 | -0/+5 |
|\ \ | |/ |/| | enable LZ4_FAST_DEC_LOOP build macro on aarch64 by default | ||||
| * | enable LZ4_FAST_DEC_LOOP build macro on aarch64/GCC by default | George Prekas | 2019-05-07 | 1 | -0/+5 |
|/ | |||||
* | Merge pull request #700 from lzutao/meson-non-failures | Yann Collet | 2019-04-30 | 2 | -11/+8 |
|\ | | | | | contrib: Make Meson build non optional | ||||
| * | meson: Rely only on extracted version in lz4.h | Lzu Tao | 2019-04-30 | 2 | -11/+6 |
| | | | | | | | | | | So now instead of warning when failing to extract version number from lz4.h, we error and stop the build instead. | ||||
| * | contrib: Make Meson build non optional | Lzu Tao | 2019-04-26 | 2 | -4/+6 |
|/ | | | | | * Update ninja version to 1.9 in CI. * Update default project version in meson script. | ||||
* | Merge pull request #699 from brendene/compressBound | Yann Collet | 2019-04-26 | 1 | -0/+1 |
|\ | | | | | Include block checksum in worst case scenario calculation of dstCapacity | ||||
| * | Include block checksum in worst case scenario calculation of dstCapacity | Brenden Eng | 2019-04-26 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #698 from lz4/tidy | Yann Collet | 2019-04-24 | 2 | -66/+75 |
|\ | | | | | several minor style changes recommended by clang-tidy | ||||
| * | several minor style changes recommended by clang-tidy | Yann Collet | 2019-04-24 | 2 | -66/+75 |
|/ | |||||
* | Merge pull request #697 from ldv-alt/fixes/test-amalgamation | Yann Collet | 2019-04-24 | 2 | -11/+9 |
|\ | | | | | Fix test-amalgamation | ||||
| * | test-amalgamation: split the rule | Dmitry V. Levin | 2019-04-23 | 1 | -6/+8 |
| | | | | | | | | | | | | Change test-amalgamation to follow each-rule-makes-a-single-target idiom. Fixes: a7e8d394 ("[amalgamation] add test") |