Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix: replace strtoull with _strtoui64 for MSVC2010 | Takayuki Matsuoka | 2022-08-12 | 1 | -0/+8 |
| | | | | https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/strtoui64-wcstoui64-strtoui64-l-wcstoui64-l | ||||
* | Fix: remove unused value | Takayuki Matsuoka | 2022-08-12 | 1 | -1/+0 |
| | | | | | | | | This patch fixes the following error from "make staticAnalyze" datagencli.c:106:21: warning: Value stored to 'size' is never read size=0; ^ ~ | ||||
* | Suppress false positive warning from MSVC (fuzzer.c) | Takayuki Matsuoka | 2022-08-12 | 1 | -2/+10 |
| | | | | | | | Suppress the following false positive warnings from MSVC: - Disable all arithmetic overflow (C26451) - Suppress C6385: Reading invalid data from 'compressedBuffer'. - Add ULL suffix to unsigned 64-bits constants. | ||||
* | Suppress false positive warning from MSVC (datagencli.c) | Takayuki Matsuoka | 2022-08-12 | 1 | -28/+4 |
| | | | | | | | | | | | MSVC 2022 reports the follwing false positve warnings: lz4\tests\datagencli.c(110): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). lz4\tests\datagencli.c(134): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). lz4\tests\datagencli.c(146): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). Although they're absolutely compiler's and static analyzer's bug, it'd always be nice to use the standard library. | ||||
* | Remove test-freestanding from tests/Makefile "all" and "test" | Takayuki Matsuoka | 2022-08-08 | 1 | -2/+2 |
| | | | | | Since test-freestanding is able to be compiled and executed in specific environment, we should not run it in our standard test. | ||||
* | Fix: Ignore exitcode of strace and ltrace | Takayuki Matsuoka | 2022-08-07 | 1 | -2/+2 |
| | |||||
* | 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: various typos | Dominique Pelle | 2022-07-31 | 1 | -1/+1 |
| | |||||
* | extend disabling checksum validation to normal lz4 CLI decompression | Yann Collet | 2022-07-29 | 1 | -1/+1 |
| | | | | | 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 | 1 | -0/+2 |
| | | | | which disables both frame and block checksums. | ||||
* | implement decoder-only benchmark mode | Yann Collet | 2022-07-29 | 2 | -1/+5 |
| | | | | requires an LZ4 Frame as input | ||||
* | 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 | 1 | -4/+63 |
|\ | | | | | Support for Custom Memory managers | ||||
| * | implemented LZ4F_createCDict_advanced() | Yann Collet | 2022-07-13 | 1 | -2/+9 |
| | | |||||
| * | Merge branch 'dev' into lz4f_customMem | Yann Collet | 2022-07-13 | 1 | -3/+3 |
| |\ | |||||
| * | | implemented first custom memory manager interface | Yann Collet | 2022-07-13 | 1 | -4/+56 |
| | | | | | | | | | | | | | | | | | | | | | for compression context only for the time being, using LZ4F_createCompressionContext_advanced(). Added basic test in frametest.c | ||||
* | | | Merge pull request #1119 from lz4/skipFrames | Yann Collet | 2022-07-15 | 3 | -3/+13 |
|\ \ \ | | | | | | | | | support skippable frames within pipe | ||||
| * | | | support skippable frames within pipe | Yann Collet | 2022-07-15 | 3 | -3/+13 |
| | |/ | |/| | | | | | | | | | | | | | | | | fix #977 fseek() doesn't work for pipe, switch to "read and forget" mode in such case. | ||||
* | | | 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. | ||||
* | | fix stricter enum type requirements for C++ | Yann Collet | 2022-07-13 | 1 | -3/+3 |
|/ | |||||
* | minor : specify min versions for library version identifiers | Yann Collet | 2022-07-12 | 1 | -0/+1 |
| | |||||
* | generalize across all 3 ABI architectures | Yann Collet | 2022-07-12 | 2 | -70/+85 |
| | |||||
* | write liblz4 dynamic library version | Yann Collet | 2022-07-12 | 3 | -13/+28 |
| | | | | requires liblz4 >= v1.7.5 | ||||
* | first ABI compat tests | Yann Collet | 2022-07-12 | 4 | -1/+377 |
| | | | | only use current march & default compiler | ||||
* | Merge pull request #1099 from lz4/pr1094_frametest | Yann Collet | 2022-07-05 | 1 | -12/+26 |
|\ | | | | | Add a fuzzer test for LZ4F_uncompressedUpdate() within frametest | ||||
| * | update frametest for new condition for uncompressedUpdate | Yann Collet | 2022-07-05 | 1 | -13/+10 |
| | | |||||
| * | added fuzzer test for LZ4F_uncompressedUpdate in frametest | Yann Collet | 2022-07-01 | 1 | -12/+29 |
| | | |||||
* | | clarify yet another time what dual-license means | Yann Collet | 2022-07-04 | 1 | -2/+2 |
| | | |||||
* | | fixed minor leak | Yann Collet | 2022-07-01 | 1 | -1/+1 |
| | | |||||
* | | fixed -tm | Yann Collet | 2022-07-01 | 1 | -0/+5 |
| | | | | | | | | which was broken up to now. | ||||
* | | fail on requesting to process 3+ file names in legacy mode | Yann Collet | 2022-07-01 | 1 | -5/+4 |
| | | | | | | | | warning only if -f is selected. | ||||
* | | tests: add tests for `LZ4_decompress_safe_partial_usingDict` | Qi Wang | 2022-06-07 | 5 | -8/+168 |
|/ | | | | Signed-off-by: Qi Wang <wangqi@linux.alibaba.com> | ||||
* | added target test-compile-with-lz4-memory-usage | Yann Collet | 2022-01-31 | 1 | -0/+8 |
| | | | | and run it in GA CI | ||||
* | Introduce MIN and MAX bounds to LZ4_MEMORY_USAGE | Yann Collet | 2022-01-31 | 1 | -9/+10 |
| | | | | | | | ensure that `frametest` works fine with these values, notably with low LZ4_MEMORY_USAGE (dict test notably) following suggestions from @t-mat at #1016 | ||||
* | Merge pull request #1060 from gabrielstedman/list_test_fix | Yann Collet | 2022-01-29 | 1 | -42/+49 |
|\ | | | | | Fix list test | ||||
| * | Correctly use temp folder variable | Gabriel | 2022-01-29 | 1 | -1/+1 |
| | | |||||
| * | Convert all strings to fstrings && avoid usage of shell for Popen | Gabriel | 2022-01-29 | 1 | -40/+45 |
| | | |||||
| * | Ensure list test exits with appropiate exit code on failure | Gabriel | 2022-01-29 | 1 | -1/+3 |
| | | |||||
* | | --test and --list return an error when parsing invalid file | Yann Collet | 2022-01-29 | 1 | -1/+1 |
|/ | | | | fix #1045 | ||||
* | Merge pull request #1056 from lz4/fix_opt12 | Yann Collet | 2022-01-29 | 1 | -0/+1 |
|\ | | | | | fixed bug in optimal parser | ||||
| * | fixed bug in optimal parser | Yann Collet | 2022-01-29 | 1 | -0/+1 |
| | | | | | | | | discovered by @yoniko. | ||||
* | | added test | Yann Collet | 2022-01-29 | 1 | -0/+1 |
|/ | | | | for --list from stdin | ||||
* | Fix typos found by codespell | Dimitri Papadopoulos | 2021-11-25 | 2 | -2/+2 |
| | |||||
* | Merge pull request #1022 from lz4/uname | Yann Collet | 2021-09-20 | 1 | -2/+2 |
|\ | | | | | make UNAME externally definable | ||||
| * | make UNAME externally definable | Yann Collet | 2021-08-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | | on top of providing a central definition place, which eases maintenance, it might also help for #1021. Also : updated doc | ||||
* | | trim excess whitespace | a1346054 | 2021-08-21 | 1 | -1/+1 |
| | |