042ba122ae
Change g_displayLevel to int and fix DISPLAYUPDATE flush
2017-03-23 11:21:59 -07:00
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
0a189b63fe
fix minor details in man page
2017-03-16 16:33:53 -07:00
b8e52d3c83
Fix zstd not erroring on compressing to terminal without forceStdout
2017-03-16 16:06:19 -07:00
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
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
684858e7b7
fix memory leaks
2017-02-21 18:17:24 +01:00
c09d16ba8c
preset behavior for gzip, gunzip and gzcat
...
when zstd is called through a link named gzip, gunzip or gzcat,
provides the same behavior as the related program.
gzip compresses using --format=gz
both gzip and gunzip enable --rm by default
2017-02-14 10:45:19 -08:00
970419535f
fixed function name (2)
2017-02-14 09:47:29 +01:00
4f9eaa7bb3
fixed gcc warnings
2017-02-08 18:08:09 +01:00
cb56306a50
.gz suffix for gzip compressed files
2017-02-08 17:37:14 +01:00
cfd4dc299a
add "--format=gzip" option
2017-02-08 15:17:55 +01:00
40580ff669
added description of "--priority=rt"
2017-02-08 13:49:06 +01:00
0665a359aa
"--rt-prio" renamed to "--priority=rt"
2017-02-07 20:12:59 +01:00
d05014c739
added the "--rt-prio" option
2017-02-07 16:48:01 +01:00
3dc85bae66
minor : fixed zstd-frugal
...
fixed a minor unused variable warning when compiling zstd-frugal target
2017-02-02 16:19:09 -08:00
48bed91606
Merge pull request #527 from facebook/zstdmt
...
zstdmt refinements
2017-01-31 16:36:46 -08:00
8d8513fb64
fixed C constant restrictions
2017-01-30 14:37:08 -08:00
6ccd37c8d4
cli : added advanced parameter overlapLog
...
as a hidden (undocumented) parameter for now
2017-01-30 13:07:24 -08:00
6be2337c26
added command --block-size=
...
for Multi-threading only.
alias : -B#
2017-01-30 11:17:26 -08:00
2fe9126591
Add multithread support to COVER
2017-01-27 11:56:02 -08:00
8dafb1acf5
CLI : automatically set overlap size to max (windowSize) for max compression level
2017-01-25 17:01:13 -08:00
512cbe8c10
zstdmt cli and API allow selection of section sizes
...
By default, section sizes are 4x window size.
This new setting allow manual selection of section sizes.
The larger they are, the (slightly) better the compression ratio,
but also the higher the memory allocation cost,
and eventually the lesser the nb of possible threads,
since each section is compressed by a single thread.
It also introduces a prototype to set generic parameters,
ZSTDMT_setMTCtxParameter()
The idea is that it's possible to add enums
to extend the list of parameters that can be set this way.
This is more long-term oriented than a fixed-size struct.
Consider it as a test.
2017-01-24 17:08:53 -08:00
d7e3cb58c5
Resolved merge conflict dev+zstdmt
2017-01-20 16:44:50 -08:00
500014af49
zstd cli can now compress using multi-threading
...
added : command -T#
added : ZSTD_resetCStream() (zstdmt_compress)
added : FIO_setNbThreads() (fileio)
2017-01-19 17:04:28 -08:00
f22adae984
fixed minor warning (unused variable) in fuzzer
2017-01-19 13:46:30 -08:00
3a1fefcf00
Simplify COVER parameters
2017-01-02 17:51:38 -08:00
df8415c502
Add COVER to the zstd cli
2017-01-02 14:43:08 -08:00
747452677d
fixed cmake tests
2017-01-02 02:05:45 +01:00
ab7a579180
added -T command , to set nb of threads
2016-12-28 16:11:09 +01:00
7a8a03c20d
util.h: restore BSD license for Facebook Open-Source
2016-12-21 15:08:44 +01:00
97a258d71d
updated comments
2016-12-21 14:00:41 +01:00
e679741b18
_CRT_SECURE_NO_WARNINGS moved to util.h
2016-12-21 13:47:11 +01:00
2f6ccee6af
platform.h: removed Compiler Options
2016-12-21 13:23:34 +01:00
20b089e53d
simplified zstdcli.c
2016-12-21 09:19:15 +01:00
f8046b8e72
Merge remote-tracking branch 'refs/remotes/facebook/dev' into v112
...
# Conflicts:
# appveyor.yml
2016-12-19 08:20:26 +01:00
0b37205098
util.h: minor improvement
2016-12-16 17:12:23 +01:00
b0f3663edc
imporved support for POSIX-type OSes
2016-12-16 15:41:18 +01:00
3cdfe266cf
use PLATFORM_POSIX_VERSION
2016-12-16 15:00:50 +01:00
b866e72826
tools use platform.h
2016-12-16 14:24:01 +01:00
c71e552b2e
fixed "strategy" in advanced compression parameters
2016-12-13 20:04:32 +01:00
98ef0f98df
fixed conversion warning
2016-12-13 14:52:21 +01:00
8349d675e0
fileio.c: support advanced compression parameters
2016-12-13 13:24:59 +01:00
897b8bb5eb
bench.c: support advanced compression parameters
2016-12-13 13:03:41 +01:00
334b8962b0
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
2016-12-13 12:19:19 +01:00
671f28d1e5
added parseCompressionParameters
2016-12-13 12:18:07 +01:00
83cc2fb083
Enable using isatty() and nanosleep() on *BSD
2016-12-12 19:24:51 +01:00
2a826e592b
compatibility with zstd-frugal (noBench mode)
2016-12-06 17:56:20 -08:00
d946501d2c
decode benchmark - single file (hidden option)
2016-12-06 16:49:23 -08:00
743b33f57e
fix zstdcat
2016-12-02 15:18:57 -08:00