]>
git.ipfire.org Git - thirdparty/zstd.git/log
dependabot[bot] [Mon, 4 Mar 2024 05:34:30 +0000 (05:34 +0000)]
Bump github/codeql-action from 3.24.5 to 3.24.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.5 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](https://github.com/github/codeql-action/compare/
47b3d888fe66b639e431abf22ebca059152f1eea ...
8a470fddafa5cbb6266ee11b37ef4d8aae19c571 )
---
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>
Yann Collet [Mon, 4 Mar 2024 03:13:00 +0000 (19:13 -0800)]
Merge pull request #3753 from facebook/make2
minor Makefile refactoring
Yann Collet [Mon, 4 Mar 2024 02:57:19 +0000 (18:57 -0800)]
Merge pull request #3804 from facebook/dependabot/github_actions/ossf/scorecard-action-2.3.1
Bump ossf/scorecard-action from 2.2.0 to 2.3.1
Yann Collet [Mon, 4 Mar 2024 02:56:06 +0000 (18:56 -0800)]
Merge pull request #3918 from facebook/dependabot/github_actions/github/codeql-action-3.24.5
Bump github/codeql-action from 3.23.0 to 3.24.5
Yann Collet [Mon, 4 Mar 2024 02:54:05 +0000 (18:54 -0800)]
Merge pull request #3926 from facebook/checkoutVersion
fix version of actions/checkout
Yann Collet [Mon, 4 Mar 2024 02:47:08 +0000 (18:47 -0800)]
fix version of actions/checkout
Yann Collet [Sun, 3 Mar 2024 23:04:22 +0000 (15:04 -0800)]
Merge pull request #3811 from teo-tsirpanis/unified-target
Export a `zstd::libzstd` CMake target if only static or dynamic linkage is specified.
Theodore Tsirpanis [Tue, 27 Feb 2024 23:25:15 +0000 (01:25 +0200)]
Merge branch 'dev' into unified-target
Theodore Tsirpanis [Tue, 27 Feb 2024 21:39:59 +0000 (23:39 +0200)]
Define the unified target inside the CMake project, and export it.
This is less error-prone.
Yann Collet [Tue, 27 Feb 2024 21:28:32 +0000 (13:28 -0800)]
Merge pull request #3916 from facebook/no_sprintf
removed sprintf usage from zstdcli.c
Yann Collet [Mon, 26 Feb 2024 23:38:00 +0000 (15:38 -0800)]
Merge pull request #3917 from facebook/targetCBlock_moreRegular
More regular block sizes with `targetCBlockSize`
Yann Collet [Mon, 26 Feb 2024 22:31:12 +0000 (14:31 -0800)]
sizeBlockSequences() also tracks uncompressed size
and only defines a sub-block boundary when
it believes that it is compressible.
It's effectively an optimization,
avoiding a compression cycle to reach the same conclusion.
Yann Collet [Mon, 26 Feb 2024 22:06:34 +0000 (14:06 -0800)]
minor refactor for clarity
since we can ensure that nbSubBlocks>0
Yann Collet [Mon, 26 Feb 2024 21:27:59 +0000 (13:27 -0800)]
optimization: bail out faster in presence of incompressible data
Yann Collet [Mon, 26 Feb 2024 21:23:59 +0000 (13:23 -0800)]
nit: comment indentation
as reported by @terrelln
Yann Collet [Mon, 26 Feb 2024 21:21:14 +0000 (13:21 -0800)]
minor: reformulate nbSubBlocks assignment
Yann Collet [Mon, 26 Feb 2024 20:26:54 +0000 (12:26 -0800)]
fix extraneous semicolon ';'
as reported by @terrelln
dependabot[bot] [Mon, 26 Feb 2024 05:59:24 +0000 (05:59 +0000)]
Bump github/codeql-action from 3.23.0 to 3.24.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.23.0 to 3.24.5.
- [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/
e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 ...
47b3d888fe66b639e431abf22ebca059152f1eea )
---
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>
Yann Collet [Mon, 26 Feb 2024 03:45:32 +0000 (19:45 -0800)]
fix minor visual static analyzer warning
it's a false positive,
but change the code nonetheless to make it more obvious to the static analyzer.
Yann Collet [Mon, 26 Feb 2024 01:33:41 +0000 (17:33 -0800)]
targetCBlockSize: modified splitting strategy to generate blocks of more regular size
notably avoiding to feature a larger first block
Yann Collet [Sun, 25 Feb 2024 07:03:40 +0000 (23:03 -0800)]
removed sprintf usage from zstdcli.c
some static analyzers flag this standard C90 function as unsafe.
Yann Collet [Sun, 25 Feb 2024 02:07:35 +0000 (18:07 -0800)]
Merge pull request #3915 from facebook/targetCBlockSize
Improve speed of ZSTD_c_targetCBlockSize
Yann Collet [Sat, 24 Feb 2024 09:59:16 +0000 (01:59 -0800)]
reduced minimum compressed block size
with the intention to match the transport layer size,
such as Ethernet and 4G mobile networks.
Yann Collet [Sat, 24 Feb 2024 09:28:17 +0000 (01:28 -0800)]
update API documentation
Yann Collet [Sat, 24 Feb 2024 09:24:58 +0000 (01:24 -0800)]
fix partial block uncompressed
Yann Collet [Sat, 24 Feb 2024 02:48:29 +0000 (18:48 -0800)]
fixed some regressionTests
but not all
Yann Collet [Sat, 24 Feb 2024 00:05:09 +0000 (16:05 -0800)]
minor: fix overly cautious conversion warning
Yann Collet [Fri, 23 Feb 2024 23:35:12 +0000 (15:35 -0800)]
fix long sequences (> 64 KB)
Yann Collet [Fri, 23 Feb 2024 22:53:56 +0000 (14:53 -0800)]
fix issue with incompressible sections
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.
Yann Collet [Fri, 23 Feb 2024 21:13:03 +0000 (13:13 -0800)]
benchmark more can test targetCBlockSize
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
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
Yann Collet [Thu, 22 Feb 2024 17:41:12 +0000 (09:41 -0800)]
Merge pull request #3913 from facebook/lorem2
Lorem Ipsum generator update
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
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/.
```
Yann Collet [Wed, 21 Feb 2024 07:36:04 +0000 (23:36 -0800)]
fix include order
Yann Collet [Wed, 21 Feb 2024 06:59:58 +0000 (22:59 -0800)]
fix Visual Studio datagen recipe
Yann Collet [Wed, 21 Feb 2024 06:43:22 +0000 (22:43 -0800)]
fix clangbuild
notably -Wconversion and -Wdocumentation
Yann Collet [Wed, 21 Feb 2024 04:20:40 +0000 (20:20 -0800)]
fix cmake build
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 ?
Yann Collet [Wed, 21 Feb 2024 02:17:28 +0000 (18:17 -0800)]
fix meson datagen build
Yann Collet [Wed, 21 Feb 2024 02:06:56 +0000 (18:06 -0800)]
fix datagen size control
Yann Collet [Tue, 20 Feb 2024 23:47:09 +0000 (15:47 -0800)]
internal benchmark: can select size of generated synthetic sample
Yann Collet [Tue, 20 Feb 2024 23:24:25 +0000 (15:24 -0800)]
datagen generates lorem ipsum by default
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).
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.
Yann Collet [Tue, 20 Feb 2024 08:37:21 +0000 (00:37 -0800)]
add question marks
and (slightly) longer sentences.
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.
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.
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
W. Felix Handte [Tue, 13 Feb 2024 16:51:37 +0000 (11:51 -0500)]
Advertise Availability of Security Vulnerability Notifications
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.
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>
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)
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
Yann Collet [Fri, 9 Feb 2024 00:38:20 +0000 (16:38 -0800)]
Yann Collet [Fri, 9 Feb 2024 00:14:14 +0000 (16:14 -0800)]
fuzz: control debuglevel from Makefile
and make the compilation faster
Yann Collet [Wed, 7 Feb 2024 20:27:03 +0000 (12:27 -0800)]
Merge pull request #3900 from facebook/fix5921623844651008
fix
5921623844651008
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.
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.
sergeyandreenko [Tue, 6 Feb 2024 20:07:11 +0000 (12:07 -0800)]
[Zstd] Less verbose log for patch mode.
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)
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.
Yann Collet [Mon, 5 Feb 2024 09:27:22 +0000 (01:27 -0800)]
update compression results for regression tests
Yann Collet [Mon, 5 Feb 2024 09:21:06 +0000 (01:21 -0800)]
fix msan warnings
Yann Collet [Mon, 5 Feb 2024 08:36:10 +0000 (00:36 -0800)]
fix uasan dictionary_stream_round_trip fuzz test
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
Yann Collet [Mon, 5 Feb 2024 06:45:18 +0000 (22:45 -0800)]
fix msbuild action version number
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>
Yann Collet [Sun, 4 Feb 2024 03:57:38 +0000 (19:57 -0800)]
use ZSTD_memcpy()
which can be redirected in Linux kernel mode
Yann Collet [Sun, 4 Feb 2024 03:32:59 +0000 (19:32 -0800)]
removed trace control
Yann Collet [Sun, 4 Feb 2024 03:31:53 +0000 (19:31 -0800)]
fixed wrong assert
by introducing ZSTD_OPT_SIZE
Yann Collet [Sun, 4 Feb 2024 01:52:50 +0000 (17:52 -0800)]
update compression results
good news: there are only improvements
Yann Collet [Sun, 4 Feb 2024 01:48:29 +0000 (17:48 -0800)]
fixed wrong assert
Yann Collet [Sun, 4 Feb 2024 01:26:47 +0000 (17:26 -0800)]
minor optimization, mostly for clarity
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.
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
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.
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
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.
Yann Collet [Wed, 31 Jan 2024 18:55:11 +0000 (10:55 -0800)]
Merge pull request #3886 from facebook/sparc64
add sparc64 compilation test
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.
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.
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.
Yann Collet [Mon, 29 Jan 2024 23:45:16 +0000 (15:45 -0800)]
fix cmake recipe
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.
Yann Collet [Mon, 29 Jan 2024 23:18:27 +0000 (15:18 -0800)]
fix paramgrill Makefile recipe
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.
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
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
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>
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>
Yann Collet [Mon, 29 Jan 2024 04:25:04 +0000 (20:25 -0800)]
add sparc64 compilation test
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
Yann Collet [Sun, 28 Jan 2024 02:18:15 +0000 (18:18 -0800)]
Merge pull request #3883 from facebook/cmake_test
improve cmake test
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)
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
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
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>