summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Makefile removed CFLAGS modifierYann Collet2019-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | which was removing `-O3` as a side effect
| * | | | updated API manualYann Collet2019-05-301-1/+1
| | | | |
| * | | | updated LZ4_DECOMPRESS_INPLACE_MARGINYann Collet2019-05-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | to pass worst case scenario. Now adds margin proportional to input size to counter local expansion.
| * | | | added test case for in-place decompressionYann Collet2019-05-301-32/+63
| | | | | | | | | | | | | | | | | | | | worst case, designed to make the decoder overwrite into input
| * | | | add more doc on in-place (de)compressionYann Collet2019-05-302-10/+50
| | | | |
| * | | | fuzzer: changed internal buffer sizeYann Collet2019-05-291-9/+10
| | | | | | | | | | | | | | | | | | | | to ensure no overflow during unit tests
| * | | | one more conversion warningYann Collet2019-05-291-1/+1
| | | | |
| * | | | some more minor conversion warnings fixesYann Collet2019-05-293-10/+10
| | | | |
| * | | | fixed minor conversion warningYann Collet2019-05-291-1/+1
| | | | |
| * | | | ensure lz4.h can be included with or without LZ4_STATIC_LINKING_ONLY in any ↵Yann Collet2019-05-293-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | order ensure correct propagation of LZ4_DISTANCE_MAX
| * | | | added comments and macros for in-place (de)compressionYann Collet2019-05-294-10/+83
| | | | |
| * | | | added test case for in-place compressionYann Collet2019-05-291-16/+41
| |/ / /
* | | | Merge pull request #719 from parheliamm/devYann Collet2019-05-311-2/+2
|\ \ \ \ | | | | | | | | | | FAST_DEC_LOOP: move offset check in specific condition.
| * | | | FAST_DEC_LOOP: only did offset check in specific condition.Chenxi Mao2019-05-311-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-useYann Collet2019-05-311-1/+1
|\ \ \ \ | |/ / / |/| | | Fix src temporary buffer use in lz4frame
| * | | fix temporary buffer use when input size hint is respectedNiko Dzhus2019-05-241-1/+1
| | | |
* | | | Merge pull request #715 from gabrielstedman/retYann Collet2019-05-272-3/+11
|\ \ \ \ | |/ / / |/| | | Handle file not existing case #704
| * | | Handle file not existing case #704gabrielstedman2019-05-262-3/+11
|/ / /
* | | Merge pull request #709 from lz4/circleYann Collet2019-05-173-8/+11
|\ \ \ | | | | | | | | updated tests for CircleCI
| * | | updated testsYann Collet2019-05-163-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/listYann Collet2019-05-167-102/+608
|\ \ \ | | | | | | | | Add multiframe report to --list command
| * | | List mode improvements.gstedman2019-05-164-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 commandgstedman2019-05-156-96/+585
| | | |
* | | | Merge pull request #707 from prekageo/devYann Collet2019-05-141-0/+5
|\ \ \ \ | |/ / / |/| | | enable LZ4_FAST_DEC_LOOP build macro on aarch64 by default
| * | | enable LZ4_FAST_DEC_LOOP build macro on aarch64/GCC by defaultGeorge Prekas2019-05-071-0/+5
|/ / /
* | | Merge pull request #700 from lzutao/meson-non-failuresYann Collet2019-04-302-11/+8
|\ \ \ | | | | | | | | contrib: Make Meson build non optional
| * | | meson: Rely only on extracted version in lz4.hLzu Tao2019-04-302-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 optionalLzu Tao2019-04-262-4/+6
|/ / / | | | | | | | | | | | | * Update ninja version to 1.9 in CI. * Update default project version in meson script.
* | | Merge pull request #699 from brendene/compressBoundYann Collet2019-04-261-0/+1
|\ \ \ | | | | | | | | Include block checksum in worst case scenario calculation of dstCapacity
| * | | Include block checksum in worst case scenario calculation of dstCapacityBrenden Eng2019-04-261-0/+1
|/ / /
* | | Merge pull request #698 from lz4/tidyYann Collet2019-04-242-66/+75
|\ \ \ | | | | | | | | several minor style changes recommended by clang-tidy
| * | | several minor style changes recommended by clang-tidyYann Collet2019-04-242-66/+75
|/ / /
* | | Merge pull request #697 from ldv-alt/fixes/test-amalgamationYann Collet2019-04-242-11/+9
|\ \ \ | | | | | | | | Fix test-amalgamation
| * | | test-amalgamation: split the ruleDmitry V. Levin2019-04-231-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | Change test-amalgamation to follow each-rule-makes-a-single-target idiom. Fixes: a7e8d394 ("[amalgamation] add test")
| * | | test-amalgamation: fix compilation optionsDmitry V. Levin2019-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Use the same compilation options to compile lz4_all.c and other object files. Fixes: a7e8d394 ("[amalgamation] add test")
| * | | test-amalgamation: use a single cat commandDmitry V. Levin2019-04-232-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the list of prerequisites instead of listing those files manually, this way they will never fall out of sync. Also update the amalgamation example to use a single cat command. Fixes: a7e8d394 ("[amalgamation] add test") Fixes: b192c86b ("[amalgamation] lz4frame.c")
| * | | test-amalgamation: fix the list of prerequisitesDmitry V. Levin2019-04-231-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | Add $(LZ4DIR)/lz4frame.c to the list of prerequisites as the rule uses that file. Fixes: b192c86b ("[amalgamation] lz4frame.c")
* | | Merge pull request #696 from lz4/mactestYann Collet2019-04-232-4/+6
|\ \ \ | |/ / |/| | Fix dynamic library compilation on Mac OS-X
| * | Merge pull request #695 from lembacon/makefile-osYann Collet2019-04-231-3/+2
| |\ \ | | | | | | | | lib/Makefile: Fix detection of `Darwin`.
| | * | lib/Makefile: Fix detection of `Darwin`.Chongyu Zhu2019-04-231-3/+2
| |/ / |/| |
| * | added library build test on Mac OS-XYann Collet2019-04-231-1/+4
|/ /
* | Merge pull request #693 from JPeterMugaas/masterYann Collet2019-04-236-69/+173
|\ \ | | | | | | More build imrpvements
| * | More build imrpvementsJPeterMugaas2019-04-236-69/+173
|/ / | | | | | | | | | | Moved a few other tests to Makefiles.inc. Other things might need to go there. Made a test for symlink appropriateness. Windows can NOT handle them the same way Unix-like operating systems do (if at all). This is mostly the same as the Visual C projects. embed version info into .dll and .exes that are redistributed.
* | Merge branch 'dev' of github.com:Cyan4973/lz4 into devYann Collet2019-04-2311-77/+254
|\ \
| * \ Merge pull request #691 from lz4/listYann Collet2019-04-236-18/+176
| |\ \ | | | | | | | | --list
| | * | fix: no leak when LZ4F_dctx creation failsYann Collet2019-04-221-9/+4
| | | | | | | | | | | | | | | | | | | | strange, because it previous implementation, it would `exit()`, so it should not matter ...
| | * | updated code commentsYann Collet2019-04-221-4/+5
| | | |
| | * | --list gives block typeYann Collet2019-04-223-9/+24
| | | |
| | * | --list can resume after a failed fileYann Collet2019-04-222-44/+61
| | | |
| | * | refactored --list functionYann Collet2019-04-224-93/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | better handling of special conditions, better scoping of variables. Also : updated man page