Yann Collet
9c4c970399
Merge branch 'dev' into compressionFlow
2017-04-17 16:33:09 -07:00
Sean Purcell
d845dab69c
Fix input size too small to trigger zstdmt
2017-04-17 12:10:58 -07:00
Sean Purcell
c424ec2eae
Add multithreading tests to playTests.sh
2017-04-17 11:41:46 -07:00
Yann Collet
2afb075382
Merge branch 'dev' into compressionFlow
2017-04-14 15:08:31 -07:00
Yann Collet
f913cbed33
fixed : memory leak in fuzzer test
2017-04-13 22:46:51 -07:00
Yann Collet
20d5e03893
content size is controlled at bufferless level
...
so it's active for all entry points
Also : added relevant test (wrong content size) in fuzzer
2017-04-11 18:34:02 -07:00
Sean Purcell
d37e1df2ab
Fix message
2017-04-11 17:33:26 -07:00
Sean Purcell
eb70d219fd
Add test of file > 4GB to playTests
2017-04-11 17:15:13 -07:00
Yann Collet
4ee6b15dac
force contentSizeFlag=0 when using ZSTD_initCStream_usingCDict()
...
because by definition srcSize is not known when using this prototype.
added relevant test
Note : this use was already working, because at a later stage
(both ZSTD_compressBegin_usingCDict() and ZSTD_copyCCtx())
pledgedSrcSize=0 is translated into "unknown", no matter the frame parameter.
This is not correct, but of little importance,
as the medium term plan is to no longer set fParams within CDict
2017-04-11 11:59:44 -07:00
Yann Collet
4b987ad8ce
Introduce ZSTD_initCStream_internal()
...
This is now the regroup point for ZSTD_initCStream*() functions
ZSTD_initCStream_advanced() now properly checks for parameters validity.
Also : added <assert.h> usage inside zstd_compress.c
Needs ZSTD_DEBUG=1 macro to be triggered.
Will be triggered by default from `tests` directory
2017-04-10 17:50:44 -07:00
Yann Collet
1fa3b75369
Merge pull request #648 from facebook/zstdmt
...
improved zstreamtest --mt to trap bug #644
2017-04-07 06:09:52 -07:00
Sean Purcell
1652172b2d
Add refuse to overwrite test and fix format
2017-04-06 17:06:30 -07:00
Sean Purcell
9da11c6aae
Add test for overwriting read-only
2017-04-06 12:58:49 -07:00
Yann Collet
ce80098f14
improved zstreamtest --mt to trap bug #644
2017-04-05 16:34:09 -07:00
Yann Collet
9631e603ae
paramgrill : results from optimizer use cli format
...
Best found configuration is displayed
using documented cli advanced parameter syntax.
2017-04-04 16:54:33 -07:00
Yann Collet
89b32f3db0
fix paramgrill -O#
...
ensure proposed config does not require more memory than necessary
2017-04-04 16:41:11 -07:00
Yann Collet
2724f25567
fixed paramgrill -O#
...
find optimal settings for a minimum speed
2017-04-04 16:31:17 -07:00
Yann Collet
c2007388a5
fixed bench.c : optional advanced parameters applied
...
before creating cdict
2017-04-04 15:35:06 -07:00
Nick Terrell
39a6cc5172
Make ZSTD_compress_usingCDict() respect contentSizeFlag
2017-04-03 21:09:55 -07:00
Nick Terrell
62ecad3819
Fix ZSTD_initCStream_usingCDict() to use dictionary
2017-04-03 21:05:59 -07:00
Yann Collet
30c7698970
optimize ZSTDMT_compress() memory usage
...
does no longer allocate temporary buffers
when there is enough room in dstBuffer to decompress directly there.
(previous method would skip that for 1st chunk only).
Also : fix ZSTD_compressBound() for small srcSize
2017-03-31 18:27:03 -07:00
Yann Collet
6476c51b86
Merge pull request #637 from facebook/zstdmt
...
Zstdmt
2017-03-30 14:18:37 -07:00
Nick Terrell
5152fb2cb2
Convert all tabs to spaces
2017-03-29 18:51:58 -07:00
Yann Collet
1e1e26f2ac
fixed #634 : ZSTDMT_compressCCtx() doesn't provide frame content size in header
2017-03-29 17:09:59 -07:00
Yann Collet
0ef6803707
added ZSTD_getFrameContentSize() to ZSTDMT unit test in fuzzer
...
Now tests fail, because ZSTDMT_compress() doesn't fill frame content size correctly.
2017-03-29 16:58:57 -07:00
Yann Collet
41fefd573a
Improved speed tests
...
Better compatibility with Mac OS-X
Force attribution to a selected core # (Linux)
2017-03-26 23:52:19 -07:00
Yann Collet
4c41d37fcc
changed test for new syntax
...
--dictID= and --maxdict=
2017-03-24 18:36:56 -07:00
Yann Collet
f332ece468
dictBuilder fails to create dictionary on certain input
...
Properly expressed with an error code (see zstd_errors.h)
and a cli return code != 0
2017-03-23 16:24:02 -07:00
Sean Purcell
680e4e0953
Ignore symbolic links unless --force specified
2017-03-23 11:52:09 -07:00
Sean Purcell
042ba122ae
Change g_displayLevel to int and fix DISPLAYUPDATE flush
2017-03-23 11:21:59 -07:00
Sean Purcell
1b418bd3da
Merge remote-tracking branch 'origin/dev' into appveyor
2017-03-21 10:59:54 -07:00
Sean Purcell
5a2b857029
Update appveyor.yml to have short and long tests
2017-03-20 17:04:44 -07:00
Sean Purcell
c771977489
Fix decodecorpus clang compile errors
2017-03-20 16:02:24 -07:00
Sean Purcell
2f6c7e6a53
Fix windows compiler warnings for decodecorpus
2017-03-20 13:45:12 -07:00
Yann Collet
170861da70
Merge pull request #610 from iburinoc/slowfuzzer
...
Strongly limit compression level when source is large for tests running on QEMU
2017-03-20 13:36:01 -07:00
Sean Purcell
0b0b10ec83
Add --no-big-tests flag for qemu fuzz-tests
2017-03-20 11:32:24 -07:00
Sean Purcell
7ebf2de02d
Add ability to strongly limit fuzzer test size with flag
2017-03-20 11:25:00 -07:00
Yann Collet
35c147ab6a
Merge pull request #605 from iburinoc/term
...
Fix zstd not erroring on compressing to terminal without forceStdout
2017-03-17 14:02:48 -07:00
Sean Purcell
9a38dfa794
Only run IS_CONSOLE tests with a TTY
2017-03-17 12:32:18 -07:00
Sean Purcell
d973071e90
Add tests for compressed data on console
2017-03-16 16:25:19 -07:00
Sean Purcell
f5e50519e0
Prevent fuzz testers from combining large dicts with high clevel
2017-03-15 15:04:54 -07:00
Yann Collet
3773bd318f
Merge pull request #601 from terrelln/nxz
...
Add xz and lzma support.
2017-03-13 22:00:03 -07:00
Nick Terrell
aa8bcf360f
Add xz and lzma support.
...
Finish feature started by @inikep.
* Add xz and lzma compression and decompression support to target `xzstd`.
* Fix bug in gzip decompression that silently accepted truncated files.
* Add gzip frame composition tests.
* Add xz/lzma compatibility tests.
* Add xz/lzma frame composition tests.
2017-03-13 18:45:41 -07:00
Sean Purcell
120df494e9
Update builds to not support legacy v01-v03
2017-03-13 14:44:08 -07:00
Sean Purcell
7c8f5d5bc7
Make test times overwritable
2017-03-09 16:05:23 -08:00
Sean Purcell
daec40db24
Update .travis.yml and Makefile for medium tests
2017-03-09 16:05:22 -08:00
Nick Terrell
eeb31eed39
s/ZSTD_btopt2/ZSTD_btultra/g
2017-03-09 11:44:25 -08:00
Yann Collet
8b1d004031
added -Wformat-security flag, as recommended by @pixelb
2017-03-05 21:17:32 -08:00
Yann Collet
27526c7201
make : added target shortest
...
shortest only run fast part of playTests.sh .
cc @iburinoc
2017-03-01 17:02:49 -08:00
Yann Collet
c1c040eae1
added gzip tests
...
also : made sure zstd --format=gzip -V
would fail if gzip compatibility is not supported
2017-03-01 16:49:20 -08:00
Yann Collet
51598510c0
Merge pull request #580 from facebook/speedStream
...
Improve streaming decompression speed
2017-03-01 10:59:51 -08:00
Yann Collet
a33ae64204
fixed decoding skippable frames
2017-02-28 01:15:28 -08:00
Yann Collet
c0b1731bce
added test for decompression with NULL dict and NULL DDict
...
previous version of ZSTD_decompressMultiFrame() would fail that test
2017-02-28 01:02:46 -08:00
Przemyslaw Skibinski
8b3560e196
update gzip tests
2017-02-28 09:41:23 +01:00
Yann Collet
1d7f30f9d4
Merge branch 'decompressStream' into dev
2017-02-27 20:55:22 -08:00
Yann Collet
a81c2e7e44
Merge pull request #573 from facebook/ddict
...
Improved DDict memory usage
2017-02-27 20:54:42 -08:00
Yann Collet
952d06fa9c
fullbench : -i0 displays list of functions to bench
2017-02-27 17:58:02 -08:00
Yann Collet
67d86a74a5
added test case : --rm on stdin
...
must remain silent (instead of failing)
2017-02-27 16:09:20 -08:00
Yann Collet
ea7589ce07
Merge pull request #571 from inikep/dev11
...
gzip tests
2017-02-27 13:54:33 -08:00
Przemyslaw Skibinski
5d848527e6
use "./gzip" for gzip tests
2017-02-27 22:02:03 +01:00
Przemyslaw Skibinski
b43d75154d
update gzip tests
2017-02-27 09:07:35 +01:00
Przemyslaw Skibinski
1479c98661
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
2017-02-27 08:56:43 +01:00
Sean Purcell
2302bfa4bf
Merge branch 'dev' into testcorpus
2017-02-26 22:27:31 -08:00
Yann Collet
bd7fa21deb
added ZSTD_refDDict()
...
Now DDict does no longer depends on DCtx duplication
2017-02-26 14:43:07 -08:00
Yann Collet
8dff956dbf
Added DDict unit test in fuzzer
...
also : slightly modified loadEntropy :
know src must points at start of dictionary
2017-02-25 10:11:15 -08:00
Yann Collet
682ae8a10e
Merge pull request #567 from inikep/dev11
...
faster Travis tests
2017-02-25 06:57:31 -08:00
Sean Purcell
22468b0cc3
Fix some more ARM compile errors
...
https://travis-ci.org/facebook/zstd/jobs/204807461
Can't get them to reproduce the compile errors locally,
tested fix by forcing that test to run on Travis.
2017-02-24 10:55:42 -08:00
Przemyslaw Skibinski
a66b764d79
added tests for gzip
2017-02-24 16:09:17 +01:00
Przemyslaw Skibinski
8740d6bcf5
fix uninitialized value warning
2017-02-24 09:24:55 +01:00
Yann Collet
df9f9296e3
attempt to fix pthreat linking error
...
replacing -lpthread by -pthread
2017-02-24 00:16:05 -08:00
Yann Collet
831b4890ce
minor tests/Makefile refactoring
...
and update of zstd_manual,html
2017-02-23 23:09:10 -08:00
Sean Purcell
d590291d86
Fix -Wsign-compare issues in decodecorpus.c
...
https://travis-ci.org/facebook/zstd/jobs/204423280
2017-02-23 16:11:08 -08:00
Yann Collet
7e224ea03e
Merge pull request #562 from iburinoc/testcorpus
...
Create a tool that generates random, valid, Zstd frames for decoder testing
2017-02-23 15:19:36 -08:00
Sean Purcell
3cd8d50c34
Update CLI and link from educational decoder
2017-02-23 13:06:50 -08:00
Sean Purcell
485ca8c352
Update tests/README.md
2017-02-23 10:27:00 -08:00
Sean Purcell
f119b62055
Create a tool that generates random, valid, Zstd frames for decoder testing
...
Note: Does not handle dictionaries currently
2017-02-22 16:08:34 -08:00
Sean Purcell
9050e1925e
Change name to to findFrameCompressedSize and add skippable support
2017-02-22 12:12:34 -08:00
Przemyslaw Skibinski
337ec875b6
minor tweaks
2017-02-22 10:31:30 +01:00
Przemyslaw Skibinski
3d836bfd18
travis.yml: fix versionsTest target
2017-02-22 09:36:42 +01:00
Przemyslaw Skibinski
346ce32ade
legacy.c: fix memory leaks
2017-02-21 20:10:21 +01:00
Przemyslaw Skibinski
684858e7b7
fix memory leaks
2017-02-21 18:17:24 +01:00
Yann Collet
f2da1b1f22
Merge pull request #550 from iburinoc/matchoverlenwrite
...
execSequence copies up to 2*WILDCOPY_OVERLENGTH extra
2017-02-16 18:14:47 -08:00
Yann Collet
ff176d3208
Merge pull request #548 from inikep/gz_compress
...
Circle CI tests
2017-02-16 14:57:59 -08:00
Sean Purcell
0ed3901b05
Update overlength match test case
2017-02-16 13:36:57 -08:00
Sean Purcell
887eaa9e21
Fix wildcopy overwriting data still in window
2017-02-15 16:43:45 -08:00
Przemyslaw Skibinski
9b5a1e9d97
added circle.yml
2017-02-14 20:06:41 +01:00
Nick Terrell
74b81ada25
Don't run test-pool with QEMU
...
> make test -n
...
./pool
> make test -n QEMU_SYS=valgrind
...
./legacy
# ./pool not run
2017-02-14 10:08:18 -08:00
Sean Purcell
5069b6c2c3
Merge branch 'dev' into multiframe
2017-02-10 10:08:55 -08:00
Yann Collet
a28c34cb7a
Merge pull request #538 from iburinoc/errorstring
...
Fix ZSTD_getErrorString and add tests
2017-02-10 03:59:56 -08:00
Sean Purcell
84b37cc1f1
Fix failing unit test
2017-02-09 12:27:39 -08:00
Sean Purcell
478d7174e5
Merge branch 'dev' into multiframe
2017-02-09 11:54:22 -08:00
Sean Purcell
2db7249265
Make pledgedSrcSize meaning clear for other functions
...
- Added tests
- Moved new size functions to static link only
2017-02-09 11:49:58 -08:00
Przemyslaw Skibinski
80c1e04c33
Merge branch 'dev' into dev11
2017-02-09 09:42:16 +01:00
Sean Purcell
e0b3265e87
Fix ZSTD_getErrorString and add tests
2017-02-08 17:28:49 -08:00
Sean Purcell
f07ddf88e8
Test multiframe legacy decoding with simple and streaming APIs
2017-02-08 15:13:20 -08:00
Sean Purcell
ba2ad9f25c
ZSTD_decompress now handles multiple frames
2017-02-08 14:50:10 -08:00
Sean Purcell
4e709712e1
Decompressed size functions now handle multiframes and distinguish cases
...
- Add ZSTD_findDecompressedSize
- Traverses multiple frames to find total output size
- Add ZSTD_getFrameContentSize
- Gets the decompressed size of a single frame by reading header
- Deprecate ZSTD_getDecompressedSize
2017-02-08 14:50:10 -08:00
Nick Terrell
b5e46b1255
Remove test-longmatch from test target and only run it once
2017-02-08 12:00:21 -08:00
Przemyslaw Skibinski
4b4f8c2d71
turn off test-pool for qemu-ppc64-static
2017-02-08 13:58:04 +01:00
Yann Collet
48bed91606
Merge pull request #527 from facebook/zstdmt
...
zstdmt refinements
2017-01-31 16:36:46 -08:00
Yann Collet
92c98a5b21
zstreamtest uses random section sizes for fuzzing
2017-01-30 12:50:31 -08:00
Yann Collet
cd23dd24af
zstreamtest uses random overlapLog for fuzzing
2017-01-30 12:46:35 -08:00
Yann Collet
64bf8ffce6
report @terrelln patch to ST fuzzer tests
2017-01-27 17:25:07 -08:00
Nick Terrell
d98bf49224
Fix segfault in zstreamtest MT
...
It was reading beyond the end of the input buffer because no errors were
detected. Once that was fixed, it wasn't making forward progress because
no errors were detected and it was waiting for input.
2017-01-27 15:42:36 -08:00
Yann Collet
717c65d690
Merge pull request #519 from inikep/dev11
...
Dev11
2017-01-26 14:23:44 -08:00
Yann Collet
8dafb1acf5
CLI : automatically set overlap size to max (windowSize) for max compression level
2017-01-25 17:01:13 -08:00
Yann Collet
06e7697f96
added test of new parameter ZSTD_p_forceWindow
2017-01-25 16:39:03 -08:00
Yann Collet
bb0027405a
fixed zstdmt corruption issue when enabling overlapped sections
...
see Asana board for detailed explanation on why and how to fix it
2017-01-25 16:25:38 -08:00
Przemyslaw Skibinski
3bb010a667
.travis.yml: optimized order of short tests
2017-01-25 11:19:35 +01:00
Yann Collet
bd6bc22612
playtest.sh : changed sdiff into $DIFF
2017-01-22 15:54:14 -08:00
Yann Collet
317604e0ad
fixed : compilation of zstreamtest in dll mode
2017-01-20 17:18:41 -08:00
Yann Collet
d7e3cb58c5
Resolved merge conflict dev+zstdmt
2017-01-20 16:44:50 -08:00
Yann Collet
19d670ba9d
Added ZSTDMT_initCStream_advanced() variant
...
Correctly compress with custom params and dictionary
Added relevant fuzzer test in zstreamtest
Also :
new macro ZSTDMT_SECTION_LOGSIZE_MIN, which sets a minimum size for a full job
(note : a flush() command can still generate a partial job anytime)
2017-01-19 15:32:07 -08:00
Yann Collet
0f984d94c4
changed MT enabling macro to ZSTD_MULTITHREAD
2017-01-19 14:05:07 -08:00
Yann Collet
f22adae984
fixed minor warning (unused variable) in fuzzer
2017-01-19 13:46:30 -08:00
Yann Collet
736788f8e8
added streaming fuzzer tests for MT API
...
Also : fixed corner case, where nb of jobs completed becomes > jobQueueSize
which is possible when many flushes are issued
while there is not enough dst buffer to flush completed ones.
2017-01-19 12:15:29 -08:00
Przemyslaw Skibinski
8a0bc30a2d
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
2017-01-17 13:02:29 +01:00
Przemyslaw Skibinski
d72f4b6b7a
added "Makefile is validated"
2017-01-17 12:40:06 +01:00
Yann Collet
33fce03045
added test checking dictID when using ZSTD_initCStream_usingCDict()
...
It shows that dictID is not properly added into frame header
2017-01-16 19:46:22 -08:00
Sean Purcell
c44c4d5223
Fix missing 'OK' logging on fuzzer testcase
2017-01-12 09:38:33 -08:00
Sean Purcell
834ab50fa3
Fixed decompress_usingDict not propagating corrupted dictionary error
2017-01-11 17:31:34 -08:00
Nick Terrell
a8b4fe0481
Add COVER dictionary builder to fuzzer unit tests
2017-01-02 18:45:19 -08:00
Nick Terrell
3a1fefcf00
Simplify COVER parameters
2017-01-02 17:51:38 -08:00
Nick Terrell
cbb3ce376b
Add cover cli to playtests
2017-01-02 14:43:11 -08:00
Nick Terrell
5ca0fd2045
Shorten thread pool tests
2016-12-31 22:39:32 -05:00
Nick Terrell
d132433534
Switch thread pool test to threading.h
2016-12-31 19:10:13 -05:00
Nick Terrell
9c499648e3
Add thread pool tests
2016-12-29 23:41:03 -08:00
Yann Collet
c07d2e3a31
Merge pull request #499 from inikep/dev11
...
improved *BSD and Solaris compatibility
2016-12-23 21:32:03 +01:00
Nick Terrell
78a0072d5a
Fix failing test due to deprecation warning
2016-12-22 17:36:16 -08:00
Przemyslaw Skibinski
5f5a902453
"make test" is now compatible with Solaris
2016-12-22 18:05:07 +01:00
Yann Collet
795d95309f
Merge pull request #493 from inikep/fullbench
...
Fullbench extDict variant
2016-12-21 15:12:06 +01:00
Nick Terrell
9d08597364
Add test for invalid offset rep codes
2016-12-20 11:13:45 -08:00
Przemyslaw Skibinski
4beb51f17c
tests of ZSTD_compressContinue_extDict
2016-12-20 10:17:21 +01:00
Yann Collet
d564faa3c6
fix : ZSTD_initCStream_srcSize() correctly set srcSize in frame header
2016-12-18 21:39:15 +01:00
Yann Collet
31ff2a23be
fix Travis long test list;
...
added zbufftest-dll
2016-12-17 19:10:10 +01:00
Yann Collet
d46ecb58a5
added dll compilation tests
2016-12-17 16:28:12 +01:00
Nick Terrell
61e62c014f
Test that all API symbols are exported
2016-12-16 13:29:23 -08:00
Yann Collet
7d5e344ce5
Merge pull request #480 from inikep/dev11
...
advanced mode where each parameter can be selected on the command line
2016-12-15 22:27:50 +01:00
Przemyslaw Skibinski
f9a56668a6
improved playTests.sh (3
2016-12-14 18:43:06 +01:00
Przemyslaw Skibinski
24a4236111
improved playTests.sh (2)
2016-12-14 18:07:31 +01:00
Przemyslaw Skibinski
ab5ed6fa7f
improved playTests.sh
2016-12-14 17:10:38 +01:00
Przemyslaw Skibinski
9b4fa0ddf7
playTests.sh: added Advanced compression parameters
2016-12-14 16:50:00 +01:00
Yann Collet
e795c8a5f6
Added ZSTD_initCStream_srcSize().
...
Added relevant test cases in zstreamtest
2016-12-13 17:00:14 +01:00
Dimitry Andric
12df6da83b
Fix running test suite on FreeBSD
...
* Remove last bashism from tests/playTests.sh
* Use gmd5sum from the sysutils/coreutils port
2016-12-12 19:22:47 +01:00
Yann Collet
c261f71f6a
minor variation of rescale fix
2016-12-12 00:25:07 +01:00
Nick Terrell
b547d212a1
Fix longmatch test build errors.
2016-12-10 23:17:36 -08:00
Nick Terrell
5cc85cf183
Switch uint64_t to U64
2016-12-10 19:31:55 -08:00
Nick Terrell
0acae734f1
Add exposing test case
2016-12-10 19:12:13 -08:00
Yann Collet
94d1a93d28
changed environment variable comparison to sh compatible
2016-12-06 12:02:56 -08:00
Yann Collet
f586bdfe23
fixed fuzzer test
2016-12-06 06:11:46 +01:00
Yann Collet
825dffbc43
moved zbuff source files into lib/deprecated
2016-12-05 19:28:19 -08:00
Yann Collet
e7a41a5955
added : dictID retrieval functions.
...
added : unit tests for dictID retrieval functions
2016-12-05 16:21:06 -08:00
Przemyslaw Skibinski
7c6bbc3298
updated FIO_passThrough
2016-12-05 18:31:14 +01:00
Przemyslaw Skibinski
6b508b1770
updated test-gzstd
2016-12-05 18:02:40 +01:00
Yann Collet
9ffbeea875
API : changed : streaming decompression : implicit reset on starting new frames
2016-12-02 18:37:38 -08:00
Yann Collet
743b33f57e
fix zstdcat
2016-12-02 15:18:57 -08:00
Przemyslaw Skibinski
0efaf7e7b1
added test-gzstd
2016-11-30 15:20:24 +01:00
Yann Collet
4f5350f610
long matches support overflow
2016-11-29 13:12:24 -08:00
Przemyslaw Skibinski
cc3887085f
updated build\README.md
2016-11-21 13:58:58 +01:00
Przemyslaw Skibinski
8bb86e330b
create DLL with Windows
2016-11-21 12:51:01 +01:00
Yann Collet
0d761dbe95
Merge pull request #453 from inikep/dev11
...
fullbench-dll
2016-11-16 15:45:30 -08:00
Yann Collet
52afb3993e
zbuff API now generates deprecation warnings
2016-11-16 08:50:54 -08:00
Przemyslaw Skibinski
811b34d962
fix Visual Studio warnings
2016-11-15 19:02:39 +01:00
Przemyslaw Skibinski
179555c1d1
working fullbench-dll
2016-11-15 18:05:46 +01:00
Przemyslaw Skibinski
eb977a42ef
"file" moved to tests/Makefile
2016-11-14 17:26:58 +01:00
Przemyslaw Skibinski
e579ab5faa
introduced QEMU_SYS
2016-11-14 12:57:05 +01:00
Przemyslaw Skibinski
9adf7bfd8a
fixed MinGW compilation (2)
2016-11-03 15:38:13 +01:00
Yann Collet
861cd06ded
fix test-zstd-nolegacy
2016-11-03 01:11:56 -07:00
Yann Collet
4c0b44f8ce
minor display improvement in fuzzer when nb of tests is very large
2016-11-01 11:13:22 -07:00
Yann Collet
589f011761
changed ZBUFF_* by ZSTD_*Stream() within fullbench,
...
in anticipation of future deprecation of ZBUFF_*.
2016-10-28 15:17:38 -07:00
Yann Collet
b9550d6d43
fixed benchmark mode typo .
...
added benchmark mode tests
2016-10-28 14:43:24 -07:00
Przemyslaw Skibinski
81c334b024
test-zstd-speed.py: default timeout changed to 1800 seconds
2016-10-28 20:40:21 +02:00
Przemyslaw Skibinski
53e7f5c2e4
test-zstd-speed.py: converted to python3 and added "--timeout"
2016-10-28 19:24:16 +02:00
Yann Collet
335ad5d4d4
added ZSTD_initDStream_usingDDict() .
...
slightly optimized ZSTD_initDStream() when no dictionary .
fixed ZSTD_sizeof_CStream() .
2016-10-25 17:47:02 -07:00
Yann Collet
9516234e67
first sketch for ZSTD_initCStream_usingCDict()
2016-10-25 16:19:52 -07:00
Przemyslaw Skibinski
5c5f01f3da
added ZSTD_btopt2 strategy
2016-10-25 12:25:07 +02:00
Yann Collet
d7b120ab5c
added long commands --memory= and --memlimit-decompress=
2016-10-14 14:22:32 -07:00
Yann Collet
1122349ac2
added long comment --memlimit=
2016-10-14 14:07:11 -07:00
Yann Collet
d4cda27b63
new command -M#, to limit memory usage during decompression ( #403 )
2016-10-14 13:32:20 -07:00
Yann Collet
a17fd7312a
changed error_public.h into zstd_errors.h
2016-10-11 16:41:09 -07:00
Nick Terrell
3e82f2b61a
Remove references to GPLv2 license
...
License headers added to Makefiles were taken from `zstd/Makefile`.
2016-10-11 15:28:40 -07:00
Yann Collet
cf409a7e2a
fixed : init*_advanced() followed by reset() with different pledgedSrcSiz
2016-09-26 16:41:05 +02:00
Yann Collet
2f2639438a
zstreamtest can fuzztest pledgedSrcSize
2016-09-26 14:06:08 +02:00
Yann Collet
58d5dfea54
zstreamtest uses ZSTD_reset?Stream
2016-09-25 01:34:03 +02:00
Yann Collet
97b378a6f8
Streaming : dictionary compression on multiple files / segments can correctly provide srcSize into header (when provided) using pledgedSrcSize.
2016-09-21 17:20:19 +02:00
Yann Collet
714464f05d
fixed : cli : forgotten mandatory argument
2016-09-21 16:05:03 +02:00
Yann Collet
27b5ac666e
Implemented "command must be followed by argument" protection
...
suggested by @terrelln (#375 )
2016-09-21 14:31:22 +02:00
inikep
3e70cf8036
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev
2016-09-15 20:41:40 +02:00
inikep
dd8905b351
test-zstd-speed.py: better description of options
2016-09-15 20:41:37 +02:00
inikep
ed0ea8d271
test-zstd-speed.py: added "-D dictName"
2016-09-15 20:31:29 +02:00
inikep
d28afac4f8
test-zstd-speed.py: added support for directories
2016-09-15 19:56:04 +02:00
Yann Collet
55f276949c
removed option unsupported by travis
2016-09-15 17:23:15 +02:00
Yann Collet
3e47dbcc8c
fixed memory leak
2016-09-15 17:00:02 +02:00
Yann Collet
3ecbe6a37c
fileio uses ZSTD_resetDStream()
2016-09-14 17:26:59 +02:00
Yann Collet
64deef3bee
Fixed srcSize=1
2016-09-14 00:16:07 +02:00
Yann Collet
0be21d790a
fixed fullbench
2016-09-13 17:33:47 +02:00
inikep
0dad121a1a
test-zstd-speed.py: compiler version and MD5 in logs
2016-09-12 14:17:47 +02:00
Yann Collet
b3060f7a9e
changed streaming decoder behavior : now, when all compressed frame is consumed, it means decompression is completed, with regenerated data fully flushed.
2016-09-09 16:44:16 +02:00
Yann Collet
12083a45d4
more context-reuse tests
2016-09-06 15:01:51 +02:00
Yann Collet
a7737f6a60
improved compression on small files when using same parameters
2016-09-06 09:44:59 +02:00
Yann Collet
33a0465a51
fixed a few links
2016-09-02 22:11:49 -07:00
Yann Collet
2b26ad1947
removed timeb.h ( #319 )
2016-09-02 15:34:41 -07:00
Yann Collet
5153a084f3
zbufftest only depends on standard C time.h
2016-09-01 18:11:12 -07:00
Yann Collet
ef9999f0b9
zstreamtest depends only on standard C time.h
2016-09-01 16:44:48 -07:00
Yann Collet
b2490e975a
changed test to avoid issue #316 (reported by John the Scott)
2016-09-01 15:46:09 -07:00
Yann Collet
c843142ad0
zstd -d writes to stdout when input is stdin
2016-09-01 15:05:57 -07:00
Yann Collet
4ded9e591c
added boilerplate
2016-08-30 11:06:28 -07:00
Yann Collet
09c3c8e885
Merge pull request #307 from inikep/dev08
...
updated README.md
2016-08-29 16:32:33 -07:00
inikep
6416b0d705
updated README.md
2016-08-29 13:04:26 +02:00
Yann Collet
dea67a66ab
backward compatibility versions tests start from v0.4.0
2016-08-28 16:56:17 -07:00
Yann Collet
9097f7b156
fixed versionsTest
2016-08-28 16:25:56 -07:00
Yann Collet
4b7b9fca32
better clean
2016-08-28 10:14:27 -07:00
Yann Collet
9a021c1aae
fixed some minor clang warnings
2016-08-26 09:05:06 +02:00
Yann Collet
bb93d77ab8
reinforced fix for huge files
2016-08-25 22:22:50 +02:00
Yann Collet
bb8558164e
fixed welcome message
2016-08-25 19:11:11 +02:00
Yann Collet
94376acfb0
fixed test on CentOS7
2016-08-25 19:09:21 +02:00
Yann Collet
baf7ecbdfd
Merge pull request #302 from inikep/Documentation
...
improved documentation
2016-08-25 17:00:33 +02:00
Yann Collet
24a738c668
removed TRAVIS_OS_NAME
2016-08-25 15:15:06 +02:00
inikep
637d33566d
minor README.md corrections
2016-08-25 10:42:49 +02:00
inikep
ab2f7708c1
created programs\README.md
2016-08-25 10:07:20 +02:00
inikep
7f18c6e5ef
improved tests/README.md
2016-08-25 08:47:18 +02:00
inikep
a3a47ec4d0
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into Other
2016-08-24 21:25:49 +02:00
inikep
7bcdbcf51d
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into Other
2016-08-24 17:09:19 +02:00
Yann Collet
17e482efdd
added ZSTD_setDStreamParameter()
2016-08-23 16:58:10 +02:00
inikep
b62e696992
fixed typo in test-zstd-speed.py
2016-08-23 13:54:37 +02:00
Yann Collet
70e3b31306
fixed playtests on os-x
2016-08-23 01:18:06 +02:00
Yann Collet
cb3276329a
added sizeof CStream and DStream
2016-08-23 00:31:59 +02:00
Yann Collet
da3fbcb302
Added ZDICT_getDictID()
2016-08-19 14:23:58 +02:00
inikep
b6514d2496
improved .gitignore
2016-08-18 16:53:29 +02:00
inikep
b7d3449d5d
playTests.sh working with tests/
2016-08-18 15:13:41 +02:00
inikep
6ca9b853a1
cmake project: fixed include directories
2016-08-18 14:42:28 +02:00
inikep
63e335704e
updated scripts +x permissions
2016-08-18 14:04:57 +02:00
inikep
2d5eb2beb9
updated .travis.yml and appveyor.yml for tests/
2016-08-18 13:53:26 +02:00
inikep
a1c8115df5
improved tests\Makefile
2016-08-18 13:35:36 +02:00
inikep
2868d565e4
test-related files moved to tests/
2016-08-18 13:18:11 +02:00
inikep
2aeb9325f1
test-zstd-speed.py: added tests for clang and md5 sum of executables
...
added script versioning
2016-08-10 14:14:01 +02:00
Yann Collet
666398e7ed
added : xxhash namespace enforced from xxhash.h.
...
added : xxhash namespace test.
removed : -DXXH_NAMESPACE
2016-08-10 08:16:51 +02:00
Yann Collet
0486bb78c6
fixed : make clean
2016-08-10 07:21:52 +02:00
Yann Collet
8f29e8e0e4
updated NEWS
2016-07-31 02:43:17 +02:00
Yann Collet
8cebfd1d26
fix attempt on test-zstd-speed
2016-07-31 01:59:23 +02:00
inikep
c4b5106f7f
test-zstd-speed.py: force to compile zstd32
2016-07-29 16:11:37 +02:00
inikep
2214e469ee
test-zstd-speed.py: added automated speed test for 32-bit executable
2016-07-26 13:05:01 +02:00
inikep
164ce99763
test-zstd-speed.py: fixed checking of ratio limit
2016-07-25 10:35:53 +02:00
Yann Collet
b752298d1d
fixed 32-bits compilation
2016-07-22 14:37:09 +02:00
Yann Collet
ae68f8ddb3
minor
2016-07-22 14:37:09 +02:00
inikep
a4847eb861
test-zstd-speed.py: generate warning on noticeable compression ratio losses
...
added --ratioLimit option
2016-07-19 17:59:53 +02:00
inikep
8c53ad53b1
test-zstd-speed.py: added --verbose option
2016-07-19 15:49:14 +02:00
inikep
6e5beea715
test-zstd-speed.py: ignore "coverity_scan" and "gh-pages" branches
2016-07-19 13:09:00 +02:00
inikep
82babfc0c6
test-zstd-speed.py: reordering of functions
2016-06-22 20:06:42 +02:00
inikep
116128ce41
test-zstd-speed.py: improved exception handling
2016-06-22 18:12:57 +02:00
inikep
47020670b6
test-zstd-speed.py: added --message in start and finish e-mail
...
- support for ~ in filenames
- result files ending with .txt
2016-06-22 17:11:01 +02:00
inikep
d7d251ccb5
bench.c: added support for ZSTD_GIT_COMMIT
2016-06-22 16:13:25 +02:00
inikep
f2f59d758e
test-zstd-speed.py: added ZSTD_GIT_COMMIT
2016-06-22 15:42:26 +02:00
inikep
c364ee7867
test-zstd-speed.py: sent e-mail after KeyboardInterrupt
2016-06-22 14:01:53 +02:00
inikep
bcb9aad727
test-zstd-speed.py: improved log and e-mail formatting
2016-06-22 13:07:58 +02:00
inikep
95da743a56
test-zstd-speed.py: send e-mail in case of error
2016-06-22 12:12:35 +02:00
inikep
2d9272f1dd
test-zstd-speed.py: improved formatting
2016-06-21 19:28:51 +02:00
inikep
d731de84ab
test-zstd-speed.py: added send_simple_email
2016-06-21 11:26:17 +02:00
inikep
dba8b44370
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev
2016-06-17 15:17:37 +02:00
inikep
e16f65675b
test-zstd-versions.py: fixed creation of dictionaries for v0.5.1+
2016-06-17 15:17:35 +02:00
inikep
7e3597bf38
test-zstd-versions.py: create and test dictionaries for v0.5.0
2016-06-17 14:43:24 +02:00
inikep
2ef16501ca
test-zstd-versions.py: improved error handling
2016-06-17 14:07:42 +02:00
inikep
4545671b44
test-zstd-versions.py: fixed DEVNULL
2016-06-17 13:39:43 +02:00
inikep
d1af4e66b6
test-zstd-versions.py: dictionary compression with levels 1, 5, 9, 15, 18
2016-06-16 20:23:11 +02:00
inikep
150152fb8a
test-zstd-versions.py: test dictiony compression for v0.5.1 and newer
2016-06-16 19:29:09 +02:00
inikep
24aa7b4238
test-zstd-versions.py: create dictionaries for v0.5.1 and newer
2016-06-16 14:15:32 +02:00
Yann Collet
803c05ec7e
fuzzer : tests with high id are run without need to change finalTestNb
2016-06-16 11:32:57 +02:00
Yann Collet
3eb52578f3
Merge pull request #208 from inikep/dev
...
fixed test-zstd-speed.py default "--message" parameter
2016-06-13 11:17:40 +02:00
inikep
1e375f1964
fixed test-zstd-speed.py default "--message" parameter
2016-06-13 10:50:09 +02:00
Yann Collet
3a2c329e4b
re-enable versionsTest on Travis
2016-06-12 22:31:47 +02:00
Yann Collet
0974f681a4
completed `.gitignore`
2016-06-10 14:44:16 +02:00
inikep
f169029622
Additional remarks for tests\README.md
2016-06-10 13:59:08 +02:00
inikep
b06c3e7d6c
added how to run test-zstd-speed.py in background
2016-06-10 13:02:38 +02:00
inikep
2c07b977ea
added tests\README.md
2016-06-10 12:53:39 +02:00
inikep
c1b154a8e8
improved test-zstd-speed.py
...
1. Logs are much smaller now
2. Added "--message"
3. Added autodetection of mutt and mail
2016-06-10 12:53:12 +02:00
inikep
348a53a842
test-zstd-speed.py: fixed git clone
2016-06-09 13:14:21 +02:00
inikep
bf0b4b034c
update python scripts permissions
2016-06-09 12:57:18 +02:00
inikep
9470b872c0
added test-zstd-speed.py
2016-06-09 12:54:06 +02:00
inikep
c5c4de9888
"versionsTest" renamed to "tests"
2016-06-09 11:42:36 +02:00