]>
git.ipfire.org Git - thirdparty/zstd.git/log
Johan Mabille [Fri, 25 Aug 2023 22:40:35 +0000 (00:40 +0200)]
Fixed zstd cmake shared build on windows
Yann Collet [Tue, 22 Aug 2023 23:29:34 +0000 (16:29 -0700)]
Merge pull request #3720 from QBos07/cygwin-msys2-support
Updated Makefiles for full MSYS2 and Cygwin installation and testing …
Yann Collet [Tue, 22 Aug 2023 20:33:47 +0000 (13:33 -0700)]
Merge pull request #3728 from 0o001/dev
fix: ZSTD_BUILD_DECOMPRESSION message
Nick Terrell [Mon, 21 Aug 2023 18:33:29 +0000 (11:33 -0700)]
No longer reject dictionaries with literals maxSymbolValue < 255
We already have logic in our Huffman encoder to validate Huffman tables with missing symbols.
We use this for higher compression levels to re-use the previous blocks statistics, or when the dictionaries table has zero-weighted symbols.
This check was leftover as an oversight from before we added validation for Huffman tables.
I validated that the `dictionary_loader` fuzzer has coverage of every line in the `ZSTD_loadCEntropy()` function to validate that it is correctly testing this function.
Yann Collet [Mon, 21 Aug 2023 19:35:51 +0000 (12:35 -0700)]
Merge pull request #3726 from facebook/fullbench_dctx
added ZSTD_decompressDCtx() benchmark option to fullbench
Felix Handte [Mon, 21 Aug 2023 16:47:26 +0000 (09:47 -0700)]
Merge pull request #3730 from facebook/dependabot/github_actions/github/codeql-action-2.21.4
Bump github/codeql-action from 2.20.3 to 2.21.4
dependabot[bot] [Mon, 21 Aug 2023 05:51:56 +0000 (05:51 +0000)]
Bump github/codeql-action from 2.20.3 to 2.21.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.20.3 to 2.21.4.
- [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/
46ed16ded91731b2df79a2893d3aea8e9f03b5c4 ...
a09933a12a80f87b87005513f0abb1494c27a716 )
---
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>
Mustafa UZUN [Sat, 19 Aug 2023 12:44:53 +0000 (15:44 +0300)]
fix: ZSTD_BUILD_DECOMPRESSION message
Yann Collet [Wed, 16 Aug 2023 17:43:39 +0000 (10:43 -0700)]
added ZSTD_decompressDCtx() benchmark option to fullbench
useful to compare the difference between ZSTD_decompress
and ZSTD_decompressDCtx().
Felix Handte [Wed, 16 Aug 2023 17:18:31 +0000 (10:18 -0700)]
Merge pull request #3725 from felixhandte/msan-unpoison-cwksp-on-free
Unpoison Workspace Memory Before Custom-Free
W. Felix Handte [Wed, 16 Aug 2023 16:09:12 +0000 (12:09 -0400)]
Unpoison Workspace Memory Before Freeing to Custom Free
MSAN is hooked into the system malloc, but when the user provides a custom
allocator, it may not provide the same cleansing behavior. So if we leave
memory poisoned and return it to the user's allocator, where it is re-used
elsewhere, our poisoning can blow up in some other context.
W. Felix Handte [Wed, 16 Aug 2023 16:08:52 +0000 (12:08 -0400)]
Easy: Move Helper Functions Up
Nick Terrell [Sat, 12 Aug 2023 00:09:07 +0000 (17:09 -0700)]
Improve dual license wording in README
We are licensed under BSD or GPLv2. It is clear in our headers, but not in the README.
Fixes #3717
Quentin Boswank [Sun, 13 Aug 2023 17:44:15 +0000 (19:44 +0200)]
Updated Makefiles for full MSYS2 and Cygwin installation and testing support.
They are Linux-like environments under Windows and have all the tools needed to support staged installation and testing.
Beware: this only affects the make build system.
Yann Collet [Wed, 2 Aug 2023 18:11:31 +0000 (11:11 -0700)]
Merge pull request #3712 from alexsifivetw/fix_typo
Fixed typo
jysh1214 [Tue, 1 Aug 2023 02:43:33 +0000 (10:43 +0800)]
Fixed typo
Yann Collet [Mon, 31 Jul 2023 10:25:17 +0000 (03:25 -0700)]
Merge pull request #3701 from nikohoffren/grammar-fix
Fix typographical error in README.md
Yann Collet [Sun, 30 Jul 2023 01:16:14 +0000 (18:16 -0700)]
Merge pull request #3704 from void0red/dev
fileio_asyncio: handle malloc fails in AIO_ReadPool_create
void0red [Fri, 21 Jul 2023 04:17:03 +0000 (12:17 +0800)]
fileio_asyncio: handle malloc fails in AIO_ReadPool_create
Gianfranco Costamagna [Fri, 7 Jul 2023 07:26:30 +0000 (09:26 +0200)]
Update fileio.c: fix build failure with enabled LTO
For some reasons when LTO is enabled, the compiler complains about statbuf variable not being correctly initialized, even though the variable has an assert != NULL just few lines below (FIO_getDictFileStat)
This is the fixed build failure:
x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libzstd-1.5.5+dfsg2-1 -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -g -Werror -Wa,--noexecstack -Wdate-time -D_FORTIFY_SOURCE=2 -DXXH_NAMESPACE=ZSTD_ -DDEBUGLEVEL=1 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_GZCOMPRESS -DZSTD_GZDECOMPRESS -DZSTD_LZMACOMPRESS -DZSTD_LZMADECOMPRESS -DZSTD_LZ4COMPRESS -DZSTD_LZ4DECOMPRESS -DZSTD_LEGACY_SUPPORT=5 -c -MT obj/conf_086c46a51a716b674719b8acb8484eb8/zstdcli_trace.o -MMD -MP -MF obj/conf_086c46a51a716b674719b8acb8484eb8/zstdcli_trace.d -o obj/conf_086c46a51a716b674719b8acb8484eb8/zstdcli_trace.o zstdcli_trace.c
In function ‘UTIL_isRegularFileStat’,
inlined from ‘UTIL_getFileSizeStat’ at util.c:524:10,
inlined from ‘FIO_createDResources’ at fileio.c:2230:30:
util.c:209:12: error: ‘statbuf.st_mode’ may be used uninitialized [-Werror=maybe-uninitialized]
209 | return S_ISREG(statbuf->st_mode) != 0;
| ^
fileio.c: In function ‘FIO_createDResources’:
fileio.c:2223:12: note: ‘statbuf’ declared here
2223 | stat_t statbuf;
| ^
lto1: all warnings being treated as errors
Jacob Greenfield [Tue, 18 Jul 2023 14:48:46 +0000 (10:48 -0400)]
Save one byte on the frame epilogue
Yann Collet [Thu, 20 Jul 2023 08:48:39 +0000 (01:48 -0700)]
Merge pull request #3665 from gjasny/fix-asm-for-xcode
Fix Intel Xcode builds with assembly
Niko Hoffrén [Wed, 19 Jul 2023 18:49:43 +0000 (21:49 +0300)]
Fix typographical error in README.md
Elliot Gorokhovsky [Tue, 11 Jul 2023 20:37:20 +0000 (13:37 -0700)]
Merge pull request #3697 from facebook/dependabot/github_actions/github/codeql-action-2.20.3
Bump github/codeql-action from 2.20.1 to 2.20.3
dependabot[bot] [Mon, 10 Jul 2023 05:37:59 +0000 (05:37 +0000)]
Bump github/codeql-action from 2.20.1 to 2.20.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.20.1 to 2.20.3.
- [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/
f6e388ebf0efc915c6c5b165b019ee61a6746a38 ...
46ed16ded91731b2df79a2893d3aea8e9f03b5c4 )
---
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 [Wed, 5 Jul 2023 07:59:08 +0000 (00:59 -0700)]
Merge pull request #3677 from facebook/detectOverflow
Changed the decoding loop to detect more invalid cases of corruption sooner
Yann Collet [Fri, 30 Jun 2023 02:40:37 +0000 (19:40 -0700)]
Merge pull request #3688 from nidhijaju/hide-asm-apple
Hide ASM symbols on Apple platforms
Elliot Gorokhovsky [Wed, 28 Jun 2023 01:05:52 +0000 (18:05 -0700)]
Merge pull request #3689 from facebook/dependabot/github_actions/github/codeql-action-2.20.1
Bump github/codeql-action from 2.3.2 to 2.20.1
Elliot Gorokhovsky [Wed, 28 Jun 2023 01:05:32 +0000 (18:05 -0700)]
Merge pull request #3690 from facebook/dependabot/github_actions/ossf/scorecard-action-2.2.0
Bump ossf/scorecard-action from 2.1.3 to 2.2.0
Elliot Gorokhovsky [Mon, 26 Jun 2023 17:43:20 +0000 (13:43 -0400)]
Merge pull request #3686 from embg/ldm_error
Clean up a false error message in the LDM debug log
dependabot[bot] [Mon, 26 Jun 2023 05:59:43 +0000 (05:59 +0000)]
Bump ossf/scorecard-action from 2.1.3 to 2.2.0
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.3 to 2.2.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/
80e868c13c90f172d68d1f4501dee99e2479f7af ...
08b4669551908b1024bb425080c797723083c031 )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Mon, 26 Jun 2023 05:59:38 +0000 (05:59 +0000)]
Bump github/codeql-action from 2.3.2 to 2.20.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.2 to 2.20.1.
- [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/
f3feb00acb00f31a6f60280e6ace9ca31d91c76a ...
f6e388ebf0efc915c6c5b165b019ee61a6746a38 )
---
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>
Nidhi Jaju [Mon, 26 Jun 2023 00:07:30 +0000 (00:07 +0000)]
hide asm functions on apple platforms
Yann Collet [Sat, 24 Jun 2023 05:56:07 +0000 (22:56 -0700)]
Merge pull request #3684 from emaste/dev
Update FreeBSD CI images to latest supported releases
Elliot Gorokhovsky [Thu, 22 Jun 2023 01:52:50 +0000 (18:52 -0700)]
suppress false error message in LDM mode
Ed Maste [Wed, 21 Jun 2023 16:16:26 +0000 (12:16 -0400)]
Update FreeBSD CI images to latest supported releases
Yann Collet [Tue, 20 Jun 2023 15:34:26 +0000 (08:34 -0700)]
fixed incorrect test in Win32 pthread wrapper
reported by @Banzai24-yht in #3683
Yann Collet [Fri, 16 Jun 2023 23:24:48 +0000 (16:24 -0700)]
fixed static analyzer false positive regarding @sequence initialization
make a mock initialization to please the tool
Yann Collet [Fri, 16 Jun 2023 22:52:00 +0000 (15:52 -0700)]
adapted long decoder to new decodeSequences
removed older decodeSequences
Yann Collet [Fri, 16 Jun 2023 22:32:07 +0000 (15:32 -0700)]
changed ZSTD_decompressSequences_bodySplitLitBuffer() decoding loop
to behave more like the regular decoding loop.
Yann Collet [Fri, 16 Jun 2023 19:31:23 +0000 (12:31 -0700)]
removed _old variant from splitLit
Yann Collet [Fri, 16 Jun 2023 18:56:22 +0000 (11:56 -0700)]
changed (partially) the decodeSequences flow logic
this allows detecting overflow events without a checksum.
Yann Collet [Fri, 16 Jun 2023 01:16:41 +0000 (18:16 -0700)]
Merge pull request #3676 from facebook/overflow_zeroes
Bitstream produces only zeroes after an overflow event
Yann Collet [Thu, 15 Jun 2023 03:03:39 +0000 (20:03 -0700)]
fixed MEM_STATIC already defined in Linux Kernel mode
Yann Collet [Wed, 14 Jun 2023 23:32:51 +0000 (16:32 -0700)]
fix : unused attribute for FORCE_INLINE functions
fix2 : reloadDStreamFast is used by decompress4x2,
modified the entry point, so that it works fine in this case too.
Yann Collet [Wed, 14 Jun 2023 22:42:37 +0000 (15:42 -0700)]
make the bitstream generate only 0-value bits after an overflow
Yann Collet [Tue, 13 Jun 2023 23:17:07 +0000 (16:17 -0700)]
Merge pull request #3674 from facebook/zeroSeq_noExtra
detect extraneous bytes in the Sequences section
Yann Collet [Tue, 13 Jun 2023 18:43:45 +0000 (11:43 -0700)]
detect extraneous bytes in the Sequences section
when nbSeq == 0.
Reported by @ip7z
Yann Collet [Mon, 12 Jun 2023 16:58:53 +0000 (09:58 -0700)]
Merge pull request #3671 from facebook/dependabot/github_actions/actions/checkout-3.5.3
Bump actions/checkout from 3.5.2 to 3.5.3
dependabot[bot] [Mon, 12 Jun 2023 06:00:14 +0000 (06:00 +0000)]
Bump actions/checkout from 3.5.2 to 3.5.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/
8e5e7e5ab8b370d6c329ec480221332ada57f0ab ...
c85c95e3d7251135ab7dc9ce3241c5835cc595a9 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Yann Collet [Tue, 6 Jun 2023 04:06:15 +0000 (00:06 -0400)]
Merge pull request #3669 from facebook/zeroSeq_2B
fixed decoder behavior when nbSeqs==0 is encoded using 2 bytes
Yann Collet [Mon, 5 Jun 2023 23:03:00 +0000 (16:03 -0700)]
fixed decoder behavior when nbSeqs==0 is encoded using 2 bytes
The sequence section starts with a number, which tells how sequences are present in the section.
If this number if 0, the section automatically ends.
The number 0 can be represented using the 1 byte or the 2 bytes formats.
That's because the 2-bytes formats fully overlaps the 1 byte format.
However, when 0 is represented using the 2-bytes format,
the decoder was expecting the sequence section to continue,
and was looking for FSE tables, which is incorrect.
Fixed this behavior, in both the reference decoder and the educational behavior.
In practice, this behavior never happens,
because the encoder will always select the 1-byte format to represent 0,
since this is more efficient.
Completed the fix with a new golden sample for tests,
a clarification of the specification,
and a decoder errata paragraph.
Yann Collet [Mon, 5 Jun 2023 19:03:27 +0000 (15:03 -0400)]
Merge pull request #3664 from facebook/llu
changed LLU suffix into ULL for Visual 2012 and lower
Yann Collet [Mon, 5 Jun 2023 19:03:14 +0000 (15:03 -0400)]
Merge pull request #3659 from facebook/fixHarness
Fixed a bug in the educational decoder
Yann Collet [Mon, 5 Jun 2023 19:02:55 +0000 (15:02 -0400)]
Merge pull request #3668 from facebook/fix3667
fix a minor inefficiency in compress_superblock
Yann Collet [Mon, 5 Jun 2023 16:51:52 +0000 (09:51 -0700)]
fix a minor inefficiency in compress_superblock
and in `decodecorpus`:
the specific case `nbSeq=127` can be represented using the 1-byte format.
Note that both the 1-byte and the 2-bytes formats are valid to represent this case,
so there was no "error", produced data remains valid,
it's just that the 1-byte format is more efficient.
fix #3667
Credit to @ip7z for finding this issue.
Gregor Jasny [Fri, 2 Jun 2023 10:34:56 +0000 (12:34 +0200)]
Fix Intel Xcode builds with assembly
When forcing the source file language to `C`, Xcode enforces
the file to be compiled as `C` by appending `-x c` to the
compiler command line.
For now try to limit the damage and only enforce the language
if the ASM and C compilers differ.
Reproducer (CMake `3.26.4`, Xcode `14.3`):
```
cmake -S build/cmake -B _b -GXcode -DCMAKE_OSX_ARCHITECTURES=x86_64
cmake --build _b
```
Fix: #3622
Yann Collet [Wed, 31 May 2023 20:29:53 +0000 (13:29 -0700)]
changed LLU suffix into ULL for Visual 2012 and lower
both suffixes are supposed to be valid,
but for some reason, Visual 2012 and lower only support ULL.
Yann Collet [Sat, 27 May 2023 18:22:30 +0000 (11:22 -0700)]
Fixed a bug in the educational decoder
Credit to Igor Pavlov
Tao He [Thu, 25 May 2023 14:48:01 +0000 (22:48 +0800)]
Add options in Makefile to cmake
Signed-off-by: Tao He <sighingnow@gmail.com>
Nick Terrell [Thu, 25 May 2023 21:35:49 +0000 (14:35 -0700)]
Fix UBSAN issue (zero addition to NULL)
Fix UBSAN issue that came up internally.
Yann Collet [Wed, 24 May 2023 00:38:28 +0000 (20:38 -0400)]
Merge pull request #3631 from facebook/example_streaming_mt
minor : update streaming_compression example
Duncan Horn [Mon, 1 May 2023 21:29:52 +0000 (14:29 -0700)]
Get zstd working with ARM64EC on Windows
Felix Handte [Mon, 22 May 2023 21:38:10 +0000 (17:38 -0400)]
Merge pull request #3623 from felixhandte/compile-out-compressors
Allow Build-Time Exclusion of Individual Compression Strategies
W. Felix Handte [Mon, 22 May 2023 16:41:48 +0000 (12:41 -0400)]
Reorder Definitions in zstd_opt.c to Group Under Macro Guards (Slightly)
W. Felix Handte [Mon, 22 May 2023 16:37:03 +0000 (12:37 -0400)]
Reorder Definitions in zstd_lazy.c to Group Under Macro Guards
W. Felix Handte [Thu, 4 May 2023 16:31:41 +0000 (12:31 -0400)]
Also Allow/Document/Test Excluding dfast and Up
W. Felix Handte [Thu, 4 May 2023 16:20:02 +0000 (12:20 -0400)]
Add Documentation to lib/README.md
W. Felix Handte [Mon, 24 Apr 2023 20:53:30 +0000 (16:53 -0400)]
Also Reorganize Zstd Opt Declarations
W. Felix Handte [Mon, 24 Apr 2023 18:50:54 +0000 (14:50 -0400)]
Remove blockCompressor NULL Checks
W. Felix Handte [Mon, 24 Apr 2023 15:50:01 +0000 (11:50 -0400)]
Abort if Unsupported Parameters Used
W. Felix Handte [Mon, 24 Apr 2023 14:40:52 +0000 (10:40 -0400)]
Re-Order Lazy Declarations; Minimize ifndefs
W. Felix Handte [Fri, 21 Apr 2023 20:14:27 +0000 (16:14 -0400)]
Add CI Test for Excluding Matchfinders
W. Felix Handte [Fri, 21 Apr 2023 20:14:11 +0000 (16:14 -0400)]
Add ZSTD_LIB_EXCLUDE_COMPRESSORS_DFAST_AND_UP Build Variable
W. Felix Handte [Fri, 21 Apr 2023 15:32:41 +0000 (11:32 -0400)]
Define Macros for Possibly-Present Functions; Use Them Rather than Ifdef Guards
W. Felix Handte [Thu, 20 Apr 2023 15:53:23 +0000 (11:53 -0400)]
Merge Ultra and Ultra2 Exclusion
Ultra2 does not exist for dict compression, and so uses ultra. So ultra must
be present if ultra2 is.
W. Felix Handte [Thu, 20 Apr 2023 15:46:29 +0000 (11:46 -0400)]
Tweak Ultra/Opt Guards
W. Felix Handte [Thu, 20 Apr 2023 15:46:04 +0000 (11:46 -0400)]
Avoid Ratio Regression Tests When Compressors are Excluded
W. Felix Handte [Wed, 19 Apr 2023 21:53:40 +0000 (17:53 -0400)]
Adjust Strategy in CParams to Avoid Using Excluded Block Compressors
W. Felix Handte [Wed, 19 Apr 2023 19:38:04 +0000 (15:38 -0400)]
Macro-Exclude Block Compressors from Declaration/Definition
W. Felix Handte [Wed, 19 Apr 2023 16:19:56 +0000 (12:19 -0400)]
NULL Out Block Compressor Table Entries When Excluded
Don't check about excluding `ZSTD_fast`. It's always included so that we know
we can resolve downwards and hit a strategy that's present.
W. Felix Handte [Wed, 19 Apr 2023 15:41:51 +0000 (11:41 -0400)]
Allow `ZSTD_selectBlockCompressor()` to Return NULL
Return an error rather than segfaulting.
Felix Handte [Mon, 1 May 2023 15:06:07 +0000 (08:06 -0700)]
Merge pull request #3634 from facebook/dependabot/github_actions/github/codeql-action-2.3.2
Bump github/codeql-action from 2.3.0 to 2.3.2
dependabot[bot] [Mon, 1 May 2023 06:04:02 +0000 (06:04 +0000)]
Bump github/codeql-action from 2.3.0 to 2.3.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.0 to 2.3.2.
- [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/
b2c19fb9a2a485599ccf4ed5d65527d94bc57226 ...
f3feb00acb00f31a6f60280e6ace9ca31d91c76a )
---
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 [Wed, 26 Apr 2023 19:45:23 +0000 (12:45 -0700)]
minor : update streaming_compression example
display a warning when requesting multi-threading
while linking to a library that doesn't support multi-threading.
Elliot Gorokhovsky [Wed, 26 Apr 2023 02:58:25 +0000 (22:58 -0400)]
Merge pull request #3629 from facebook/dependabot/github_actions/github/codeql-action-2.3.0
Bump github/codeql-action from 2.2.11 to 2.3.0
dependabot[bot] [Mon, 24 Apr 2023 06:03:24 +0000 (06:03 +0000)]
Bump github/codeql-action from 2.2.11 to 2.3.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.11 to 2.3.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/
d186a2a36cc67bfa1b860e6170d37fb9634742c7 ...
b2c19fb9a2a485599ccf4ed5d65527d94bc57226 )
---
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 [Thu, 20 Apr 2023 17:46:20 +0000 (10:46 -0700)]
Merge pull request #3624 from danlark1/patch-4
Disable unused variable warning in msan configurations
Daniel Kutenin [Thu, 20 Apr 2023 10:14:08 +0000 (11:14 +0100)]
Disable unused variable warning in msan configurations
Yann Collet [Wed, 19 Apr 2023 22:06:36 +0000 (15:06 -0700)]
Merge pull request #3614 from mredig/darwin-fat
add makefile entry to build fat binary on macos
Yann Collet [Wed, 19 Apr 2023 18:31:16 +0000 (11:31 -0700)]
Merge pull request #3620 from facebook/errata_128k
[doc] add decoder errata paragraph
Yann Collet [Wed, 19 Apr 2023 07:24:35 +0000 (00:24 -0700)]
added golden file for the new decompressor erratum
Nick Terrell [Sat, 15 Apr 2023 00:06:24 +0000 (17:06 -0700)]
Add ZSTD_d_maxBlockSize parameter
Reduces memory when blocks are guaranteed to be smaller than allowed by
the format. This is useful for streaming compression in conjunction with
ZSTD_c_maxBlockSize.
This PR saves 2 * (formatMaxBlockSize - paramMaxBlockSize) when streaming.
Once it is rebased on top of PR #3616 it will save
3 * (formatMaxBlockSize - paramMaxBlockSize).
Yann Collet [Tue, 18 Apr 2023 00:54:40 +0000 (17:54 -0700)]
Merge pull request #3621 from facebook/remove_CIs
removed travis & appveyor scripts
Nick Terrell [Fri, 14 Apr 2023 21:27:06 +0000 (14:27 -0700)]
Reduce streaming decompression memory by 128KB
The split literals buffer patch increased streaming decompression memory
by 64KB (shrunk lit buffer from 128KB to 64KB, and added 128KB). This
patch removes the added 128KB buffer, because it isn't necessary.
The buffer was there because the literals compression code didn't know
the true `blockSizeMax` of the frame, and always put split literals so
they ended 128KB - 32 from the beginning of the block. Instead, we can
pass down the true `blockSizeMax` and ensure that the split literals
end up at `blockSizeMax - 32` from the beginning of the block. We
already reserve a full `blockSizeMax` bytes in streaming mode, so we
won't be overwriting the extDict window.
Yann Collet [Mon, 17 Apr 2023 22:50:31 +0000 (15:50 -0700)]
removed travis & appveyor scripts
we don't employ these CI systems anymore
Yann Collet [Mon, 17 Apr 2023 22:43:27 +0000 (15:43 -0700)]
added decoder errata paragraph
for compressed blocks of size exactly 128 KB
which used to be disallowed by the spec
but have become allowed in more recent version of the spec.
While this limitation is fixed in decoders v1.5.4+,
implementers should refrain from generating such block with their custom encoder
as they could be misclassified as corrupted by older decoder versions.
Yann Collet [Mon, 17 Apr 2023 06:50:36 +0000 (23:50 -0700)]
Merge pull request #3619 from facebook/dependabot/github_actions/actions/checkout-3.5.2
Bump actions/checkout from 3.5.0 to 3.5.2
dependabot[bot] [Mon, 17 Apr 2023 06:02:27 +0000 (06:02 +0000)]
Bump actions/checkout from 3.5.0 to 3.5.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/
8f4b7f84864484a7bf31766abe9204da3cbe65b3 ...
8e5e7e5ab8b370d6c329ec480221332ada57f0ab )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Michael Redig [Thu, 13 Apr 2023 23:43:06 +0000 (18:43 -0500)]
add makefile entry to build fat binary on macos