Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fix: implement empty _start and main for non-Linux or x86-64 platforms | Takayuki Matsuoka | 2022-08-07 | 1 | -4/+6 | |
| | | ||||||
| * | Fix: Add extern "C" to all standard C replacement functions | Takayuki Matsuoka | 2022-08-07 | 1 | -13/+16 | |
| | | ||||||
| * | Fix for ctocpptest | Takayuki Matsuoka | 2022-08-07 | 1 | -13/+16 | |
| | | ||||||
| * | Add LZ4_FREESTANDING test on Linux x86-64 platform | Takayuki Matsuoka | 2022-08-07 | 3 | -3/+244 | |
| | | | | | | | | Also added tests/Makefile entry "test-freestanding". | |||||
| * | Fix: Disable LZ4HC correspond functions when ↵ | Takayuki Matsuoka | 2022-08-07 | 2 | -1/+5 | |
| | | | | | | | | LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION is enabled | |||||
| * | Add LZ4_FREESTANDING | Takayuki Matsuoka | 2022-08-07 | 2 | -1/+26 | |
|/ | ||||||
* | Merge pull request #1124 from t-mat/compile-time-purge-memalloc-func | Yann Collet | 2022-08-05 | 2 | -1/+15 | |
|\ | | | | | Introduce LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION | |||||
| * | Fix : Internal memory allocation macro names | Takayuki Matsuoka | 2022-07-31 | 1 | -6/+3 | |
| | | ||||||
| * | Introduce LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION | Takayuki Matsuoka | 2022-07-31 | 2 | -1/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset introduces new compile time switch macro LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION which removes the following functions when it's defined. ``` // lz4.c LZ4_createStream LZ4_freeStream LZ4_createStreamDecode LZ4_freeStreamDecode LZ4_create // legacy // lz4hc.c LZ4_createStreamHC(void) LZ4_freeStreamHC LZ4_createHC // legacy LZ4_freeHC // legacy ``` These functions uses dynamic memory allocation functions such as malloc() and free(). It'll be useful for freestanding environment which doesn't have these allocation functions. Since this change breaks API, this macro is only valid with lz4 as a static linked object. | |||||
* | | Merge pull request #1128 from lz4/decompress_unsafe | Yann Collet | 2022-08-03 | 1 | -134/+233 | |
|\ \ | | | | | | | Separate support of LZ4_decompress_fast*() | |||||
| * | | simplify read_variable_length() | Yann Collet | 2022-08-03 | 1 | -26/+24 | |
| | | | | | | | | | | | | single sumtype return value | |||||
| * | | refactor read_variable_length() | Yann Collet | 2022-08-02 | 1 | -19/+29 | |
| | | | | | | | | | | | | | | | updated documentation, more assert(), overflow detection in 32-bit mode | |||||
| * | | remove support of decompress_fast*() from decompress_generic() | Yann Collet | 2022-08-02 | 1 | -92/+43 | |
| | | | | | | | | | | | | | | | | | | | | | since it's now supported by decompress_unsafe(). The goal is to improve maintenability of decompress_generic() by reducing its complexity. | |||||
| * | | introduce LZ4_decompress_unsafe_generic() | Yann Collet | 2022-08-02 | 1 | -18/+158 | |
|/ / | | | | | | | | | | | | | designed to support specifically LZ4_decompress_fast*() variants. The end goal is to offload this support from LZ4_decompress_generic to improve its maintenance. | |||||
* | | Merge pull request #1125 from dpelle/fix-typos | Yann Collet | 2022-07-31 | 13 | -15/+15 | |
|\ \ | | | | | | | fix: various typos | |||||
| * | | fix: various typos | Dominique Pelle | 2022-07-31 | 13 | -15/+15 | |
|/ / | ||||||
* | | Merge pull request #1123 from t-mat/memfunc-macros | Yann Collet | 2022-07-31 | 2 | -13/+26 | |
|\ \ | | | | | | | New macro for memcpy, memmove and memset | |||||
| * | | New macro for memcpy, memmove and memset | Takayuki Matsuoka | 2022-07-31 | 2 | -13/+26 | |
| |/ | | | | | | | | | | | | | | | This changeset introduces the following external macros. - Add new macro LZ4_memset() which enables to inject external function as memset(). - Similar macro LZ4_memmove() for memmove(). - In same manner, LZ4_memcpy() also can be overriden by external macro. | |||||
* | | updated LZ4 Block Format documentation | Yann Collet | 2022-07-31 | 1 | -67/+144 | |
|/ | | | | hopefully answering concerns expressed in #792 | |||||
* | Merge pull request #1122 from lz4/skipCrc | Yann Collet | 2022-07-30 | 9 | -25/+75 | |
|\ | | | | | Introduce ability to save cpu cycles by disabling checksum validation | |||||
| * | fixed minor pedantic warning | Yann Collet | 2022-07-29 | 1 | -2/+4 | |
| | | ||||||
| * | extend disabling checksum validation to normal lz4 CLI decompression | Yann Collet | 2022-07-29 | 2 | -5/+26 | |
| | | | | | | | | | | note : it's unlikely to improve speed, as in most cases I/O is slower than lz4 decompression, but maybe in extreme scenarios, it might show a difference. | |||||
| * | added options.skipChecksums to local fuzzer test | Yann Collet | 2022-07-29 | 1 | -0/+1 | |
| | | ||||||
| * | introduced new `--no-crc` command | Yann Collet | 2022-07-29 | 3 | -0/+6 | |
| | | | | | | | | which disables both frame and block checksums. | |||||
| * | can select validation of CRC during benchmark | Yann Collet | 2022-07-29 | 4 | -8/+18 | |
| | | | | | | | | | | on command line, using existing long command --no-frame-crc. Note : it's effectively more than that, since _all_ checksums are disabled. | |||||
| * | added ability to skip checksum calculation when decoding LZ4 Frames | Yann Collet | 2022-07-29 | 2 | -11/+21 | |
|/ | ||||||
* | Merge pull request #1121 from lz4/decBench | Yann Collet | 2022-07-29 | 7 | -223/+344 | |
|\ | | | | | Implement decoder-only benchmark | |||||
| * | implement decoder-only benchmark mode | Yann Collet | 2022-07-29 | 7 | -44/+135 | |
| | | | | | | | | requires an LZ4 Frame as input | |||||
| * | minor refactor | Yann Collet | 2022-07-29 | 3 | -159/+176 | |
| | | | | | | | | to prepare bench.c for multiple decoding functions. | |||||
| * | updated documentation of bench unit | Yann Collet | 2022-07-29 | 2 | -8/+21 | |
| | | ||||||
| * | minor : fix conversion warnings | Yann Collet | 2022-07-29 | 1 | -25/+25 | |
|/ | ||||||
* | Merge pull request #1120 from lz4/test-j | Yann Collet | 2022-07-17 | 2 | -214/+240 | |
|\ | | | | | `make test` can run in `-j` parallel mode | |||||
| * | add dedicated install test | Yann Collet | 2022-07-17 | 1 | -0/+4 | |
| | | | | | | | | per platform | |||||
| * | update CI `make test` to employ `-j` | Yann Collet | 2022-07-17 | 1 | -8/+8 | |
| | | | | | | | | for faster parallel processing | |||||
| * | test independence for parallel run | Yann Collet | 2022-07-17 | 1 | -206/+228 | |
|/ | | | | | | | for `make -j test`. note : test-install is no longer part of `make test` It will have to be run on its own. | |||||
* | Merge pull request #1115 from lz4/lz4f_customMem | Yann Collet | 2022-07-16 | 3 | -95/+264 | |
|\ | | | | | Support for Custom Memory managers | |||||
| * | implemented LZ4F_createCDict_advanced() | Yann Collet | 2022-07-13 | 3 | -42/+64 | |
| | | ||||||
| * | implemented LZ4F_createDecompressionContext_advanced() | Yann Collet | 2022-07-13 | 2 | -17/+30 | |
| | | ||||||
| * | Merge branch 'dev' into lz4f_customMem | Yann Collet | 2022-07-13 | 5 | -50/+40 | |
| |\ | ||||||
| * | | implemented first custom memory manager interface | Yann Collet | 2022-07-13 | 3 | -85/+195 | |
| | | | | | | | | | | | | | | | | | | | | | for compression context only for the time being, using LZ4F_createCompressionContext_advanced(). Added basic test in frametest.c | |||||
| * | | declare experimental prototype for LZ4F custom Memory manager | Yann Collet | 2022-07-13 | 1 | -0/+23 | |
| | | | ||||||
* | | | Merge pull request #1119 from lz4/skipFrames | Yann Collet | 2022-07-15 | 6 | -8/+37 | |
|\ \ \ | | | | | | | | | support skippable frames within pipe | |||||
| * | | | support skippable frames within pipe | Yann Collet | 2022-07-15 | 6 | -8/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #977 fseek() doesn't work for pipe, switch to "read and forget" mode in such case. | |||||
* | | | | Merge pull request #1117 from lz4/testConsole | Yann Collet | 2022-07-15 | 1 | -4/+3 | |
|\ \ \ \ | | | | | | | | | | | refactor test ensuring that make test does not depend on console status | |||||
| * | | | | refactor test ensuring that make test does not depend on console status | Yann Collet | 2022-07-15 | 1 | -4/+3 | |
| | | | | | | | | | | | | | | | | | | | | Fix #990 | |||||
* | | | | | Merge pull request #1118 from lz4/fix_dec-part-dict | Yann Collet | 2022-07-15 | 1 | -11/+26 | |
|\ \ \ \ \ | |_|/ / / |/| | | | | fix decompress-partial-usingDict.c | |||||
| * | | | | fix decompress-partial-usingDict.c | Yann Collet | 2022-07-15 | 1 | -11/+26 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The recently added test decompress-partial-usingDict tends to fail for unknown reasons, more frequently under the combination for clang-9 + `-mx32`. There is a suspicion that the test is using too much stack. Fixing that, + adding traces, to get more information if it fails again. | |||||
* | | | | Merge pull request #1116 from lz4/standardMakeVars | Yann Collet | 2022-07-15 | 2 | -1/+48 | |
|\ \ \ \ | |/ / / |/| | | | Test support of Standard Makefile Variables | |||||
| * | | | Test support of Standard Makefile Variables | Yann Collet | 2022-07-15 | 2 | -1/+48 | |
|/ / / | | | | | | | | | | to detect issues such as #958 | |||||
* | | | simplify travis script | Yann Collet | 2022-07-14 | 1 | -201/+1 | |
| | | | | | | | | | | | | | | | by removing commented tests (now transferred to Github Actions) |