]>
git.ipfire.org Git - thirdparty/zstd.git/log
W. Felix Handte [Mon, 16 Sep 2019 16:08:03 +0000 (12:08 -0400)]
Don't Include `sanitizer/msan_interface.h`, Since Not All Platforms Provide It
Instead, explicitly declare the functions we use.
W. Felix Handte [Wed, 11 Sep 2019 21:03:09 +0000 (17:03 -0400)]
Shrink Table Valid End During Alloc Alignment / Phase Change
W. Felix Handte [Wed, 11 Sep 2019 20:41:41 +0000 (16:41 -0400)]
Add Assertions to Confirm that Workspace Pointers are Correctly Ordered
W. Felix Handte [Wed, 11 Sep 2019 20:40:29 +0000 (16:40 -0400)]
`__msan_poison()` Workspace When Preparing for Re-Use
W. Felix Handte [Wed, 11 Sep 2019 18:25:30 +0000 (14:25 -0400)]
Fix Memory Leak in Test
W. Felix Handte [Wed, 11 Sep 2019 17:59:09 +0000 (13:59 -0400)]
Fix Compilation Error (`uint32_t` -> `size_t`)
W. Felix Handte [Wed, 11 Sep 2019 17:23:59 +0000 (13:23 -0400)]
Speed Up Test a Little
W. Felix Handte [Wed, 11 Sep 2019 17:17:19 +0000 (13:17 -0400)]
Add Fuzzer Test Case for Index Reduction
W. Felix Handte [Wed, 11 Sep 2019 17:14:26 +0000 (13:14 -0400)]
Zero `h3size` When `h3log` is 0
This led to a nasty edgecase, where index reduction for modes that don't use
the h3 table would have a degenerate table (size 4) allocated and marked clean,
but which would not be re-indexed.
W. Felix Handte [Wed, 11 Sep 2019 15:40:57 +0000 (11:40 -0400)]
Also Shrink Clean Table Area When Reducing Indices
W. Felix Handte [Wed, 11 Sep 2019 15:21:00 +0000 (11:21 -0400)]
Update DEBUGLOG Statements
W. Felix Handte [Wed, 11 Sep 2019 15:18:45 +0000 (11:18 -0400)]
Shrink Clean Table Area When Copying Table Contents into Context
The source matchState is potentially at a lower current index, which means
that any extra table space not overwritten by the copy may now contain
invalid indices. The simple solution is to unconditionally shrink the valid
table area to just the area overwritten.
W. Felix Handte [Tue, 10 Sep 2019 22:02:22 +0000 (18:02 -0400)]
Comments
W. Felix Handte [Tue, 10 Sep 2019 21:55:41 +0000 (17:55 -0400)]
Only Reset Indexing in `ZSTD_resetCCtx_internal()` When Necessary
W. Felix Handte [Tue, 10 Sep 2019 21:59:45 +0000 (17:59 -0400)]
Remove No-Longer-Used Continuation Functions
W. Felix Handte [Tue, 10 Sep 2019 21:54:11 +0000 (17:54 -0400)]
Remove Fast Continue Path in `ZSTD_resetCCtx_internal()`
W. Felix Handte [Tue, 10 Sep 2019 21:43:35 +0000 (17:43 -0400)]
`ZSTD_reset_matchState` Optionally Doesn't Restart Indexing
W. Felix Handte [Tue, 10 Sep 2019 21:38:32 +0000 (17:38 -0400)]
Rename `ZSTD_compResetPolicy_e` Values and Add Comment
W. Felix Handte [Tue, 10 Sep 2019 21:28:52 +0000 (17:28 -0400)]
Accept `ZSTD_indexResetPolicy_e` Param in `ZSTD_reset_matchState()`
W. Felix Handte [Tue, 10 Sep 2019 21:24:02 +0000 (17:24 -0400)]
Introduce `ZSTD_indexResetPolicy_e` Enum
W. Felix Handte [Tue, 3 Sep 2019 17:08:24 +0000 (13:08 -0400)]
Track Usable Table Space in Compression Workspace
Yann Collet [Tue, 10 Sep 2019 22:20:29 +0000 (15:20 -0700)]
Merge pull request #1712 from felixhandte/workspace-efficiency-2
Allocate Internal Buffers via Workspace Abstraction
W. Felix Handte [Tue, 10 Sep 2019 20:03:13 +0000 (16:03 -0400)]
Remove Empty lib/compress/zstd_cwksp.c
Yann Collet [Tue, 10 Sep 2019 19:12:08 +0000 (12:12 -0700)]
Merge pull request #1775 from facebook/edufix
fix educational decoder
Nick Terrell [Tue, 10 Sep 2019 18:51:23 +0000 (11:51 -0700)]
Merge pull request #1777 from darxsys/improvDataGen
[Fuzz] Improve data generation #1723
Yann Collet [Tue, 10 Sep 2019 18:17:29 +0000 (11:17 -0700)]
Merge pull request #1773 from bimbashrestha/rle_first_block_decompression_fix
Removing redundant condition in decompression, making first block rleā¦
Yann Collet [Tue, 10 Sep 2019 16:36:02 +0000 (09:36 -0700)]
fix education decoder test
when `zstd` in not installed on local system
by allowing `ZSTD` variable to hold a custom location for the binary
Bimba Shrestha [Tue, 10 Sep 2019 16:30:37 +0000 (09:30 -0700)]
Using a number instead of M prefix in head call
Dario Pavlovic [Mon, 9 Sep 2019 23:13:24 +0000 (16:13 -0700)]
Addressing nits
W. Felix Handte [Mon, 9 Sep 2019 23:10:09 +0000 (19:10 -0400)]
Forward Declare `ZSTD_cwksp_available_space` to Fix Build
W. Felix Handte [Mon, 9 Sep 2019 22:30:53 +0000 (18:30 -0400)]
Inline Workspace Functions
Dario Pavlovic [Mon, 9 Sep 2019 22:39:04 +0000 (15:39 -0700)]
Fixing issues with double usage of data.
W. Felix Handte [Tue, 3 Sep 2019 17:13:16 +0000 (13:13 -0400)]
Forward resetCCtx Errors when Using CDict
W. Felix Handte [Mon, 9 Sep 2019 20:45:17 +0000 (16:45 -0400)]
Fix sizeof_CCtx and sizeof_CDict Calculations for Statically Init'ed Objects
W. Felix Handte [Mon, 9 Sep 2019 19:12:14 +0000 (15:12 -0400)]
Fix workspaceTooSmall Calculation
Bimba Shrestha [Mon, 9 Sep 2019 19:08:33 +0000 (12:08 -0700)]
Changing test file directory names to be more descriptive
W. Felix Handte [Mon, 9 Sep 2019 18:59:09 +0000 (14:59 -0400)]
Shorten `&zc->workspace` -> `ws` in `ZSTD_resetCCtx_internal()`
Bimba Shrestha [Mon, 9 Sep 2019 18:54:43 +0000 (11:54 -0700)]
Testing first block decompression cli
W. Felix Handte [Mon, 9 Sep 2019 18:04:39 +0000 (14:04 -0400)]
Clean Up TODOs and Comments pt. II
W. Felix Handte [Tue, 3 Sep 2019 17:00:59 +0000 (13:00 -0400)]
Nit
W. Felix Handte [Tue, 3 Sep 2019 16:59:10 +0000 (12:59 -0400)]
Pull Phase Advance Logic Out into Internal Function
W. Felix Handte [Tue, 3 Sep 2019 16:48:45 +0000 (12:48 -0400)]
Hide Workspace Movement Behind Helper Function
W. Felix Handte [Tue, 3 Sep 2019 16:41:35 +0000 (12:41 -0400)]
Fix DEBUGLOG Statement Levels
W. Felix Handte [Thu, 29 Aug 2019 20:33:45 +0000 (16:33 -0400)]
Fix Rescale Continue Special Case
W. Felix Handte [Tue, 27 Aug 2019 19:21:59 +0000 (15:21 -0400)]
Remove Unused noRealloc CRP Value
W. Felix Handte [Thu, 22 Aug 2019 20:09:00 +0000 (16:09 -0400)]
Re-Implement Workspace Shrinking when Oversized
W. Felix Handte [Tue, 20 Aug 2019 19:19:58 +0000 (15:19 -0400)]
Add New File to Visual Studio Projects
W. Felix Handte [Tue, 20 Aug 2019 19:14:12 +0000 (15:14 -0400)]
Add New File to Meson Build
W. Felix Handte [Tue, 20 Aug 2019 18:15:06 +0000 (14:15 -0400)]
Cleanup from Move
W. Felix Handte [Tue, 20 Aug 2019 18:02:50 +0000 (14:02 -0400)]
Move Workspace Functions to Their Own File
W. Felix Handte [Thu, 15 Aug 2019 16:51:24 +0000 (12:51 -0400)]
Rename
W. Felix Handte [Wed, 14 Aug 2019 21:11:16 +0000 (17:11 -0400)]
Clean Up TODOs and Comments
W. Felix Handte [Wed, 14 Aug 2019 20:55:12 +0000 (16:55 -0400)]
Improve Comments a Bit
W. Felix Handte [Wed, 14 Aug 2019 20:48:01 +0000 (16:48 -0400)]
Allocate CDict in Workspace (Rather than in Separate Allocation)
W. Felix Handte [Wed, 14 Aug 2019 18:44:17 +0000 (14:44 -0400)]
Rewrite ZSTD_initStaticCCtx to Alloc CCtx in Workspace
W. Felix Handte [Wed, 14 Aug 2019 15:35:53 +0000 (11:35 -0400)]
Only the CCtx Itself Needs to be Cleared during Static CCtx Init
W. Felix Handte [Tue, 13 Aug 2019 15:57:20 +0000 (11:57 -0400)]
Align Alloc Pointer When Transitioning from Buffers to Aligned Allocs
W. Felix Handte [Tue, 13 Aug 2019 00:01:57 +0000 (20:01 -0400)]
Remove Overly-Restrictive Assert
W. Felix Handte [Mon, 12 Aug 2019 23:24:24 +0000 (19:24 -0400)]
When Loading Dict By Copy, Always Put it in the Workspace
W. Felix Handte [Mon, 12 Aug 2019 22:36:48 +0000 (18:36 -0400)]
Alloc Tables Separately
W. Felix Handte [Mon, 12 Aug 2019 18:22:54 +0000 (14:22 -0400)]
Begin Introducing Phases
W. Felix Handte [Mon, 15 Jul 2019 19:08:49 +0000 (15:08 -0400)]
TMP
W. Felix Handte [Mon, 15 Jul 2019 21:14:51 +0000 (17:14 -0400)]
Disambiguate 'workspace' and 'entropyWorkspace'
W. Felix Handte [Mon, 15 Jul 2019 19:10:33 +0000 (15:10 -0400)]
Normalize Case 'workSpace' -> 'workspace'
Dario Pavlovic [Mon, 9 Sep 2019 15:43:22 +0000 (08:43 -0700)]
[Fuzz] Improve data generation #1723
Yann Collet [Sat, 7 Sep 2019 00:02:53 +0000 (17:02 -0700)]
Merge pull request #1771 from vnair81/dev
Passing ZSTD_CCtx_params by const pointer
Yann Collet [Fri, 6 Sep 2019 23:51:16 +0000 (16:51 -0700)]
fix minor compilation condition
harness.c is not designed to pass -Wdeclaration-after-statement
Bimba Shrestha [Fri, 6 Sep 2019 21:48:41 +0000 (14:48 -0700)]
Mentioning cli only in the comment as suggested
Yann Collet [Fri, 6 Sep 2019 21:30:13 +0000 (14:30 -0700)]
fix eductional decoder
fix #1774
also :
- fix minor compilation warnings
- make sure the `test` is run during CI tests
Bimba Shrestha [Fri, 6 Sep 2019 20:44:25 +0000 (13:44 -0700)]
Put back omission for first rle block and updated comment as suggested
Bimba Shrestha [Fri, 6 Sep 2019 17:46:19 +0000 (10:46 -0700)]
Removing redundant condition in decompression, making first block rles valid to deocmpress
Varun S Nair [Thu, 5 Sep 2019 10:17:17 +0000 (15:47 +0530)]
Fixing assert and DEBUGLOG due to ZSTD_CCtx_params parameter change to const pointer
Varun S Nair [Thu, 5 Sep 2019 09:58:30 +0000 (15:28 +0530)]
Passing ZSTD_CCtx_params by const pointer
Yann Collet [Wed, 4 Sep 2019 21:51:23 +0000 (14:51 -0700)]
Merge pull request #1770 from cwoffenden/amalgamate-correctness
Single file decoder correctness and tidy
Carl Woffenden [Mon, 2 Sep 2019 16:15:31 +0000 (18:15 +0200)]
Minor: documented sizes smaller
Carl Woffenden [Mon, 2 Sep 2019 16:02:50 +0000 (18:02 +0200)]
Correctness and tidy
Test compilation performed with warnings. Author and license added. Test for failing grep on ancient OSX versions. Replaced the test image with something less noisy (which compresses better).
Yann Collet [Mon, 2 Sep 2019 01:11:54 +0000 (18:11 -0700)]
Merge pull request #1769 from cybojanek/update_streaming_examples
Fix streaming compression/decompression examples
Jan Kasiak [Sun, 1 Sep 2019 19:35:53 +0000 (15:35 -0400)]
Fix streaming compression/decompression examples
* Handle compression of empty file
* Error in decompression in case of trailing data
Yann Collet [Fri, 30 Aug 2019 17:48:02 +0000 (10:48 -0700)]
Merge pull request #1761 from terrelln/regression
[regression] small improvement from RLE blocks
Nick Terrell [Fri, 30 Aug 2019 01:05:58 +0000 (18:05 -0700)]
[regression] small improvement from RLE blocks
Yann Collet [Thu, 29 Aug 2019 22:19:10 +0000 (15:19 -0700)]
Merge pull request #1744 from bimbashrestha/dev
Generate RLE blocks in the encoder
Yann Collet [Thu, 29 Aug 2019 19:09:09 +0000 (12:09 -0700)]
Merge pull request #1754 from facebook/decTest
Tests for single-file decompressor
Bimba Shrestha [Thu, 29 Aug 2019 19:05:47 +0000 (12:05 -0700)]
Undoing the last commit (that was an accident)
bimbashrestha [Thu, 29 Aug 2019 18:55:12 +0000 (11:55 -0700)]
Adding method for extracting sequences.
Yann Collet [Thu, 29 Aug 2019 16:48:12 +0000 (09:48 -0700)]
Merge branch 'dev' into decTest
Yann Collet [Thu, 29 Aug 2019 16:47:28 +0000 (09:47 -0700)]
Merge pull request #1755 from cwoffenden/amalgamate-c99-fixes
C99 and older GCC fixes
Carl Woffenden [Thu, 29 Aug 2019 09:16:57 +0000 (11:16 +0200)]
C99 and older GCC fixes
Yann Collet [Wed, 28 Aug 2019 20:46:18 +0000 (13:46 -0700)]
update test script
Yann Collet [Wed, 28 Aug 2019 20:23:48 +0000 (13:23 -0700)]
fix create_ script for sh
Yann Collet [Wed, 28 Aug 2019 19:26:29 +0000 (12:26 -0700)]
Merge pull request #1749 from facebook/rmadapt
removed adaptive-compression
Yann Collet [Wed, 28 Aug 2019 19:17:29 +0000 (12:17 -0700)]
Merge branch 'dev' into decTest
Yann Collet [Wed, 28 Aug 2019 19:14:29 +0000 (12:14 -0700)]
Merge pull request #1750 from cwoffenden/amalgamate-bash2sh
Rewrote the scripts to use sh instead of bash
Carl Woffenden [Wed, 28 Aug 2019 17:20:42 +0000 (19:20 +0200)]
Rewrote the scripts to sh instead of bash
bimbashrestha [Wed, 28 Aug 2019 15:32:34 +0000 (08:32 -0700)]
Added test for multiple blocks of zeros and fixed nit about comments
Yann Collet [Tue, 27 Aug 2019 23:38:21 +0000 (16:38 -0700)]
try to debug issues on CirrusCI
Yann Collet [Tue, 27 Aug 2019 23:04:12 +0000 (16:04 -0700)]
added single_file_decoder to contrib/ tests
Yann Collet [Tue, 27 Aug 2019 23:01:39 +0000 (16:01 -0700)]
minor script renaming, for clarity
Yann Collet [Tue, 27 Aug 2019 22:50:47 +0000 (15:50 -0700)]
changed contrib project name for clarity
Yann Collet [Tue, 27 Aug 2019 21:50:18 +0000 (14:50 -0700)]
removed associated test
Yann Collet [Tue, 27 Aug 2019 21:47:40 +0000 (14:47 -0700)]
removed adaptive-compression
the functionality is already integrated into `zstd` through `--adapt` command