Commit Graph

3571 Commits

Author SHA1 Message Date
Yann Collet
c1501a248f
Merge pull request #1405 from AtariDreams/loop
Define mlen = MINMATCH at the start of the loop
2024-05-07 23:02:58 -07:00
Yann Collet
9c038e9f7d
Merge pull request #1403 from AtariDreams/one
len should be unsigned
2024-05-07 22:35:50 -07:00
Rose
db10b08fc9 len should be unsigned
len will never underflow, as it is already bounds-checked, and casting is potentially another instruction.
2024-05-07 21:35:30 -04:00
Yann Collet
29cd102e09
Merge pull request #1404 from AtariDreams/or
Prefer OR over ADD for splicing numbers from byte-addressed memory
2024-05-07 18:26:11 -07:00
Rose
642f6b8f80 Prefer OR over ADD for splicing numbers from byte-addressed memory 2024-05-07 19:33:28 -04:00
Rose
7f042fc1ed Define mlen = MINMATCH at the start of the loop 2024-05-07 19:22:35 -04:00
Nicolas
9838a0de34 Update function comment 2024-05-05 17:41:16 -07:00
Yann Collet
0f57364a1b
Merge pull request #1398 from lz4/dependabot/github_actions/actions/upload-artifact-4.3.3
Bump actions/upload-artifact from 4.3.2 to 4.3.3
2024-04-29 15:58:07 -07:00
Yann Collet
305c9e23a2
Merge pull request #1397 from lz4/dependabot/github_actions/actions/checkout-4.1.4
Bump actions/checkout from 4.1.3 to 4.1.4
2024-04-29 15:37:54 -07:00
dependabot[bot]
ae585f7750
Bump actions/upload-artifact from 4.3.2 to 4.3.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1746f4ab65...65462800fd)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 06:55:46 +00:00
dependabot[bot]
6428f91fce
Bump actions/checkout from 4.1.3 to 4.1.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1d96c772d1...0ad4b8fada)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 06:55:42 +00:00
ur4t
ba744bd16c CMake: Separate symlinks creation and installation 2024-04-28 17:25:41 +08:00
Yann Collet
7467ddc4c9
Merge pull request #1394 from lz4/dependabot/github_actions/github/codeql-action-3.25.1
Bump github/codeql-action from 3.24.9 to 3.25.1
2024-04-24 09:49:15 -07:00
Yann Collet
0910d97aac
Merge pull request #1393 from lz4/dependabot/github_actions/actions/upload-artifact-4.3.2
Bump actions/upload-artifact from 4.3.1 to 4.3.2
2024-04-23 23:01:42 -07:00
Yann Collet
dd8ae0b34b
Merge pull request #1392 from lz4/dependabot/github_actions/actions/checkout-4.1.3
Bump actions/checkout from 4.1.2 to 4.1.3
2024-04-23 10:56:30 -07:00
dependabot[bot]
fb301fa790
Bump github/codeql-action from 3.24.9 to 3.25.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.9 to 3.25.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1b1aada464...c7f9125735)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 06:19:00 +00:00
dependabot[bot]
7789c91749
Bump actions/upload-artifact from 4.3.1 to 4.3.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](5d5d22a312...1746f4ab65)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 06:18:54 +00:00
dependabot[bot]
667c5b18d4
Bump actions/checkout from 4.1.2 to 4.1.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9bb56186c3...1d96c772d1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 06:18:50 +00:00
Yann Collet
b035135b9a
Merge pull request #1390 from lz4/bench_out
benchmark results are displayed to stdout
2024-04-16 16:33:59 -07:00
Yann Collet
35264befb8
Merge pull request #1381 from lz4/dependabot/github_actions/github/codeql-action-3.24.9
Bump github/codeql-action from 3.24.7 to 3.24.9
2024-04-04 00:52:31 -07:00
Yann Collet
1a5b83b8c4 benchmark results are displayed to stdout
instead of stderr
2024-04-03 22:49:11 -07:00
Yann Collet
47058197f7
Merge pull request #1384 from RoboSchmied/RoboSchmied-AGfixT74
Fix typo
2024-04-01 14:10:07 -07:00
Yann Collet
39d869620c
Merge pull request #1389 from lz4/dependabot/github_actions/actions/setup-python-5.1.0
Bump actions/setup-python from 5.0.0 to 5.1.0
2024-04-01 00:13:14 -07:00
dependabot[bot]
3cd6d01162
Bump actions/setup-python from 5.0.0 to 5.1.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](0a5c615913...82c7e631bb)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 06:27:38 +00:00
Yann Collet
835d6f9a61
Merge pull request #1383 from jonrumsey/dev
Suppress VS2022 warnings
2024-03-31 13:17:43 -07:00
Yann Collet
a1b8ec971c
Merge pull request #1388 from lz4/fix/typo-makefile-variables
Fix typo `libzstd` -> `liblz4`
2024-03-31 00:30:57 -07:00
t-mat
5b44fd1e36 Fix typo libzstd -> liblz4 2024-03-31 16:01:38 +09:00
RoboSchmied
993e77f255 Fix: 25 typos
Signed-off-by: RoboSchmied <github@roboschmie.de>
2024-03-26 15:21:45 +01:00
Jon Rumsey
58c3e9dc1d Suppress VS2022 warnings
Suppress compiler warnings that comparands are both constants.
2024-03-26 09:01:40 +00:00
dependabot[bot]
e1ccdfcde2
Bump github/codeql-action from 3.24.7 to 3.24.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.7 to 3.24.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3ab4101902...1b1aada464)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 06:14:39 +00:00
Yann Collet
2e33b0c5f7
Merge pull request #1377 from lz4/dependabot/github_actions/github/codeql-action-3.24.7
Bump github/codeql-action from 3.24.6 to 3.24.7
2024-03-22 12:43:52 -07:00
Yann Collet
98a475d11f
Merge pull request #1378 from lz4/dependabot/github_actions/actions/checkout-4.1.2
Bump actions/checkout from 4.1.1 to 4.1.2
2024-03-22 11:11:32 -07:00
Yann Collet
643a51caa8 minor: assert successful context creation 2024-03-22 10:34:55 -07:00
Yann Collet
5b4f996e99
Merge pull request #1380 from lz4/fix1374
fix #1374
2024-03-22 09:21:03 -07:00
Yann Collet
fab3068680 add test for bug #1374 2024-03-21 23:33:30 -07:00
Yann Collet
e50a894154 fix #1374
The output buffer size was sized using the function `LZ4F_compressFrameBound(, NULL)`,
with the mention "cover worst scenario".
That's incorrect : using `, NULL` covers the _default_ scenario,
and there are ways to make the situation worse
by using advanced command line options, starting with `-B4`.
In some limit scenarios, it leads to situations where the output buffer is not large enough.

Switched to determining the main ingredients of LZ4F_preferences_t during initialization
and using actual compression parameters to determine the output buffer size
thus avoiding corner cases where it's under-sized.
2024-03-21 22:43:52 -07:00
dependabot[bot]
fc0943e7d2
Bump actions/checkout from 4.1.1 to 4.1.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](b4ffde65f4...9bb56186c3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 06:23:52 +00:00
dependabot[bot]
d8f0e86936
Bump github/codeql-action from 3.24.6 to 3.24.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.6 to 3.24.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](8a470fddaf...3ab4101902)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 06:23:45 +00:00
Yann Collet
a3be31154f
Merge pull request #1376 from lz4/async_dec
Introduce Async I/O for decompression
2024-03-12 11:38:24 -07:00
Yann Collet
6b88d0a311 fix to please C++ compiler
though I wonder what's the point for units of the CLI program...
2024-03-10 18:14:11 -07:00
Yann Collet
323360009f minor: keep old single-thread code
use compilation variable LZ4IO_MULTITHREAD to switch between the 2
2024-03-10 18:02:25 -07:00
Yann Collet
7a1b70502a fix variable LZ4IO_MULTITHREAD 2024-03-10 17:57:26 -07:00
Yann Collet
43ae8c8545 first implementation of async io for decoder 2024-03-10 17:10:04 -07:00
Yann Collet
e0410ac4b6 reorganize mt code 2024-03-10 00:00:49 -08:00
Yann Collet
20c2f3cb64
Merge pull request #1375 from deining/fix-typo
Fix typo
2024-03-08 13:59:45 -08:00
Andreas Deininger
56e80abbfd Fix typo 2024-03-08 22:20:35 +01:00
Yann Collet
a07d8125da
Merge pull request #1373 from lz4/dependabot/github_actions/github/codeql-action-3.24.6
Bump github/codeql-action from 3.24.3 to 3.24.6
2024-03-04 00:28:57 -08:00
dependabot[bot]
a1b741e8b6
Bump github/codeql-action from 3.24.3 to 3.24.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.3 to 3.24.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](379614612a...8a470fddaf)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 06:22:14 +00:00
Yann Collet
0e4fa244fd
Merge pull request #1372 from teo-tsirpanis/unified-target
Add unified CMake target if building only a shared or statric library.
2024-03-01 16:54:56 -08:00
Theodore Tsirpanis
e5207e0c19 Add unified CMake target if building only a shared or a statric library. 2024-02-27 21:39:48 +02:00