]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
9 years agoSync 175/head
inikep [Fri, 29 Apr 2016 13:25:00 +0000 (15:25 +0200)] 
Sync

9 years agoutil.h must the the first include to #define _POSIX_C_SOURCE
inikep [Fri, 29 Apr 2016 13:19:40 +0000 (15:19 +0200)] 
util.h must the the first include to #define _POSIX_C_SOURCE

9 years agoutil.h must be the first include to #define _POSIX_C_SOURCE
inikep [Fri, 29 Apr 2016 13:18:50 +0000 (15:18 +0200)] 
util.h must be the first include to #define _POSIX_C_SOURCE

9 years agogetTotalFileSize moved to common/util.h
inikep [Thu, 28 Apr 2016 14:50:13 +0000 (16:50 +0200)] 
getTotalFileSize moved to common/util.h

9 years agoordering of #include
inikep [Thu, 28 Apr 2016 12:40:45 +0000 (14:40 +0200)] 
ordering of #include

9 years agobench.c: time functions moved to common/util.h
inikep [Thu, 28 Apr 2016 11:16:01 +0000 (13:16 +0200)] 
bench.c: time functions moved to common/util.h

9 years agogetFileSize moved to common/util.h
inikep [Thu, 28 Apr 2016 10:23:33 +0000 (12:23 +0200)] 
getFileSize moved to common/util.h

9 years agoget rid of some Visual C++ warnings
inikep [Mon, 25 Apr 2016 13:23:09 +0000 (15:23 +0200)] 
get rid of some Visual C++ warnings

9 years agofixed 64-bit compilation with Visual C++
inikep [Mon, 25 Apr 2016 12:42:15 +0000 (14:42 +0200)] 
fixed 64-bit compilation with Visual C++

9 years agoadded compatibility with Visual C++ 2012
inikep [Mon, 25 Apr 2016 11:09:06 +0000 (13:09 +0200)] 
added compatibility with Visual C++ 2012

9 years agoupdated lib/README.md part 2
inikep [Mon, 25 Apr 2016 09:36:44 +0000 (11:36 +0200)] 
updated lib/README.md part 2

9 years agoupdated lib/README.md
inikep [Mon, 25 Apr 2016 09:31:28 +0000 (11:31 +0200)] 
updated lib/README.md

9 years agofix for g++ compilation
inikep [Fri, 22 Apr 2016 16:54:05 +0000 (18:54 +0200)] 
fix for g++ compilation

9 years agointroduced ZSTD_NODECOMPRESS to link only compressor
inikep [Fri, 22 Apr 2016 16:22:30 +0000 (18:22 +0200)] 
introduced ZSTD_NODECOMPRESS to link only compressor

9 years agoError functions moved to common/zstd_common.c
inikep [Fri, 22 Apr 2016 15:14:25 +0000 (17:14 +0200)] 
Error functions moved to common/zstd_common.c

9 years agoupdated CMakeLists.txt
inikep [Fri, 22 Apr 2016 11:59:21 +0000 (13:59 +0200)] 
updated CMakeLists.txt

9 years agointroduced ZSTD_NOCOMPRESS to generate decompressor only
inikep [Fri, 22 Apr 2016 11:59:05 +0000 (13:59 +0200)] 
introduced ZSTD_NOCOMPRESS to generate decompressor only

9 years agoseparation of lib/ into common/, compress/, decompress/, dictBuilder/, legacy/
inikep [Fri, 22 Apr 2016 10:43:18 +0000 (12:43 +0200)] 
separation of lib/ into common/, compress/, decompress/, dictBuilder/, legacy/

9 years agoMerge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev
inikep [Thu, 21 Apr 2016 10:30:58 +0000 (12:30 +0200)] 
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev

9 years agominor speed improvements 2
inikep [Thu, 21 Apr 2016 10:18:47 +0000 (12:18 +0200)] 
minor speed improvements 2

bench.c: block size has to be bigger than 32 bytes
zstdcli.c: support for e.g. -B16k -B16m

9 years agozst_opt.h: minor compression speed improvement
inikep [Thu, 21 Apr 2016 09:08:43 +0000 (11:08 +0200)] 
zst_opt.h: minor compression speed improvement

9 years agobumped lib version to 0.6.1
Yann Collet [Wed, 20 Apr 2016 20:46:16 +0000 (22:46 +0200)] 
bumped lib version to 0.6.1
added ZSTD_VERSION_STRING

9 years agobench.c: force at least one compression and decompression loop
inikep [Tue, 19 Apr 2016 07:37:59 +0000 (09:37 +0200)] 
bench.c: force at least one compression and decompression loop

fix for -i0 with small files

9 years agobench.c: fixed rare compression and decompression speed bug
inikep [Fri, 15 Apr 2016 14:54:11 +0000 (16:54 +0200)] 
bench.c: fixed rare compression and decompression speed bug

concerns only big files with compression or decompression time longer
than 100 seconds

9 years agointroduced ZSTD_DEAFULT_CLEVEL for (compressionLevel<=0)
inikep [Fri, 15 Apr 2016 11:44:46 +0000 (13:44 +0200)] 
introduced ZSTD_DEAFULT_CLEVEL for (compressionLevel<=0)

9 years agoremoved ZSTD_compressBegin_targetSrcSize
inikep [Thu, 14 Apr 2016 11:43:51 +0000 (13:43 +0200)] 
removed ZSTD_compressBegin_targetSrcSize

9 years agoMerge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev
inikep [Wed, 13 Apr 2016 08:48:26 +0000 (10:48 +0200)] 
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev

9 years agobench.c: ignore directories from a file list for benchmark
inikep [Wed, 13 Apr 2016 08:48:04 +0000 (10:48 +0200)] 
bench.c: ignore directories from a file list for benchmark

9 years agoupdated readme for 0.6.0 167/head
Yann Collet [Tue, 12 Apr 2016 21:58:52 +0000 (23:58 +0200)] 
updated readme for 0.6.0

9 years agoUpdated DICT_MAGIC, since internal dictionary format has changed (length encoding)
Yann Collet [Tue, 12 Apr 2016 21:26:23 +0000 (23:26 +0200)] 
Updated DICT_MAGIC, since internal dictionary format has changed (length encoding)

9 years agoAdded : zbuff.c to library; reported by Yipei Zhang
Yann Collet [Tue, 12 Apr 2016 19:46:18 +0000 (21:46 +0200)] 
Added : zbuff.c to library; reported by Yipei Zhang

9 years agoFixed : contentSize + copyCCtx()
Yann Collet [Tue, 12 Apr 2016 17:13:08 +0000 (19:13 +0200)] 
Fixed : contentSize + copyCCtx()

9 years agoAdded : fuzzer test, checking contentLength value after copyCCtx() usage
Yann Collet [Tue, 12 Apr 2016 16:00:20 +0000 (18:00 +0200)] 
Added : fuzzer test, checking contentLength value after copyCCtx() usage

9 years agoremoved headerBuffer
Yann Collet [Tue, 12 Apr 2016 13:52:33 +0000 (15:52 +0200)] 
removed headerBuffer

9 years agocreated ZSTD_writeFrameHeader()
Yann Collet [Tue, 12 Apr 2016 12:14:10 +0000 (14:14 +0200)] 
created ZSTD_writeFrameHeader()

9 years agominor speed improvement for ZSTD_copyCCtx()
Yann Collet [Mon, 11 Apr 2016 18:42:31 +0000 (20:42 +0200)] 
minor speed improvement for ZSTD_copyCCtx()

9 years agoFixed copyCCtx() on uninitialized cctx (reported by Oliver Lange)
Yann Collet [Mon, 11 Apr 2016 18:12:27 +0000 (20:12 +0200)] 
Fixed copyCCtx() on uninitialized cctx (reported by Oliver Lange)

9 years agoMerge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev
inikep [Mon, 11 Apr 2016 14:49:27 +0000 (16:49 +0200)] 
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev

9 years agocache literal prices for ZSTD_btopt
inikep [Mon, 11 Apr 2016 14:35:13 +0000 (16:35 +0200)] 
cache literal prices for ZSTD_btopt

9 years agofixed round-trip corruption, reported by Oliver Lange
Yann Collet [Mon, 11 Apr 2016 14:25:56 +0000 (16:25 +0200)] 
fixed round-trip corruption, reported by Oliver Lange

9 years agofixed uninitialization error, reported by Maciej Adamczyk
Yann Collet [Mon, 11 Apr 2016 12:22:56 +0000 (14:22 +0200)] 
fixed uninitialization error, reported by Maciej Adamczyk

9 years agofixed uninitialization error, reported by Maciej Adamczyk
Yann Collet [Mon, 11 Apr 2016 12:10:23 +0000 (14:10 +0200)] 
fixed uninitialization error, reported by Maciej Adamczyk

9 years agoFixed minor conversion warning
Yann Collet [Sun, 10 Apr 2016 23:47:10 +0000 (01:47 +0200)] 
Fixed minor conversion warning

9 years agominor refactor
Yann Collet [Sun, 10 Apr 2016 23:20:14 +0000 (01:20 +0200)] 
minor refactor

9 years agofixed : minor warning on return value
Yann Collet [Sun, 10 Apr 2016 23:12:32 +0000 (01:12 +0200)] 
fixed : minor warning on return value

9 years agoFixed : cli error on stdin + stdout, as detected by Alexey Spiridonov
Yann Collet [Sun, 10 Apr 2016 18:40:26 +0000 (20:40 +0200)] 
Fixed : cli error on stdin + stdout, as detected by Alexey Spiridonov
Added : relevant test case

9 years agoFix infinite loop with invalid data (fuzzer test)
Yann Collet [Sun, 10 Apr 2016 12:42:26 +0000 (14:42 +0200)] 
Fix infinite loop with invalid data (fuzzer test)

9 years agoMerge pull request #165 from Cyan4973/dev060
Yann Collet [Sat, 9 Apr 2016 22:23:32 +0000 (00:23 +0200)] 
Merge pull request #165 from Cyan4973/dev060

Dev060

9 years agoupdated cLevels 165/head
Yann Collet [Sat, 9 Apr 2016 18:32:00 +0000 (20:32 +0200)] 
updated cLevels

9 years agofixed fullbench link stage
Yann Collet [Sat, 9 Apr 2016 15:38:53 +0000 (17:38 +0200)] 
fixed fullbench link stage

9 years agoFixed uninitialized warning, reported by Maciej Adamczyk
Yann Collet [Sat, 9 Apr 2016 15:26:22 +0000 (17:26 +0200)] 
Fixed uninitialized warning, reported by Maciej Adamczyk

9 years agofixed minor warnings when compiling with `gcc -g` (aka `-std=gnu90`)
Yann Collet [Sat, 9 Apr 2016 14:17:18 +0000 (16:17 +0200)] 
fixed minor warnings when compiling with `gcc -g` (aka `-std=gnu90`)

9 years agofixed Visual project
Yann Collet [Sat, 9 Apr 2016 13:44:38 +0000 (15:44 +0200)] 
fixed Visual project

9 years agoIntegrated Legacy v0.5.x decoder (provided by @inikep)
Yann Collet [Sat, 9 Apr 2016 07:42:27 +0000 (09:42 +0200)] 
Integrated Legacy v0.5.x decoder (provided by @inikep)

9 years agofixed decoding error
Yann Collet [Fri, 8 Apr 2016 23:51:36 +0000 (01:51 +0200)] 
fixed decoding error

9 years agoFixed : minor variable isolation
Yann Collet [Fri, 8 Apr 2016 18:26:33 +0000 (20:26 +0200)] 
Fixed : minor variable isolation

9 years agoclock() is default timer for all platforms except Windows
inikep [Fri, 8 Apr 2016 14:55:17 +0000 (16:55 +0200)] 
clock() is default timer for all platforms except Windows

9 years agoconverted fuzzer timer to clock_t
Yann Collet [Fri, 8 Apr 2016 13:25:32 +0000 (15:25 +0200)] 
converted fuzzer timer to clock_t

9 years agoupdated cLevel for block <= 256K
Yann Collet [Fri, 8 Apr 2016 10:36:19 +0000 (12:36 +0200)] 
updated cLevel for block <= 256K

9 years agoMerge branch 'dev060' of github.com:Cyan4973/zstd into dev060
Yann Collet [Fri, 8 Apr 2016 00:02:31 +0000 (02:02 +0200)] 
Merge branch 'dev060' of github.com:Cyan4973/zstd into dev060

9 years agofaster level 1 at 256 KB
Yann Collet [Fri, 8 Apr 2016 00:02:12 +0000 (02:02 +0200)] 
faster level 1 at 256 KB

9 years agoMerge pull request #164 from inikep/dev
Yann Collet [Thu, 7 Apr 2016 18:46:13 +0000 (20:46 +0200)] 
Merge pull request #164 from inikep/dev

only repcode 0 for lazy, lazy2 and btlazy2 strategies

9 years agoMerge remote-tracking branch 'refs/remotes/Cyan4973/dev060' into dev 164/head
inikep [Thu, 7 Apr 2016 17:50:03 +0000 (19:50 +0200)] 
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev060' into dev

# Conflicts:
# lib/zstd_compress.c

9 years agoFixed memory initialization issue, reported by Maciej Adamczyk
Yann Collet [Thu, 7 Apr 2016 17:35:23 +0000 (19:35 +0200)] 
Fixed memory initialization issue, reported by Maciej Adamczyk

9 years agouse extDict only when needed
inikep [Thu, 7 Apr 2016 17:24:33 +0000 (19:24 +0200)] 
use extDict only when needed

9 years agoonly repcode 0 for lazy, lazy2 and btlazy2 strategies
inikep [Thu, 7 Apr 2016 17:14:09 +0000 (19:14 +0200)] 
only repcode 0 for lazy, lazy2 and btlazy2 strategies

9 years agoRevert "removed void ZSTD_compressBlock_greedy"
inikep [Thu, 7 Apr 2016 16:22:29 +0000 (18:22 +0200)] 
Revert "removed void ZSTD_compressBlock_greedy"

This reverts commit 9296400a692d9831109573edcfb9cad4dd7e6249.

9 years agoFixed make install (reported by Oliver Lange)
Yann Collet [Thu, 7 Apr 2016 16:16:42 +0000 (18:16 +0200)] 
Fixed make install (reported by Oliver Lange)

9 years agominor compression speed optimization
Yann Collet [Thu, 7 Apr 2016 15:19:00 +0000 (17:19 +0200)] 
minor compression speed optimization

9 years agoremoved void ZSTD_compressBlock_greedy
inikep [Thu, 7 Apr 2016 14:58:04 +0000 (16:58 +0200)] 
removed void ZSTD_compressBlock_greedy

9 years agoImplemented default coding table for lengths and offset
Yann Collet [Thu, 7 Apr 2016 13:24:29 +0000 (15:24 +0200)] 
Implemented default coding table for lengths and offset

9 years agoMerge pull request #163 from inikep/dev
Yann Collet [Thu, 7 Apr 2016 12:37:30 +0000 (14:37 +0200)] 
Merge pull request #163 from inikep/dev

3 repcodes and MINMATCH=3

9 years agoMerge branch 'refs/heads/lazy_MML3' into dev 163/head
inikep [Thu, 7 Apr 2016 09:35:41 +0000 (11:35 +0200)] 
Merge branch 'refs/heads/lazy_MML3' into dev

9 years agominor speed improvements
inikep [Thu, 7 Apr 2016 09:35:17 +0000 (11:35 +0200)] 
minor speed improvements

9 years agoreordered code
inikep [Wed, 6 Apr 2016 18:58:00 +0000 (20:58 +0200)] 
reordered code

9 years agoreordered functions
inikep [Wed, 6 Apr 2016 15:14:19 +0000 (17:14 +0200)] 
reordered functions

9 years agofixed support for searchLength=4
inikep [Wed, 6 Apr 2016 11:15:38 +0000 (13:15 +0200)] 
fixed support for searchLength=4

9 years agoMINMATCH=3 for lazy strategy
inikep [Wed, 6 Apr 2016 10:34:42 +0000 (12:34 +0200)] 
MINMATCH=3 for lazy strategy

9 years agoMINMATCH=3
inikep [Wed, 6 Apr 2016 07:46:01 +0000 (09:46 +0200)] 
MINMATCH=3

9 years agoworking ZSTD_compressBlock_opt_extDict_generic
inikep [Tue, 5 Apr 2016 21:58:51 +0000 (23:58 +0200)] 
working ZSTD_compressBlock_opt_extDict_generic

9 years agocode formatting
inikep [Tue, 5 Apr 2016 19:30:03 +0000 (21:30 +0200)] 
code formatting

9 years agoZSTD_compressBlock_opt_extDict_generic in progress
inikep [Tue, 5 Apr 2016 19:03:43 +0000 (21:03 +0200)] 
ZSTD_compressBlock_opt_extDict_generic in progress

9 years agointroduced ZSTD_compressBlock_greedy
inikep [Tue, 5 Apr 2016 17:01:10 +0000 (19:01 +0200)] 
introduced ZSTD_compressBlock_greedy

9 years ago3 repcodes with ZSTD_compressBlock_lazy_extDict_generic
inikep [Tue, 5 Apr 2016 16:16:38 +0000 (18:16 +0200)] 
3 repcodes with ZSTD_compressBlock_lazy_extDict_generic

9 years agoZSTD_REP_NUM=3 only
inikep [Tue, 5 Apr 2016 15:11:56 +0000 (17:11 +0200)] 
ZSTD_REP_NUM=3 only

9 years agoMerge remote-tracking branch 'refs/remotes/origin/repcodes' into dev
inikep [Tue, 5 Apr 2016 15:07:36 +0000 (17:07 +0200)] 
Merge remote-tracking branch 'refs/remotes/origin/repcodes' into dev

9 years agosupport for ZSTD_REP_NUM=3
inikep [Tue, 5 Apr 2016 08:30:05 +0000 (10:30 +0200)] 
support for ZSTD_REP_NUM=3

9 years agoremoved kSlotNew
inikep [Tue, 5 Apr 2016 08:18:37 +0000 (10:18 +0200)] 
removed kSlotNew

9 years agoexperiments with ZSTD_decodeSequence
inikep [Tue, 5 Apr 2016 08:08:25 +0000 (10:08 +0200)] 
experiments with ZSTD_decodeSequence

9 years agoMerge pull request #161 from inikep/dev
Yann Collet [Tue, 5 Apr 2016 07:59:59 +0000 (09:59 +0200)] 
Merge pull request #161 from inikep/dev

Dev

9 years agoworking 4 reps
inikep [Tue, 5 Apr 2016 07:34:13 +0000 (09:34 +0200)] 
working 4 reps

9 years agozstd_stats.h moved to .debug/ 161/head
inikep [Tue, 5 Apr 2016 06:52:57 +0000 (08:52 +0200)] 
zstd_stats.h moved to .debug/

9 years agoimproved logging
inikep [Mon, 4 Apr 2016 19:15:23 +0000 (21:15 +0200)] 
improved logging

9 years agoMerge remote-tracking branch 'refs/remotes/origin/dev' into repcodes
inikep [Mon, 4 Apr 2016 14:28:40 +0000 (16:28 +0200)] 
Merge remote-tracking branch 'refs/remotes/origin/dev' into repcodes

# Conflicts:
# lib/zstd_compress.c
# lib/zstd_decompress.c
# lib/zstd_internal.h
# lib/zstd_opt.h
# programs/bench.c

9 years agofixed -Werror,-Wconversion warning
inikep [Mon, 4 Apr 2016 13:43:45 +0000 (15:43 +0200)] 
fixed -Werror,-Wconversion warning

9 years agoMerge remote-tracking branch 'refs/remotes/Cyan4973/dev060' into dev
inikep [Mon, 4 Apr 2016 12:54:53 +0000 (14:54 +0200)] 
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev060' into dev

# Conflicts:
# lib/zstd_compress.c
# lib/zstd_static.h

9 years agofixed Visual conversion warnings
Yann Collet [Mon, 4 Apr 2016 12:53:16 +0000 (14:53 +0200)] 
fixed Visual conversion warnings

9 years agochanged price estimation for optimal parser
inikep [Mon, 4 Apr 2016 12:34:02 +0000 (14:34 +0200)] 
changed price estimation for optimal parser

9 years agochanged `contentLog` -> `chainLog`
Yann Collet [Mon, 4 Apr 2016 11:49:18 +0000 (13:49 +0200)] 
changed `contentLog` -> `chainLog`

9 years agoreduced memory usage of very hich compression levels in 32-bits mode
Yann Collet [Mon, 4 Apr 2016 11:28:28 +0000 (13:28 +0200)] 
reduced memory usage of very hich compression levels in 32-bits mode