summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
* | Merge pull request #1027 from t-mat/examples-test-cppYann Collet2021-09-063-2/+29
|\ \ | | | | | | Add C++ compatibility test for `examples/`
| * | Remove invalid variableTakayuki Matsuoka2021-09-061-2/+2
| | |
| * | Add test for examples/Takayuki Matsuoka2021-09-061-0/+22
| | |
| * | Add C++ compatibility test for examples/Takayuki Matsuoka2021-09-061-0/+5
| | |
| * | Add cast operator for compatibility with C++Takayuki Matsuoka2021-09-061-2/+2
|/ /
* | Merge pull request #1026 from kmou424/devYann Collet2021-09-041-2/+2
|\ \ | | | | | | examples: simple_buffer: We must explicit convert pointer after mallo…
| * | examples: simple_buffer: We must explicit convert pointer after malloc in c++kmou4242021-09-041-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Aim: To adapt C++ Compilation errors: simple_buffer.c:47:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char* compressed_data = malloc((size_t)max_dst_size); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simple_buffer.c:76:15: error: cannot initialize a variable of type 'char *const' with an rvalue of type 'void *' char* const regen_buffer = malloc(src_size); ^ ~~~~~~~~~~~~~~~~ 2 errors generated.
* | Merge pull request #1024 from a1346054/devYann Collet2021-08-2211-18/+18
|\ \ | |/ |/| Minor cleanup
| * trim excess whitespacea13460542021-08-214-4/+4
| |
| * fix spellinga13460542021-08-213-8/+8
| |
| * fix warnings reported by shellcheck in shell scriptsa13460542021-08-212-2/+2
| |
| * use the same style of hashbang for all filesa13460542021-08-212-2/+2
| |
| * fix broken hashbangsa13460542021-08-212-2/+2
|/
* Merge pull request #1017 from fanzeyi/fix-clang-cl-msvcYann Collet2021-08-091-0/+6
|\ | | | | fix clang-cl _tzcnt_u64 not defined issue
| * fix clang-cl _tzcnt_u64 not defined issueZeyi (Rice) Fan2021-08-091-0/+6
| |
* | minor documentation for unicode_lintYann Collet2021-08-091-5/+9
| |
* | Merge pull request #1020 from servusdei2018/devYann Collet2021-08-092-1/+18
|\ \ | | | | | | ci: merge unicode lint to github actions and expand test coverage to ./tests/ directory
| * | ci: sh -> bashNate2021-08-081-1/+1
| | |
| * | ci: pass script through shNate2021-08-081-1/+1
| | |
| * | ci(.github/workflows/ci.yml): fix invalid yamlNate2021-08-081-3/+1
| | | | | | | | | fixed syntax error
| * | ci(.github/workflows/ci.yml): run unicode lint under github actionsNate2021-08-081-0/+10
| | |
| * | tests(tests/unicode_lint.sh): expand unicode lint to the ./tests/ directoryNate2021-08-081-1/+10
|/ /