]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
9 years agozlibWrapper: compress uses ZWRAP_DEFAULT_CLEVEL 198/head
inikep [Fri, 3 Jun 2016 17:44:03 +0000 (19:44 +0200)] 
zlibWrapper: compress uses ZWRAP_DEFAULT_CLEVEL

9 years agozlibWrapper: improved error handling
inikep [Fri, 3 Jun 2016 15:39:31 +0000 (17:39 +0200)] 
zlibWrapper: improved error handling

9 years agofixed: deallocation of structures in case of error in ZBUFF_createCCtx and ZBUFF_crea...
inikep [Fri, 3 Jun 2016 14:36:50 +0000 (16:36 +0200)] 
fixed: deallocation of structures in case of error in ZBUFF_createCCtx and ZBUFF_createDCtx

9 years agozlibWrapper: ZWRAP_createDCtx and ZWRAP_freeDCtx use custom memory allocation functions
inikep [Fri, 3 Jun 2016 14:31:57 +0000 (16:31 +0200)] 
zlibWrapper: ZWRAP_createDCtx and ZWRAP_freeDCtx use custom memory allocation functions

9 years agozlibWrapper: ZWRAP_createCCtx and ZWRAP_freeCCtx use custom memory allocation functions
inikep [Fri, 3 Jun 2016 12:53:51 +0000 (14:53 +0200)] 
zlibWrapper: ZWRAP_createCCtx and ZWRAP_freeCCtx use custom memory allocation functions

9 years agodefaultCustomNULL replaced with defaultCustomMem
inikep [Fri, 3 Jun 2016 11:28:20 +0000 (13:28 +0200)] 
defaultCustomNULL replaced with defaultCustomMem

9 years agoremoved calloc calls from lib/
inikep [Fri, 3 Jun 2016 11:23:04 +0000 (13:23 +0200)] 
removed calloc calls from lib/

9 years agoadded defaultCustomNULL
inikep [Fri, 3 Jun 2016 10:56:56 +0000 (12:56 +0200)] 
added defaultCustomNULL

9 years agoTravis cmaketest will also run "make install" and "make uninstall"
inikep [Fri, 3 Jun 2016 09:40:15 +0000 (11:40 +0200)] 
Travis cmaketest will also run "make install" and "make uninstall"

9 years agocmake project: added "make clean-all"
inikep [Fri, 3 Jun 2016 08:24:00 +0000 (10:24 +0200)] 
cmake project: added "make clean-all"

9 years agocmake project: fixed "make install"
inikep [Fri, 3 Jun 2016 08:11:26 +0000 (10:11 +0200)] 
cmake project: fixed "make install"

9 years agoVS projects: remove duplicated xxhash.c and xxhash.h
inikep [Thu, 2 Jun 2016 20:24:29 +0000 (22:24 +0200)] 
VS projects: remove duplicated xxhash.c and xxhash.h

9 years agozlibWrapper: added gcc flag -Wdeclaration-after-statement
inikep [Thu, 2 Jun 2016 20:15:09 +0000 (22:15 +0200)] 
zlibWrapper: added gcc flag -Wdeclaration-after-statement

9 years agoMerge remote-tracking branch 'refs/remotes/Cyan4973/dev070' into dev070
inikep [Thu, 2 Jun 2016 20:09:09 +0000 (22:09 +0200)] 
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev070' into dev070

9 years agozlibWrapper: support for stricter gcc warnings
inikep [Thu, 2 Jun 2016 16:40:41 +0000 (18:40 +0200)] 
zlibWrapper: support for stricter gcc warnings

9 years agoZWRAP_allocFunction and ZWRAP_freeFunction are static
inikep [Thu, 2 Jun 2016 16:24:07 +0000 (18:24 +0200)] 
ZWRAP_allocFunction and ZWRAP_freeFunction are static

9 years agoAdded `-Wdeclaration-after-statement` compilation flag
Yann Collet [Thu, 2 Jun 2016 15:56:00 +0000 (17:56 +0200)] 
Added `-Wdeclaration-after-statement` compilation flag

9 years agoChanged command name to `--check` , `-C`, following `xz` convention
Yann Collet [Thu, 2 Jun 2016 15:05:50 +0000 (17:05 +0200)] 
Changed command name to `--check` , `-C`, following `xz` convention

9 years agozlibWrapper: added support for custom memory allocation functions
inikep [Thu, 2 Jun 2016 14:52:36 +0000 (16:52 +0200)] 
zlibWrapper: added support for custom memory allocation functions

9 years agodefault custom allocation functions moved to zstd_internal.h
inikep [Thu, 2 Jun 2016 13:11:39 +0000 (15:11 +0200)] 
default custom allocation functions moved to zstd_internal.h

9 years agoopaque parameter for custom memory allocation functions
inikep [Thu, 2 Jun 2016 11:04:18 +0000 (13:04 +0200)] 
opaque parameter for custom memory allocation functions

9 years agozlibWrapper: fixed memory deallocation bug with zstd decompression
inikep [Thu, 2 Jun 2016 10:00:32 +0000 (12:00 +0200)] 
zlibWrapper: fixed memory deallocation bug with zstd decompression

9 years agozlibWrapper: support for zlib versions from 1.2.3 to 1.2.8
inikep [Thu, 2 Jun 2016 08:19:35 +0000 (10:19 +0200)] 
zlibWrapper: support for zlib versions from 1.2.3 to 1.2.8

9 years agochecksum generation can be selected from command line (`--checksum`)
Yann Collet [Wed, 1 Jun 2016 17:22:15 +0000 (19:22 +0200)] 
checksum generation can be selected from command line (`--checksum`)

9 years agoFixed paramgrill
Yann Collet [Wed, 1 Jun 2016 16:59:55 +0000 (18:59 +0200)] 
Fixed paramgrill

9 years agofparamsPtr->windowLog==0 means that a frame is skippable
inikep [Wed, 1 Jun 2016 16:47:04 +0000 (18:47 +0200)] 
fparamsPtr->windowLog==0 means that a frame is skippable

9 years agoChanged `ZSTD_adjustCParams()` prototype
Yann Collet [Wed, 1 Jun 2016 16:45:34 +0000 (18:45 +0200)] 
Changed `ZSTD_adjustCParams()` prototype
`ZSTD_adjustCParams()` is now automatically invoked at the end of `ZSTD_getCParams()`

9 years agoupgraded zbufftest to also test advanced frame parameters no/checksum no/dictID
Yann Collet [Wed, 1 Jun 2016 15:44:53 +0000 (17:44 +0200)] 
upgraded zbufftest to also test advanced frame parameters no/checksum no/dictID

9 years agoVS2010 project: reverted zstdlib.rc
inikep [Wed, 1 Jun 2016 12:44:31 +0000 (14:44 +0200)] 
VS2010 project: reverted zstdlib.rc

9 years agoMerge pull request #197 from inikep/dev070
Yann Collet [Wed, 1 Jun 2016 11:41:19 +0000 (13:41 +0200)] 
Merge pull request #197 from inikep/dev070

improved Travis tests, skippable frames

9 years agozlibWrapper: Z_DEFAULT_COMPRESSION is translated to ZWRAP_DEFAULT_CLEVEL for zstd 197/head
inikep [Wed, 1 Jun 2016 08:50:17 +0000 (10:50 +0200)] 
zlibWrapper: Z_DEFAULT_COMPRESSION is translated to ZWRAP_DEFAULT_CLEVEL for zstd

9 years agoVS projects: fixed xxhash dependency in fullbench
inikep [Wed, 1 Jun 2016 08:24:57 +0000 (10:24 +0200)] 
VS projects: fixed xxhash dependency in fullbench

9 years agozlibWrapped: removed dependency from ZSTD_FRAMEHEADERSIZE_MIN
inikep [Wed, 1 Jun 2016 08:15:25 +0000 (10:15 +0200)] 
zlibWrapped: removed dependency from ZSTD_FRAMEHEADERSIZE_MIN

9 years agofixed fullbench visual project
cyan [Wed, 1 Jun 2016 07:31:34 +0000 (09:31 +0200)] 
fixed fullbench visual project

9 years agoMerge remote-tracking branch 'refs/remotes/Cyan4973/dev070' into dev070
inikep [Wed, 1 Jun 2016 07:16:11 +0000 (09:16 +0200)] 
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev070' into dev070

# Conflicts:
# .gitignore
# lib/decompress/zstd_decompress.c
# programs/zbufftest.c

9 years agofixed zbufftest :
Yann Collet [Tue, 31 May 2016 22:44:36 +0000 (00:44 +0200)] 
fixed zbufftest :

9 years agodecompression validates frame content checksum
Yann Collet [Tue, 31 May 2016 22:18:28 +0000 (00:18 +0200)] 
decompression validates frame content checksum

9 years agoupdate playTests.sh permission
inikep [Tue, 31 May 2016 22:13:02 +0000 (00:13 +0200)] 
update playTests.sh permission

9 years agoMerge remote-tracking branch 'refs/remotes/origin/dev' into dev070
inikep [Tue, 31 May 2016 22:07:09 +0000 (00:07 +0200)] 
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev070

# Conflicts:
# .travis.yml
# Makefile
# lib/common/zstd_static.h
# programs/Makefile
# projects/VS2008/zstd/zstd.vcproj
# projects/VS2008/zstdlib/zstdlib.vcproj
# projects/cmake/lib/CMakeLists.txt
# projects/cmake/programs/CMakeLists.txt

9 years agoMerge branch 'dev070' of github.com:Cyan4973/zstd into dev070
Yann Collet [Tue, 31 May 2016 20:24:07 +0000 (22:24 +0200)] 
Merge branch 'dev070' of github.com:Cyan4973/zstd into dev070

9 years agoadded : frame content checksum
Yann Collet [Tue, 31 May 2016 16:13:56 +0000 (18:13 +0200)] 
added : frame content checksum

9 years agozbufftest.c: fixed g++ warning 196/head
inikep [Tue, 31 May 2016 18:21:43 +0000 (20:21 +0200)] 
zbufftest.c: fixed g++ warning

9 years agofixed skippable frame
inikep [Tue, 31 May 2016 17:36:51 +0000 (19:36 +0200)] 
fixed skippable frame

9 years agoVS project: dictBuilder added to include directories
inikep [Tue, 31 May 2016 15:34:37 +0000 (17:34 +0200)] 
VS project: dictBuilder added to include directories

9 years agocmake project: removed WORKAROUND_OUTDATED_CODE_STYLE
inikep [Tue, 31 May 2016 15:19:05 +0000 (17:19 +0200)] 
cmake project: removed WORKAROUND_OUTDATED_CODE_STYLE

9 years agoMerge pull request #195 from inikep/dev070
Yann Collet [Tue, 31 May 2016 12:46:21 +0000 (14:46 +0200)] 
Merge pull request #195 from inikep/dev070

updated CMakeLists.txt

9 years agoupdated CMakeLists.txt 195/head
inikep [Tue, 31 May 2016 11:39:36 +0000 (13:39 +0200)] 
updated CMakeLists.txt

9 years agocmake project works with MSYS
inikep [Tue, 31 May 2016 11:36:14 +0000 (13:36 +0200)] 
cmake project works with MSYS

9 years agosupport for skippable frames
inikep [Tue, 31 May 2016 10:43:46 +0000 (12:43 +0200)] 
support for skippable frames

9 years agoupdated appveyor.yml
inikep [Tue, 31 May 2016 09:46:16 +0000 (11:46 +0200)] 
updated appveyor.yml

9 years agoUpdated news
Yann Collet [Tue, 31 May 2016 08:12:04 +0000 (10:12 +0200)] 
Updated news

9 years agoMerge branch 'dev070' of github.com:Cyan4973/zstd into dev070
Yann Collet [Tue, 31 May 2016 06:56:38 +0000 (08:56 +0200)] 
Merge branch 'dev070' of github.com:Cyan4973/zstd into dev070

9 years agoMerge pull request #194 from ot/dev070
Yann Collet [Tue, 31 May 2016 06:56:22 +0000 (08:56 +0200)] 
Merge pull request #194 from ot/dev070

Expose function to add entropy tables to pre-built dictionary.

9 years agoExpose function to add entropy tables to pre-built dictionary. 194/head
Giuseppe Ottaviano [Tue, 31 May 2016 01:49:58 +0000 (18:49 -0700)] 
Expose function to add entropy tables to pre-built dictionary.

In some cases a custom dictionary building algorithm tailored for a specific
input can be more effective than the one produced by `ZDICT_trainFromBuffer`,
but with the current API it's not possible encode the entropy tables into the
custom-built dictionary.

This commit extracts the logic to add entropy tables to a dictionary from
`ZDICT_trainFromBuffer` and exposes it as a function
`ZDICT_addEntropyTablesFromBuffer`.

9 years agoChanged : max dictionary file size increased to 8 MB
Yann Collet [Tue, 31 May 2016 00:40:42 +0000 (02:40 +0200)] 
Changed : max dictionary file size increased to 8 MB

9 years agoAdded : ability to create compressed frames without dictID
Yann Collet [Tue, 31 May 2016 00:29:45 +0000 (02:29 +0200)] 
Added : ability to create compressed frames without dictID

9 years agofixed minor conversion warning
Yann Collet [Mon, 30 May 2016 20:29:45 +0000 (22:29 +0200)] 
fixed minor conversion warning

9 years agoAdded : ability to manually select the dictionary ID of a newly created dictionary
Yann Collet [Mon, 30 May 2016 19:18:52 +0000 (21:18 +0200)] 
Added : ability to manually select the dictionary ID of a newly created dictionary

9 years agoadded `cmake --version` to check cmake version on Travis
Yann Collet [Mon, 30 May 2016 16:57:39 +0000 (18:57 +0200)] 
added `cmake --version` to check cmake version on Travis

9 years agofixed cmaketest
Yann Collet [Mon, 30 May 2016 16:50:28 +0000 (18:50 +0200)] 
fixed cmaketest

9 years agoFixed visual projects
cyan [Mon, 30 May 2016 16:20:46 +0000 (18:20 +0200)] 
Fixed visual projects

Signed-off-by: Yann Collet <yann.collet.73@gmail.com>
9 years agofuzzer tests dictBuilder.
Yann Collet [Mon, 30 May 2016 14:17:33 +0000 (16:17 +0200)] 
fuzzer tests dictBuilder.
Added : ability to not store dictID during compression; decompression doesn't check dictID then

9 years agominor refactoring
Yann Collet [Mon, 30 May 2016 13:10:09 +0000 (15:10 +0200)] 
minor refactoring

9 years agoMerge branch 'dev' into dev070
Yann Collet [Mon, 30 May 2016 12:06:44 +0000 (14:06 +0200)] 
Merge branch 'dev' into dev070

9 years agoUpdated NEWS with @inikep's work
Yann Collet [Mon, 30 May 2016 12:05:44 +0000 (14:05 +0200)] 
Updated NEWS with @inikep's work

9 years agoimproved scripts compatibility
inikep [Mon, 30 May 2016 09:33:52 +0000 (11:33 +0200)] 
improved scripts compatibility

9 years agoupdate playTests.sh perimissions
inikep [Mon, 30 May 2016 08:23:52 +0000 (10:23 +0200)] 
update playTests.sh perimissions

9 years agoTravis tests for PowerPC and OS X
inikep [Mon, 30 May 2016 08:18:56 +0000 (10:18 +0200)] 
Travis tests for PowerPC and OS X

9 years agoplayTests.sh working with Linux, Windows, OS X
inikep [Mon, 30 May 2016 08:17:55 +0000 (10:17 +0200)] 
playTests.sh working with Linux, Windows, OS X

9 years agominor code refactoring
Yann Collet [Sun, 29 May 2016 23:56:08 +0000 (01:56 +0200)] 
minor code refactoring

9 years agoadded fuzzer test for `ZSTD_compressBegin_advanced()`
Yann Collet [Sun, 29 May 2016 23:42:05 +0000 (01:42 +0200)] 
added fuzzer test for `ZSTD_compressBegin_advanced()`

9 years agocommented versionsTest, which won't succeed while legacy 0.6 is missing
Yann Collet [Sun, 29 May 2016 23:12:13 +0000 (01:12 +0200)] 
commented versionsTest, which won't succeed while legacy 0.6 is missing

9 years agofixed fuzzer dictionary test
Yann Collet [Sun, 29 May 2016 21:09:51 +0000 (23:09 +0200)] 
fixed fuzzer dictionary test

9 years agorestored zstdcli.c
Yann Collet [Sun, 29 May 2016 03:16:05 +0000 (05:16 +0200)] 
restored zstdcli.c

9 years agoadded dictionary ID (incomplete)
Yann Collet [Sun, 29 May 2016 03:01:04 +0000 (05:01 +0200)] 
added dictionary ID (incomplete)

9 years agofixed cmake
Yann Collet [Sun, 29 May 2016 00:02:24 +0000 (02:02 +0200)] 
fixed cmake
fixed playTests

9 years agoSimplified list of `*.c` files
Yann Collet [Sat, 28 May 2016 23:39:19 +0000 (01:39 +0200)] 
Simplified list of `*.c` files

9 years agomoved xxhash to lib/common
Yann Collet [Sat, 28 May 2016 23:06:30 +0000 (01:06 +0200)] 
moved xxhash to lib/common

9 years agoMerge pull request #192 from Cyan4973/dev
Yann Collet [Sat, 28 May 2016 22:41:36 +0000 (00:41 +0200)] 
Merge pull request #192 from Cyan4973/dev

updated xxhash

9 years agofixed makefile error in clean target 192/head
Yann Collet [Sat, 28 May 2016 14:06:29 +0000 (16:06 +0200)] 
fixed makefile error in clean target

9 years agoAdded : utility `roundTripCrash`
Yann Collet [Sat, 28 May 2016 13:30:01 +0000 (15:30 +0200)] 
Added : utility `roundTripCrash`
which generates a crash (double-free) on detecting a round-trip corruption

9 years agoupdated xxhash to latest "dev" version
Yann Collet [Sat, 28 May 2016 11:34:07 +0000 (13:34 +0200)] 
updated xxhash to latest "dev" version

9 years ago#define z_const if not defined
inikep [Fri, 27 May 2016 10:33:19 +0000 (12:33 +0200)] 
#define z_const if not defined

9 years agoadded zlibwrapper test for Travis
inikep [Fri, 27 May 2016 09:56:15 +0000 (11:56 +0200)] 
added zlibwrapper test for Travis

9 years agoplayTests.sh updated to work better with /bin/sh
inikep [Fri, 27 May 2016 08:07:46 +0000 (10:07 +0200)] 
playTests.sh updated to work better with /bin/sh

9 years agoMerge branch 'dev' of github.com:Cyan4973/zstd into dev
Yann Collet [Wed, 25 May 2016 21:51:59 +0000 (23:51 +0200)] 
Merge branch 'dev' of github.com:Cyan4973/zstd into dev

9 years agoMerge pull request #191 from inikep/dev
Yann Collet [Wed, 25 May 2016 21:42:44 +0000 (23:42 +0200)] 
Merge pull request #191 from inikep/dev

AppVeyor tests

9 years agofixed Visual Studio warning 191/head
inikep [Wed, 25 May 2016 15:40:58 +0000 (17:40 +0200)] 
fixed Visual Studio warning

9 years agozstdcli: -r (operate recursively on directories) works with dictBuilder and compression
inikep [Wed, 25 May 2016 13:30:55 +0000 (15:30 +0200)] 
zstdcli: -r (operate recursively on directories) works with dictBuilder and compression

9 years agousage of fileno() only on POSIX and Windows
inikep [Wed, 25 May 2016 10:41:41 +0000 (12:41 +0200)] 
usage of fileno() only on POSIX and Windows

9 years agoZBUFF_createCCtx_advanced moved to zbuff_static.h
inikep [Wed, 25 May 2016 09:31:16 +0000 (11:31 +0200)] 
ZBUFF_createCCtx_advanced moved to zbuff_static.h

9 years agominor linter modifications
Yann Collet [Wed, 25 May 2016 08:58:11 +0000 (10:58 +0200)] 
minor linter modifications

9 years agoplayTests.sh joined with playTestsMSYS.sh
inikep [Wed, 25 May 2016 08:50:28 +0000 (10:50 +0200)] 
playTests.sh joined with playTestsMSYS.sh

9 years agocleaner versionsTest script and output
Yann Collet [Wed, 25 May 2016 08:12:39 +0000 (10:12 +0200)] 
cleaner versionsTest script and output

9 years agoplayTests updated with Pass-Through mode
inikep [Tue, 24 May 2016 16:22:38 +0000 (18:22 +0200)] 
playTests updated with Pass-Through mode

9 years agoCMake project moved to projects
inikep [Tue, 24 May 2016 15:44:14 +0000 (17:44 +0200)] 
CMake project moved to projects

9 years agoMerge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev
inikep [Tue, 24 May 2016 15:15:04 +0000 (17:15 +0200)] 
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev

9 years agoMerge remote-tracking branch 'refs/remotes/origin/playTests' into dev
inikep [Tue, 24 May 2016 13:45:29 +0000 (15:45 +0200)] 
Merge remote-tracking branch 'refs/remotes/origin/playTests' into dev

9 years agoMerge remote-tracking branch 'refs/remotes/origin/playTests' into dev
inikep [Tue, 24 May 2016 13:38:52 +0000 (15:38 +0200)] 
Merge remote-tracking branch 'refs/remotes/origin/playTests' into dev

9 years agozstd_stats.h included only in debug mode
inikep [Tue, 24 May 2016 13:36:37 +0000 (15:36 +0200)] 
zstd_stats.h included only in debug mode