summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'dev' into lz4f_customMemYann Collet2022-07-135-50/+40
|\
| * 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
* | 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 #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
| * update frametest for new condition for uncompressedUpdateYann Collet2022-07-051-13/+10
| |
| * Merge branch 'pr1094' into pr1094_frametestYann Collet2022-07-0511-181/+86
| |\
| * | added fuzzer test for LZ4F_uncompressedUpdate in frametestYann Collet2022-07-011-12/+29
| | |
* | | ignore ossfuzz artifactYann Collet2022-07-051-23/+4
| | |
* | | Merge pull request #1094 from alexmohr/add-uncompressed-apiYann Collet2022-07-058-44/+394
|\ \ \ | | |/ | |/| frame-api: add function to insert uncomressed data
| * | review: fix findingsAlexander Mohr2022-07-056-23/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * replace assert with test for LZ4F_uncompressedUpdate * update documentation to incldue correct docstring * remove unecessary entry point * remove compress_linked_block_mode from fuzzing test Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * | uncompressed-api: allow uncompressed_update only for independent blocksAlexander Mohr2022-07-056-163/+84
| | | | | | | | | | | | Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * | lz4frame: correct start and size after flushAlexander Mohr2022-07-041-1/+4
| |/ | | | | | | | | | | | | | | | | | | | | when the block mode changes a flush is executed, to prevent mixing compressed and uncompressed data. Prior to this commit dstStart, dstPtr, dstCapacity where not updated to include the offset from bytesWritten. For inputs > blockSize this meant the flushed data was overwritten. Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * ossfuzz: extend fuzzing test to include linked blocksAlexander Mohr2022-06-131-5/+24
| | | | | | | | | | | | fuzzing test now tests linked and independent blocks Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * meson: fix meson buildAlexander Mohr2022-06-112-2/+2
| | | | | | | | add static dependency to examples
| * dict-size: make lz4 context constAlexander Mohr2022-06-115-7/+7
| | | | | | | | | | change the context to const to make clear that the context is not modified
| * lz4frame: fix different linkage errorAlexander Mohr2022-06-111-1/+1
| | | | | | | | Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * fuzz-test: add fuzz test for uncompressed apiAlexander Mohr2022-06-114-7/+129
| | | | | | | | | | | | add a fuzzing test for uncompressed frame api Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * review: Fix review findingsAlexander Mohr2022-06-104-39/+47
| | | | | | | | | | | | This commit fixes the review findings Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * review: Fix review findingsAlexander Mohr2022-06-108-27/+89
| | | | | | | | | | | | This commit fixes the review findings Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * frame-api: add method to insert uncomressed dataAlexander Mohr2022-06-098-95/+329
| | | | | | | | | | | | | | | | new method `uncompressed_update` allows to insert blocks without compression into the lz4 stream. The usage is documented in the frameCompress example Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
* | clarify yet another time what dual-license meansYann Collet2022-07-042-3/+4
| |
* | updated dll READMEYann Collet2022-07-041-9/+9
| |
* | Merge branch 'dev' of github.com:Cyan4973/lz4 into devYann Collet2022-07-042-0/+30
|\ \