summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* update CI `make test` to employ `-j`Yann Collet2022-07-171-8/+8
| | | | for faster parallel processing
* test independence for parallel runYann Collet2022-07-171-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_customMemYann Collet2022-07-163-95/+264
|\ | | | | Support for Custom Memory managers
| * implemented LZ4F_createCDict_advanced()Yann Collet2022-07-133-42/+64
| |
| * implemented LZ4F_createDecompressionContext_advanced()Yann Collet2022-07-132-17/+30
| |
| * Merge branch 'dev' into lz4f_customMemYann Collet2022-07-135-50/+40
| |\
| * | implemented first custom memory manager interfaceYann Collet2022-07-133-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 managerYann Collet2022-07-131-0/+23
| | |
* | | Merge pull request #1119 from lz4/skipFramesYann Collet2022-07-156-8/+37
|\ \ \ | | | | | | | | support skippable frames within pipe
| * | | support skippable frames within pipeYann Collet2022-07-156-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/testConsoleYann Collet2022-07-151-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 statusYann Collet2022-07-151-4/+3
| | | | | | | | | | | | | | | | | | | | Fix #990
* | | | | Merge pull request #1118 from lz4/fix_dec-part-dictYann Collet2022-07-151-11/+26
|\ \ \ \ \ | |_|/ / / |/| | | | fix decompress-partial-usingDict.c
| * | | | fix decompress-partial-usingDict.cYann Collet2022-07-151-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/standardMakeVarsYann Collet2022-07-152-1/+48
|\ \ \ \ | |/ / / |/| | | Test support of Standard Makefile Variables
| * | | Test support of Standard Makefile VariablesYann Collet2022-07-152-1/+48
|/ / / | | | | | | | | | to detect issues such as #958
* | | simplify travis scriptYann Collet2022-07-141-201/+1
| | | | | | | | | | | | | | | by removing commented tests (now transferred to Github Actions)
* | | minor update of .github/workflows READMEYann Collet2022-07-141-12/+0
| | |
* | | Merge pull request #1113 from lz4/moreCompilersYann Collet2022-07-141-12/+12
|\ \ \ | |_|/ |/| | Add more compiler tests
| * | enable -m32 & -mx32 tests on all version of clang >= 4.0Yann Collet2022-07-131-10/+10
| | | | | | | | | | | | | | | | | | | | | clang 3.9 fails -m32 & -mx32, likely because it lacks the corresponding abi/library support. Oh well, it's not that important. Supporting all clang >= 4.0 is great enough for these tests.
| * | tested clang-12 with -m32 & -mx32Yann Collet2022-07-131-1/+1
| | |
| * | restore gcc-11 tests for -m32 and -mx32Yann Collet2022-07-131-1/+1
|/ /
* | Merge pull request #1114 from lz4/blockSizeYann Collet2022-07-135-50/+39
|\ \ | |/ |/| minor : proper interface for LZ4F_getBlockSize()
| * fix stricter enum type requirements for C++Yann Collet2022-07-132-7/+7
| |
| * minor : proper interface for LZ4F_getBlockSize()Yann Collet2022-07-134-43/+32
|/ | | | | and proper documentation. Also : updated manual
* Merge pull request #1112 from lz4/removeBaseYann Collet2022-07-132-84/+92
|\ | | | | Fix #991
| * removed ->dictBase from lz4hc stateYann Collet2022-07-132-27/+34
| | | | | | | | replaced by ->dictStart
| * removed ->base from lz4hc stateYann Collet2022-07-132-67/+68
|/ | | | replaced by ->prefixStart
* Merge pull request #1110 from lz4/moreCompactStatesYann Collet2022-07-131-4/+5
|\ | | | | Re-organize state's internal to be more compact
| * Re-organize state's internal to be more compactYann Collet2022-07-131-4/+5
|/ | | | | produces less padding, notably on OS400 following #1070 by @jonrumsey
* Merge pull request #1109 from lz4/staticSizesYann Collet2022-07-125-95/+38
|\ | | | | refactor interface for static state allocation
| * minor : specify min versions for library version identifiersYann Collet2022-07-123-45/+27
| |
| * clarify static sizes of states for static allocationYann Collet2022-07-124-72/+33
|/
* Merge pull request #1108 from lz4/abiTestsYann Collet2022-07-127-1/+423
|\ | | | | ABI compatibility tests
| * added abiTests to githubYann Collet2022-07-121-0/+15
| |
| * generalize across all 3 ABI architecturesYann Collet2022-07-122-70/+85
| |
| * write liblz4 dynamic library versionYann Collet2022-07-124-13/+29
| | | | | | | | requires liblz4 >= v1.7.5
| * first ABI compat testsYann Collet2022-07-124-1/+377
|/ | | | only use current march & default compiler
* Merge pull request #1104 from jonrumsey/os400-build-fixYann Collet2022-07-112-3/+47
|\ | | | | Change definitions of LZ4_xxxSIZE defines for OS400
| * Change definitions of LZ4_STREAMSIZE, LZ4_STREAMDECODESIZE and ↵jonrumsey2022-07-112-3/+47
| | | | | | | | | | | | LZ4_STREAMHCSIZE to factor in OS400 pointer length and structure alignment rules Update the length values on platforms where pointers are 16-bytes, factor in implicit compiler padding to ensure proper alignment of members and overall structure lengths
* | Merge pull request #1105 from lz4/makeblock2Yann Collet2022-07-111-27/+20
|\ \ | | | | | | minor refactor : simplify LZ4F_makeBlock
| * | minor refactor : simplify LZ4F_makeBlockYann Collet2022-07-111-27/+20
|/ / | | | | | | one less argument
* | Merge pull request #1103 from lz4/fix_fuzzer_leakYann Collet2022-07-111-2/+3
|\ \ | |/ |/| fixed direct-leak in round_trip_fuzzer.c
| * fixed direct-leak in round_trip_fuzzer.cYann Collet2022-07-101-2/+3
|/ | | | reported by oss-fuzz
* minor frame format clarificationYann Collet2022-07-101-2/+1
| | | | no need to specify that a decoder can "ignore the checksum".
* Merge pull request #1102 from lz4/ossfuzz_ghtestYann Collet2022-07-101-0/+30
|\ | | | | add ossfuzz tests to Github Actions
| * add ossfuzz tests to Github ActionsYann Collet2022-07-101-0/+30
| |
* | Merge pull request #1100 from yoniko/fuzzer-fixesYann Collet2022-07-092-110/+106
|\ \ | |/ |/| Fix recent fuzzers issues and false positives
| * - Fixed incorrect free in `round_trip_fuzzer.c` ↵Yonatan Komornik2022-07-092-110/+106
|/ | | | | | (https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48884) - Fixed `round_trip_frame_uncompressed_fuzzer.c` to not use uninitialized memory (https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48910)
* Merge pull request #1099 from lz4/pr1094_frametestYann Collet2022-07-051-12/+26
|\ | | | | Add a fuzzer test for LZ4F_uncompressedUpdate() within frametest