0
0
mirror of https://github.com/lz4/lz4 synced 2026-01-18 17:21:30 +01:00

3734 Commits

Author SHA1 Message Date
Yann Collet
a018abc07a Merge pull request #1665 from cclauss/dev
CircleCI: Test using Python 3.14 instead of 3.4
2026-01-01 22:48:39 -08:00
Yann Collet
d8faa81bbc Merge pull request #1643 from Benjamin-Philip/bp/docs-touch-up-double-buffer-example
Touch up double buffer example
2026-01-01 22:48:27 -08:00
Yann Collet
c609c16aed Merge pull request #1689 from lz4/dependabot/github_actions/actions/upload-artifact-6.0.0
build(deps): bump actions/upload-artifact from 4.6.2 to 6.0.0
2025-12-15 01:15:01 -08:00
dependabot[bot]
23d32f0b1b build(deps): bump actions/upload-artifact from 4.6.2 to 6.0.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 6.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](ea165f8d65...b7c566a772)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 06:02:34 +00:00
Yann Collet
110097559f Merge pull request #1683 from lz4/dependabot/github_actions/actions/checkout-6.0.1
build(deps): bump actions/checkout from 6.0.0 to 6.0.1
2025-12-12 07:06:59 +09:00
dependabot[bot]
147270761c build(deps): bump actions/checkout from 6.0.0 to 6.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v6...v6.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 06:03:03 +00:00
Yann Collet
92c3963f11 Merge pull request #1679 from lz4/dependabot/github_actions/actions/setup-python-6.1.0
build(deps): bump actions/setup-python from 6.0.0 to 6.1.0
2025-12-01 10:13:50 -08:00
dependabot[bot]
46af48bb7c build(deps): bump actions/setup-python from 6.0.0 to 6.1.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](e797f83bcb...83679a892e)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 06:25:18 +00:00
Yann Collet
3c08d0d8cb Merge pull request #1675 from lz4/dependabot/github_actions/actions/checkout-6.0.0
build(deps): bump actions/checkout from 5.0.0 to 6.0.0
2025-11-24 10:27:58 -08:00
dependabot[bot]
ea6dc9b608 build(deps): bump actions/checkout from 5.0.0 to 6.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 06:04:07 +00:00
Yann Collet
3773273593 Merge pull request #1670 from lz4/dependabot/github_actions/github/codeql-action-4.31.2
build(deps): bump github/codeql-action from 3.30.1 to 4.31.2
2025-11-03 19:41:06 +01:00
dependabot[bot]
c5e9dc7e74 build(deps): bump github/codeql-action from 3.30.1 to 4.31.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.1 to 4.31.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f1f6e5f6af...0499de31b9)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 06:03:44 +00:00
Christian Clauss
6ed67066e5 CircleCI: Test using Python 3.14 instead of 3.4
* https://devguide.python.org/versions
* https://www.python.org/downloads/release/python-3140/
2025-10-21 13:05:19 +02:00
Yann Collet
f8e365036e Merge pull request #1654 from lz4/lz4f_decompress_doc
update LZ4F_decompress() code documentation
2025-09-16 08:20:34 -08:00
Yann Collet
c99cfe4792 update LZ4F_decompress() code documentation
use doxygen format
2025-09-15 09:08:51 -07:00
Yann Collet
ec86e3da5d Merge pull request #1634 from Artoria2e5/patch-1
lz4_Frame_format.md: document kernel legacy last block
2025-09-11 14:52:31 -07:00
Yann Collet
7d33531b52 Merge pull request #1648 from Polaris-911/dev
Configure LZ4_FORCE_MEMORY_ACCESS=2 for RISC-V with Zicclsm extension
2025-09-11 14:51:59 -07:00
Yann Collet
8e51a91d32 Merge pull request #1651 from lz4/dependabot/github_actions/github/codeql-action-3.30.1
build(deps): bump github/codeql-action from 3.29.1 to 3.30.1
2025-09-08 12:18:47 -07:00
Yann Collet
39250499c1 Merge pull request #1650 from lz4/dependabot/github_actions/actions/setup-python-6.0.0
build(deps): bump actions/setup-python from 5.6.0 to 6.0.0
2025-09-08 09:40:16 -07:00
dependabot[bot]
9ae57d6e0a build(deps): bump github/codeql-action from 3.29.1 to 3.30.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.1 to 3.30.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](39edc492db...f1f6e5f6af)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 06:03:14 +00:00
dependabot[bot]
5b53668d45 build(deps): bump actions/setup-python from 5.6.0 to 6.0.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.6.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](a26af69be9...e797f83bcb)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 06:03:08 +00:00
Yann Collet
735042fcea Merge pull request #1649 from a-detiste/dev
remove outdated debian/ files that uses EOL CDBS
2025-09-05 15:33:53 -07:00
Alexandre Detiste
9218b701ee remove outdated debian/ files that uses EOL CDBS 2025-08-31 12:51:30 +02:00
Huang Shangcheng
6aabc3f823 Configure LZ4_FORCE_MEMORY_ACCESS=2 for RISC-V with Zicclsm extension 2025-08-27 15:20:08 +08:00
Yann Collet
bf71be6a86 Merge pull request #1645 from lz4/dependabot/github_actions/actions/checkout-5
build(deps): bump actions/checkout from 4 to 5
2025-08-23 19:23:58 -07:00
dependabot[bot]
f46b9690aa build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 09:41:38 +00:00
Benjamin Philip
e86c1217b6 Expand "What's the point of this example?" 2025-08-16 19:59:30 +05:30
Benjamin Philip
64ddd69095 Format 2025-08-16 19:49:06 +05:30
Benjamin Philip
bf41eb8700 Fix grammar 2025-08-16 19:42:12 +05:30
Benjamin Philip
3ecbee3dc9 Split ASCII illustrations 2025-08-16 19:05:36 +05:30
Mingye Wang
ef02dc63ef lz4_Frame_format.md: document kernel legacy last block
Since 2c484419ef, the Linux Kernel is able to discern the end of a legacy LZ4 frame by the presence of four 0 bytes, parsed as a B.CSize of 0 in the decoder. This is originally intended to make it mix well with grub initrd concatenation behavior (which uses a clause in the initramfs format about allowing arbitrary zero paddings), but I think it is a pretty good idea for any application limited to the legacy format in general.
2025-07-21 12:15:48 +08:00
Yann Collet
cacca37747 Merge pull request #1629 from lz4/dependabot/github_actions/github/codeql-action-3.29.1
build(deps): bump github/codeql-action from 3.28.5 to 3.29.1
2025-06-30 08:36:39 -07:00
dependabot[bot]
7335859602 build(deps): bump github/codeql-action from 3.28.5 to 3.29.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.5 to 3.29.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f6091c0113...39edc492db)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.29.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 07:51:37 +00:00
Yann Collet
2bc386d57c Merge pull request #1595 from felixhandte/ctx-size-funcs
Add Functions that Report LZ4F Contexts' Memory Footprints
2025-06-02 16:35:00 -07:00
W. Felix Handte
063d1a978a Add Test Validating Allocated Size Matches Reported Size
Adds additional record-keeping to track the live allocation size of a context
using a custom memory allocator.

This could be extended to more scenarios (e.g., streaming) if desired.
2025-06-02 11:06:59 -04:00
W. Felix Handte
92a17e9e0d Add Functions that Return the Memory Footprint for LZ4F Contexts 2025-06-02 10:32:49 -04:00
Yann Collet
9d04141cfc Merge pull request #1581 from KSSAB/dev
Replaced uint8_t with unsigned char in BYTE typedef for post C99/C++
2025-06-01 13:32:01 -07:00
Yann Collet
e0d8ff8cee Merge pull request #1593 from louislafosse/fix/null-params
fix(null) : improve error handlings when passing a null pointer to some functions from lz4frame
2025-06-01 13:28:30 -07:00
Louis Lafosse
324b81a5d1 Merge branch 'dev' into fix/null-params 2025-06-01 19:57:39 +02:00
Yann Collet
351fc6197d Merge pull request #1623 from TomasLeTrain/patch-1
Fixed small typo
2025-05-30 13:15:56 -07:00
Tomas Lopez
79a80135dd Fix typo 2025-05-30 14:28:32 -04:00
Louis Lafosse
15787d2640 Merge branch 'dev' into fix/null-params 2025-05-28 09:24:21 +02:00
louislafosse
f64efec011 fix(null) : improve error handlings when passing a null pointer to some functions from lz4frame 2025-05-27 23:05:06 +02:00
Yann Collet
db84c07b79 Merge pull request #1621 from lz4/ci_reorg
Github Actions script refactoring
2025-05-26 19:50:22 -07:00
Yann Collet
69505fc4e2 remove reference to x32 tests
this ABI is no longer supported by Github Actions
2025-05-27 02:17:34 +00:00
Yann Collet
64231b7b5f reorganize Github Actions CI script
improved modularity for better readability
2025-05-27 02:11:38 +00:00
Yann Collet
8ad17f092c Merge pull request #1620 from lz4/ci_refactor
Lz4 ci minor optimization
2025-05-26 19:01:46 -07:00
Yann Collet
1cc2834a59 ci: reduce OSS-Fuzz runtime from 300s to 100s per sanitizer
- Reduces total OSS-Fuzz CI time from 15 minutes to 5 minutes
- 100 seconds is sufficient to validate OSS-Fuzz integration scripts
- Saves ~10 minutes per CI run while maintaining functionality
2025-05-26 22:46:52 +00:00
Yann Collet
5d825d23e0 reduced compiler test matrix 2025-05-26 22:10:09 +00:00
Yann Collet
58d3acb530 remove redundant tests 2025-05-26 19:39:51 +00:00