Commit Graph

1127 Commits

Author SHA1 Message Date
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
inikep
9242816b56 fparamsPtr->windowLog==0 means that a frame is skippable 2016-06-01 18:47:04 +02:00
inikep
13f42d9085 VS2010 project: reverted zstdlib.rc 2016-06-01 14:44:31 +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
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
inikep
019b833306 VS project: dictBuilder added to include directories 2016-05-31 17:34:37 +02:00
inikep
8243b27f44 cmake project: removed WORKAROUND_OUTDATED_CODE_STYLE 2016-05-31 17:19:05 +02:00
Yann Collet
e62165bc15 Merge pull request #195 from inikep/dev070
updated CMakeLists.txt
2016-05-31 14:46:21 +02:00
inikep
5d500b60e7 updated CMakeLists.txt 2016-05-31 13:39:36 +02:00
inikep
5bee32e349 cmake project works with MSYS 2016-05-31 13:36:14 +02:00
inikep
f772bf54a5 support for skippable frames 2016-05-31 12:43:46 +02:00
inikep
d57b418214 updated appveyor.yml 2016-05-31 11:46:16 +02:00
Yann Collet
e3f4e6cbda Updated news 2016-05-31 10:12:04 +02:00
Yann Collet
ab43c50224 Merge branch 'dev070' of github.com:Cyan4973/zstd into dev070 2016-05-31 08:56:38 +02:00
Yann Collet
6ae270d772 Merge pull request #194 from ot/dev070
Expose function to add entropy tables to pre-built dictionary.
2016-05-31 08:56:22 +02:00
Giuseppe Ottaviano
370b751e24 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`.
2016-05-30 19:50:09 -07:00
Yann Collet
6fca9e7545 Changed : max dictionary file size increased to 8 MB 2016-05-31 02:40:42 +02:00
Yann Collet
6381e99fb2 Added : ability to create compressed frames without dictID 2016-05-31 02:29:45 +02:00
Yann Collet
b81cbbade1 fixed minor conversion warning 2016-05-30 22:29:45 +02:00
Yann Collet
290aaa7521 Added : ability to manually select the dictionary ID of a newly created dictionary 2016-05-30 21:18:52 +02:00
Yann Collet
815580a538 added cmake --version to check cmake version on Travis 2016-05-30 18:57:39 +02:00
Yann Collet
118bfc4ccb fixed cmaketest 2016-05-30 18:50:28 +02:00
cyan
b880631aed Fixed visual projects
Signed-off-by: Yann Collet <yann.collet.73@gmail.com>
2016-05-30 18:28:29 +02:00
Yann Collet
30009521d7 fuzzer tests dictBuilder.
Added : ability to not store dictID during compression; decompression doesn't check dictID then
2016-05-30 16:17:33 +02:00
Yann Collet
d2858e93cb minor refactoring 2016-05-30 15:11:17 +02:00
Yann Collet
829dc6612a Merge branch 'dev' into dev070 2016-05-30 14:06:44 +02:00
Yann Collet
dd97e241a8 Updated NEWS with @inikep's work 2016-05-30 14:05:44 +02:00
inikep
1dcb2ff23f improved scripts compatibility 2016-05-30 11:33:52 +02:00
inikep
957d678031 update playTests.sh perimissions 2016-05-30 10:23:52 +02:00
inikep
1981d5a730 Travis tests for PowerPC and OS X 2016-05-30 10:18:56 +02:00
inikep
93fc13ebc8 playTests.sh working with Linux, Windows, OS X 2016-05-30 10:17:55 +02:00
Yann Collet
c0a9bf3c2e minor code refactoring 2016-05-30 04:48:32 +02:00
Yann Collet
954e2bc48f added fuzzer test for ZSTD_compressBegin_advanced() 2016-05-30 01:42:05 +02:00
Yann Collet
7d64cb375c commented versionsTest, which won't succeed while legacy 0.6 is missing 2016-05-30 01:12:13 +02:00
Yann Collet
33341de7d7 fixed fuzzer dictionary test 2016-05-29 23:09:51 +02:00
Yann Collet
fcf2087a15 restored zstdcli.c 2016-05-29 05:16:05 +02:00