Yann Collet
f04deff4fc
fixed #718 , reported by @GregSlazinski, solution suggested by @mcmilk
2017-07-06 01:42:46 -07:00
Yann Collet
d75c0e71c4
minor code refactoring
2017-07-05 18:10:07 -07:00
Paul Cruz
79d4657ce5
small changes
2017-07-05 17:44:36 -07:00
Yann Collet
3345a91964
cli : use new advanced API by default
2017-07-05 17:34:15 -07:00
Paul Cruz
6f3ad1b22e
fixed the problem with pipeline tests by changing how jobs move through the threads
2017-07-05 17:24:21 -07:00
Yann Collet
49af41820d
clarified status of zstdmt_compress.h API
2017-07-05 17:21:13 -07:00
Paul Cruz
cc714f3bd3
added print statements and debuglog
2017-07-05 16:54:34 -07:00
Paul Cruz
3f52ca94bf
added more tests, changed makefile
2017-07-05 14:36:09 -07:00
Paul Cruz
faeb6e0b1b
added filenameTable for multiple files
2017-07-05 14:19:56 -07:00
Stella Lau
88f3d8641e
Initial long distance matcher commit
2017-07-05 13:57:07 -07:00
Paul Cruz
f0b9a153f3
added tests to run.sh
2017-07-05 13:23:34 -07:00
Paul Cruz
b42108386a
added some basic parsing for args
2017-07-05 12:20:16 -07:00
Paul Cruz
898c1a5b46
removed references to file size computation and file size function
2017-07-05 11:54:21 -07:00
Paul Cruz
a2680e5b96
removed calculation of file size and replaced with limited number of available jobs
2017-07-05 11:52:55 -07:00
Paul Cruz
dd8a591d5d
moved main logic for job creation into a separate function
2017-07-05 10:48:04 -07:00
Paul Cruz
9ccd55f3a8
free ctx fields when error occurs during creation
2017-07-05 10:20:56 -07:00
Paul Cruz
5df4cb0530
renamed files
2017-07-05 09:57:50 -07:00
Paul Cruz
c9f49198b8
fixed TODOs
2017-07-05 09:49:27 -07:00
Paul Cruz
9a147d8671
removed unnecessary checks for null pointer on free
2017-07-05 09:37:52 -07:00
Paul Cruz
a47ebb1607
removed print statements
2017-07-05 09:23:46 -07:00
Yann Collet
27e883371d
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)
2017-07-04 19:33:16 -07:00
Yann Collet
2cb9774f5e
more precise estimation of amount to flush at end of stream (single thread mode)
...
also : can use DEBUGLEVEL variable in /tests
2017-07-04 12:39:26 -07:00
Yann Collet
6383372dec
fixed : 0-copy in NULL is UB
2017-07-04 10:36:41 -07:00
Yann Collet and GitHub
5051dd39ca
Merge pull request #743 from facebook/fullbench
...
compress_generic() automatic optimization opportunities
2017-07-03 21:26:38 -07:00
Paul Cruz
0b70152a9b
working I believe
2017-07-03 20:05:42 -07:00
Paul Cruz
cd50382c03
fixed some issues with segfaults
2017-07-03 19:28:48 -07:00
Paul Cruz
95ea54b4cf
added code for waiitng for all jobs to finish
2017-07-03 19:24:22 -07:00
Paul Cruz
dd447bb9a7
fixed an error with number of jobs
2017-07-03 19:00:55 -07:00
Yann Collet and GitHub
9ceea19dc1
Merge pull request #747 from facebook/noExit
...
No exit() on decoding errors
2017-07-03 18:15:13 -07:00
Paul Cruz
ff9ac637d9
removed unnecessary files
2017-07-03 17:44:40 -07:00
Paul Cruz
dd96efa9ef
added print statements for debugging, fixed long memset by changing to calloc
2017-07-03 17:44:22 -07:00
Paul Cruz
0887e98d4b
finished main portion of code, now need to debug
2017-07-03 17:28:59 -07:00
Yann Collet
2de2396a36
refactor ZSTDMT_compress()
2017-07-03 16:23:36 -07:00
Yann Collet
2084b041f4
fixed comments
2017-07-03 15:52:19 -07:00
Yann Collet
5a77361595
fixed wrong function name in comment
2017-07-03 15:21:24 -07:00
Yann Collet and GitHub
95c4a6e2c8
Merge pull request #745 from terrelln/libfuzzer
...
[fuzz] Add libFuzzer targets
2017-07-03 15:15:20 -07:00
Yann Collet
b8280fe929
minor code refactoring
2017-07-03 15:14:55 -07:00
Paul Cruz
00b5e6c512
continuing work on v2
2017-07-03 14:18:46 -07:00
Paul Cruz
ac79928960
version one complete, can compress a file given input and output names
2017-07-03 14:11:55 -07:00
Yann Collet
368b974387
fixed gz error reporting
2017-07-03 13:47:46 -07:00
Yann Collet
c9f21c8a71
gzip : only display inflateEnd error when there is no error before
2017-07-03 13:45:09 -07:00
Yann Collet and GitHub
7b68d7eb63
Merge pull request #746 from terrelln/dev
...
[libzstd] Fix memcpy() on potential NULL source
2017-07-03 13:31:27 -07:00
Yann Collet
6c35112d08
gzip decoding does no longer exit() on invalid input
2017-07-03 13:24:50 -07:00
Nick Terrell
bea0f0cfa0
[fuzz] Move from fuzz/ to tests/fuzz/
2017-07-03 12:40:12 -07:00
Nick Terrell
c80fc50a8d
[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`.
2017-07-03 12:31:55 -07:00
Yann Collet
e97ff3b54a
decoding malformed lz4 frames does no longer exit()
2017-07-03 11:27:29 -07:00
Yann Collet
c34185df13
fileio : decoding malformed lzma frame does no longer exit()
...
makes it possible to continue decoding file list
2017-07-03 10:27:16 -07:00
Yann Collet
2485f88bf8
fixed legacy version init bug
2017-07-01 09:09:34 -07:00
cyan4973
4b26306cb8
blindfix : fullbench's one-time leak, detected by valgrind
2017-07-01 08:03:59 -07:00
cyan4973
c07e43c2b5
added --show-leak-kind=all to valgrind tests
2017-07-01 07:05:11 -07:00