summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/ /
* | Merge pull request #1019 from servusdei2018/patch-1Yann Collet2021-08-083-1/+42
|\ \ | | | | | | nit(programs/platform.h): replace Unicode character #1018
| * | ci(.travis.yml): add unicode lint jobNate2021-08-081-0/+6
| | |
| * | nit(tests/unicode_lint.sh): standardize failure format messageNate2021-08-081-1/+1
| | |
| * | tests(unicode_lint.sh): create: lint source files in ./lib/ and ./programs/ ↵Nate2021-08-081-0/+35
| | | | | | | | | | | | for Unicode
| * | nit(programs/platform.h): replace Unicode character #1018Nate2021-08-071-1/+1
|/ / | | | | On line 83, U+2013 was replaced with U+002D in order to improve compatibility with MSVC 2019 and older compilers.
* | minor doc clarificationYann Collet2021-08-061-1/+2
| |
* | fixed minor type, reported by @mwgameraYann Collet2021-08-061-2/+2
|/
* Merge pull request #999 from pekdon/solaris-10Yann Collet2021-08-061-1/+7
|\ | | | | add -lrt on Solaris 10, required for nanosleep
| * add -lrt on Solaris 10, required for nanosleepClaes Nästén2021-06-021-1/+7
| |
* | Merge pull request #1013 from eloj/relax-lz4-memory-usage-tunableYann Collet2021-08-022-2/+14
|\ \ | | | | | | Define LZ4_STREAMSIZE in terms of LZ4_MEMORY_USAGE.
| * | Don't reuse state memory that's too small.Eddy Jansson2021-07-311-1/+13
| | | | | | | | | | | | | | | | | | | | | Ensure that the memory block we're trying to reuse is large enough for the new state. Fixes #974
| * | Define LZ4_STREAMSIZE in terms of LZ4_MEMORY_USAGEEddy Jansson2021-07-311-1/+1
| | | | | | | | | | | | | | | | | | This is required to correctly size a static member to hold the hash table, whose size is derived from LZ4_MEMORY_USAGE.
* | | Merge pull request #1014 from eloj/github-ubuntu-16.04-deprecationYann Collet2021-08-021-33/+23
|\ \ \ | |/ / |/| | GitHub Ubuntu 16.04 deprecation
| * | All compilers now support stdc11.Eddy Jansson2021-07-311-23/+22
| | | | | | | | | | | | | | | | | | With the removal of Ubuntu 16.04, all compilers in in the matrix supports c11, so remove this column from the matrix, and unconditionally test this.
| * | All compilers now support stdc90.Eddy Jansson2021-07-311-23/+22
| | | | | | | | | | | | | | | | | | With the removal of Ubuntu 16.04, all compilers in in the matrix supports c90, so remove this column from the matrix, and unconditionally test this.
| * | Remove ubuntu-16.04 as a test platform.Eddy Jansson2021-07-311-8/+0
|/ / | | | | | | | | | | | | | | | | | | | | The Ubuntu 16.04 environment is being removed by github on September 20, 2021. They will induce 'brownouts' starting from September 6 to get clients to move on. This change removes testing of GCC versions prior to 4.8, and clang versions prior to 3.9 Ref: https://github.com/actions/virtual-environments/issues/3287
* | Merge pull request #1012 from eloj/print-install-dirsYann Collet2021-07-242-4/+4
|\ \ | | | | | | Print target directories during 'make install'.
| * | Print target directories during 'make install'.Eddy Jansson2021-07-242-4/+4
| | | | | | | | | | | | This takes #975 to its logical conclusion.
* | | Merge pull request #1011 from eloj/improve-pkgconfigYann Collet2021-07-242-2/+3
|\ \ \ | |/ / |/| | Expand use of pkg-config variables.
| * | Expand use of pkg-config variables.Eddy Jansson2021-07-242-2/+3
|/ / | | | | | | | | | | | | | | | | Change pkg-config generation such that the path variables, not their values, are used in the definitions of Libs and Cflags, and that $prefix is substituted into libdir and includedir iff they start with its value. This makes it easier to modify the already installed file if necessary.