Commit Graph

2399 Commits

Author SHA1 Message Date
Yann Collet
63fcb87b07 Merge pull request #497 from apjanke/zstdless-with-shebang
zstdless: add shebang and quote $@
2016-12-23 11:18:10 +01:00
Yann Collet
d9da24042a Merge pull request #498 from terrelln/zdict-deprecated
Fix failing test due to deprecation warning
2016-12-23 11:16:23 +01:00
Nick Terrell
1b5d4a7d53 ZDICT_finalizeDictionary() flipped comparison 2016-12-22 18:14:57 -08:00
Nick Terrell
bcbe77e994 ZDICT_finalizeDictionary() flipped comparison
`ZDICT_finalizeDictionary()` had a flipped comparison.
I also allowed `dictBufferCapacity == dictContentSize`.
It might be the case that the user wants to fill the dictionary
completely up, and then let zstd take exactly the space it needs
for the entropy tables.
2016-12-22 18:01:14 -08:00
Nick Terrell
78a0072d5a Fix failing test due to deprecation warning 2016-12-22 17:36:16 -08:00
Andrew Janke
fce374a100 zstdless: add shebang and quote $@ 2016-12-22 17:40:10 -05:00
Yann Collet
d76d1a9ef0 added ZDICT_finalizeDictionary() 2016-12-22 20:18:43 +01:00
Yann Collet
9ceb49e097 fixed zlib_wrapper conversion warnings 2016-12-22 15:26:33 +01:00
Yann Collet
7cedbd1936 fixed allmost target 2016-12-22 12:43:00 +01:00
Yann Collet
a86a09ea0d removed examples from standard C tests, since they contain some POSIX elements 2016-12-22 11:31:39 +01:00
Yann Collet
ba75e9d8c3 fix : zlib wrapper compile in gnu90 mode 2016-12-21 19:57:18 +01:00
Yann Collet
0819abe3c1 added ZSTD_createDDict_byReference() body 2016-12-21 19:25:15 +01:00
Yann Collet
4e5eea61a8 added ZSTD_createDDict_byReference() 2016-12-21 16:44:35 +01:00
Yann Collet
8333106b8a Merge branch 'dev' of github.com:facebook/zstd into dev 2016-12-21 16:44:24 +01:00
Yann Collet
0d7e84899f Merge pull request #489 from inikep/v112
improved detection of POSIX
2016-12-21 16:42:46 +01:00
Yann Collet
9518744025 Merge branch 'dev' of github.com:facebook/zstd into dev 2016-12-21 16:20:41 +01:00
Yann Collet
1f57c2ed32 added : ZSTD_createCDict_byReference() 2016-12-21 16:20:11 +01:00
Yann Collet
795d95309f Merge pull request #493 from inikep/fullbench
Fullbench extDict variant
2016-12-21 15:12:06 +01:00
Przemyslaw Skibinski
7a8a03c20d util.h: restore BSD license for Facebook Open-Source 2016-12-21 15:08:44 +01:00
Przemyslaw Skibinski
97a258d71d updated comments 2016-12-21 14:00:41 +01:00
Przemyslaw Skibinski
e679741b18 _CRT_SECURE_NO_WARNINGS moved to util.h 2016-12-21 13:47:11 +01:00
Przemyslaw Skibinski
2f6ccee6af platform.h: removed Compiler Options 2016-12-21 13:23:34 +01:00
Przemyslaw Skibinski
101df4f636 fixed Visual Studio compilation 2016-12-21 11:43:11 +01:00
Yann Collet
d2ccf180d3 Merge pull request #492 from inikep/dev11
test CMake on Windows
2016-12-21 11:23:04 +01:00
Yann Collet
0ffa03d8e3 Merge pull request #490 from jacquesg/cmake-fix
Fix cmake build (MSVC)
2016-12-21 11:22:28 +01:00
Przemyslaw Skibinski
a35b9448ac improved MinGW support 2016-12-21 11:18:45 +01:00
Yann Collet
8c1a042134 Merge pull request #494 from terrelln/msan-dict-load
Fix dictionary loading bug causing an MSAN failure
2016-12-21 09:33:48 +01:00
Przemyslaw Skibinski
5736db219e fix basic types redefinition 2016-12-21 09:26:00 +01:00
Przemyslaw Skibinski
20b089e53d simplified zstdcli.c 2016-12-21 09:19:15 +01:00
Przemyslaw Skibinski
16ae6563a2 executables use new util.h and platform.h 2016-12-21 09:06:14 +01:00
Przemyslaw Skibinski
ead350bdc0 improved util.h and platform.h 2016-12-21 09:04:59 +01:00
Nick Terrell
9d08597364 Add test for invalid offset rep codes 2016-12-20 11:13:45 -08:00
Nick Terrell
8157a4c3cc Fix dictionary loading bug causing an MSAN failure
Offset rep codes must be in the range `[1, dictSize)`.
Fix dictionary loading to reject `0` as a offset rep code.
2016-12-20 10:47:52 -08:00
Przemyslaw Skibinski
1c1db6b845 windres updated to v1.1.3 2016-12-20 11:21:26 +01:00
Przemyslaw Skibinski
4beb51f17c tests of ZSTD_compressContinue_extDict 2016-12-20 10:17:21 +01:00
Jacques Germishuys
85a150eab7 cmake msvc: resources are not required for the static library 2016-12-19 14:15:47 +02:00
Przemyslaw Skibinski
7ee2bd7840 updated appveyor.yml 2016-12-19 10:58:10 +01:00
Jacques Germishuys
95ff9a1ed7 cmake msvc: correct resources 2016-12-19 10:50:48 +02:00
Przemyslaw Skibinski
6914864f40 updated libzstd-dll.rc 2016-12-19 09:47:45 +01:00
Przemyslaw Skibinski
08e8d30d1b fixed CMake compilation with Visual Studio 2016-12-19 09:28:55 +01:00
Przemyslaw Skibinski
5477dd7ac9 Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11 2016-12-19 08:49:36 +01:00
Przemyslaw Skibinski
f8046b8e72 Merge remote-tracking branch 'refs/remotes/facebook/dev' into v112
# Conflicts:
#	appveyor.yml
2016-12-19 08:20:26 +01:00
Yann Collet
d564faa3c6 fix : ZSTD_initCStream_srcSize() correctly set srcSize in frame header 2016-12-18 21:39:15 +01:00
Yann Collet
1496c3dc47 Fix : size estimation when some samples are very large 2016-12-18 11:58:23 +01:00
Yann Collet
36321d2e32 updated NEWS 2016-12-17 19:37:55 +01:00
Yann Collet
31ff2a23be fix Travis long test list;
added zbufftest-dll
2016-12-17 19:10:10 +01:00
Yann Collet
d46ecb58a5 added dll compilation tests 2016-12-17 16:28:12 +01:00
Yann Collet
d1a53f0057 Merge pull request #488 from terrelln/zbuff-errors2
Export ZBUFF_isError() and ZBUFF_getErrorName()
2016-12-17 15:51:41 +01:00
Nick Terrell
61e62c014f Test that all API symbols are exported 2016-12-16 13:29:23 -08:00
Nick Terrell
8de46ab51a Export all API functions 2016-12-16 13:27:30 -08:00