]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
8 years agofix Visual Studio warnings 453/head
Przemyslaw Skibinski [Tue, 15 Nov 2016 18:02:39 +0000 (19:02 +0100)] 
fix Visual Studio warnings

8 years agoworking fullbench-dll
Przemyslaw Skibinski [Tue, 15 Nov 2016 17:05:46 +0000 (18:05 +0100)] 
working fullbench-dll

8 years agoadded fullbench-dll
Przemyslaw Skibinski [Tue, 15 Nov 2016 16:29:15 +0000 (17:29 +0100)] 
added fullbench-dll

8 years agoremoved _x86 and _x64
Przemyslaw Skibinski [Tue, 15 Nov 2016 16:28:49 +0000 (17:28 +0100)] 
removed _x86 and _x64

8 years agorestore all Travis tests 450/head
Przemyslaw Skibinski [Mon, 14 Nov 2016 17:07:17 +0000 (18:07 +0100)] 
restore all Travis tests

8 years ago"file" moved to tests/Makefile
Przemyslaw Skibinski [Mon, 14 Nov 2016 16:26:58 +0000 (17:26 +0100)] 
"file" moved to tests/Makefile

8 years agofixed .travis.yml (3)
Przemyslaw Skibinski [Mon, 14 Nov 2016 15:58:39 +0000 (16:58 +0100)] 
fixed .travis.yml (3)

8 years agofixed .travis.yml (2)
Przemyslaw Skibinski [Mon, 14 Nov 2016 15:52:51 +0000 (16:52 +0100)] 
fixed .travis.yml (2)

8 years agofixed .travis.yml
Przemyslaw Skibinski [Mon, 14 Nov 2016 15:39:17 +0000 (16:39 +0100)] 
fixed .travis.yml

8 years agoadded libzstd-dll
Przemyslaw Skibinski [Mon, 14 Nov 2016 15:14:18 +0000 (16:14 +0100)] 
added libzstd-dll

8 years agoupdated appveyor.yml
Przemyslaw Skibinski [Mon, 14 Nov 2016 14:59:57 +0000 (15:59 +0100)] 
updated appveyor.yml

8 years agozstdlib renamed to libzstd
Przemyslaw Skibinski [Mon, 14 Nov 2016 14:56:50 +0000 (15:56 +0100)] 
zstdlib renamed to libzstd

8 years agoupdated IntDir and OutDir
Przemyslaw Skibinski [Mon, 14 Nov 2016 14:56:26 +0000 (15:56 +0100)] 
updated IntDir and OutDir

8 years agoupdated .gitignore
Przemyslaw Skibinski [Mon, 14 Nov 2016 12:41:18 +0000 (13:41 +0100)] 
updated .gitignore

8 years ago.travis.yml: added aarch64test and ppc64test
Przemyslaw Skibinski [Mon, 14 Nov 2016 12:07:45 +0000 (13:07 +0100)] 
.travis.yml: added aarch64test and ppc64test

8 years agointroduced QEMU_SYS
Przemyslaw Skibinski [Mon, 14 Nov 2016 11:57:05 +0000 (12:57 +0100)] 
introduced QEMU_SYS

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Mon, 14 Nov 2016 11:09:24 +0000 (12:09 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agominor comment change
Yann Collet [Sat, 12 Nov 2016 01:26:54 +0000 (17:26 -0800)] 
minor comment change

8 years agoremoved zbuff.h from include installation
Yann Collet [Tue, 8 Nov 2016 23:45:39 +0000 (15:45 -0800)] 
removed zbuff.h from include installation

8 years agomake zstd a phony target at root
Yann Collet [Mon, 7 Nov 2016 22:55:12 +0000 (14:55 -0800)] 
make zstd a phony target at root

8 years agozstd cli : displays total decoded size, even when a stream consists of multiple frames
Yann Collet [Mon, 7 Nov 2016 22:41:21 +0000 (14:41 -0800)] 
zstd cli : displays total decoded size, even when a stream consists of multiple frames

8 years agobump version number to 1.1.2
Yann Collet [Mon, 7 Nov 2016 22:35:41 +0000 (14:35 -0800)] 
bump version number to 1.1.2

8 years agoMerge pull request #443 from terrelln/dev
Yann Collet [Sat, 5 Nov 2016 00:12:16 +0000 (17:12 -0700)] 
Merge pull request #443 from terrelln/dev

Fix bug in zstd v0.{5, 6} dictionary decompression

8 years agoFix bug in zstd v0.{5, 6} dictionary decompression 443/head
Nick Terrell [Fri, 4 Nov 2016 23:18:59 +0000 (16:18 -0700)] 
Fix bug in zstd v0.{5, 6} dictionary decompression

Introduced by bb68062c590dbd46905907dd2a63a658040a79d4.

8 years agoMerge pull request #441 from inikep/dev11
Yann Collet [Fri, 4 Nov 2016 22:49:56 +0000 (15:49 -0700)] 
Merge pull request #441 from inikep/dev11

preserve owner, file permission and modification time

8 years agozwrapbench uses z_const 441/head
Przemyslaw Skibinski [Fri, 4 Nov 2016 16:49:17 +0000 (17:49 +0100)] 
zwrapbench uses z_const

8 years agoupdated Makefile for zlibWrapper
Przemyslaw Skibinski [Fri, 4 Nov 2016 15:50:39 +0000 (16:50 +0100)] 
updated Makefile for zlibWrapper

8 years agotypedef ZWRAP_CCtx internal_state
Przemyslaw Skibinski [Fri, 4 Nov 2016 15:05:28 +0000 (16:05 +0100)] 
typedef ZWRAP_CCtx internal_state

8 years agoChanged stdinmark and stdoutmark
Przemyslaw Skibinski [Fri, 4 Nov 2016 10:37:27 +0000 (11:37 +0100)] 
Changed stdinmark and stdoutmark

8 years agofixed clang warnings in zlibWrapper
Przemyslaw Skibinski [Fri, 4 Nov 2016 10:20:58 +0000 (11:20 +0100)] 
fixed clang warnings in zlibWrapper

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Fri, 4 Nov 2016 09:10:54 +0000 (10:10 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

# Conflicts:
# lib/Makefile

8 years agofixed Visual compatibility
Yann Collet [Thu, 3 Nov 2016 22:52:01 +0000 (15:52 -0700)] 
fixed Visual compatibility

8 years agoMerge pull request #439 from terrelln/dev
Yann Collet [Thu, 3 Nov 2016 21:15:36 +0000 (14:15 -0700)] 
Merge pull request #439 from terrelln/dev

ZSTD_compress_usingDict() specify dict == NULL

8 years agoMerge pull request #442 from terrelln/pzstd-build
Yann Collet [Thu, 3 Nov 2016 19:57:07 +0000 (12:57 -0700)] 
Merge pull request #442 from terrelln/pzstd-build

The static library was moved to libzstd.a

8 years agoFix dynamic libzstd symlinks 442/head
Nick Terrell [Thu, 3 Nov 2016 19:32:48 +0000 (12:32 -0700)] 
Fix dynamic libzstd symlinks

8 years agoThe static library was moved to libzstd.a
Nick Terrell [Thu, 3 Nov 2016 18:32:45 +0000 (11:32 -0700)] 
The static library was moved to libzstd.a

8 years agofixed MinGW compilation (2)
Przemyslaw Skibinski [Thu, 3 Nov 2016 14:38:13 +0000 (15:38 +0100)] 
fixed MinGW compilation (2)

8 years agofixed MinGW compilation
Przemyslaw Skibinski [Thu, 3 Nov 2016 11:59:20 +0000 (12:59 +0100)] 
fixed MinGW compilation

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Thu, 3 Nov 2016 10:38:04 +0000 (11:38 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agoBMK_SetNbIterations renamed to BMK_SetNbSeconds
Przemyslaw Skibinski [Thu, 3 Nov 2016 10:38:01 +0000 (11:38 +0100)] 
BMK_SetNbIterations renamed to BMK_SetNbSeconds

8 years agopreserve file modification time for Visual C++
Przemyslaw Skibinski [Thu, 3 Nov 2016 08:54:53 +0000 (09:54 +0100)] 
preserve file modification time for Visual C++

8 years agofix test-zstd-nolegacy
Yann Collet [Thu, 3 Nov 2016 08:11:56 +0000 (01:11 -0700)] 
fix test-zstd-nolegacy

8 years agofix zlibWrapper make test
Yann Collet [Thu, 3 Nov 2016 07:44:02 +0000 (00:44 -0700)] 
fix zlibWrapper make test

8 years agofixed make install
Yann Collet [Thu, 3 Nov 2016 05:28:37 +0000 (22:28 -0700)] 
fixed make install

8 years agoZSTD_compress_usingDict() when dict gets loaded 439/head
Nick Terrell [Wed, 2 Nov 2016 23:47:53 +0000 (16:47 -0700)] 
ZSTD_compress_usingDict() when dict gets loaded

Specify that when `dict == NULL || dictSize < 8` no dictionary
gets loaded.
Also add some periods.

8 years agofileio.c does no longer need ZSTD_LEGACY_SUPPORT, and does no longer depend on zstd_l...
Yann Collet [Thu, 3 Nov 2016 00:30:49 +0000 (17:30 -0700)] 
fileio.c does no longer need ZSTD_LEGACY_SUPPORT, and does no longer depend on zstd_legacy.h
Added : ZSTD_isFrame() in experimental section

8 years agoFix #419 : no warning when setting custom LDFLAGS
Yann Collet [Thu, 3 Nov 2016 00:02:45 +0000 (17:02 -0700)] 
Fix #419 : no warning when setting custom LDFLAGS

8 years agoFix #418 : printing selected segments in zdict debug mode can segfault with certain...
Yann Collet [Wed, 2 Nov 2016 20:57:55 +0000 (13:57 -0700)] 
Fix #418 : printing selected segments in zdict debug mode can segfault with certain pathological patterns

8 years agoset permissions, access and modification times
Przemyslaw Skibinski [Wed, 2 Nov 2016 13:08:07 +0000 (14:08 +0100)] 
set permissions, access and modification times

8 years agopreserve file modification time
Przemyslaw Skibinski [Wed, 2 Nov 2016 12:08:39 +0000 (13:08 +0100)] 
preserve file modification time

8 years agoadded UTIL_setModificationTime, UTIL_getModificationTime
Przemyslaw Skibinski [Wed, 2 Nov 2016 11:52:20 +0000 (12:52 +0100)] 
added UTIL_setModificationTime, UTIL_getModificationTime

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Wed, 2 Nov 2016 10:28:28 +0000 (11:28 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agominor display improvement in fuzzer when nb of tests is very large 438/head v1.1.1
Yann Collet [Tue, 1 Nov 2016 18:13:22 +0000 (11:13 -0700)] 
minor display improvement in fuzzer when nb of tests is very large

8 years agoupdated man page
Yann Collet [Tue, 1 Nov 2016 01:10:32 +0000 (18:10 -0700)] 
updated man page

8 years agoupdated README, mentioning .zst suffix
Yann Collet [Mon, 31 Oct 2016 22:48:58 +0000 (15:48 -0700)] 
updated README, mentioning .zst suffix

8 years agoMerge pull request #436 from inikep/dev11
Yann Collet [Mon, 31 Oct 2016 17:41:13 +0000 (10:41 -0700)] 
Merge pull request #436 from inikep/dev11

gen-zstd-manual.sh

8 years agoadded gen-zstd-manual.sh 436/head
Przemyslaw Skibinski [Mon, 31 Oct 2016 09:51:58 +0000 (10:51 +0100)] 
added gen-zstd-manual.sh

8 years agoupdated doc/zstd_manual.html
Przemyslaw Skibinski [Mon, 31 Oct 2016 09:44:44 +0000 (10:44 +0100)] 
updated doc/zstd_manual.html

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Mon, 31 Oct 2016 09:43:07 +0000 (10:43 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agomore accurate default maximum window size
Yann Collet [Sat, 29 Oct 2016 10:56:45 +0000 (03:56 -0700)] 
more accurate default maximum window size

8 years agoMerge pull request #434 from terrelln/dev
Yann Collet [Sat, 29 Oct 2016 03:27:59 +0000 (20:27 -0700)] 
Merge pull request #434 from terrelln/dev

Pzstd Improvements

8 years agochanged ZBUFF_* by ZSTD_*Stream() within fullbench,
Yann Collet [Fri, 28 Oct 2016 22:17:38 +0000 (15:17 -0700)] 
changed ZBUFF_* by ZSTD_*Stream() within fullbench,
in anticipation of future deprecation of ZBUFF_*.

8 years agofixed benchmark mode typo .
Yann Collet [Fri, 28 Oct 2016 21:43:24 +0000 (14:43 -0700)] 
fixed benchmark mode typo .
added benchmark mode tests

8 years ago[pzstd] Move -I flags to PZSTD_CPPFLAGS 434/head
Nick Terrell [Fri, 28 Oct 2016 21:24:15 +0000 (14:24 -0700)] 
[pzstd] Move -I flags to PZSTD_CPPFLAGS

8 years agoupdated man page
Yann Collet [Fri, 28 Oct 2016 20:58:31 +0000 (13:58 -0700)] 
updated man page

8 years agoMerge pull request #433 from inikep/dev11
Yann Collet [Fri, 28 Oct 2016 18:47:35 +0000 (11:47 -0700)] 
Merge pull request #433 from inikep/dev11

Dev11

8 years agotest-zstd-speed.py: default timeout changed to 1800 seconds 433/head
Przemyslaw Skibinski [Fri, 28 Oct 2016 18:40:21 +0000 (20:40 +0200)] 
test-zstd-speed.py: default timeout changed to 1800 seconds

8 years agoMerge pull request #432 from inikep/dev11
Yann Collet [Fri, 28 Oct 2016 18:30:44 +0000 (11:30 -0700)] 
Merge pull request #432 from inikep/dev11

windres

8 years agoMerge pull request #430 from terrelln/exec-sequences
Yann Collet [Fri, 28 Oct 2016 17:45:05 +0000 (10:45 -0700)] 
Merge pull request #430 from terrelln/exec-sequences

ZSTD_execSequence() accepts match in last 7 bytes

8 years agotest-zstd-speed.py: converted to python3 and added "--timeout" 432/head
Przemyslaw Skibinski [Fri, 28 Oct 2016 17:24:16 +0000 (19:24 +0200)] 
test-zstd-speed.py: converted to python3 and added "--timeout"

8 years agogenerate RES files during each compilation
Przemyslaw Skibinski [Fri, 28 Oct 2016 16:15:34 +0000 (18:15 +0200)] 
generate RES files during each compilation

8 years agogenerate_res.bat moved to programs/windres
Przemyslaw Skibinski [Fri, 28 Oct 2016 11:17:35 +0000 (13:17 +0200)] 
generate_res.bat moved to programs/windres

8 years agogenerate_res moved to programs/windres
Przemyslaw Skibinski [Fri, 28 Oct 2016 11:16:06 +0000 (13:16 +0200)] 
generate_res moved to programs/windres

8 years agogenerate_res.bat: automatic detection if windres.exe is available
Przemyslaw Skibinski [Fri, 28 Oct 2016 10:20:02 +0000 (12:20 +0200)] 
generate_res.bat: automatic detection if windres.exe is available

8 years agoupdated build\VS2010\zstd\generate_res\verrsrc.h
Przemyslaw Skibinski [Fri, 28 Oct 2016 09:54:47 +0000 (11:54 +0200)] 
updated build\VS2010\zstd\generate_res\verrsrc.h

8 years agoMerge pull request #431 from terrelln/perf-regr
Yann Collet [Fri, 28 Oct 2016 03:45:52 +0000 (20:45 -0700)] 
Merge pull request #431 from terrelln/perf-regr

Fix ZSTD_execSequence() performance regression

8 years agoFix ZSTD_execSequence() performance regression 431/head
Nick Terrell [Thu, 27 Oct 2016 23:19:54 +0000 (16:19 -0700)] 
Fix ZSTD_execSequence() performance regression

Commit ae1cb3b3d07024618269b89e3421d828adfd34d9 caused the regression.
It is an instruction alignment issue, because if it is `U64 i` instead
of `U32 i`, the regression returns.  This patch fixes the regression
in gcc, but only gets some of the clang performance back.

Benchmarks:
Run on `silesia.tar`.  I only show levels 1-5 because the performance
regression was uniform across all levels.  I did one run on levels
1-19 and it looked good.

| Build | Level | Before | While | After |
|-------|-------|-------:|------:|------:|
| gcc   |     1 |  931.4 | 904.4 | 932.8 |
| gcc   |     2 |  849.1 | 822.6 | 851.2 |
| gcc   |     3 |  815.6 | 790.6 | 818.9 |
| gcc   |     4 |  794.1 | 770.7 | 798.0 |
| gcc   |     5 |  785.7 | 760.7 | 788.8 |
| clang |     1 |  705.5 | 683.2 | 693.8 |
| clang |     2 |  670.0 | 649.2 | 660.7 |
| clang |     3 |  659.6 | 639.8 | 651.4 |
| clang |     4 |  652.5 | 634.7 | 645.9 |
| clang |     5 |  646.9 | 625.5 | 637.7 |

8 years agoZSTD_initCStream() optimization : do not allocate a CDict when no dictionary used
Yann Collet [Thu, 27 Oct 2016 21:20:55 +0000 (14:20 -0700)] 
ZSTD_initCStream() optimization : do not allocate a CDict when no dictionary used

8 years agominor const added
Yann Collet [Thu, 27 Oct 2016 01:44:59 +0000 (18:44 -0700)] 
minor const added

8 years agoprint one global summary (instead of one per file)
Yann Collet [Thu, 27 Oct 2016 01:37:29 +0000 (18:37 -0700)] 
print one global summary (instead of one per file)

8 years agoadded example multiple_streaming_compression
Yann Collet [Thu, 27 Oct 2016 01:10:43 +0000 (18:10 -0700)] 
added example multiple_streaming_compression

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Wed, 26 Oct 2016 07:39:35 +0000 (09:39 +0200)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years ago[pzstd] Fix test mode for streaming input
Nick Terrell [Wed, 26 Oct 2016 07:09:39 +0000 (00:09 -0700)] 
[pzstd] Fix test mode for streaming input

8 years agoZSTD_execSequence() accepts match in last 7 bytes 430/head
Nick Terrell [Fri, 21 Oct 2016 23:55:26 +0000 (16:55 -0700)] 
ZSTD_execSequence() accepts match in last 7 bytes

The zstd reference compressor will not emit a match in the last 7
bytes of a block.  The decompressor will also not accept a match
in the last 7 bytes.  This patch makes the decompressor accept a
match in the last 7 bytes.

8 years agoadded ZSTD_initDStream_usingDDict() .
Yann Collet [Wed, 26 Oct 2016 00:47:02 +0000 (17:47 -0700)] 
added ZSTD_initDStream_usingDDict() .
slightly optimized ZSTD_initDStream() when no dictionary .
fixed ZSTD_sizeof_CStream() .

8 years agofirst sketch for ZSTD_initCStream_usingCDict()
Yann Collet [Tue, 25 Oct 2016 23:19:52 +0000 (16:19 -0700)] 
first sketch for ZSTD_initCStream_usingCDict()

8 years agoMerge pull request #429 from inikep/btopt2
Yann Collet [Tue, 25 Oct 2016 21:48:43 +0000 (14:48 -0700)] 
Merge pull request #429 from inikep/btopt2

Btopt2

8 years agoMerge pull request #428 from inikep/dev11
Yann Collet [Tue, 25 Oct 2016 18:34:09 +0000 (11:34 -0700)] 
Merge pull request #428 from inikep/dev11

windres

8 years agoadded ZSTD_btopt2 strategy 429/head
Przemyslaw Skibinski [Tue, 25 Oct 2016 10:25:07 +0000 (12:25 +0200)] 
added ZSTD_btopt2 strategy

8 years agoWindows resources moved to programs/windres/ 428/head
Przemyslaw Skibinski [Tue, 25 Oct 2016 08:34:41 +0000 (10:34 +0200)] 
Windows resources moved to programs/windres/

8 years agoimages/ moved to doc/images/
Przemyslaw Skibinski [Tue, 25 Oct 2016 08:05:20 +0000 (10:05 +0200)] 
images/ moved to doc/images/

8 years agoMerge pull request #426 from terrelln/fixes
Yann Collet [Tue, 25 Oct 2016 06:42:26 +0000 (23:42 -0700)] 
Merge pull request #426 from terrelln/fixes

Fix various {A, M}SAN bugs

8 years agoupdated comments on context re-use
Yann Collet [Tue, 25 Oct 2016 00:22:12 +0000 (17:22 -0700)] 
updated comments on context re-use

8 years agoFix compiler narrowing warning 426/head
Nick Terrell [Mon, 24 Oct 2016 21:11:27 +0000 (14:11 -0700)] 
Fix compiler narrowing warning

8 years agoMerge remote-tracking branch 'upstream/dev' into fixes
Nick Terrell [Mon, 24 Oct 2016 20:10:13 +0000 (13:10 -0700)] 
Merge remote-tracking branch 'upstream/dev' into fixes

* upstream/dev:
  added doc\zstd_manual.html
  added contrib\gen_html
  zstd_compression_format.md moved to doc/
  Fix small bug in ZSTD_execSequence()
  improved ZSTD_compressBlock_opt_extDict_generic
  protect ZSTD_decodeFrameHeader() from invalid usage, as suggested by @spaskob
  zstd_opt.h: small improvement in compression ratio
  improved dicitonary segment merge
  use implicit rules to compile zstd_decompress.c
  detect early impossible decompression scenario in legacy decoder v0.5
  no repeat mode in legacy v0.5
  fixed invalid invocation of dictionary in legacy decoder v0.5
  fix edge case
  fix command line interpretation
  fixed minor corner case
  zstd.h: added the Introduction section
  fixed clang 3.5 warnings
  zstd.h: updated comments

8 years agoMerge pull request #425 from inikep/dev11
Yann Collet [Mon, 24 Oct 2016 18:11:40 +0000 (11:11 -0700)] 
Merge pull request #425 from inikep/dev11

Doc

8 years agoReject dictionaries with incomplete entropy tables
Nick Terrell [Thu, 20 Oct 2016 00:22:08 +0000 (17:22 -0700)] 
Reject dictionaries with incomplete entropy tables

If a dictionary specifies that a symbol has probability zero in its
`matchLength`, `literalLength`, or `offset` FSE table, but the symbol
appears when compressing input, the compressor fails.

Ensure that dictionaries support all `matchLength`, and `literalLength`
codes.  They must also support all of the `offset` codes required to
represent every possible offset that can appear in the first block.

8 years agoadded doc\zstd_manual.html 425/head
Przemyslaw Skibinski [Mon, 24 Oct 2016 14:07:53 +0000 (16:07 +0200)] 
added doc\zstd_manual.html

8 years agoadded contrib\gen_html
Przemyslaw Skibinski [Mon, 24 Oct 2016 13:59:51 +0000 (15:59 +0200)] 
added contrib\gen_html

8 years agozstd_compression_format.md moved to doc/
Przemyslaw Skibinski [Mon, 24 Oct 2016 13:58:07 +0000 (15:58 +0200)] 
zstd_compression_format.md moved to doc/