summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1077 from danyeaw/patch-2Yann Collet2022-04-171-1/+1
|\ | | | | Fix default_library undeclared error in Windows
| * Fix default_library undeclared error in WindowsDan Yeaw2022-04-151-1/+1
|/
* Merge pull request #1075 from danyeaw/patch-1Yann Collet2022-04-131-1/+1
|\ | | | | Fix incorrect meson build option for programs
| * Fix incorrect meson build option for programsDan Yeaw2022-04-131-1/+1
|/
* updated one error codeYann Collet2022-04-061-1/+1
|
* updated documentation around `liblz4` granularityYann Collet2022-03-211-6/+26
|
* Merge pull request #1068 from anjiahao1/devYann Collet2022-03-215-2/+645
|\ | | | | add file operation
| * add file operation and examplesanjiahao2022-03-105-2/+645
|/ | | | | | operate lz4 compressed files as a general files Signed-off-by: anjiahao <anjiahao@xiaomi.com>
* Merge pull request #1064 from tristan957/mesonYann Collet2022-02-1611-386/+244
|\ | | | | Fixup meson build
| * Fixup meson buildTristan Partin2022-02-0911-386/+244
| | | | | | | | | | | | The meson build had gotten a little out of hand. It needed to be cleaned up and have its errors fixed. This should enable lz4 to switch to Meson at any time should the need ever arise.
* | Merge pull request #1067 from eloj/update-github-virtenv-urlsYann Collet2022-02-121-2/+2
|\ \ | | | | | | CI: Update links in comments.
| * | Update links in comments.Eddy Jansson2022-02-121-2/+2
|/ / | | | | | | | | | | The files these comments point to were renamed in https://github.com/actions/virtual-environments/pull/4794 for whatever reason.
* | Merge pull request #1063 from lz4/cmaketestYann Collet2022-02-042-7/+12
|\ \ | | | | | | updated cmake test
| * | updated cmake testYann Collet2022-02-042-7/+12
| | | | | | | | | | | | use `cmake --build` instead of `make` directly
* | | Merge pull request #1052 from leonvictor/devYann Collet2022-02-041-2/+2
|\ \ \ | |/ / |/| | CMake: Fix target includes pointing to the wrong directory
| * | Merge branch 'lz4:dev' into devLéon2022-02-0315-169/+259
| |\ \ | |/ / |/| |
* | | updated block format documentationYann Collet2022-02-021-30/+41
| | | | | | | | | | | | | | | | | | to specifically call attention to offset==0 scenario, which is invalid, and could lead to some form of security issue if incorrectly dealt with (ignored).
* | | Merge pull request #1061 from lz4/memory_usageYann Collet2022-01-317-18/+46
|\ \ \ | | | | | | | | Introduce MIN and MAX bounds to LZ4_MEMORY_USAGE
| * | | added target test-compile-with-lz4-memory-usageYann Collet2022-01-314-6/+23
| | | | | | | | | | | | | | | | and run it in GA CI
| * | | Introduce MIN and MAX bounds to LZ4_MEMORY_USAGEYann Collet2022-01-314-15/+26
|/ / / | | | | | | | | | | | | | | | | | | ensure that `frametest` works fine with these values, notably with low LZ4_MEMORY_USAGE (dict test notably) following suggestions from @t-mat at #1016
* | | minor comments improvements to lz4frameYann Collet2022-01-311-4/+4
| | |
* | | Merge pull request #1060 from gabrielstedman/list_test_fixYann Collet2022-01-291-42/+49
|\ \ \ | | | | | | | | Fix list test
| * | | Correctly use temp folder variableGabriel2022-01-291-1/+1
| | | |
| * | | Convert all strings to fstrings && avoid usage of shell for PopenGabriel2022-01-291-40/+45
| | | |
| * | | Ensure list test exits with appropiate exit code on failureGabriel2022-01-291-1/+3
| | |/ | |/|
* | | Merge pull request #1058 from lz4/fix_test_invalidYann Collet2022-01-293-35/+56
|\ \ \ | |/ / |/| | --test and --list return an error when parsing invalid file
| * | --test and --list return an error when parsing invalid fileYann Collet2022-01-293-35/+56
| | | | | | | | | | | | fix #1045
* | | Merge pull request #1057 from lz4/lz4_unalignYann Collet2022-01-291-6/+6
|\ \ \ | |/ / |/| | renamed unaligned -> LZ4_unaligned
| * | renamed unaligned -> LZ4_unalignedYann Collet2022-01-291-6/+6
| | | | | | | | | | | | | | | better name space isolation suggested by @boris-kolpackov in #1053
* | | Merge pull request #1056 from lz4/fix_opt12Yann Collet2022-01-292-19/+18
|\ \ \ | |/ / |/| | fixed bug in optimal parser
| * | fixed bug in optimal parserYann Collet2022-01-292-19/+18
| | | | | | | | | | | | discovered by @yoniko.
* | | added testYann Collet2022-01-293-2/+6
| | | | | | | | | | | | for --list from stdin
* | | Merge pull request #1048 from Low-power/lz4cli-list-stdinYann Collet2022-01-293-7/+27
|\ \ \ | | | | | | | | '--list' doesn't work stdin even it is a regular file
| * | | Allow '--list' with stdin if it is a regular fileWHR2021-12-143-7/+27
| | | |
* | | | Merge pull request #1049 from eli-schwartz/meson-warning-run_commandYann Collet2022-01-291-7/+2
|\ \ \ \ | |_|/ / |/| | | meson: simplify version lookup and avoid deprecation warnings
| * | | meson: simplify version lookup and avoid deprecation warningsEli Schwartz2021-12-141-7/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | run_command() in development versions of meson will warn when the `check: ` kwarg is not specified. At the same time, lz4 has some gnarly code to manually check the return code and raise an error if it failed. Kill two birds with one stone, by making run_command inherently raise a fatal error when erroring out, then proceeding in the knowledge that it must have succeeded.
* | | Merge pull request #1054 from mcfi/patch-1Yann Collet2022-01-271-1/+6
|\ \ \ | |/ / |/| | Disable _tzcnt_u64 for ARM64EC
| * | Add commentsBen Niu2022-01-271-0/+5
| | |
| * | Disable _tzcnt_u64 for ARM64ECBen Niu2022-01-271-1/+1
|/ / | | | | The ARM64EC is a new Microsoft-designed ARM64 ABI that is compatible with AMD64 code. However, not all AMD64 intrinsic functions are supported. For, intrinsics that are lowered to AVX, AVX2 and AVX512 instructions are not supported, including the _tzcnt_u64. To make sure this file compiles for ARM64EC, the use of _tzcnt_u64 should be neutered.
| * Fix CMake targets include direrctoriesLéon2022-01-191-2/+2
|/
* Merge pull request #1042 from DimitriPapadopoulos/codespellYann Collet2021-11-2515-19/+19
|\ | | | | Fix typos found by codespell
| * Fix typos found by codespellDimitri Papadopoulos2021-11-2515-19/+19
|/
* Merge pull request #1040 from zeux/m1-fastdecYann Collet2021-11-231-3/+5
|\ | | | | Enable fast decoding on Apple/AArch64 builds (18-25% faster decompression)
| * Enable fast decoding on Apple/AArch64 buildsArseny Kapoulkine2021-11-221-3/+5
|/ | | | | | | | | | | This makes decoding significantly faster on M1; measured on compressed source code across 8 hardware threads, decompressing 294 MB to 1301 MB takes 513 ms of cumulative work (2.53 GB/s) before, and 406 ms (3.2 GB/s) after this change on M1 Pro. There's no way to check if the target architecture is M1 specifically but the gains are likely to be similar on recent iterations on Apple processors, and the original performance issue was probably more specific to Qualcomm.
* Merge pull request #1032 from fwessels/patch-1Yann Collet2021-10-251-1/+1
|\ | | | | Update lz4_Block_format.md
| * Update lz4_Block_format.mdFrank Wessels2021-10-251-1/+1
|/ | | Mini typo
* Merge pull request #1030 from kostasdizas/cmakeYann Collet2021-10-212-0/+33
|\ | | | | Create CMake package when installing
| * Create cmake package when installingKostas Dizas2021-10-202-0/+33
|/
* Merge pull request #1022 from lz4/unameYann Collet2021-09-206-14/+17
|\ | | | | make UNAME externally definable
| * make UNAME externally definableYann Collet2021-08-166-14/+17
| | | | | | | | | | | | | | on top of providing a central definition place, which eases maintenance, it might also help for #1021. Also : updated doc