]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
8 years agocleaned up code for arguments a bit
Paul Cruz [Fri, 7 Jul 2017 17:58:43 +0000 (10:58 -0700)] 
cleaned up code for arguments a bit

8 years agoadded tests that check to ensure stdout is working
Paul Cruz [Fri, 7 Jul 2017 17:29:06 +0000 (10:29 -0700)] 
added tests that check to ensure stdout is working

8 years agoupdated avg compression rate, also hiding progress bar behind a flag now
Paul Cruz [Fri, 7 Jul 2017 17:25:38 +0000 (10:25 -0700)] 
updated avg compression rate, also hiding progress bar behind a flag now

8 years agoadded compression rate to status bar
Paul Cruz [Fri, 7 Jul 2017 16:35:39 +0000 (09:35 -0700)] 
added compression rate to status bar

8 years agoadded data amount
Paul Cruz [Fri, 7 Jul 2017 03:40:00 +0000 (20:40 -0700)] 
added data amount

8 years agofixed problem with progress bar not persisting, added time elapsed
Paul Cruz [Fri, 7 Jul 2017 03:30:20 +0000 (20:30 -0700)] 
fixed problem with progress bar not persisting, added time elapsed

8 years agoadded help menu
Paul Cruz [Fri, 7 Jul 2017 01:09:10 +0000 (18:09 -0700)] 
added help menu

8 years agoadded really simple progress update in the corner
Paul Cruz [Fri, 7 Jul 2017 00:48:18 +0000 (17:48 -0700)] 
added really simple progress update in the corner

8 years agoUpdate compressor and decompressor
Stella Lau [Thu, 6 Jul 2017 23:47:08 +0000 (16:47 -0700)] 
Update compressor and decompressor

8 years agoadded some basic logic for altering compression level
Paul Cruz [Thu, 6 Jul 2017 23:06:53 +0000 (16:06 -0700)] 
added some basic logic for altering compression level

8 years agoAdd simple compress and decompress functions
Stella Lau [Thu, 6 Jul 2017 22:23:15 +0000 (15:23 -0700)] 
Add simple compress and decompress functions

8 years agoadded ability to congregate statistics into single print statement rather than using...
Paul Cruz [Thu, 6 Jul 2017 20:09:17 +0000 (13:09 -0700)] 
added ability to congregate statistics into single print statement rather than using debug

8 years agoMerge pull request #751 from ivuk/fix-typo
Yann Collet [Thu, 6 Jul 2017 19:06:43 +0000 (12:06 -0700)] 
Merge pull request #751 from ivuk/fix-typo

Fix typos in README.md

8 years agoFix typos in README.md 751/head
Igor Vuk [Thu, 6 Jul 2017 18:43:14 +0000 (20:43 +0200)] 
Fix typos in README.md

8 years agoadded ability to set initial compression level
Paul Cruz [Thu, 6 Jul 2017 18:05:51 +0000 (11:05 -0700)] 
added ability to set initial compression level

8 years agochanged to work with std out
Paul Cruz [Thu, 6 Jul 2017 17:49:26 +0000 (10:49 -0700)] 
changed to work with std out

8 years agosmall changes
Paul Cruz [Thu, 6 Jul 2017 17:29:16 +0000 (10:29 -0700)] 
small changes

8 years agoSwitch to mmapping files
Stella Lau [Thu, 6 Jul 2017 14:30:49 +0000 (07:30 -0700)] 
Switch to mmapping files

8 years agofixed fullbench, part 2
Yann Collet [Thu, 6 Jul 2017 09:48:00 +0000 (02:48 -0700)] 
fixed fullbench, part 2

8 years agofixed fullbench
Yann Collet [Thu, 6 Jul 2017 09:22:57 +0000 (02:22 -0700)] 
fixed fullbench

8 years agofixed #718, reported by @GregSlazinski, solution suggested by @mcmilk
Yann Collet [Thu, 6 Jul 2017 08:42:46 +0000 (01:42 -0700)] 
fixed #718, reported by @GregSlazinski, solution suggested by @mcmilk

8 years agominor code refactoring
Yann Collet [Thu, 6 Jul 2017 01:10:07 +0000 (18:10 -0700)] 
minor code refactoring

8 years agosmall changes
Paul Cruz [Thu, 6 Jul 2017 00:44:36 +0000 (17:44 -0700)] 
small changes

8 years agocli : use new advanced API by default
Yann Collet [Thu, 6 Jul 2017 00:34:15 +0000 (17:34 -0700)] 
cli : use new advanced API by default

8 years agofixed the problem with pipeline tests by changing how jobs move through the threads
Paul Cruz [Thu, 6 Jul 2017 00:24:21 +0000 (17:24 -0700)] 
fixed the problem with pipeline tests by changing how jobs move through the threads

8 years agoclarified status of zstdmt_compress.h API
Yann Collet [Thu, 6 Jul 2017 00:20:52 +0000 (17:20 -0700)] 
clarified status of zstdmt_compress.h API

8 years agoadded print statements and debuglog
Paul Cruz [Wed, 5 Jul 2017 23:54:34 +0000 (16:54 -0700)] 
added print statements and debuglog

8 years agoadded more tests, changed makefile
Paul Cruz [Wed, 5 Jul 2017 21:36:09 +0000 (14:36 -0700)] 
added more tests, changed makefile

8 years agoadded filenameTable for multiple files
Paul Cruz [Wed, 5 Jul 2017 21:19:56 +0000 (14:19 -0700)] 
added filenameTable for multiple files

8 years agoInitial long distance matcher commit
Stella Lau [Wed, 5 Jul 2017 20:57:07 +0000 (13:57 -0700)] 
Initial long distance matcher commit

8 years agoadded tests to run.sh
Paul Cruz [Wed, 5 Jul 2017 20:23:34 +0000 (13:23 -0700)] 
added tests to run.sh

8 years agoadded some basic parsing for args
Paul Cruz [Wed, 5 Jul 2017 19:20:16 +0000 (12:20 -0700)] 
added some basic parsing for args

8 years agoremoved references to file size computation and file size function
Paul Cruz [Wed, 5 Jul 2017 18:54:21 +0000 (11:54 -0700)] 
removed references to file size computation and file size function

8 years agoremoved calculation of file size and replaced with limited number of available jobs
Paul Cruz [Wed, 5 Jul 2017 18:52:55 +0000 (11:52 -0700)] 
removed calculation of file size and replaced with limited number of available jobs

8 years agomoved main logic for job creation into a separate function
Paul Cruz [Wed, 5 Jul 2017 17:48:04 +0000 (10:48 -0700)] 
moved main logic for job creation into a separate function

8 years agofree ctx fields when error occurs during creation
Paul Cruz [Wed, 5 Jul 2017 17:20:56 +0000 (10:20 -0700)] 
free ctx fields when error occurs during creation

8 years agorenamed files
Paul Cruz [Wed, 5 Jul 2017 16:57:50 +0000 (09:57 -0700)] 
renamed files

8 years agofixed TODOs
Paul Cruz [Wed, 5 Jul 2017 16:49:27 +0000 (09:49 -0700)] 
fixed TODOs

8 years agoremoved unnecessary checks for null pointer on free
Paul Cruz [Wed, 5 Jul 2017 16:37:52 +0000 (09:37 -0700)] 
removed unnecessary checks for null pointer on free

8 years agoremoved print statements
Paul Cruz [Wed, 5 Jul 2017 16:23:46 +0000 (09:23 -0700)] 
removed print statements

8 years agofixed wrong assert() condition 750/head
Yann Collet [Wed, 5 Jul 2017 02:33:16 +0000 (19:33 -0700)] 
fixed wrong assert() condition

A single job created by ZSTDMT_compress() can be < 256KB
if data to compress is < 256 KB
(in which case it is delegated to single thread mode)

8 years agomore precise estimation of amount to flush at end of stream (single thread mode) 748/head
Yann Collet [Tue, 4 Jul 2017 19:39:26 +0000 (12:39 -0700)] 
more precise estimation of amount to flush at end of stream (single thread mode)

also : can use DEBUGLEVEL variable in /tests

8 years agofixed : 0-copy in NULL is UB
Yann Collet [Tue, 4 Jul 2017 17:36:41 +0000 (10:36 -0700)] 
fixed : 0-copy in NULL is UB

8 years agoMerge pull request #743 from facebook/fullbench
Yann Collet [Tue, 4 Jul 2017 04:26:38 +0000 (21:26 -0700)] 
Merge pull request #743 from facebook/fullbench

compress_generic() automatic optimization opportunities

8 years agoworking I believe
Paul Cruz [Tue, 4 Jul 2017 03:05:42 +0000 (20:05 -0700)] 
working I believe

8 years agofixed some issues with segfaults
Paul Cruz [Tue, 4 Jul 2017 02:28:48 +0000 (19:28 -0700)] 
fixed some issues with segfaults

8 years agoadded code for waiitng for all jobs to finish
Paul Cruz [Tue, 4 Jul 2017 02:24:22 +0000 (19:24 -0700)] 
added code for waiitng for all jobs to finish

8 years agofixed an error with number of jobs
Paul Cruz [Tue, 4 Jul 2017 02:00:55 +0000 (19:00 -0700)] 
fixed an error with number of jobs

8 years agoMerge pull request #747 from facebook/noExit
Yann Collet [Tue, 4 Jul 2017 01:15:13 +0000 (18:15 -0700)] 
Merge pull request #747 from facebook/noExit

No exit() on decoding errors

8 years agoremoved unnecessary files
Paul Cruz [Tue, 4 Jul 2017 00:44:40 +0000 (17:44 -0700)] 
removed unnecessary files

8 years agoadded print statements for debugging, fixed long memset by changing to calloc
Paul Cruz [Tue, 4 Jul 2017 00:44:22 +0000 (17:44 -0700)] 
added print statements for debugging, fixed long memset by changing to calloc

8 years agofinished main portion of code, now need to debug
Paul Cruz [Tue, 4 Jul 2017 00:28:59 +0000 (17:28 -0700)] 
finished main portion of code, now need to debug

8 years agorefactor ZSTDMT_compress() 743/head
Yann Collet [Mon, 3 Jul 2017 23:23:36 +0000 (16:23 -0700)] 
refactor ZSTDMT_compress()

8 years agofixed comments
Yann Collet [Mon, 3 Jul 2017 22:52:19 +0000 (15:52 -0700)] 
fixed comments

8 years agofixed wrong function name in comment
Yann Collet [Mon, 3 Jul 2017 22:21:24 +0000 (15:21 -0700)] 
fixed wrong function name in comment

8 years agoMerge pull request #745 from terrelln/libfuzzer
Yann Collet [Mon, 3 Jul 2017 22:15:20 +0000 (15:15 -0700)] 
Merge pull request #745 from terrelln/libfuzzer

[fuzz] Add libFuzzer targets

8 years agominor code refactoring 747/head
Yann Collet [Mon, 3 Jul 2017 22:14:55 +0000 (15:14 -0700)] 
minor code refactoring

8 years agocontinuing work on v2
Paul Cruz [Mon, 3 Jul 2017 21:18:46 +0000 (14:18 -0700)] 
continuing work on v2

8 years agoversion one complete, can compress a file given input and output names
Paul Cruz [Mon, 3 Jul 2017 21:11:55 +0000 (14:11 -0700)] 
version one complete, can compress a file given input and output names

8 years agofixed gz error reporting
Yann Collet [Mon, 3 Jul 2017 20:47:46 +0000 (13:47 -0700)] 
fixed gz error reporting

8 years agogzip : only display inflateEnd error when there is no error before
Yann Collet [Mon, 3 Jul 2017 20:45:09 +0000 (13:45 -0700)] 
gzip : only display inflateEnd error when there is no error before

8 years agoMerge pull request #746 from terrelln/dev
Yann Collet [Mon, 3 Jul 2017 20:31:27 +0000 (13:31 -0700)] 
Merge pull request #746 from terrelln/dev

[libzstd] Fix memcpy() on potential NULL source

8 years agogzip decoding does no longer exit() on invalid input
Yann Collet [Mon, 3 Jul 2017 20:24:50 +0000 (13:24 -0700)] 
gzip decoding does no longer exit() on invalid input

8 years ago[fuzz] Move from fuzz/ to tests/fuzz/ 745/head
Nick Terrell [Mon, 3 Jul 2017 19:40:12 +0000 (12:40 -0700)] 
[fuzz] Move from fuzz/ to tests/fuzz/

8 years ago[libzstd] Fix memcpy() on potential NULL source 746/head
Nick Terrell [Mon, 3 Jul 2017 19:31:55 +0000 (12:31 -0700)] 
[libzstd] Fix memcpy() on potential NULL source

* `ZSTD_decompressStream_generic()` `ip` may be `NULL` for one of the calls
  to `memcpy()`
* Assert the source is not `NULL` for calls to `memcpy()` where I believe
  the source should not be `NULL`.

8 years agodecoding malformed lz4 frames does no longer exit()
Yann Collet [Mon, 3 Jul 2017 18:27:29 +0000 (11:27 -0700)] 
decoding malformed lz4 frames does no longer exit()

8 years agofileio : decoding malformed lzma frame does no longer exit()
Yann Collet [Mon, 3 Jul 2017 17:27:16 +0000 (10:27 -0700)] 
fileio : decoding malformed lzma frame does no longer exit()

makes it possible to continue decoding file list

8 years agofixed legacy version init bug
Yann Collet [Sat, 1 Jul 2017 16:09:34 +0000 (09:09 -0700)] 
fixed legacy version init bug

8 years agoblindfix : fullbench's one-time leak, detected by valgrind
cyan4973 [Sat, 1 Jul 2017 15:03:59 +0000 (08:03 -0700)] 
blindfix : fullbench's one-time leak, detected by valgrind

8 years agoadded --show-leak-kind=all to valgrind tests
cyan4973 [Sat, 1 Jul 2017 14:05:11 +0000 (07:05 -0700)] 
added --show-leak-kind=all to valgrind tests

8 years agoMerge branch 'dev' into fullbench
cyan4973 [Sat, 1 Jul 2017 14:01:08 +0000 (07:01 -0700)] 
Merge branch 'dev' into fullbench

8 years agofix : ZSTDMT_compressStream_generic() can accept NULL input
cyan4973 [Sat, 1 Jul 2017 13:59:24 +0000 (06:59 -0700)] 
fix : ZSTDMT_compressStream_generic() can accept NULL input

also : converge implementations towards new version of ZSTDMT_compressStream_generic()

8 years agoMerge pull request #744 from terrelln/dev
Yann Collet [Sat, 1 Jul 2017 12:58:33 +0000 (05:58 -0700)] 
Merge pull request #744 from terrelln/dev

[pzstd] Remove appveyor tests

8 years ago[fuzz] Add libFuzzer targets
Nick Terrell [Thu, 29 Jun 2017 23:53:52 +0000 (16:53 -0700)] 
[fuzz] Add libFuzzer targets

* The regression driver serves both as a regression test, and as a binary for afl-fuzz.
* Next, we want to check in a seed corpus for each target. Then we can run the regression
  test binary on them on Travis or Circle CI.

8 years ago[pzstd] Remove appveyor tests 744/head
Nick Terrell [Fri, 30 Jun 2017 23:31:11 +0000 (16:31 -0700)] 
[pzstd] Remove appveyor tests

The appveyor tests sometimes hang, and pzstd is now deprecated in favor of
zstdmt, so delete the tests.

8 years ago[man] Specify that strategies start at 1
Nick Terrell [Fri, 30 Jun 2017 23:29:37 +0000 (16:29 -0700)] 
[man] Specify that strategies start at 1

8 years agofixed : dictionary compression with new advanced API in Multi-threading mode
Yann Collet [Fri, 30 Jun 2017 23:01:02 +0000 (16:01 -0700)] 
fixed : dictionary compression with new advanced API in Multi-threading mode

8 years agoOptimized ZSTDMT single-pass mode speed on large sources
Yann Collet [Fri, 30 Jun 2017 22:44:57 +0000 (15:44 -0700)] 
Optimized ZSTDMT single-pass mode speed on large sources

by ensuring job sizes remain "not too large"

8 years agoimplemented shortcut for zstd_compress_generic() in MT mode
Yann Collet [Fri, 30 Jun 2017 21:51:01 +0000 (14:51 -0700)] 
implemented shortcut for zstd_compress_generic() in MT mode

added ZSTDMT_compress_advanced() API

8 years agoMerge pull request #742 from stellamplau/stack-space
Yann Collet [Fri, 30 Jun 2017 21:50:23 +0000 (14:50 -0700)] 
Merge pull request #742 from stellamplau/stack-space

Reduce stack usage of HUF_readDTableX4 and HUF_readDTableX2

8 years agoFix typo 742/head
Stella Lau [Fri, 30 Jun 2017 19:56:24 +0000 (12:56 -0700)] 
Fix typo

8 years agoAdd comment to HUF_DECOMPRESS_WORKSPACE_SIZE
Stella Lau [Fri, 30 Jun 2017 19:53:56 +0000 (12:53 -0700)] 
Add comment to HUF_DECOMPRESS_WORKSPACE_SIZE

8 years agoClarify typedef of rankVal_t and rankValCol_t
Stella Lau [Fri, 30 Jun 2017 16:52:20 +0000 (09:52 -0700)] 
Clarify typedef of rankVal_t and rankValCol_t

8 years agoRename ALIGN and ALIGN_MASK to HUF_ALIGN and HUF_ALIGN_MASK
Stella Lau [Fri, 30 Jun 2017 16:38:11 +0000 (09:38 -0700)] 
Rename ALIGN and ALIGN_MASK to HUF_ALIGN and HUF_ALIGN_MASK

8 years agofixed Visual compilation of fullbench-dll
cyan4973 [Fri, 30 Jun 2017 02:59:37 +0000 (19:59 -0700)] 
fixed Visual compilation of fullbench-dll

8 years agomade fullbench compatible with multi-threading
Yann Collet [Fri, 30 Jun 2017 01:56:24 +0000 (18:56 -0700)] 
made fullbench compatible with multi-threading

fullbench 61/62 measure speed of ZSTD_compress_generic with 2 threads

8 years agozstreamtest : big tests are only enabled in 64-bits mode
Yann Collet [Fri, 30 Jun 2017 01:19:09 +0000 (18:19 -0700)] 
zstreamtest : big tests are only enabled in 64-bits mode

to avoid requesting too much memory in 32-bits mode during MT tests

8 years agoDelegate HUF_decompress4X_hufOnly to workspace version
Stella Lau [Thu, 29 Jun 2017 23:22:32 +0000 (16:22 -0700)] 
Delegate HUF_decompress4X_hufOnly to workspace version

8 years agoFix bitshift error
Stella Lau [Thu, 29 Jun 2017 22:40:49 +0000 (15:40 -0700)] 
Fix bitshift error

8 years agoMerge pull request #741 from facebook/promotion
Yann Collet [Thu, 29 Jun 2017 21:48:32 +0000 (14:48 -0700)] 
Merge pull request #741 from facebook/promotion

ZSTD_getFrameContentSize() promoted to "stable" status

8 years agocompression optimization opportunity
Yann Collet [Thu, 29 Jun 2017 21:44:49 +0000 (14:44 -0700)] 
compression optimization opportunity

switch to single-pass mode directly into output buffer
when outputSize >= ZSTD_compressBound(inputSize).
Speed gains observed with fullbench (~+15% on level 1)

8 years agoFix pointer casting warning
Stella Lau [Thu, 29 Jun 2017 20:04:15 +0000 (13:04 -0700)] 
Fix pointer casting warning

8 years agoupdated fullbench to also measure ZSTD_compress_generic()
Yann Collet [Thu, 29 Jun 2017 20:03:10 +0000 (13:03 -0700)] 
updated fullbench to also measure ZSTD_compress_generic()

will make it possible to visualize
optimization opportunity for ZSTD_e_end

8 years agoFix alignment warnings with pointer casting
Stella Lau [Thu, 29 Jun 2017 19:39:34 +0000 (12:39 -0700)] 
Fix alignment warnings with pointer casting

8 years agoReduce stack usage of HUF_readDTableX4 and HUF_readDTableX2
Stella Lau [Thu, 29 Jun 2017 18:49:59 +0000 (11:49 -0700)] 
Reduce stack usage of HUF_readDTableX4 and HUF_readDTableX2

8 years agominor : fix typo 741/head
Yann Collet [Thu, 29 Jun 2017 18:31:40 +0000 (11:31 -0700)] 
minor : fix typo

8 years agominor : specify compression level in tags
Yann Collet [Thu, 29 Jun 2017 18:30:31 +0000 (11:30 -0700)] 
minor : specify compression level in tags

8 years agoMerge pull request #738 from terrelln/lk-div
Yann Collet [Thu, 29 Jun 2017 18:01:28 +0000 (11:01 -0700)] 
Merge pull request #738 from terrelln/lk-div

[linux-kernel] Update patches for v2

8 years agoZSTD_getFrameContentSize() is promoted to "stable" status
Yann Collet [Thu, 29 Jun 2017 12:18:09 +0000 (05:18 -0700)] 
ZSTD_getFrameContentSize() is promoted to "stable" status

8 years agoMerge pull request #739 from facebook/refPrefix
Yann Collet [Thu, 29 Jun 2017 11:36:03 +0000 (04:36 -0700)] 
Merge pull request #739 from facebook/refPrefix

ZSTD_refPrefix