]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
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 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 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

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Tue, 21 Feb 2017 07:02:32 +0000 (08:02 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agotravis.yml: remove tests that overlap with Circle CI
Przemyslaw Skibinski [Tue, 21 Feb 2017 07:01:55 +0000 (08:01 +0100)] 
travis.yml: remove tests that overlap with Circle CI

8 years agoutil.h: restore times()
Przemyslaw Skibinski [Tue, 21 Feb 2017 06:33:45 +0000 (07:33 +0100)] 
util.h: restore times()

8 years agoMerge branch 'dev' into size_unknown
Soojin Nam [Tue, 21 Feb 2017 03:58:13 +0000 (12:58 +0900)] 
Merge branch 'dev' into size_unknown

8 years agoMerge pull request #555 from anders-code/dev
Yann Collet [Tue, 21 Feb 2017 03:07:36 +0000 (19:07 -0800)] 
Merge pull request #555 from anders-code/dev

spelling fixes in comments

8 years agoMerge pull request #553 from inikep/devel
Yann Collet [Tue, 21 Feb 2017 03:07:04 +0000 (19:07 -0800)] 
Merge pull request #553 from inikep/devel

Devel

8 years agooriginal size unknown
Soojin Nam [Tue, 21 Feb 2017 00:51:40 +0000 (09:51 +0900)] 
original size unknown

8 years agospelling fixes in comments 555/head
Anders Oleson [Mon, 20 Feb 2017 20:08:59 +0000 (12:08 -0800)] 
spelling fixes in comments

i.e. occurred labeled Huffman

8 years agoutil.h: use mach_absolute_time for macOS
Przemyslaw Skibinski [Mon, 20 Feb 2017 11:18:15 +0000 (12:18 +0100)] 
util.h: use mach_absolute_time for macOS

8 years agointroduce UTIL_freq_t
Przemyslaw Skibinski [Mon, 20 Feb 2017 10:27:11 +0000 (11:27 +0100)] 
introduce UTIL_freq_t

8 years agoreplace times() with clock_gettime(CLOCK_MONOTONIC, x)
Przemyslaw Skibinski [Mon, 20 Feb 2017 10:11:50 +0000 (11:11 +0100)] 
replace times() with clock_gettime(CLOCK_MONOTONIC, x)

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11 553/head
Przemyslaw Skibinski [Mon, 20 Feb 2017 10:11:42 +0000 (11:11 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agoupdated NEWS with meson build by Dima Krasner
Yann Collet [Mon, 20 Feb 2017 09:26:05 +0000 (01:26 -0800)] 
updated NEWS with meson build by Dima Krasner

8 years agoMerge pull request #551 from dimkr/meson
Yann Collet [Mon, 20 Feb 2017 09:23:51 +0000 (01:23 -0800)] 
Merge pull request #551 from dimkr/meson

Added a Meson-based build system

8 years agoMoved to contrib 551/head
Dima Krasner [Sat, 18 Feb 2017 21:30:57 +0000 (23:30 +0200)] 
Moved to contrib

8 years agoRestructure Format Specification
Sean Purcell [Sat, 18 Feb 2017 00:24:26 +0000 (16:24 -0800)] 
Restructure Format Specification

8 years agoAdded a message when multhread=true
Dima Krasner [Fri, 17 Feb 2017 10:32:16 +0000 (12:32 +0200)] 
Added a message when multhread=true

8 years agoUpdated the README
Dima Krasner [Fri, 17 Feb 2017 10:29:23 +0000 (12:29 +0200)] 
Updated the README

8 years agoAdded multi-threaded library support
Dima Krasner [Fri, 17 Feb 2017 10:27:13 +0000 (12:27 +0200)] 
Added multi-threaded library support

8 years agocircle.yml: set FUZZERTEST=-T4mn
Przemyslaw Skibinski [Fri, 17 Feb 2017 06:54:37 +0000 (07:54 +0100)] 
circle.yml: set FUZZERTEST=-T4mn

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

8 years agoMerge pull request #550 from iburinoc/matchoverlenwrite
Yann Collet [Fri, 17 Feb 2017 02:14:47 +0000 (18:14 -0800)] 
Merge pull request #550 from iburinoc/matchoverlenwrite

execSequence copies up to 2*WILDCOPY_OVERLENGTH extra

8 years agoMerge pull request #548 from inikep/gz_compress
Yann Collet [Thu, 16 Feb 2017 22:57:59 +0000 (14:57 -0800)] 
Merge pull request #548 from inikep/gz_compress

Circle CI tests

8 years agoUpdate overlength match test case 550/head
Sean Purcell [Thu, 16 Feb 2017 21:29:47 +0000 (13:29 -0800)] 
Update overlength match test case

8 years agoexecSequence copies up to 2*WILDCOPY_OVERLENGTH extra
Sean Purcell [Thu, 16 Feb 2017 20:05:40 +0000 (12:05 -0800)] 
execSequence copies up to 2*WILDCOPY_OVERLENGTH extra

8 years agocircle.yml: make travis-install 548/head
Przemyslaw Skibinski [Thu, 16 Feb 2017 18:04:22 +0000 (19:04 +0100)] 
circle.yml: make travis-install

8 years agofaster start of containers
Przemyslaw Skibinski [Thu, 16 Feb 2017 17:45:17 +0000 (18:45 +0100)] 
faster start of containers

8 years agoAdded a Meson project
Dima Krasner [Thu, 16 Feb 2017 17:35:56 +0000 (19:35 +0200)] 
Added a Meson project

8 years agojoin tests into pairs
Przemyslaw Skibinski [Thu, 16 Feb 2017 17:19:36 +0000 (18:19 +0100)] 
join tests into pairs

8 years agomove MOREFLAGS to circle.yml
Przemyslaw Skibinski [Thu, 16 Feb 2017 16:52:49 +0000 (17:52 +0100)] 
move MOREFLAGS to circle.yml

8 years agoMerge pull request #549 from iburinoc/matchoverlenwrite
Yann Collet [Thu, 16 Feb 2017 16:39:52 +0000 (08:39 -0800)] 
Merge pull request #549 from iburinoc/matchoverlenwrite

Fix wildcopy overwriting data still in window

8 years agomore balanced tests
Przemyslaw Skibinski [Thu, 16 Feb 2017 15:27:40 +0000 (16:27 +0100)] 
more balanced tests

8 years agotwo groups of tests
Przemyslaw Skibinski [Thu, 16 Feb 2017 14:59:00 +0000 (15:59 +0100)] 
two groups of tests

8 years agoimproved clangtest
Przemyslaw Skibinski [Thu, 16 Feb 2017 14:28:08 +0000 (15:28 +0100)] 
improved clangtest

8 years agoimporved test-zstd
Przemyslaw Skibinski [Thu, 16 Feb 2017 14:13:33 +0000 (15:13 +0100)] 
imporved test-zstd

8 years agoTests for thread 1 (when CIRCLE_NODE_TOTAL=1) or thread 2
Przemyslaw Skibinski [Thu, 16 Feb 2017 13:39:21 +0000 (14:39 +0100)] 
Tests for thread 1 (when CIRCLE_NODE_TOTAL=1) or thread 2

8 years agofinal colon
Przemyslaw Skibinski [Thu, 16 Feb 2017 12:51:21 +0000 (13:51 +0100)] 
final colon

8 years agocheck CIRCLE_NODE_TOTAL
Przemyslaw Skibinski [Thu, 16 Feb 2017 12:45:40 +0000 (13:45 +0100)] 
check CIRCLE_NODE_TOTAL

8 years agocheck $CIRCLE_NODE_INDEX
Przemyslaw Skibinski [Thu, 16 Feb 2017 12:36:12 +0000 (13:36 +0100)] 
check $CIRCLE_NODE_INDEX

8 years agocircle.yml: run only short tests
Przemyslaw Skibinski [Thu, 16 Feb 2017 12:08:30 +0000 (13:08 +0100)] 
circle.yml: run only short tests

8 years agofix travis.yml
Przemyslaw Skibinski [Thu, 16 Feb 2017 11:33:25 +0000 (12:33 +0100)] 
fix travis.yml