]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
7 years agotests: use /dev/zero instead of /dev/random on all systems except GNU/Hurd 1235/head
Dmitry V. Levin [Wed, 11 Jul 2018 12:41:50 +0000 (12:41 +0000)] 
tests: use /dev/zero instead of /dev/random on all systems except GNU/Hurd

https://github.com/facebook/zstd/pull/1124 broke the test suite
on Linux.  Looks like GNU/Hurd is the only operating system where
/dev/random is available for writing by unprivileged processes.

https://github.com/facebook/zstd/pull/1222 reverted the change
introduced by https://github.com/facebook/zstd/pull/1124 for OpenBSD
only, other operating systems need that change to be reverted, too.

Fixes: 2dde9d5abaad ("Write to /dev/random for test")
Complements: 276988f7948d ("OpenBSD is unable to write to /dev/zero")

7 years agoMerge pull request #1226 from facebook/noPrefetch
Yann Collet [Sat, 7 Jul 2018 00:56:35 +0000 (17:56 -0700)] 
Merge pull request #1226 from facebook/noPrefetch

add build macro NO_PREFETCH

7 years agoadd build macro NO_PREFETCH 1226/head
Yann Collet [Sat, 7 Jul 2018 00:06:04 +0000 (17:06 -0700)] 
add build macro NO_PREFETCH

prevent usage of prefetch intrinsic commands
which are not supported by c2rust
(see https://github.com/immunant/c2rust/issues/13)

7 years agoMerge pull request #1206 from GeorgeLu97/FullBenchParam
Yann Collet [Mon, 2 Jul 2018 20:33:53 +0000 (13:33 -0700)] 
Merge pull request #1206 from GeorgeLu97/FullBenchParam

Fullbench Param

7 years agoMerge pull request #1188 from GeorgeLu97/BenchModule
Yann Collet [Mon, 2 Jul 2018 20:33:27 +0000 (13:33 -0700)] 
Merge pull request #1188 from GeorgeLu97/BenchModule

Bench module

7 years agoMerge pull request #1223 from jon-turney/dev
Yann Collet [Mon, 2 Jul 2018 16:14:37 +0000 (09:14 -0700)] 
Merge pull request #1223 from jon-turney/dev

meson: fix build

7 years agomeson: fix build 1223/head
Jon Turney [Sun, 1 Jul 2018 21:41:08 +0000 (22:41 +0100)] 
meson: fix build

7 years agoMerge pull request #1222 from bket/openbsd
Yann Collet [Sat, 30 Jun 2018 18:47:41 +0000 (11:47 -0700)] 
Merge pull request #1222 from bket/openbsd

2 separate issues found when running zstd's tests on OpenBSD

7 years agoxz/lzma warning causes test to fail 1222/head
Björn Ketelaars [Sat, 30 Jun 2018 11:22:14 +0000 (13:22 +0200)] 
xz/lzma warning causes test to fail

OpenBSD's port building infrastructure is able to build in a privilege
separated mode. It uses a privilege drop model. Regression tests fail in
this mode as xz/lzma is unable to set file group and errors out with:

xz: tmp.xz: Cannot set the file group: Operation not permitted
gmake[1]: *** [Makefile:307: zstd-playTests] Error 2

Actually it is not a xz/lzma error but a warning causing zstd's
regression test to fail. Proposed fix is to have xz/lzma not set the
exit status to 2 even if a condition worth a warning was detected (-Q
flag).

7 years agoOpenBSD is unable to write to /dev/zero
Björn Ketelaars [Sat, 30 Jun 2018 11:01:58 +0000 (13:01 +0200)] 
OpenBSD is unable to write to /dev/zero

https://github.com/facebook/zstd/pull/1124 fixes an issue with GNU/Hurd
being unable to write to /dev/zero. Implemented fix is writing to
/dev/random instead.

On OpenBSD a regular user is unable to write to /dev/random because of
permissions set on this device. Result is failing a regression test.

Proposed solution should work for all platforms.

7 years agomake build tests more unforgiving
Yann Collet [Sat, 30 Jun 2018 00:10:56 +0000 (17:10 -0700)] 
make build tests more unforgiving

`-Werror` will ensure they fail if there is the slightest warning.

fix a minor warning specific to `zstd_decompress` variant.

7 years agofix `test-zstd` can be run with parallel compilation
Yann Collet [Fri, 29 Jun 2018 23:52:21 +0000 (16:52 -0700)] 
fix `test-zstd` can be run with parallel compilation

fix #1221

7 years agoMerge pull request #1220 from felixhandte/list-stdin-check
Yann Collet [Fri, 29 Jun 2018 21:08:45 +0000 (14:08 -0700)] 
Merge pull request #1220 from felixhandte/list-stdin-check

Allow Invoking `zstd --list` When `stdin` is not a `tty`

7 years agoMake One Travis CI Run Run Tests With Non-TTY `stdin` 1220/head
W. Felix Handte [Fri, 29 Jun 2018 20:31:59 +0000 (16:31 -0400)] 
Make One Travis CI Run Run Tests With Non-TTY `stdin`

7 years agoFix Tests of `--list` Behavior with `stdin`
W. Felix Handte [Fri, 29 Jun 2018 20:31:22 +0000 (16:31 -0400)] 
Fix Tests of `--list` Behavior with `stdin`

7 years agoAllow Invoking `zstd --list` When `stdin` is not a `tty`
W. Felix Handte [Fri, 29 Jun 2018 19:33:44 +0000 (15:33 -0400)] 
Allow Invoking `zstd --list` When `stdin` is not a `tty`

Also now returns an error when no inputs are given.

New proposed behavior:

```
felix@odin:~/prog/zstd (list-stdin-check)$ ./zstd -l; echo $?
No files given
1
felix@odin:~/prog/zstd (list-stdin-check)$ ./zstd -l Makefile.zst; echo $?
Frames  Skips  Compressed  Uncompressed  Ratio  Check  Filename
     1      0     3.08 KB      10.92 KB  3.544  XXH64  Makefile.zst
0
felix@odin:~/prog/zstd (list-stdin-check)$ ./zstd -l <Makefile.zst; echo $?
zstd: --list does not support reading from standard input
No files given
1
felix@odin:~/prog/zstd (list-stdin-check)$ ./zstd -l Makefile.zst <Makefile.zst; echo $?
Frames  Skips  Compressed  Uncompressed  Ratio  Check  Filename
     1      0     3.08 KB      10.92 KB  3.544  XXH64  Makefile.zst
0
felix@odin:~/prog/zstd (list-stdin-check)$
```

7 years agoMerge pull request #1214 from jennifermliu/dev 1217/head
Yann Collet [Thu, 28 Jun 2018 01:53:39 +0000 (18:53 -0700)] 
Merge pull request #1214 from jennifermliu/dev

Make --fast=0 fail

7 years agoMerge pull request #1218 from facebook/man
Yann Collet [Thu, 28 Jun 2018 01:53:12 +0000 (18:53 -0700)] 
Merge pull request #1218 from facebook/man

minor man page update

7 years agominor man page update 1218/head
Yann Collet [Thu, 28 Jun 2018 01:42:11 +0000 (18:42 -0700)] 
minor man page update

regarding advanced parameter `tlen`
which was recently changed.
`0` in association with `ZSTD_fast` now means "normal fast mode".

7 years agoMerge pull request #1216 from felixhandte/pool-test-time-t-fix
Yann Collet [Wed, 27 Jun 2018 23:45:38 +0000 (16:45 -0700)] 
Merge pull request #1216 from felixhandte/pool-test-time-t-fix

poolTests.c: Fix Interval Var Type

7 years agoRedirect failed test result to INTOVOID and update comment about parsing fast command 1214/head
Jennifer Liu [Wed, 27 Jun 2018 23:27:45 +0000 (16:27 -0700)] 
Redirect failed test result to INTOVOID and update comment about parsing fast command

7 years agoConsolidate Fast-Running Travis Jobs 1216/head
W. Felix Handte [Wed, 27 Jun 2018 23:25:39 +0000 (19:25 -0400)] 
Consolidate Fast-Running Travis Jobs

7 years agoAlso Run test-pool Target in Travis
W. Felix Handte [Wed, 27 Jun 2018 23:21:42 +0000 (19:21 -0400)] 
Also Run test-pool Target in Travis

7 years agopoolTests.c: Fix Interval Var Type
W. Felix Handte [Wed, 27 Jun 2018 23:15:38 +0000 (19:15 -0400)] 
poolTests.c: Fix Interval Var Type

7 years agoremoved unused imaged 1215/head
Yann Collet [Wed, 27 Jun 2018 23:03:46 +0000 (16:03 -0700)] 
removed unused imaged

7 years agoadded graph for cdict speed v1.3.5 improvements
Yann Collet [Wed, 27 Jun 2018 22:58:34 +0000 (15:58 -0700)] 
added graph for cdict speed v1.3.5 improvements

7 years agoMake fast=0 fail
Jennifer Liu [Wed, 27 Jun 2018 21:27:27 +0000 (14:27 -0700)] 
Make fast=0 fail

7 years agoMerge pull request #1213 from facebook/arm64
Yann Collet [Wed, 27 Jun 2018 21:13:16 +0000 (14:13 -0700)] 
Merge pull request #1213 from facebook/arm64

re-enable arm64 tests

7 years agoattempt to re-enable arm64 tests 1213/head
Yann Collet [Wed, 27 Jun 2018 20:19:14 +0000 (13:19 -0700)] 
attempt to re-enable arm64 tests

7 years agoMerge pull request #1211 from facebook/staticAssert
Yann Collet [Wed, 27 Jun 2018 19:19:17 +0000 (12:19 -0700)] 
Merge pull request #1211 from facebook/staticAssert

updated DEBUG_STATIC_ASSERT()

7 years agoMerge pull request #1212 from facebook/decSpeed
Yann Collet [Wed, 27 Jun 2018 19:11:45 +0000 (12:11 -0700)] 
Merge pull request #1212 from facebook/decSpeed

Fix decoding speed

7 years agoslightly adjusted default-distribution threshold 1212/head
Yann Collet [Wed, 27 Jun 2018 03:10:45 +0000 (20:10 -0700)] 
slightly adjusted default-distribution threshold

depending on strategy.
fast favors faster compression and decompression speeds.

7 years agozeroise freq table with memset()
Yann Collet [Wed, 27 Jun 2018 00:24:41 +0000 (17:24 -0700)] 
zeroise freq table with memset()

improves decoding speed by ~5% in github_users sample set

7 years agoMerge pull request #1208 from facebook/msys2
Yann Collet [Tue, 26 Jun 2018 21:47:29 +0000 (14:47 -0700)] 
Merge pull request #1208 from facebook/msys2

minor fixes for MSYS2 compilation

7 years agoswitched to a sizeof() version 1211/head
Yann Collet [Tue, 26 Jun 2018 21:08:35 +0000 (14:08 -0700)] 
switched to a sizeof() version

avoid -Werror=unused-variable issue

7 years agoMerge pull request #1207 from oleid/cmake_multithread_logic
Yann Collet [Tue, 26 Jun 2018 19:13:16 +0000 (12:13 -0700)] 
Merge pull request #1207 from oleid/cmake_multithread_logic

Correct multithread logic, fixing 'unsupported parameter' error

7 years agoupdated DEBUG_STATIC_ASSERT()
Yann Collet [Tue, 26 Jun 2018 19:04:59 +0000 (12:04 -0700)] 
updated DEBUG_STATIC_ASSERT()

following suggestion from #1209

7 years agominor fixes for MSYS2 compilation 1208/head
cyan4973 [Tue, 26 Jun 2018 08:22:45 +0000 (01:22 -0700)] 
minor fixes for MSYS2 compilation

7 years agoCorrect multithread logic, fixing 'unsupported parameter' error 1207/head
oleid [Tue, 26 Jun 2018 06:36:41 +0000 (08:36 +0200)] 
Correct multithread logic, fixing 'unsupported parameter' error

The original conditions only worked, when both, static and shared variants where built, resulting in an inconsistency between programs and library. The program was built with MT support enabled, the library not. That lead to error 11 'unsupported parameter' when compressing anything with the command line tool.

When changing the AND condition to `ZSTD_MULTITHREAD_SUPPORT AND (ZSTD_BUILD_SHARED OR ZSTD_BUILD_SHARED)`, cmake stopps complaining one of the targets wasn't built. This commit works for any case.

7 years agoNew fullbench args 1206/head
George Lu [Wed, 20 Jun 2018 00:07:34 +0000 (17:07 -0700)] 
New fullbench args

-l# gives some level
--zstd= style parameters also supported

7 years ago[zstdmt] Fix jobsize bugs (#1205)
Nick Terrell [Mon, 25 Jun 2018 22:21:08 +0000 (15:21 -0700)] 
[zstdmt] Fix jobsize bugs (#1205)

[zstdmt] Fix jobsize bugs

* `ZSTDMT_serialState_reset()` should use `targetSectionSize`, not `jobSize` when sizing the seqstore.
  Add an assert that checks that we sized the seqstore using the right job size.
* `ZSTDMT_compressionJob()` should check if `rawSeqStore.seq == NULL`.
* `ZSTDMT_initCStream_internal()` should not adjust `mtctx->params.jobSize` (clamping to MIN/MAX is okay).

7 years agoInterleave compression/decompression 1188/head
George Lu [Mon, 25 Jun 2018 22:01:03 +0000 (15:01 -0700)] 
Interleave compression/decompression

Fix Bugs

7 years agoMerge pull request #1200 from felixhandte/zstd-attach-dict-pref
Yann Collet [Mon, 25 Jun 2018 19:42:31 +0000 (12:42 -0700)] 
Merge pull request #1200 from felixhandte/zstd-attach-dict-pref

Add CCtx Param Controlling Dict Attachment Behavior

7 years agoOpaque State
George Lu [Sat, 23 Jun 2018 00:25:16 +0000 (17:25 -0700)] 
Opaque State

And minor fixups (comments/alignment/checks/fix memory leak)

7 years agoMerge pull request #1204 from facebook/noForwardProgress
Yann Collet [Sat, 23 Jun 2018 03:25:29 +0000 (20:25 -0700)] 
Merge pull request #1204 from facebook/noForwardProgress

Error code on no forward progress

7 years agoerror on no forward progress 1204/head
Yann Collet [Sat, 23 Jun 2018 00:58:21 +0000 (17:58 -0700)] 
error on no forward progress

streaming decoders, such as ZSTD_decompressStream() or ZSTD_decompress_generic(),
may end up making no forward progress,
(aka no byte read from input __and__ no byte written to output),
due to unusual parameters conditions,
such as providing an output buffer already full.

In such case, the caller may be caught in an infinite loop,
calling the streaming decompression function again and again,
without making any progress.

This version detects such situation, and generates an error instead :
ZSTD_error_dstSize_tooSmall when output buffer is full,
ZSTD_error_srcSize_wrong when input buffer is empty.

The detection tolerates a number of attempts before triggering an error,
controlled by ZSTD_NO_FORWARD_PROGRESS_MAX macro constant,
which is set to 16 by default, and can be re-defined at compilation time.
This behavior tolerates potentially existing implementations
where such cases happen sporadically, like once or twice,
which is not dangerous (only infinite loops are),
without generating an error, hence without breaking these implementations.

7 years agoMerge pull request #1197 from facebook/poolResize
Yann Collet [Fri, 22 Jun 2018 21:20:07 +0000 (14:20 -0700)] 
Merge pull request #1197 from facebook/poolResize

Thread Pool resize

7 years agochanged POOL_resize() return type to int 1197/head
Yann Collet [Fri, 22 Jun 2018 19:14:59 +0000 (12:14 -0700)] 
changed POOL_resize() return type to int

return is now just en error code.
This guarantee that `ctx` remains valid after POOL_resize().
Gets rid of internal POOL_free() operation.

7 years agoMerge pull request #1201 from facebook/rfcUpdate
Yann Collet [Fri, 22 Jun 2018 18:53:50 +0000 (11:53 -0700)] 
Merge pull request #1201 from facebook/rfcUpdate

updated Zstandard frame format

7 years agoMerge pull request #1196 from felixhandte/zstd-btopt-in-place-dict
Yann Collet [Fri, 22 Jun 2018 18:53:23 +0000 (11:53 -0700)] 
Merge pull request #1196 from felixhandte/zstd-btopt-in-place-dict

ZSTD_btopt: Support Searching the Dictionary Context In-Place

7 years agoMerge pull request #1202 from facebook/barelyCompressible
Yann Collet [Fri, 22 Jun 2018 18:52:52 +0000 (11:52 -0700)] 
Merge pull request #1202 from facebook/barelyCompressible

Increase threshold detection of poorly compressible data

7 years agohuf: increase threshold detection of poorly compressible data 1202/head
Yann Collet [Fri, 22 Jun 2018 01:32:38 +0000 (18:32 -0700)] 
huf: increase threshold detection of poorly compressible data

7 years agofixed minor typos, detected by @terrelln 1201/head
Yann Collet [Fri, 22 Jun 2018 01:08:11 +0000 (18:08 -0700)] 
fixed minor typos, detected by @terrelln

7 years agoadd a cond_broadcast after resize
Yann Collet [Fri, 22 Jun 2018 01:04:58 +0000 (18:04 -0700)] 
add a cond_broadcast after resize

to make sure all threads (notably newly available threads)
get awaken to immediately process potential items in the queue.

7 years agoupdated Zstandard frame format
Yann Collet [Fri, 22 Jun 2018 00:48:34 +0000 (17:48 -0700)] 
updated Zstandard frame format

adding clarifications from IETF RFC DISCUSS.

7 years agobenchFunction Timed Wrappers
George Lu [Thu, 21 Jun 2018 18:16:53 +0000 (11:16 -0700)] 
benchFunction Timed Wrappers

Add BMK_benchFunctionTimed
Add BMK_init_customResultCont..
Change benchMem to use benchFunctionTimed
Minor Fixes/Adjustments

7 years agoIncremental Display + Fn Separations
George Lu [Tue, 19 Jun 2018 17:58:22 +0000 (10:58 -0700)] 
Incremental Display + Fn Separations

Seperate syntheticTest and fileTableTest (now renamed as benchFiles)
Add incremental display to benchMem
Change to only iterMode for benchFunction
Make Synthetic test's compressibility configurable from cli (using -P#)

7 years agoadded extended POOL test
Yann Collet [Thu, 21 Jun 2018 21:58:59 +0000 (14:58 -0700)] 
added extended POOL test

abrupt end + downsizing with running jobs remaining in queue.

also : POOL_resize() requires numThreads >= 1

7 years agoAdd CCtx Param Controlling Dict Attachment Behavior 1200/head
W. Felix Handte [Thu, 21 Jun 2018 21:02:50 +0000 (17:02 -0400)] 
Add CCtx Param Controlling Dict Attachment Behavior

7 years agoAdd Repcode Bounds Check 1196/head
W. Felix Handte [Thu, 21 Jun 2018 19:25:32 +0000 (15:25 -0400)] 
Add Repcode Bounds Check

7 years agoAdd Debug Log Statement
W. Felix Handte [Thu, 21 Jun 2018 19:25:44 +0000 (15:25 -0400)] 
Add Debug Log Statement

7 years agoFix `dmsBtLow` Test
W. Felix Handte [Thu, 21 Jun 2018 19:24:08 +0000 (15:24 -0400)] 
Fix `dmsBtLow` Test

7 years agoadded a test for POOL (multithreading)
Yann Collet [Thu, 21 Jun 2018 19:24:36 +0000 (12:24 -0700)] 
added a test for POOL (multithreading)

ensuring all jobs in queue are nonetheless completed
when POOL is instructed to end abruptly (POOL_free())

7 years agoConceivably Dedup ZSTD_noDict and ZSTD_dictMatchState _insertBt1 Impls
W. Felix Handte [Thu, 21 Jun 2018 15:20:01 +0000 (11:20 -0400)] 
Conceivably Dedup ZSTD_noDict and ZSTD_dictMatchState _insertBt1 Impls

By reverting to the bool extDict flag, we call ZSTD_insertBt1 with the same
const args in both non-extDict dictModes.

7 years agofixed: bug when counting nb of active threads
Yann Collet [Thu, 21 Jun 2018 00:18:57 +0000 (17:18 -0700)] 
fixed: bug when counting nb of active threads

when queueSize > 1

also : added a test in testpool.c
       verifying resizing is effective.

7 years agochange control of threadLimit
Yann Collet [Wed, 20 Jun 2018 21:35:39 +0000 (14:35 -0700)] 
change control of threadLimit

now limits maximum nb of active threads
even when queueSize > 1.

7 years agoset up sample config.yml
Jennifer Liu [Wed, 20 Jun 2018 21:23:14 +0000 (14:23 -0700)] 
set up sample config.yml

7 years agoConsistency in Guarding DMS-Only Variable Initializations
W. Felix Handte [Wed, 20 Jun 2018 20:54:53 +0000 (16:54 -0400)] 
Consistency in Guarding DMS-Only Variable Initializations

7 years agoAlso Use `matchLow` for HC3 Match
W. Felix Handte [Wed, 20 Jun 2018 19:51:14 +0000 (15:51 -0400)] 
Also Use `matchLow` for HC3 Match

7 years agoMinor Changes
W. Felix Handte [Wed, 20 Jun 2018 19:27:23 +0000 (15:27 -0400)] 
Minor Changes

7 years agoRemove Dead(!) HC3 DMS Lookup
W. Felix Handte [Wed, 20 Jun 2018 02:18:08 +0000 (22:18 -0400)] 
Remove Dead(!) HC3 DMS Lookup

7 years agoMerge pull request #1198 from facebook/msdebug
Yann Collet [Wed, 20 Jun 2018 19:26:31 +0000 (12:26 -0700)] 
Merge pull request #1198 from facebook/msdebug

made Visual Studio compatible with DEBUGLEVEL >= 2

7 years agomade Visual Studio compatible with DEBUGLEVEL >= 2 1198/head
cyan4973 [Wed, 20 Jun 2018 16:45:02 +0000 (09:45 -0700)] 
made Visual Studio compatible with DEBUGLEVEL >= 2

7 years agofixed wrong size in pthread struct transfer
Yann Collet [Wed, 20 Jun 2018 03:14:03 +0000 (20:14 -0700)] 
fixed wrong size in pthread struct transfer

7 years agoreduced POOL_resize() restriction
Yann Collet [Wed, 20 Jun 2018 01:07:18 +0000 (18:07 -0700)] 
reduced POOL_resize() restriction

It's not necessary to ensure that no job is ongoing.
The pool is only expanded, existing threads are preserved.
In case of error, the only option is to return NULL and terminate the thread pool anyway.

7 years agomake zstdmt resize its context
Yann Collet [Wed, 20 Jun 2018 00:28:56 +0000 (17:28 -0700)] 
make zstdmt resize its context

when nbThreads change.

Technically, it only expands.
But when instructed to use less threads,
the thread pool will limit nb of concurrent threads.

7 years agofinalized POOL_resize()
Yann Collet [Tue, 19 Jun 2018 23:03:12 +0000 (16:03 -0700)] 
finalized POOL_resize()

POOL_ctx* POOL_resize(POOL_ctx* ctx, size_t numThreads)

The function may fail, and returns a NULL pointer in this case.

7 years agoMerge pull request #1190 from terrelln/ldm-adjust
Yann Collet [Tue, 19 Jun 2018 21:40:56 +0000 (14:40 -0700)] 
Merge pull request #1190 from terrelln/ldm-adjust

Adjust advanced parameters to source size

7 years agoMerge pull request #1179 from supertopher/dev
Yann Collet [Tue, 19 Jun 2018 21:36:30 +0000 (14:36 -0700)] 
Merge pull request #1179 from supertopher/dev

Improves UX for --list command's lack of support for pipes

7 years agoFix Incorrect Param
W. Felix Handte [Tue, 19 Jun 2018 19:36:33 +0000 (15:36 -0400)] 
Fix Incorrect Param

7 years agoUpdate Dict Attachment Cut-Offs
W. Felix Handte [Tue, 19 Jun 2018 19:13:30 +0000 (15:13 -0400)] 
Update Dict Attachment Cut-Offs

7 years agoMake Sure Position 0 Gets Into the Tree
W. Felix Handte [Fri, 15 Jun 2018 18:08:58 +0000 (14:08 -0400)] 
Make Sure Position 0 Gets Into the Tree

7 years agoMerge pull request #1194 from facebook/no-opaqueapi
Yann Collet [Tue, 19 Jun 2018 17:24:26 +0000 (10:24 -0700)] 
Merge pull request #1194 from facebook/no-opaqueapi

removed specific --opaqueapi test

7 years agoFix Compression Ratio Regression #1
W. Felix Handte [Fri, 15 Jun 2018 00:59:29 +0000 (20:59 -0400)] 
Fix Compression Ratio Regression #1

7 years agoMisc Changes
W. Felix Handte [Thu, 14 Jun 2018 20:59:49 +0000 (16:59 -0400)] 
Misc Changes

7 years agoFind Proper Matches
W. Felix Handte [Thu, 14 Jun 2018 19:54:03 +0000 (15:54 -0400)] 
Find Proper Matches

7 years agoMisc Fixes
W. Felix Handte [Thu, 14 Jun 2018 19:53:46 +0000 (15:53 -0400)] 
Misc Fixes

7 years agoFind `mls == 3` Matches
W. Felix Handte [Thu, 14 Jun 2018 18:53:04 +0000 (14:53 -0400)] 
Find `mls == 3` Matches

7 years agoFix Typo
W. Felix Handte [Thu, 14 Jun 2018 18:52:46 +0000 (14:52 -0400)] 
Fix Typo

7 years agoSwitch `!= ZSTD_extDict` to `== ZSTD_noDict`
W. Felix Handte [Thu, 14 Jun 2018 17:33:59 +0000 (13:33 -0400)] 
Switch `!= ZSTD_extDict` to `== ZSTD_noDict`

7 years agoImplement RepCode Check
W. Felix Handte [Thu, 14 Jun 2018 17:23:17 +0000 (13:23 -0400)] 
Implement RepCode Check

7 years agoAdd _dictMatchState Functions
W. Felix Handte [Wed, 13 Jun 2018 21:10:37 +0000 (17:10 -0400)] 
Add _dictMatchState Functions

7 years agoConvert `extDict` Flag to `dictMode` Enum
W. Felix Handte [Wed, 13 Jun 2018 21:10:02 +0000 (17:10 -0400)] 
Convert `extDict` Flag to `dictMode` Enum

7 years agoAttach Dicts when Using ZSTD_btopt and ZSTD_btultra
W. Felix Handte [Wed, 13 Jun 2018 20:54:31 +0000 (16:54 -0400)] 
Attach Dicts when Using ZSTD_btopt and ZSTD_btultra

7 years agoTests to verify piped input to `--list` exits 1 1179/head
Topher Lubaway [Tue, 19 Jun 2018 16:56:37 +0000 (09:56 -0700)] 
Tests to verify piped input to `--list` exits 1

I'm following the pattern that i saw in the rest of the test file
please tell me if i am using the wrong conventions

7 years agointroduced POOL_resize()
Yann Collet [Tue, 19 Jun 2018 03:46:39 +0000 (20:46 -0700)] 
introduced POOL_resize()

not complete yet :
finalize behavior in case of unfinished expansion

7 years agoremoved specific --opaqueapi test 1194/head
Yann Collet [Tue, 19 Jun 2018 02:20:37 +0000 (19:20 -0700)] 
removed specific --opaqueapi test

from zstreamtest.

This test is now integrated within --newapi,
which dynamically switches between the 2 modes randomly.

The main outcome is reduced testing time.

7 years agoUse debug.h in fileio.c 1190/head
Nick Terrell [Fri, 15 Jun 2018 14:36:54 +0000 (07:36 -0700)] 
Use debug.h in fileio.c

7 years agoAdjust advanced parameters to source size
Nick Terrell [Thu, 14 Jun 2018 23:24:18 +0000 (16:24 -0700)] 
Adjust advanced parameters to source size

In the new advanced API, adjust the parameters even if they are explicitly
set. This mainly applies to the `windowLog`, and accordingly the `hashLog`
and `chainLog`, when the source size is known.

7 years agoFix cli no print
George Lu [Mon, 18 Jun 2018 22:06:31 +0000 (15:06 -0700)] 
Fix cli no print

Change looping behavior to match old