]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
8 years agoSet dictID to 0 for content only dictionaries 583/head
Nick Terrell [Thu, 2 Mar 2017 20:33:02 +0000 (12:33 -0800)] 
Set dictID to 0 for content only dictionaries

8 years agoMerge pull request #579 from iburinoc/multiframe
Yann Collet [Wed, 1 Mar 2017 19:02:04 +0000 (11:02 -0800)] 
Merge pull request #579 from iburinoc/multiframe

Check to ensure ddict isn't null before dereference

8 years agoMerge pull request #580 from facebook/speedStream
Yann Collet [Wed, 1 Mar 2017 18:59:51 +0000 (10:59 -0800)] 
Merge pull request #580 from facebook/speedStream

Improve streaming decompression speed

8 years agoupdated NEWS for 1.1.4
Yann Collet [Wed, 1 Mar 2017 01:44:17 +0000 (17:44 -0800)] 
updated NEWS for 1.1.4

cmake, performance

8 years agoMerge pull request #575 from Majlen/cmake-improvement
Yann Collet [Tue, 28 Feb 2017 23:32:21 +0000 (15:32 -0800)] 
Merge pull request #575 from Majlen/cmake-improvement

Cmake improvement

8 years agoCheck to ensure ddict isn't null before dereference 579/head
Sean Purcell [Tue, 28 Feb 2017 23:28:29 +0000 (15:28 -0800)] 
Check to ensure ddict isn't null before dereference

8 years agoMerge pull request #578 from inikep/dev
Yann Collet [Tue, 28 Feb 2017 23:21:28 +0000 (15:21 -0800)] 
Merge pull request #578 from inikep/dev

decompression: --rm is silent when input is stdin

8 years agotravis.yml: fixed pull_request 578/head
Przemyslaw Skibinski [Tue, 28 Feb 2017 16:27:41 +0000 (17:27 +0100)] 
travis.yml: fixed pull_request

8 years agofixed multi frames 580/head
Yann Collet [Tue, 28 Feb 2017 10:12:42 +0000 (02:12 -0800)] 
fixed multi frames

8 years agoAdded compile flags to pzstd 575/head
Milan Ševčík [Mon, 27 Feb 2017 13:44:49 +0000 (14:44 +0100)] 
Added compile flags to pzstd

Definition NDEBUG from original Makefile
-Wno-shadow silences shadowing in initializers

8 years ago-Wstrict-prototypes is not supported with C++
Milan Ševčík [Mon, 27 Feb 2017 12:56:04 +0000 (13:56 +0100)] 
-Wstrict-prototypes is not supported with C++

8 years agoImprove handling of library symlinks.
Milan Ševčík [Fri, 10 Feb 2017 11:29:55 +0000 (12:29 +0100)] 
Improve handling of library symlinks.

Previous method was failing to remove the symlinks when make clean was
invoked and wasn't portable.

8 years agoAdd zstdmt target in cmake
Milan Ševčík [Thu, 9 Feb 2017 14:11:05 +0000 (15:11 +0100)] 
Add zstdmt target in cmake

8 years agoSupport building contrib utils from cmake
Milan Ševčík [Thu, 9 Feb 2017 14:10:24 +0000 (15:10 +0100)] 
Support building contrib utils from cmake

8 years agofixed decoding skippable frames
Yann Collet [Tue, 28 Feb 2017 09:15:28 +0000 (01:15 -0800)] 
fixed decoding skippable frames

8 years agoadded test for decompression with NULL dict and NULL DDict
Yann Collet [Tue, 28 Feb 2017 09:02:46 +0000 (01:02 -0800)] 
added test for decompression with NULL dict and NULL DDict

previous version of ZSTD_decompressMultiFrame() would fail that test

8 years agocli : fix : --rm is silent when input is stdin (decompression)
Przemyslaw Skibinski [Tue, 28 Feb 2017 08:42:37 +0000 (09:42 +0100)] 
cli : fix : --rm is silent when input is stdin (decompression)

8 years agoupdate gzip tests
Przemyslaw Skibinski [Tue, 28 Feb 2017 08:41:23 +0000 (09:41 +0100)] 
update gzip tests

8 years agoImproved speed of ZSTD_decompressStream()
Yann Collet [Tue, 28 Feb 2017 08:14:28 +0000 (00:14 -0800)] 
Improved speed of ZSTD_decompressStream()

When ZSTD_decompressStream() detects
that there is enough space in dst
to complete decompression in a single pass,
delegates to ZSTD_decompress(),
for an extra ~5% speed boost

8 years agoupdated .travis.yml (2)
Przemyslaw Skibinski [Tue, 28 Feb 2017 07:20:53 +0000 (08:20 +0100)] 
updated .travis.yml (2)

8 years agoupdated .travis.yml
Przemyslaw Skibinski [Tue, 28 Feb 2017 07:16:49 +0000 (08:16 +0100)] 
updated .travis.yml

8 years agoMerge branch 'decompressStream' into dev
Yann Collet [Tue, 28 Feb 2017 04:55:22 +0000 (20:55 -0800)] 
Merge branch 'decompressStream' into dev

8 years agoMerge pull request #573 from facebook/ddict
Yann Collet [Tue, 28 Feb 2017 04:54:42 +0000 (20:54 -0800)] 
Merge pull request #573 from facebook/ddict

Improved DDict memory usage

8 years agofullbench : -i0 displays list of functions to bench
Yann Collet [Tue, 28 Feb 2017 01:58:02 +0000 (17:58 -0800)] 
fullbench : -i0 displays list of functions to bench

8 years agoadded test case : --rm on stdin
Yann Collet [Tue, 28 Feb 2017 00:09:20 +0000 (16:09 -0800)] 
added test case : --rm on stdin

must remain silent (instead of failing)

8 years agoMerge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Mon, 27 Feb 2017 23:58:38 +0000 (15:58 -0800)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

8 years agocli : fix : --rm is silent when input is stdin
Yann Collet [Mon, 27 Feb 2017 23:57:50 +0000 (15:57 -0800)] 
cli : fix : --rm is silent when input is stdin

previously, app would produce an error message, and stop.

8 years agoMerge pull request #571 from inikep/dev11
Yann Collet [Mon, 27 Feb 2017 21:54:33 +0000 (13:54 -0800)] 
Merge pull request #571 from inikep/dev11

gzip tests

8 years agouse "./gzip" for gzip tests 571/head
Przemyslaw Skibinski [Mon, 27 Feb 2017 21:01:03 +0000 (22:01 +0100)] 
use "./gzip" for gzip tests

8 years agoMerge pull request #569 from iburinoc/testcorpus
Yann Collet [Mon, 27 Feb 2017 18:19:37 +0000 (10:19 -0800)] 
Merge pull request #569 from iburinoc/testcorpus

Fix some more ARM compile errors

8 years agoMerge pull request #572 from prashantkhandelwal/dev
Yann Collet [Mon, 27 Feb 2017 18:19:08 +0000 (10:19 -0800)] 
Merge pull request #572 from prashantkhandelwal/dev

Fix for a small typo

8 years agominor tweaks in FIO_decompressGzFrame
Przemyslaw Skibinski [Mon, 27 Feb 2017 12:21:05 +0000 (13:21 +0100)] 
minor tweaks in FIO_decompressGzFrame

8 years agoFix for a small Typo 572/head
Prashant Khandelwal [Mon, 27 Feb 2017 10:58:22 +0000 (16:28 +0530)] 
Fix for a small Typo

8 years agoreduced ZSTD_DDict memory usage 573/head
Yann Collet [Mon, 27 Feb 2017 08:27:30 +0000 (00:27 -0800)] 
reduced ZSTD_DDict memory usage

saved 128 KB

8 years agoupdate gzip tests
Przemyslaw Skibinski [Mon, 27 Feb 2017 08:07:35 +0000 (09:07 +0100)] 
update gzip tests

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Mon, 27 Feb 2017 07:56:43 +0000 (08:56 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agoMerge branch 'dev' into testcorpus 569/head
Sean Purcell [Mon, 27 Feb 2017 06:27:31 +0000 (22:27 -0800)] 
Merge branch 'dev' into testcorpus

8 years agoadded ZSTD_refDDict()
Yann Collet [Sun, 26 Feb 2017 22:43:07 +0000 (14:43 -0800)] 
added ZSTD_refDDict()

Now DDict does no longer depends on DCtx duplication

8 years agoloadEntropy works on new ZSTD_entropy_t type
Yann Collet [Sun, 26 Feb 2017 18:16:42 +0000 (10:16 -0800)] 
loadEntropy works on new ZSTD_entropy_t type

8 years agocreated entropy structure type
Yann Collet [Sun, 26 Feb 2017 02:33:31 +0000 (18:33 -0800)] 
created entropy structure type

8 years agoAdded DDict unit test in fuzzer
Yann Collet [Sat, 25 Feb 2017 18:11:15 +0000 (10:11 -0800)] 
Added DDict unit test in fuzzer

also : slightly modified loadEntropy :
know src must points at start of dictionary

8 years agoMerge pull request #567 from inikep/dev11
Yann Collet [Sat, 25 Feb 2017 14:57:31 +0000 (06:57 -0800)] 
Merge pull request #567 from inikep/dev11

faster Travis tests

8 years agoMerge pull request #566 from facebook/forceRawDict
Yann Collet [Sat, 25 Feb 2017 00:59:24 +0000 (16:59 -0800)] 
Merge pull request #566 from facebook/forceRawDict

Force raw dict

8 years agoFix some more ARM compile errors
Sean Purcell [Fri, 24 Feb 2017 18:53:16 +0000 (10:53 -0800)] 
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.

8 years agoadded tests for gzip
Przemyslaw Skibinski [Fri, 24 Feb 2017 15:09:17 +0000 (16:09 +0100)] 
added tests for gzip

8 years agofix uninitialized value warning 567/head
Przemyslaw Skibinski [Fri, 24 Feb 2017 08:24:55 +0000 (09:24 +0100)] 
fix uninitialized value warning

8 years agoattempt to fix pthreat linking error 566/head
Yann Collet [Fri, 24 Feb 2017 08:16:05 +0000 (00:16 -0800)] 
attempt to fix pthreat linking error

replacing -lpthread by -pthread

8 years agozstdmt : fix : loading prefix from previous segments
Yann Collet [Fri, 24 Feb 2017 07:42:12 +0000 (23:42 -0800)] 
zstdmt : fix : loading prefix from previous segments

There used to be a (very small) chance that
loading prefix from previous segment
would be confused with a real zstd dictionary.
For that to happen, the prefix needs to start
with the same value as dictionary magic.
That's 1 chance in 4 billions if all values have equal probability.
But in fact, since some values are more common (0x00000000 for example)
others are less common, and dictionary magic was selected to be one of them,
so probabilities are likely even lower.

Anyway, this risk is no down to zero
by adding a new CCtx parameter : ZSTD_p_forceRawDict

Current parameter policy : the parameter "stick" to its CCtx,
so any dictionary loading after ZSTD_p_forceRawDict is set
will be loaded in "raw" ("content only") mode,
even if CCtx is re-used multiple times with multiple different dictionary.
It's up to the user to reset this value differently if it needs so.

8 years agorearrange Travis tests
Przemyslaw Skibinski [Fri, 24 Feb 2017 07:18:44 +0000 (08:18 +0100)] 
rearrange Travis tests

8 years agominor tests/Makefile refactoring
Yann Collet [Fri, 24 Feb 2017 07:09:10 +0000 (23:09 -0800)] 
minor tests/Makefile refactoring

and update of zstd_manual,html

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Fri, 24 Feb 2017 06:41:18 +0000 (07:41 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agoMerge pull request #565 from iburinoc/testcorpus
Yann Collet [Fri, 24 Feb 2017 00:28:37 +0000 (16:28 -0800)] 
Merge pull request #565 from iburinoc/testcorpus

Fix 32-bit -Wsign-compare issues in decodecorpus.c

8 years agoMerge pull request #564 from iburinoc/doc
Yann Collet [Fri, 24 Feb 2017 00:27:54 +0000 (16:27 -0800)] 
Merge pull request #564 from iburinoc/doc

Move educational_decoder to doc/ and add doc README

8 years agoFix -Wsign-compare issues in decodecorpus.c 565/head
Sean Purcell [Thu, 23 Feb 2017 23:53:44 +0000 (15:53 -0800)] 
Fix -Wsign-compare issues in decodecorpus.c

https://travis-ci.org/facebook/zstd/jobs/204423280

8 years agoMerge branch 'dev' into doc 564/head
Sean Purcell [Thu, 23 Feb 2017 23:23:24 +0000 (15:23 -0800)] 
Merge branch 'dev' into doc

8 years agoMerge pull request #562 from iburinoc/testcorpus
Yann Collet [Thu, 23 Feb 2017 23:19:37 +0000 (15:19 -0800)] 
Merge pull request #562 from iburinoc/testcorpus

Create a tool that generates random, valid, Zstd frames for decoder testing

8 years agoMove educational_decoder to doc/ and add doc README
Sean Purcell [Thu, 23 Feb 2017 22:34:52 +0000 (14:34 -0800)] 
Move educational_decoder to doc/ and add doc README

- Also make some minor bugfixes to educational decoder

8 years agoMerge pull request #558 from facebook/manual
Yann Collet [Thu, 23 Feb 2017 21:39:36 +0000 (13:39 -0800)] 
Merge pull request #558 from facebook/manual

Manual

8 years agoMerge pull request #560 from iburinoc/findcompressedsize
Yann Collet [Thu, 23 Feb 2017 21:39:23 +0000 (13:39 -0800)] 
Merge pull request #560 from iburinoc/findcompressedsize

Change name to to findFrameCompressedSize and add skippable support

8 years agoUpdate CLI and link from educational decoder 562/head
Sean Purcell [Thu, 23 Feb 2017 21:06:50 +0000 (13:06 -0800)] 
Update CLI and link from educational decoder

8 years agoUpdate tests/README.md
Sean Purcell [Thu, 23 Feb 2017 18:27:00 +0000 (10:27 -0800)] 
Update tests/README.md

8 years agozlibWrapper: better description of ZWRAP_useZSTDcompression
Przemyslaw Skibinski [Thu, 23 Feb 2017 17:28:48 +0000 (18:28 +0100)] 
zlibWrapper: better description of ZWRAP_useZSTDcompression

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Thu, 23 Feb 2017 08:20:25 +0000 (09:20 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agoCreate a tool that generates random, valid, Zstd frames for decoder testing
Sean Purcell [Wed, 22 Feb 2017 23:59:15 +0000 (15:59 -0800)] 
Create a tool that generates random, valid, Zstd frames for decoder testing

Note: Does not handle dictionaries currently

8 years agoMerge pull request #561 from iburinoc/fsefix
Yann Collet [Wed, 22 Feb 2017 23:32:22 +0000 (15:32 -0800)] 
Merge pull request #561 from iburinoc/fsefix

Fix bug in FSE distribution normalization

8 years agoFix bug in FSE distribution normalization 561/head
Sean Purcell [Wed, 22 Feb 2017 21:52:48 +0000 (13:52 -0800)] 
Fix bug in FSE distribution normalization

8 years agoDescribe ambiguity around skippable frames 560/head
Sean Purcell [Wed, 22 Feb 2017 21:29:01 +0000 (13:29 -0800)] 
Describe ambiguity around skippable frames

8 years agoUpdate comment
Sean Purcell [Wed, 22 Feb 2017 20:27:15 +0000 (12:27 -0800)] 
Update comment

8 years agoChange name to to findFrameCompressedSize and add skippable support
Sean Purcell [Wed, 22 Feb 2017 20:12:32 +0000 (12:12 -0800)] 
Change name to to findFrameCompressedSize and add skippable support

8 years agofixed malloc(0) potential issue
Yann Collet [Wed, 22 Feb 2017 19:08:00 +0000 (11:08 -0800)] 
fixed malloc(0) potential issue

Added test cases to cover #556 patch

8 years agoMerge pull request #556 from sjnam/size_unknown
Yann Collet [Wed, 22 Feb 2017 18:53:35 +0000 (10:53 -0800)] 
Merge pull request #556 from sjnam/size_unknown

original size unknown

8 years agofixed c90/gnu90/gnu99 tests 558/head
Yann Collet [Wed, 22 Feb 2017 18:52:36 +0000 (10:52 -0800)] 
fixed c90/gnu90/gnu99 tests

8 years agoMerge pull request #559 from inikep/arm-ppc-compilation
Yann Collet [Wed, 22 Feb 2017 18:19:33 +0000 (10:19 -0800)] 
Merge pull request #559 from inikep/arm-ppc-compilation

Reduced number of Travis tests to 7

8 years agotravis.yml: test arm-ppc-compilation target 559/head
Przemyslaw Skibinski [Wed, 22 Feb 2017 10:21:34 +0000 (11:21 +0100)] 
travis.yml: test arm-ppc-compilation target

8 years agoadded arm-ppc-compilation Makefile target
Przemyslaw Skibinski [Wed, 22 Feb 2017 10:07:28 +0000 (11:07 +0100)] 
added arm-ppc-compilation Makefile target

8 years agominor tweaks
Przemyslaw Skibinski [Wed, 22 Feb 2017 09:31:30 +0000 (10:31 +0100)] 
minor tweaks

8 years agoadded `manual` target in root Makefile
Yann Collet [Wed, 22 Feb 2017 09:10:43 +0000 (01:10 -0800)] 
added `manual` target in root Makefile

`manual` target is added to `all` target

8 years agoadded `manual` target to contrib/gen_html/Makefile
Yann Collet [Wed, 22 Feb 2017 08:57:50 +0000 (00:57 -0800)] 
added `manual` target to contrib/gen_html/Makefile

8 years agotravis.yml: fix versionsTest target
Przemyslaw Skibinski [Wed, 22 Feb 2017 08:36:42 +0000 (09:36 +0100)] 
travis.yml: fix versionsTest target

8 years agotravis.yml: set "dist: trusty" as default
Przemyslaw Skibinski [Wed, 22 Feb 2017 08:21:04 +0000 (09:21 +0100)] 
travis.yml: set "dist: trusty" as default

8 years agomove Ubuntu packages install to Makefile
Przemyslaw Skibinski [Wed, 22 Feb 2017 07:54:56 +0000 (08:54 +0100)] 
move Ubuntu packages install to Makefile

8 years agotravis.yml: reduce number of jobs to 7
Przemyslaw Skibinski [Wed, 22 Feb 2017 07:15:17 +0000 (08:15 +0100)] 
travis.yml: reduce number of jobs to 7

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into asan
Przemyslaw Skibinski [Wed, 22 Feb 2017 07:14:54 +0000 (08:14 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into asan

8 years agotest for fail to decompress 556/head
Soojin Nam [Wed, 22 Feb 2017 07:04:48 +0000 (16:04 +0900)] 
test for fail to decompress

8 years agoMerge pull request #557 from inikep/dev11
Yann Collet [Wed, 22 Feb 2017 01:53:28 +0000 (17:53 -0800)] 
Merge pull request #557 from inikep/dev11

travis.yml: remove tests that overlap with Circle CI

8 years agoMerge pull request #552 from iburinoc/spec
Yann Collet [Wed, 22 Feb 2017 01:52:25 +0000 (17:52 -0800)] 
Merge pull request #552 from iburinoc/spec

Restructure Format Specification

8 years agofix uasan-test32
Przemyslaw Skibinski [Tue, 21 Feb 2017 22:40:21 +0000 (23:40 +0100)] 
fix uasan-test32

8 years agotravis.yml: added uasan-test and uasan-test32
Przemyslaw Skibinski [Tue, 21 Feb 2017 21:48:04 +0000 (22:48 +0100)] 
travis.yml: added uasan-test and uasan-test32

8 years agotravis.yml: use CFLAGS=-Og with -fsanitize
Przemyslaw Skibinski [Tue, 21 Feb 2017 20:48:14 +0000 (21:48 +0100)] 
travis.yml: use CFLAGS=-Og with -fsanitize

8 years agotravis.yml: added LDFLAGS=-fuse-ld=gold
Przemyslaw Skibinski [Tue, 21 Feb 2017 20:12:09 +0000 (21:12 +0100)] 
travis.yml: added LDFLAGS=-fuse-ld=gold

8 years agotravis.yml: reduce number of jobs
Przemyslaw Skibinski [Tue, 21 Feb 2017 19:44:35 +0000 (20:44 +0100)] 
travis.yml: reduce number of jobs

8 years agolegacy.c: fix memory leaks
Przemyslaw Skibinski [Tue, 21 Feb 2017 19:10:21 +0000 (20:10 +0100)] 
legacy.c: fix memory leaks

8 years agoAdd default distributions and fix typos 552/head
Sean Purcell [Tue, 21 Feb 2017 18:20:36 +0000 (10:20 -0800)] 
Add default distributions and fix typos

8 years agozstd_compress.c: fix memory leaks
Przemyslaw Skibinski [Tue, 21 Feb 2017 17:59:56 +0000 (18:59 +0100)] 
zstd_compress.c: fix memory leaks

8 years agofix memory leaks
Przemyslaw Skibinski [Tue, 21 Feb 2017 17:17:24 +0000 (18:17 +0100)] 
fix memory leaks

8 years agouasan
Przemyslaw Skibinski [Tue, 21 Feb 2017 14:57:03 +0000 (15:57 +0100)] 
uasan

8 years agotravis.yml: use clang-4.0 for asan32 test 557/head
Przemyslaw Skibinski [Tue, 21 Feb 2017 12:40:28 +0000 (13:40 +0100)] 
travis.yml: use clang-4.0 for asan32 test

8 years agobench.c: use a single ticksPerSecond
Przemyslaw Skibinski [Tue, 21 Feb 2017 11:22:05 +0000 (12:22 +0100)] 
bench.c: use a single ticksPerSecond

8 years agotravis.yml: switch asan32 to Ubuntu 14.04
Przemyslaw Skibinski [Tue, 21 Feb 2017 08:59:19 +0000 (09:59 +0100)] 
travis.yml: switch asan32 to Ubuntu 14.04

8 years agotravis.yml: join pzstd tests
Przemyslaw Skibinski [Tue, 21 Feb 2017 07:39:02 +0000 (08:39 +0100)] 
travis.yml: join pzstd tests