1
0
mirror of https://github.com/lz4/lz4.git synced 2026-10-24 01:48:57 +03:00

Commit Graph

  • c58a58172c Merge pull request #1932 from lz4/unittest_simple dev Yann Collet 2026-10-23 13:33:46 -07:00
  • b682bc76c5 Merge pull request #1917 from arshsmith1/bufpool-cursor-overflow Yann Collet 2026-10-23 13:33:20 -07:00
  • 8f402355df lz4hc.h : document the compression levels of LZ4_compress_HC() hc_levels_doc Yann Collet 2026-10-23 11:36:33 -07:00
  • e0924dcb52 lz4frame: multi-threaded jobs of 1 MB with linked blocks too mt_jobsize_1mb Yann Collet 2026-10-23 11:26:29 -07:00
  • 3532daff71 lz4io: buffer pool index takes the counter type, without cast Yann Collet 2026-10-23 11:00:09 -07:00
  • e9011d0510 NEWS: multithreaded decode buffer pool counters Yann Collet 2026-10-23 07:28:04 -07:00
  • 5d63c34ac0 tests: move the simple block unit tests from fuzzer.c to unittest unittest_simple Yann Collet 2026-10-22 17:34:15 -07:00
  • 9af9ec8f26 Merge pull request #1930 from lz4/hc_dictctx_copy_4kb Yann Collet 2026-10-23 07:49:11 -07:00
  • 98c203d9e2 Merge pull request #1931 from lz4/cli_rm_test_stdin Yann Collet 2026-10-22 17:23:19 -07:00
  • 0d189ee6f6 Merge pull request #1926 from lz4/unittest_framework Yann Collet 2026-10-22 17:21:30 -07:00
  • dc4983558d lz4hc : copy the tables of an attached dictionary from 4 KB inputs hc_dictctx_copy_4kb Yann Collet 2026-10-22 16:10:14 -07:00
  • ab7ec87f26 NEWS: --rm skips -t and stdin cli_rm_test_stdin Yann Collet 2026-10-22 16:09:26 -07:00
  • 24e765a099 cli: --rm skips -t and stdin Nexory 2026-10-22 00:06:47 +02:00
  • 04c771f442 tests: add unittest, a unit test framework with autonomous tests unittest_framework Yann Collet 2026-10-21 16:56:18 -07:00
  • 7fcff05478 Merge pull request #1928 from lz4/mid_lazy_short_match Yann Collet 2026-10-22 15:49:14 -07:00
  • bbbffc822b Merge pull request #1929 from lz4/lib_mt_proto Yann Collet 2026-10-22 15:48:54 -07:00
  • 9b2bcd91a9 ossfuzz: uncompressed round trip fuzzer also employs worker threads (nbWorkers from 0 to 3) lib_mt_proto Yann Collet 2026-10-21 21:58:44 -07:00
  • b1b1feda6d lz4frame.h: with linked blocks, multi-threaded output can differ from nbWorkers == 0 at any level Yann Collet 2026-10-21 21:38:56 -07:00
  • 5d0c796189 lib/Makefile: Windows DLL built through multiconf, so that changing MULTITHREAD rebuilds it Yann Collet 2026-10-21 21:08:32 -07:00
  • ab5fed2d46 man: memory-mapped input is compared with the frame checksum, rather than verified unchanged Yann Collet 2026-10-21 18:14:50 -07:00
  • 7947beddd6 frametest: incompressible test data no longer depends on FUZ_rand() cycles Yann Collet 2026-10-21 17:41:19 -07:00
  • 648ebfaeb3 rebase on dev : lz4 frame compression follows dev's split of file processing ; worker states initialized by LZ4F_initLZ4State() (checkpoint) Yann Collet 2026-10-21 16:32:58 -07:00
  • c0a1b631e6 review round 12: LZ4F_uncompressedUpdate() supports linked blocks ; CLI threads capped by file jobs and memory budget, with warnings ; Windows and Makefile fixes (checkpoint) Yann Collet 2026-10-21 16:11:54 -07:00
  • 35d74f85f7 lz4hc: LZ4_saveDictHC() before any compression no longer corrupts the next block Yann Collet 2026-10-21 14:06:14 -07:00
  • 124e0d4da8 lz4frame: exact bounds, the job is the unit with nbWorkers >= 1 ; uncompressed segments are jobs ; CLI output buffer independent of nb of threads (checkpoint) Yann Collet 2026-10-21 11:46:54 -07:00
  • fa086fd0d6 lz4frame: LZ4F_flush() and LZ4F_compressEnd() fill dstBuffer or complete ; CLI releaseLag from LZ4F_compressBound(0) (checkpoint) Yann Collet 2026-10-20 18:16:24 -07:00
  • a88e3a7311 review round 11: allocations within workers documented, CLI nb of threads only grows across files, single-job files without workers, compressBound() with one job slot without multithreading (checkpoint) Yann Collet 2026-10-20 16:53:18 -07:00
  • 88ed0b630e api: LZ4F_getMaxNbWorkers() reports multi-threading support ; CLI thread cap follows liblz4, lz4 -V reports multithreading (checkpoint) Yann Collet 2026-10-19 20:27:53 -07:00
  • d4a0782b47 review round 10: failed LZ4F_compressBegin() invalidates on allocation only, deferred emission of completed jobs, VS2022 x64 CLI multithreaded (checkpoint) Yann Collet 2026-10-19 18:55:42 -07:00
  • c6e5a8cf53 review round 9: destination too small invalidates MT frames (test), --rm keeps a renamed or replaced source, multithreaded CLI tests, MSan step (checkpoint) Yann Collet 2026-10-19 15:21:50 -07:00
  • 826f9bd6c8 cleanup: legacy helpers without frame leftovers, nbWorkers == 1 comments (checkpoint) Yann Collet 2026-10-19 10:31:19 -07:00
  • 125fdf4baa NEWS: multithreaded liblz4 (checkpoint) Yann Collet 2026-10-19 09:43:34 -07:00
  • bfd8019c02 memory: CLI memory budget (--memory, LZ4_MEMORY), no fixed nb of workers, single-threaded path without threads, no tmpBuff for MT frames, uncompressed segments as single-threaded (checkpoint) Yann Collet 2026-10-19 08:12:36 -07:00
  • 6781c41631 lz4 CLI: memory-mapped source modified during compression is accepted when its content checksum still matches (checkpoint) Yann Collet 2026-10-18 11:29:55 -07:00
  • b54cc29c78 MT robustness: source modified during compression detected, pool retried, queued jobs cancelled, longer mmap release lag (checkpoint) Yann Collet 2026-10-18 11:06:17 -07:00
  • 869ed8083f build: shared pthread probe within a private directory, also for programs (checkpoint) Yann Collet 2026-10-17 23:38:41 -07:00
  • 96be2ab78d build: mingw _WIN32_WINNT, pthread probe in a private directory, install installs what was built (checkpoint) Yann Collet 2026-10-17 23:07:06 -07:00
  • d9c9fe23a2 lz4frame: explicit reserved fields ; LZ4F_srcStableUntilFlush includes LZ4F_srcStable (checkpoint) Yann Collet 2026-10-17 18:40:26 -07:00
  • 84507cb3d6 MT: synchronous signals remain deliverable in workers ; CLI reports SIGBUS on memory-mapped input (checkpoint) Yann Collet 2026-10-17 17:22:32 -07:00
  • c283199226 lz4frame: LZ4F_stableSrc_t, MT jobs read input in place only with LZ4F_srcStableUntilFlush (checkpoint) Yann Collet 2026-10-17 16:42:40 -07:00
  • ebbdb4e807 MT hardening : allocation failure injection, lz4file test, fuzzers with nbWorkers, CI sanitizer steps (checkpoint) Yann Collet 2026-10-17 11:47:54 -07:00
  • bb777cdb47 lz4 CLI: memory-mapped input for frame compression, --[no-]mmap ; document -T# semantics (checkpoint) Yann Collet 2026-10-17 08:16:49 -07:00
  • ae0012969a lz4frame: reduce multi-threading memory (checkpoint) Yann Collet 2026-10-17 07:43:00 -07:00
  • 0852fddadc lz4frame: streaming multi-threaded compression, persistent pool, CLI uses it (checkpoint) Yann Collet 2026-10-14 22:02:39 -07:00
  • 02916432ee lz4frame: experimental multi-threaded one-shot compression (checkpoint) Yann Collet 2026-10-14 20:52:36 -07:00
  • 81ee260c4e level 2 : check ip+1 after any short match mid_lazy_short_match Yann Collet 2026-10-22 03:45:59 -07:00
  • e5ab519f10 Merge pull request #1925 from lz4/shortcut_context_candidate Yann Collet 2026-10-21 21:12:21 -07:00
  • 4b45bb5e32 fast levels : first test the position following the previous occurrence of ip-1 shortcut_context_candidate Yann Collet 2026-10-21 17:00:12 -07:00
  • bb93da808f Merge pull request #1924 from lz4/dictctx_copy_threshold Yann Collet 2026-10-21 16:06:06 -07:00
  • 082944fa53 Merge pull request #1922 from lz4/cli_main_helpers Yann Collet 2026-10-21 15:59:56 -07:00
  • da7b7ebdda copy the tables of an attached dictionary from 2 KB inputs dictctx_copy_threshold Yann Collet 2026-10-21 15:30:40 -07:00
  • 6739cc9d10 cli: main() : clearer check of the .lz4 extension for automatic output names cli_main_helpers Yann Collet 2026-10-21 15:16:34 -07:00
  • 6a291524be Merge pull request #1921 from lz4/lz4f_compress_dedup Yann Collet 2026-10-21 14:55:33 -07:00
  • ab5f917365 lz4frame: share state initialization, LZ4F_makeBlock() takes the context lz4f_compress_dedup Yann Collet 2026-10-21 14:22:18 -07:00
  • 1c51283d11 Merge pull request #1920 from lz4/cli_multiple_names Yann Collet 2026-10-21 13:40:48 -07:00
  • 317389aaff cli: share file name building of multiple-files modes cli_multiple_names Yann Collet 2026-10-21 12:44:20 -07:00
  • 9e8bc239b8 Merge pull request #1918 from lz4/cli_legacy_rm Yann Collet 2026-10-21 10:54:36 -07:00
  • f11eeb613c cli: legacy format honors --rm and keeps file attributes cli_legacy_rm Yann Collet 2026-10-20 17:34:51 -07:00
  • 568d7d93c3 lz4io: use unsigned counters for multithreaded decode buffer pool arshiya tabasum 2026-10-21 02:27:01 +05:30
  • dcd73e8e4d Merge pull request #1915 from akashdeshmukh-git/cli-reject-malformed-long-args Yann Collet 2026-10-20 15:49:17 -07:00
  • 5ba45766fb lz4: LZ4_compress_generic_validated(): factor candidate resolution lz4_compress_candidate Yann Collet 2026-10-20 01:12:45 -07:00
  • 911d1ae36b Merge pull request #1914 from akashdeshmukh-git/fix-truncated-skippable-frame Yann Collet 2026-10-20 11:39:44 -07:00
  • 2e12728a18 Merge pull request #1912 from lz4/wildcopy64_override Yann Collet 2026-10-20 09:55:21 -07:00
  • 5542d86ef3 Merge branch 'dev' into wildcopy64_override wildcopy64_override Yann Collet 2026-10-20 08:26:08 -07:00
  • 1deef0b70c Merge pull request #1913 from lz4/xxh_bad_function_cast Yann Collet 2026-10-20 08:21:58 -07:00
  • cebeba6e3e cli: reject malformed --fast= and --threads arguments akashdeshmukh-git 2026-10-20 08:32:54 +00:00
  • 26f121584a lz4io: detect truncated skippable frames in regular files akashdeshmukh-git 2026-10-20 08:32:54 +00:00
  • 060275ab9f Merge pull request #1911 from lz4/lz4f_decompress_gather Yann Collet 2026-10-20 00:01:04 -07:00
  • 8b8c415d79 xxhash: no -Wbad-function-cast warning xxh_bad_function_cast Yann Collet 2026-10-19 23:50:05 -07:00
  • af4b7386f2 lz4: LZ4_WILDCOPY64 can be set from the build command Yann Collet 2026-10-19 23:31:08 -07:00
  • 3e337913ce Merge pull request #1910 from lz4/compress_end_limits Yann Collet 2026-10-19 23:26:13 -07:00
  • 79d09aa0d9 lz4frame: LZ4F_decompress(): gather input with LZ4F_gatherInput() lz4f_decompress_gather Yann Collet 2026-10-19 23:02:10 -07:00
  • aecc724040 lz4: set the compressor's end limits after the input size check Yann Collet 2026-10-19 22:49:18 -07:00
  • 29f736debc Merge pull request #1909 from lz4/lz4f_decompress_dedup Yann Collet 2026-10-19 22:46:25 -07:00
  • f20d44534e Merge pull request #1908 from lz4/cxx_modules_headers Yann Collet 2026-10-19 22:46:08 -07:00
  • aca5592874 lz4frame: LZ4F_decompress(): factor block decoding and history move lz4f_decompress_dedup Yann Collet 2026-10-19 21:46:21 -07:00
  • 6f6e186b3a headers: include dependencies outside of extern "C" cxx_modules_headers Yann Collet 2026-10-19 21:34:16 -07:00
  • 2de9a161a0 Merge pull request #1907 from lz4/lz4mid_simplify Yann Collet 2026-10-19 21:22:59 -07:00
  • e94b51bbd0 Merge pull request #1906 from lz4/bench_decode_only_capacity Yann Collet 2026-10-19 21:22:34 -07:00
  • f676142fff lz4hc: LZ4MID_compress(): factor match candidate evaluation lz4mid_simplify Yann Collet 2026-10-19 20:51:52 -07:00
  • c661d143b5 Merge pull request #1782 from neilpang/freebsd-ci Yann Collet 2026-10-19 20:47:55 -07:00
  • bf2b488182 bench: decode-only mode shares the whole result buffer bench_decode_only_capacity Yann Collet 2026-10-19 20:46:34 -07:00
  • 4eba01144b Merge pull request #1905 from lz4/legacy_zero_endmark Yann Collet 2026-10-19 20:33:11 -07:00
  • 73db319b24 Merge pull request #1904 from lz4/lz4mid_hash_positions Yann Collet 2026-10-19 20:28:56 -07:00
  • a2e2466490 ci: align the FreeBSD workflow with the other workflows Yann Collet 2026-10-19 19:11:34 -07:00
  • fe6efeb514 cli: legacy decoder counts decoded bytes in its writer thread legacy_zero_endmark Yann Collet 2026-10-19 16:59:49 -07:00
  • ac2eba0f1a cli: accept the Linux kernel's legacy end marker Yann Collet 2026-10-19 16:58:59 -07:00
  • bc4551652d ci: run the FreeBSD tests on GitHub Actions neil 2026-08-06 20:04:48 +08:00
  • a431b76060 Merge pull request #1903 from lz4/bench_small_blocks_overflow Yann Collet 2026-10-19 18:56:22 -07:00
  • 9584f8433a lz4hc: LZ4MID_compress(): fill hash tables at the actual match start lz4mid_hash_positions Yann Collet 2026-10-19 17:08:08 -07:00
  • 594ec184b8 Merge pull request #1902 from lz4/decoder_ring_margin Yann Collet 2026-10-19 16:48:08 -07:00
  • ed8b913adc Merge pull request #1901 from lz4/hc_hashChain_simplify Yann Collet 2026-10-19 16:44:26 -07:00
  • c2ecde85b9 bench: fix compressed buffer size with small blocks bench_small_blocks_overflow Yann Collet 2026-10-19 16:28:25 -07:00
  • f4f7a9882c lz4: decoder still supports rings of the former LZ4_DECODER_RING_BUFFER_SIZE() decoder_ring_margin Yann Collet 2026-10-19 15:59:40 -07:00
  • 875d99dd82 lz4hc: LZ4HC_compress_hashChain(): simplify the m1/m2/m3 flow hc_hashChain_simplify Yann Collet 2026-10-19 16:12:49 -07:00
  • 0aea8e59bb Merge pull request #1899 from lz4/decompress_shared_offset_copy Yann Collet 2026-10-19 15:22:07 -07:00
  • 2330c5ddc1 lz4: LZ4_decompress_generic(): safe loop copies matches with LZ4_memcpy_using_offset_base() decompress_shared_offset_copy Yann Collet 2026-10-19 09:41:22 -07:00
  • 558a11b82b Merge pull request #1900 from lz4/cli_mozlz4 Yann Collet 2026-10-19 12:54:03 -07:00
  • 7d3390ea39 Merge pull request #1898 from lz4/wildCopy64_all_targets Yann Collet 2026-10-19 12:43:30 -07:00
  • c33d5dc701 lz4: LZ4_decompress_generic(): LZ4_wildCopy64 on x86-64 wildCopy64_all_targets Yann Collet 2026-10-19 09:51:38 -07:00