]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
16 months agoStop Hardcoding the POSIX Version on BSDs 3952/head
W. Felix Handte [Mon, 11 Mar 2024 19:20:06 +0000 (15:20 -0400)] 
Stop Hardcoding the POSIX Version on BSDs

BSDs should all have a `unistd.h` header.

16 months agoMerge pull request #3860 from likema/fix-xxhash-aix-51
Yann Collet [Sat, 9 Mar 2024 23:34:02 +0000 (15:34 -0800)] 
Merge pull request #3860 from likema/fix-xxhash-aix-51

Fix building xxhash on AIX 5.1

16 months agoMerge pull request #3929 from facebook/llu_vscode
Yann Collet [Sat, 9 Mar 2024 22:24:57 +0000 (14:24 -0800)] 
Merge pull request #3929 from facebook/llu_vscode

fix LLU->ULL

16 months agoMerge pull request #3928 from facebook/doc3727
Yann Collet [Sat, 9 Mar 2024 22:24:38 +0000 (14:24 -0800)] 
Merge pull request #3928 from facebook/doc3727

update -V documentation

16 months agoMerge pull request #3824 from elasota/specify-zero-offset
Yann Collet [Fri, 8 Mar 2024 23:25:48 +0000 (15:25 -0800)] 
Merge pull request #3824 from elasota/specify-zero-offset

Specify offset 0 as invalid and specify required fixup behavior

16 months agoMerge pull request #3816 from elasota/fix-state-table
Yann Collet [Fri, 8 Mar 2024 23:02:00 +0000 (15:02 -0800)] 
Merge pull request #3816 from elasota/fix-state-table

Fix state table formatting

16 months agoMerge pull request #3840 from aimuz/fix-reserved
Yann Collet [Tue, 5 Mar 2024 21:40:12 +0000 (13:40 -0800)] 
Merge pull request #3840 from aimuz/fix-reserved

lib/decompress: check for reserved bit corruption in zstd

16 months agofix LLU->ULL 3929/head
Yann Collet [Mon, 4 Mar 2024 08:16:01 +0000 (00:16 -0800)] 
fix LLU->ULL

LLU is a correct prefix according to C99 & C11 standards (but not C90).
However, older versions of Visual Studio do not work with it.
Replace by ULL, which doesn't have this issue.

Fixes https://github.com/facebook/zstd/issues/3647

16 months agoupdate -V documentation 3928/head
Yann Collet [Mon, 4 Mar 2024 07:24:40 +0000 (23:24 -0800)] 
update -V documentation

to answer #3727 comment

16 months agoMerge pull request #3927 from facebook/dependabot/github_actions/github/codeql-action...
Yann Collet [Mon, 4 Mar 2024 07:18:03 +0000 (23:18 -0800)] 
Merge pull request #3927 from facebook/dependabot/github_actions/github/codeql-action-3.24.6

Bump github/codeql-action from 3.24.5 to 3.24.6

16 months agoBump github/codeql-action from 3.24.5 to 3.24.6 3927/head
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>
17 months agoMerge pull request #3753 from facebook/make2
Yann Collet [Mon, 4 Mar 2024 03:13:00 +0000 (19:13 -0800)] 
Merge pull request #3753 from facebook/make2

minor Makefile refactoring

17 months agoMerge pull request #3804 from facebook/dependabot/github_actions/ossf/scorecard-actio...
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

17 months agoMerge pull request #3918 from facebook/dependabot/github_actions/github/codeql-action...
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

17 months agoMerge pull request #3926 from facebook/checkoutVersion
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

17 months agofix version of actions/checkout 3926/head
Yann Collet [Mon, 4 Mar 2024 02:47:08 +0000 (18:47 -0800)] 
fix version of actions/checkout

17 months agoMerge pull request #3811 from teo-tsirpanis/unified-target
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.

17 months agoMerge branch 'dev' into unified-target 3811/head
Theodore Tsirpanis [Tue, 27 Feb 2024 23:25:15 +0000 (01:25 +0200)] 
Merge branch 'dev' into unified-target

17 months agoDefine the unified target inside the CMake project, and export it.
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.

17 months agoMerge pull request #3916 from facebook/no_sprintf
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

17 months agoMerge pull request #3917 from facebook/targetCBlock_moreRegular
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`

17 months agosizeBlockSequences() also tracks uncompressed size 3917/head
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.

17 months agominor refactor for clarity
Yann Collet [Mon, 26 Feb 2024 22:06:34 +0000 (14:06 -0800)] 
minor refactor for clarity

since we can ensure that nbSubBlocks>0

17 months agooptimization: bail out faster in presence of incompressible data
Yann Collet [Mon, 26 Feb 2024 21:27:59 +0000 (13:27 -0800)] 
optimization: bail out faster in presence of incompressible data

17 months agonit: comment indentation
Yann Collet [Mon, 26 Feb 2024 21:23:59 +0000 (13:23 -0800)] 
nit: comment indentation

as reported by @terrelln

17 months agominor: reformulate nbSubBlocks assignment
Yann Collet [Mon, 26 Feb 2024 21:21:14 +0000 (13:21 -0800)] 
minor: reformulate nbSubBlocks assignment

17 months agofix extraneous semicolon ';'
Yann Collet [Mon, 26 Feb 2024 20:26:54 +0000 (12:26 -0800)] 
fix extraneous semicolon ';'

as reported by @terrelln

17 months agoBump github/codeql-action from 3.23.0 to 3.24.5 3918/head
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>
17 months agofix minor visual static analyzer warning
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.

17 months agotargetCBlockSize: modified splitting strategy to generate blocks of more regular...
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

17 months agoremoved sprintf usage from zstdcli.c 3916/head
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.

17 months agoMerge pull request #3915 from facebook/targetCBlockSize
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

17 months agoreduced minimum compressed block size 3915/head
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.

17 months agoupdate API documentation
Yann Collet [Sat, 24 Feb 2024 09:28:17 +0000 (01:28 -0800)] 
update API documentation

17 months agofix partial block uncompressed
Yann Collet [Sat, 24 Feb 2024 09:24:58 +0000 (01:24 -0800)] 
fix partial block uncompressed

17 months agofixed some regressionTests
Yann Collet [Sat, 24 Feb 2024 02:48:29 +0000 (18:48 -0800)] 
fixed some regressionTests

but not all

17 months 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

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

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

17 months 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.

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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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/.
```

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

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

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

notably -Wconversion and -Wdocumentation

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

17 months 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 ?

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

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

17 months 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

17 months 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

17 months 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).

17 months 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.

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

and (slightly) longer sentences.

17 months 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.

17 months 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.

17 months 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

17 months 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

17 months 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.

17 months 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>
17 months 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)

17 months 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

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

17 months 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

17 months 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

17 months 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.

17 months 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.

17 months 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.

17 months 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)

17 months 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.

17 months 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

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

17 months 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

17 months 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

17 months 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

17 months 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>
17 months 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

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

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

by introducing ZSTD_OPT_SIZE

17 months 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

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

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

17 months 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.

18 months 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

18 months 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.

18 months 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

18 months 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.

18 months 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

18 months 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.

18 months 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.

18 months 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.

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

18 months 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.

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

18 months 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.

18 months 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