]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
2 years agominor: fix overly cautious conversion warning
Yann Collet [Sat, 24 Feb 2024 00:05:09 +0000 (16:05 -0800)] 
minor: fix overly cautious conversion warning

2 years agofix long sequences (> 64 KB)
Yann Collet [Fri, 23 Feb 2024 23:35:12 +0000 (15:35 -0800)] 
fix long sequences (> 64 KB)

2 years agofix issue with incompressible sections
Yann Collet [Fri, 23 Feb 2024 22:53:56 +0000 (14:53 -0800)] 
fix issue with incompressible sections

2 years agospeed optimized version of targetCBlockSize
Yann Collet [Fri, 23 Feb 2024 22:03:26 +0000 (14:03 -0800)] 
speed optimized version of targetCBlockSize

note that the size of individual compressed blocks will vary more wildly with this modification.
But it seems good enough for a first test, and fix the speed regression issue.
Further refinements can be attempted later.

2 years agobenchmark more can test targetCBlockSize
Yann Collet [Fri, 23 Feb 2024 21:13:03 +0000 (13:13 -0800)] 
benchmark more can test targetCBlockSize

2 years agoMerge pull request #3903 from gruenich/feature/reduce-scope-of-variables
Yann Collet [Thu, 22 Feb 2024 17:42:02 +0000 (09:42 -0800)] 
Merge pull request #3903 from gruenich/feature/reduce-scope-of-variables

Reduce scope of variables

2 years agoMerge pull request #3905 from facebook/dependabot/github_actions/actions/upload-artif...
Yann Collet [Thu, 22 Feb 2024 17:41:26 +0000 (09:41 -0800)] 
Merge pull request #3905 from facebook/dependabot/github_actions/actions/upload-artifact-4.3.1

Bump actions/upload-artifact from 4.3.0 to 4.3.1

2 years agoMerge pull request #3913 from facebook/lorem2
Yann Collet [Thu, 22 Feb 2024 17:41:12 +0000 (09:41 -0800)] 
Merge pull request #3913 from facebook/lorem2

Lorem Ipsum generator update

2 years agoMerge pull request #3914 from facebook/setup_msys2_v2.22.0
Yann Collet [Wed, 21 Feb 2024 17:36:48 +0000 (09:36 -0800)] 
Merge pull request #3914 from facebook/setup_msys2_v2.22.0

updated setup-msys2 to v2.22.0

2 years agoupdated setup-msys2 to v2.22.0 3914/head
Yann Collet [Wed, 21 Feb 2024 08:22:04 +0000 (00:22 -0800)] 
updated setup-msys2 to v2.22.0

following a warning in recent test reports

```
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: msys2/setup-msys2@5beef6d11f48bba68b9eb503e3adc60b23c0cc36. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
```

2 years agofix include order 3913/head
Yann Collet [Wed, 21 Feb 2024 07:36:04 +0000 (23:36 -0800)] 
fix include order

2 years agofix Visual Studio datagen recipe
Yann Collet [Wed, 21 Feb 2024 06:59:58 +0000 (22:59 -0800)] 
fix Visual Studio datagen recipe

2 years agofix clangbuild
Yann Collet [Wed, 21 Feb 2024 06:43:22 +0000 (22:43 -0800)] 
fix clangbuild

notably -Wconversion and -Wdocumentation

2 years agofix cmake build
Yann Collet [Wed, 21 Feb 2024 04:20:40 +0000 (20:20 -0800)] 
fix cmake build

2 years agofix c89 compatibility by removing snprintf()
Yann Collet [Wed, 21 Feb 2024 03:21:01 +0000 (19:21 -0800)] 
fix c89 compatibility by removing snprintf()

note that this function has been in the code for a long while,
so why does it only start failing CI tests now ?

2 years agofix meson datagen build
Yann Collet [Wed, 21 Feb 2024 02:17:28 +0000 (18:17 -0800)] 
fix meson datagen build

2 years agofix datagen size control
Yann Collet [Wed, 21 Feb 2024 02:06:56 +0000 (18:06 -0800)] 
fix datagen size control

2 years agointernal benchmark: can select size of generated synthetic sample
Yann Collet [Tue, 20 Feb 2024 23:47:09 +0000 (15:47 -0800)] 
internal benchmark: can select size of generated synthetic sample

2 years agodatagen generates lorem ipsum by default
Yann Collet [Tue, 20 Feb 2024 23:24:25 +0000 (15:24 -0800)] 
datagen generates lorem ipsum by default

2 years agoincrease word dictionary
Yann Collet [Tue, 20 Feb 2024 21:27:36 +0000 (13:27 -0800)] 
increase word dictionary

for higher variety of messages.
Now, level 5 compresses better than level 4 (by a hair).

2 years agoruntime weight distribution table
Yann Collet [Tue, 20 Feb 2024 20:26:37 +0000 (12:26 -0800)] 
runtime weight distribution table

and made small words a bit more common.

2 years agoadd question marks
Yann Collet [Tue, 20 Feb 2024 08:37:21 +0000 (00:37 -0800)] 
add question marks

and (slightly) longer sentences.

2 years agoenriched vocabulary again
Yann Collet [Tue, 20 Feb 2024 08:30:29 +0000 (00:30 -0800)] 
enriched vocabulary again

using real latin sentences from Cicero.

Compression ratio lower again, closer to "real" text,

now level 6 is way better than level 4.

level 5 is still lower than level 4,
but at least it's now higher than level 3.

2 years agoincrease vocabulary size
Yann Collet [Tue, 20 Feb 2024 08:12:32 +0000 (00:12 -0800)] 
increase vocabulary size

makes compression a bit less good,
hence a bit more comparable with real text (though still too easy to compress).
level 6 is now stronger than level 4, by a hair.
However, there is still a ratio dip at level 5.

2 years agoMerge pull request #3909 from felixhandte/security-md-notif-list-ad
Felix Handte [Tue, 13 Feb 2024 17:38:18 +0000 (12:38 -0500)] 
Merge pull request #3909 from felixhandte/security-md-notif-list-ad

Advertise Availability of Security Vulnerability Notifications

2 years agoAdvertise Availability of Security Vulnerability Notifications 3909/head
W. Felix Handte [Tue, 13 Feb 2024 16:51:37 +0000 (11:51 -0500)] 
Advertise Availability of Security Vulnerability Notifications

2 years agoAdd SECURITY.md File
W. Felix Handte [Tue, 13 Feb 2024 16:50:55 +0000 (11:50 -0500)] 
Add SECURITY.md File

This just adds a copy of the Meta default SECURITY.md that we can then modify.

2 years agoBump actions/upload-artifact from 4.3.0 to 4.3.1 3905/head
dependabot[bot] [Mon, 12 Feb 2024 05:17:13 +0000 (05:17 +0000)] 
Bump actions/upload-artifact from 4.3.0 to 4.3.1

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/26f96dfa697d77e81fd5907df203aa23a56210a8...5d5d22a31266ced268874388b861e4b58bb5c2f3)

---
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>
2 years agoReduce scope of variables 3903/head
Christoph GrĂ¼ninger [Sun, 11 Feb 2024 10:22:05 +0000 (11:22 +0100)] 
Reduce scope of variables

This improves readability, keeps variables local, and
prevents the unintended use (e.g. typo) later on.
Found by Cppcheck (variableScope)

2 years agoMerge pull request #3902 from facebook/fuzz_debuglevel
Yann Collet [Fri, 9 Feb 2024 21:07:46 +0000 (13:07 -0800)] 
Merge pull request #3902 from facebook/fuzz_debuglevel

Fix fuzz issue 5131069967892480

2 years agofix fuzz issue 5131069967892480 3902/head
Yann Collet [Fri, 9 Feb 2024 00:38:20 +0000 (16:38 -0800)] 
fix fuzz issue 5131069967892480

2 years agofuzz: control debuglevel from Makefile
Yann Collet [Fri, 9 Feb 2024 00:14:14 +0000 (16:14 -0800)] 
fuzz: control debuglevel from Makefile

and make the compilation faster

2 years agoMerge pull request #3900 from facebook/fix5921623844651008
Yann Collet [Wed, 7 Feb 2024 20:27:03 +0000 (12:27 -0800)] 
Merge pull request #3900 from facebook/fix5921623844651008

fix 5921623844651008

2 years agoConvert the CircleCI workflow to a GitHub Actions workflow 3901/head
Josh Kearney [Thu, 1 Feb 2024 17:21:16 +0000 (11:21 -0600)] 
Convert the CircleCI workflow to a GitHub Actions workflow

2 years agoMerge pull request #3899 from sandreenko/dev
Sergey Andreenko [Tue, 6 Feb 2024 23:01:15 +0000 (18:01 -0500)] 
Merge pull request #3899 from sandreenko/dev

[Zstd] Less verbose log for patch mode.

2 years agofix issue 5921623844651008 3900/head
Yann Collet [Tue, 6 Feb 2024 20:15:54 +0000 (12:15 -0800)] 
fix issue 5921623844651008

ossfuzz managed to create a scenario which triggers an `assert`.
This fixes it, by giving +1 more space for the backward search pass.

2 years ago[Zstd] Less verbose log for patch mode. 3899/head
sergeyandreenko [Tue, 6 Feb 2024 20:07:11 +0000 (12:07 -0800)] 
[Zstd] Less verbose log for patch mode.

2 years agoMerge pull request #3895 from facebook/fix_3793
Yann Collet [Tue, 6 Feb 2024 04:12:24 +0000 (20:12 -0800)] 
Merge pull request #3895 from facebook/fix_3793

Improve compression of Arrays of Integers (High compression mode)

2 years agoadded or updated code comments 3895/head
Yann Collet [Tue, 6 Feb 2024 02:32:25 +0000 (18:32 -0800)] 
added or updated code comments

as suggested by @terrelln,
to make the code of the optimal parser a bit more understandable.

2 years agoupdate compression results for regression tests
Yann Collet [Mon, 5 Feb 2024 09:27:22 +0000 (01:27 -0800)] 
update compression results for regression tests

2 years agofix msan warnings
Yann Collet [Mon, 5 Feb 2024 09:21:06 +0000 (01:21 -0800)] 
fix msan warnings

2 years agofix uasan dictionary_stream_round_trip fuzz test
Yann Collet [Mon, 5 Feb 2024 08:36:10 +0000 (00:36 -0800)] 
fix uasan dictionary_stream_round_trip fuzz test

2 years agoMerge pull request #3897 from facebook/dependabot/github_actions/microsoft/setup...
Yann Collet [Mon, 5 Feb 2024 07:49:56 +0000 (23:49 -0800)] 
Merge pull request #3897 from facebook/dependabot/github_actions/microsoft/setup-msbuild-2.0.0

Bump microsoft/setup-msbuild from 1.3.2 to 2.0.0

2 years agofix msbuild action version number 3897/head
Yann Collet [Mon, 5 Feb 2024 06:45:18 +0000 (22:45 -0800)] 
fix msbuild action version number

2 years agoBump microsoft/setup-msbuild from 1.3.2 to 2.0.0
dependabot[bot] [Mon, 5 Feb 2024 05:43:28 +0000 (05:43 +0000)] 
Bump microsoft/setup-msbuild from 1.3.2 to 2.0.0

Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.3.2 to 2.0.0.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/031090342aeefe171e49f3820f3b52110c66e402...6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agouse ZSTD_memcpy()
Yann Collet [Sun, 4 Feb 2024 03:57:38 +0000 (19:57 -0800)] 
use ZSTD_memcpy()

which can be redirected in Linux kernel mode

2 years agoremoved trace control
Yann Collet [Sun, 4 Feb 2024 03:32:59 +0000 (19:32 -0800)] 
removed trace control

2 years agofixed wrong assert
Yann Collet [Sun, 4 Feb 2024 03:31:53 +0000 (19:31 -0800)] 
fixed wrong assert

by introducing ZSTD_OPT_SIZE

2 years agoupdate compression results
Yann Collet [Sun, 4 Feb 2024 01:52:50 +0000 (17:52 -0800)] 
update compression results

good news: there are only improvements

2 years agofixed wrong assert
Yann Collet [Sun, 4 Feb 2024 01:48:29 +0000 (17:48 -0800)] 
fixed wrong assert

2 years agominor optimization, mostly for clarity
Yann Collet [Sun, 4 Feb 2024 01:26:47 +0000 (17:26 -0800)] 
minor optimization, mostly for clarity

2 years agofinally, a version that generalizes well
Yann Collet [Sat, 3 Feb 2024 22:26:18 +0000 (14:26 -0800)] 
finally, a version that generalizes well

While it's not always strictly a win,
it's a win for files that see a noticeably compression ratio increase,
while it's a very small noise for other files.

Downside is, this patch is less efficient for 32-bit arrays of integer
than the previous patch which was introducing losses for other files,
but it's still a net improvement on this scenario.

2 years agoMerge pull request #3893 from felixhandte/gh-actions-cet-test-update-dep
Felix Handte [Thu, 1 Feb 2024 19:49:37 +0000 (14:49 -0500)] 
Merge pull request #3893 from felixhandte/gh-actions-cet-test-update-dep

Update Dependency in Intel CET Test; Re-Enable Test

2 years agoUpdate Dependency in Intel CET Test; Re-Enable Test 3893/head
W. Felix Handte [Wed, 31 Jan 2024 16:07:15 +0000 (11:07 -0500)] 
Update Dependency in Intel CET Test; Re-Enable Test

Motivated by #3884.

2 years agoMerge pull request #3890 from facebook/lorem
Yann Collet [Thu, 1 Feb 2024 18:15:57 +0000 (10:15 -0800)] 
Merge pull request #3890 from facebook/lorem

add a lorem ipsum generator

2 years agomodification: differentiate literal update at pos+1
Yann Collet [Wed, 31 Jan 2024 19:12:57 +0000 (11:12 -0800)] 
modification: differentiate literal update at pos+1

helps when litlen==1 is cheaper than litlen==0

works great on pathological arr[u32] examples
but doesn't generalize well on other files.

silesia/x-ray is amoung the most negatively affected ones.

2 years agoMerge pull request #3886 from facebook/sparc64
Yann Collet [Wed, 31 Jan 2024 18:55:11 +0000 (10:55 -0800)] 
Merge pull request #3886 from facebook/sparc64

add sparc64 compilation test

2 years agorefactor optimal parser
Yann Collet [Wed, 31 Jan 2024 10:51:46 +0000 (02:51 -0800)] 
refactor optimal parser

store stretches as intermediate solution instead of sequences.
makes it possible to link a solution to a predecessor.

2 years agoimprove high compression ratio for file like #3793
Yann Collet [Tue, 30 Jan 2024 07:25:24 +0000 (23:25 -0800)] 
improve high compression ratio for file like #3793

this works great for 32-bit arrays,
notably the synthetic ones, with extreme regularity,
unfortunately, it's not universal,
and in some cases, it's a loss.
Crucially, on average, it's a loss on silesia.
The most negatively impacted file is x-ray.
It deserves an investigation before suggesting it as an evolution.

2 years agoblindfix meson recipe 3890/head
Yann Collet [Mon, 29 Jan 2024 23:50:21 +0000 (15:50 -0800)] 
blindfix meson recipe

note: absence of GLOB capability within meson makes its maintenance more painful.

2 years agofix cmake recipe
Yann Collet [Mon, 29 Jan 2024 23:45:16 +0000 (15:45 -0800)] 
fix cmake recipe

2 years agofix Visual Studio solutions
Yann Collet [Mon, 29 Jan 2024 23:24:42 +0000 (15:24 -0800)] 
fix Visual Studio solutions

note: we probably don't want to maintain VS2008 solution anymore.
Its successor VS2010 is > 10 years old,
which is more or less the limit after which we can stop supporting old compilers.

2 years agofix paramgrill Makefile recipe
Yann Collet [Mon, 29 Jan 2024 23:18:27 +0000 (15:18 -0800)] 
fix paramgrill Makefile recipe

2 years agoadd a lorem ipsum generator
Yann Collet [Mon, 29 Jan 2024 23:00:32 +0000 (15:00 -0800)] 
add a lorem ipsum generator

this generator replaces the statistical generator
for the general case when no statistic is requested.

Generated data features a compression level speed / ratio curve
which is more in line with expectation.

2 years agoMerge pull request #3888 from facebook/dependabot/github_actions/microsoft/setup...
Yann Collet [Mon, 29 Jan 2024 22:34:53 +0000 (14:34 -0800)] 
Merge pull request #3888 from facebook/dependabot/github_actions/microsoft/setup-msbuild-1.3.2

Bump microsoft/setup-msbuild from 1.3.1 to 1.3.2

2 years agoMerge pull request #3887 from facebook/dependabot/github_actions/actions/upload-artif...
Yann Collet [Mon, 29 Jan 2024 17:49:36 +0000 (09:49 -0800)] 
Merge pull request #3887 from facebook/dependabot/github_actions/actions/upload-artifact-4.3.0

Bump actions/upload-artifact from 4.2.0 to 4.3.0

2 years agoBump microsoft/setup-msbuild from 1.3.1 to 1.3.2 3888/head
dependabot[bot] [Mon, 29 Jan 2024 05:53:45 +0000 (05:53 +0000)] 
Bump microsoft/setup-msbuild from 1.3.1 to 1.3.2

Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/1ff57057b5cfdc39105cd07a01d78e9b0ea0c14c...031090342aeefe171e49f3820f3b52110c66e402)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoBump actions/upload-artifact from 4.2.0 to 4.3.0 3887/head
dependabot[bot] [Mon, 29 Jan 2024 05:53:39 +0000 (05:53 +0000)] 
Bump actions/upload-artifact from 4.2.0 to 4.3.0

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/694cdabd8bdb0f10b2cea11669e1bf5453eed0a6...26f96dfa697d77e81fd5907df203aa23a56210a8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoadd sparc64 compilation test 3886/head
Yann Collet [Mon, 29 Jan 2024 04:25:04 +0000 (20:25 -0800)] 
add sparc64 compilation test

2 years agoMerge pull request #3880 from facebook/dependabot/github_actions/actions/upload-artif...
Yann Collet [Sun, 28 Jan 2024 05:49:29 +0000 (21:49 -0800)] 
Merge pull request #3880 from facebook/dependabot/github_actions/actions/upload-artifact-4.2.0

Bump actions/upload-artifact from 4.1.0 to 4.2.0

2 years agoMerge pull request #3883 from facebook/cmake_test
Yann Collet [Sun, 28 Jan 2024 02:18:15 +0000 (18:18 -0800)] 
Merge pull request #3883 from facebook/cmake_test

improve cmake test

2 years agofix cmakebuild test 3883/head
Yann Collet [Sat, 27 Jan 2024 23:09:21 +0000 (15:09 -0800)] 
fix cmakebuild test

write it in a way which is more compatible with older versions of cmake (<3.13)

Also:
fix pzstd compilation (notably on macos)

2 years agoMerge pull request #3884 from facebook/disable_intelcet
Yann Collet [Sun, 28 Jan 2024 01:29:17 +0000 (17:29 -0800)] 
Merge pull request #3884 from facebook/disable_intelcet

disable Intel CET Compatibility tests

2 years agodisable Intel CET Compatibility tests 3884/head
Yann Collet [Sat, 27 Jan 2024 23:37:29 +0000 (15:37 -0800)] 
disable Intel CET Compatibility tests

The binary blob that must be downloaded from intel.com is no longer available

2 years agoBump actions/upload-artifact from 4.1.0 to 4.2.0 3880/head
dependabot[bot] [Mon, 22 Jan 2024 05:21:32 +0000 (05:21 +0000)] 
Bump actions/upload-artifact from 4.1.0 to 4.2.0

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/1eb3cb2b3e0f29609092a73eb033bb759a334595...694cdabd8bdb0f10b2cea11669e1bf5453eed0a6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #3877 from facebook/oldgrep
Yann Collet [Sun, 21 Jan 2024 19:31:58 +0000 (11:31 -0800)] 
Merge pull request #3877 from facebook/oldgrep

minor: playTests.sh more compatible with older versions of grep

2 years agomade playTests.sh more compatible with older versions of grep 3877/head
Yann Collet [Tue, 16 Jan 2024 20:14:35 +0000 (12:14 -0800)] 
made playTests.sh more compatible with older versions of grep

replaced `\+` by `*`.
`\+` means `[1-N]`,
while `*` means `[0-N]`,
so it's not strictly equivalent
but `\+` happens to be badly supported on some flavors of grep,
and for the purpose of these tests, `*` is good enough.

2 years agoMerge pull request #3865 from facebook/grep_e
Yann Collet [Mon, 15 Jan 2024 20:44:46 +0000 (12:44 -0800)] 
Merge pull request #3865 from facebook/grep_e

playTests.sh does no longer needs grep -E

2 years agoplayTests.sh does no longer needs grep -E 3865/head
Yann Collet [Mon, 15 Jan 2024 19:16:46 +0000 (11:16 -0800)] 
playTests.sh does no longer needs grep -E

it makes the test script more portable across posix systems
because `grep -E` is not guaranteed
while `grep` is fairly common.

2 years agoMerge pull request #3863 from facebook/dependabot/github_actions/github/codeql-action...
Yann Collet [Mon, 15 Jan 2024 17:44:19 +0000 (09:44 -0800)] 
Merge pull request #3863 from facebook/dependabot/github_actions/github/codeql-action-3.23.0

Bump github/codeql-action from 2.21.4 to 3.23.0

2 years agoMerge pull request #3864 from facebook/dependabot/github_actions/actions/upload-artif...
Yann Collet [Mon, 15 Jan 2024 07:44:56 +0000 (23:44 -0800)] 
Merge pull request #3864 from facebook/dependabot/github_actions/actions/upload-artifact-4.1.0

Bump actions/upload-artifact from 4.0.0 to 4.1.0

2 years agoBump actions/upload-artifact from 4.0.0 to 4.1.0 3864/head
dependabot[bot] [Mon, 15 Jan 2024 05:24:46 +0000 (05:24 +0000)] 
Bump actions/upload-artifact from 4.0.0 to 4.1.0

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/c7d193f32edcb7bfad88892161225aeda64e9392...1eb3cb2b3e0f29609092a73eb033bb759a334595)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoBump github/codeql-action from 2.21.4 to 3.23.0 3863/head
dependabot[bot] [Mon, 15 Jan 2024 05:24:41 +0000 (05:24 +0000)] 
Bump github/codeql-action from 2.21.4 to 3.23.0

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.21.4 to 3.23.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/a09933a12a80f87b87005513f0abb1494c27a716...e5f05b81d5b6ff8cfa111c80c22c5fd02a384118)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #3760 from jcelerier/patch-1
Yann Collet [Sat, 13 Jan 2024 19:41:30 +0000 (11:41 -0800)] 
Merge pull request #3760 from jcelerier/patch-1

[x-compile] Fix cross-compiling for AArch64 with lld

2 years agoMerge pull request #3817 from elasota/oversized-probs-clarification
Yann Collet [Sat, 13 Jan 2024 19:37:54 +0000 (11:37 -0800)] 
Merge pull request #3817 from elasota/oversized-probs-clarification

Clarify that probability tables must not contain non-zero probabilities for invalid values

2 years agoMerge pull request #3850 from KapJI/better-errors
Yann Collet [Sat, 13 Jan 2024 19:37:25 +0000 (11:37 -0800)] 
Merge pull request #3850 from KapJI/better-errors

cli: better errors on argument parsing

2 years agoMerge pull request #3858 from eli-schwartz/msvc-dev-cmd
Yann Collet [Sat, 13 Jan 2024 19:36:20 +0000 (11:36 -0800)] 
Merge pull request #3858 from eli-schwartz/msvc-dev-cmd

CI: meson: use builtin handling for MSVC

2 years agoFix building on HP-UX 11.11 PA-RISC 3862/head
Like Ma [Sat, 13 Jan 2024 07:21:50 +0000 (15:21 +0800)] 
Fix building on HP-UX 11.11 PA-RISC

By CMake 3.8.2 and GCC 4.7.1

2 years agoFix building xxhash on AIX 5.1 3860/head
Like Ma [Sat, 13 Jan 2024 07:36:20 +0000 (15:36 +0800)] 
Fix building xxhash on AIX 5.1

2 years agoCI: meson: use builtin handling for MSVC 3858/head
Eli Schwartz [Tue, 2 Jan 2024 06:36:45 +0000 (01:36 -0500)] 
CI: meson: use builtin handling for MSVC

This avoids downloading -- and periodically bumping the checksum for --
a third-party action that isn't strictly required, and thus helps keep
down dependencies and reduce update churn.

2 years agoMerge pull request #3855 from emaste/freebsd-14-ci
Yann Collet [Sun, 31 Dec 2023 06:16:42 +0000 (22:16 -0800)] 
Merge pull request #3855 from emaste/freebsd-14-ci

Cirrus-CI: Add FreeBSD 14

2 years agoMerge pull request #3847 from michoecho/fix_nullptr_deref_in_createCDict
Yann Collet [Sat, 30 Dec 2023 21:23:39 +0000 (13:23 -0800)] 
Merge pull request #3847 from michoecho/fix_nullptr_deref_in_createCDict

Fix a nullptr dereference in ZSTD_createCDict_advanced2()

2 years agoCirrus-CI: Add FreeBSD 14 3855/head
Ed Maste [Thu, 14 Dec 2023 00:56:14 +0000 (19:56 -0500)] 
Cirrus-CI: Add FreeBSD 14

2 years agoMerge pull request #3846 from emaste/c89
Yann Collet [Fri, 29 Dec 2023 20:34:47 +0000 (12:34 -0800)] 
Merge pull request #3846 from emaste/c89

zlibWrapper: convert to C89 / ANSI C

2 years agoSpecify offset 0 as invalid 3824/head
elasota [Sun, 19 Nov 2023 20:33:37 +0000 (15:33 -0500)] 
Specify offset 0 as invalid

2 years agoMake offload API compatible with static CCtx (#3854)
Elliot Gorokhovsky [Thu, 28 Dec 2023 19:48:46 +0000 (14:48 -0500)] 
Make offload API compatible with static CCtx (#3854)

* Add ZSTD_CCtxParams_registerSequenceProducer() to public API

* add unit test

* add docs to zstd.h

* nits

* Add ZSTDLIB_STATIC_API prefix

* Add asserts

2 years agoMake `zstd::libzstd` an imported interface target.
Theodore Tsirpanis [Tue, 19 Dec 2023 13:06:03 +0000 (15:06 +0200)] 
Make `zstd::libzstd` an imported interface target.
It cannot be an alias, because it would lock the package to use either static or shared libraries at its build time. We want to decide this at the time `find_package` is called.

2 years agoMerge pull request #3849 from facebook/dependabot/github_actions/actions/upload-artif...
Yann Collet [Mon, 18 Dec 2023 17:49:57 +0000 (09:49 -0800)] 
Merge pull request #3849 from facebook/dependabot/github_actions/actions/upload-artifact-4.0.0

Bump actions/upload-artifact from 3.1.3 to 4.0.0

2 years agoUpdate windows-artifacts.yml 3849/head
Yann Collet [Mon, 18 Dec 2023 17:39:42 +0000 (09:39 -0800)] 
Update windows-artifacts.yml

and fixed version number in comment

2 years agocli: better errors on arguent parsing 3850/head
Ruslan Sayfutdinov [Sat, 16 Dec 2023 15:28:19 +0000 (15:28 +0000)] 
cli: better errors on arguent parsing