Commit Graph

1158 Commits

Author SHA1 Message Date
Yann Collet
f4f5affdf7 restore ZBUFF full-block-size, for better performance on small input 2016-06-03 23:09:28 +02:00
Yann Collet
a49c1f1782 Merge branch 'dev070' of github.com:Cyan4973/zstd into dev070
Conflicts:
	lib/decompress/zstd_decompress.c
2016-06-03 23:08:04 +02:00
Yann Collet
ab7b6f1ece Merge pull request #198 from inikep/dev070
Dev070
2016-06-03 21:37:49 +02:00
inikep
de2c92f6e0 zlibWrapper: compress uses ZWRAP_DEFAULT_CLEVEL 2016-06-03 19:44:03 +02:00
inikep
4af2c9de0c zlibWrapper: improved error handling 2016-06-03 17:39:31 +02:00
Yann Collet
a5ad5279a5 minor decoder code refactoring 2016-06-03 16:38:27 +02:00
inikep
3640396b1a fixed: deallocation of structures in case of error in ZBUFF_createCCtx and ZBUFF_createDCtx 2016-06-03 16:36:50 +02:00
inikep
f040be9850 zlibWrapper: ZWRAP_createDCtx and ZWRAP_freeDCtx use custom memory allocation functions 2016-06-03 16:31:57 +02:00
Yann Collet
fe48775868 minor decoder code refactoring 2016-06-03 15:41:51 +02:00
Yann Collet
441f5d61fd dictionary size objective can be described in Megabytes 2016-06-03 15:15:47 +02:00
Yann Collet
1dd7961557 minor code refactoring 2016-06-03 15:14:09 +02:00
inikep
2a74609b90 zlibWrapper: ZWRAP_createCCtx and ZWRAP_freeCCtx use custom memory allocation functions 2016-06-03 14:53:51 +02:00
inikep
3763c77f6b defaultCustomNULL replaced with defaultCustomMem 2016-06-03 13:28:20 +02:00
inikep
36fac00149 removed calloc calls from lib/ 2016-06-03 13:23:04 +02:00
inikep
db2f540414 added defaultCustomNULL 2016-06-03 12:56:56 +02:00
inikep
c7f008b069 Travis cmaketest will also run "make install" and "make uninstall" 2016-06-03 11:40:15 +02:00
inikep
d36ee9b845 cmake project: added "make clean-all" 2016-06-03 10:24:00 +02:00
inikep
764deea5f8 cmake project: fixed "make install" 2016-06-03 10:11:26 +02:00
inikep
aa224c0205 VS projects: remove duplicated xxhash.c and xxhash.h 2016-06-02 22:24:29 +02:00
inikep
ff2d18928d zlibWrapper: added gcc flag -Wdeclaration-after-statement 2016-06-02 22:15:09 +02:00
inikep
b74a468fad Merge remote-tracking branch 'refs/remotes/Cyan4973/dev070' into dev070 2016-06-02 22:09:09 +02:00
inikep
614fddee6a zlibWrapper: support for stricter gcc warnings 2016-06-02 18:40:41 +02:00
inikep
7cab86f647 ZWRAP_allocFunction and ZWRAP_freeFunction are static 2016-06-02 18:24:07 +02:00
Yann Collet
923938edde Added -Wdeclaration-after-statement compilation flag 2016-06-02 17:56:00 +02:00
Yann Collet
2c4acdabdc Changed command name to --check , -C, following xz convention 2016-06-02 17:05:50 +02:00
inikep
ff9114aee3 zlibWrapper: added support for custom memory allocation functions 2016-06-02 16:52:36 +02:00
inikep
c4807f4d2f default custom allocation functions moved to zstd_internal.h 2016-06-02 15:11:39 +02:00
inikep
2866951558 opaque parameter for custom memory allocation functions 2016-06-02 13:04:18 +02:00
inikep
e02bf99fa4 zlibWrapper: fixed memory deallocation bug with zstd decompression 2016-06-02 12:00:32 +02:00
inikep
bf25d7ac57 zlibWrapper: support for zlib versions from 1.2.3 to 1.2.8 2016-06-02 10:19:35 +02:00
Yann Collet
87cfbe3e5f checksum generation can be selected from command line (--checksum) 2016-06-01 19:22:15 +02:00
Yann Collet
eb70043e59 Fixed paramgrill 2016-06-01 18:59:55 +02:00
inikep
9242816b56 fparamsPtr->windowLog==0 means that a frame is skippable 2016-06-01 18:47:04 +02:00
Yann Collet
70d1301d6e Changed ZSTD_adjustCParams() prototype
`ZSTD_adjustCParams()` is now automatically invoked at the end of `ZSTD_getCParams()`
2016-06-01 18:45:34 +02:00
Yann Collet
83c3f4427c upgraded zbufftest to also test advanced frame parameters no/checksum no/dictID 2016-06-01 17:44:53 +02:00
inikep
13f42d9085 VS2010 project: reverted zstdlib.rc 2016-06-01 14:44:31 +02:00
Yann Collet
38a0215b53 Merge pull request #197 from inikep/dev070
improved Travis tests, skippable frames
2016-06-01 13:41:19 +02:00
inikep
8b452453ce zlibWrapper: Z_DEFAULT_COMPRESSION is translated to ZWRAP_DEFAULT_CLEVEL for zstd 2016-06-01 10:50:17 +02:00
inikep
b37b79e868 VS projects: fixed xxhash dependency in fullbench 2016-06-01 10:24:57 +02:00
inikep
043b3c01bb zlibWrapped: removed dependency from ZSTD_FRAMEHEADERSIZE_MIN 2016-06-01 10:15:25 +02:00
cyan
c30d8d50da fixed fullbench visual project 2016-06-01 09:31:34 +02:00
inikep
5c2771710d Merge remote-tracking branch 'refs/remotes/Cyan4973/dev070' into dev070
# Conflicts:
#	.gitignore
#	lib/decompress/zstd_decompress.c
#	programs/zbufftest.c
2016-06-01 09:16:11 +02:00
Yann Collet
202844ebd0 fixed zbufftest : 2016-06-01 00:44:36 +02:00
Yann Collet
8e3a36a6db decompression validates frame content checksum 2016-06-01 00:18:28 +02:00
inikep
00fa1ae0c0 update playTests.sh permission 2016-06-01 00:13:02 +02:00
inikep
a6b942018d 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
2016-06-01 00:07:09 +02:00
Yann Collet
c4f739bef4 Merge branch 'dev070' of github.com:Cyan4973/zstd into dev070 2016-05-31 22:24:07 +02:00
Yann Collet
f2a3b6e7b4 added : frame content checksum 2016-05-31 22:23:45 +02:00
inikep
cf6edcd0a1 zbufftest.c: fixed g++ warning 2016-05-31 20:21:43 +02:00
inikep
43aa9fe8b3 fixed skippable frame 2016-05-31 19:36:51 +02:00