Yann Collet
ecee9f2ef8
fixed conversion warnings
2017-03-26 00:59:14 -07:00
Yann Collet
0246d5c531
Merge pull request #630 from facebook/advancedCliCommands
...
changed advanced commands --maxdict= and --dictID=
2017-03-26 00:13:35 -07:00
Yann Collet
3a2ff15e90
Merge pull request #629 from iburinoc/exematch
...
Ignore extension in command name matching
2017-03-24 20:41:56 -07:00
Yann Collet
4c41d37fcc
changed test for new syntax
...
--dictID= and --maxdict=
2017-03-24 18:36:56 -07:00
Yann Collet
d41f707e88
minor improvement : remove duplicates with 1 char prefix difference
2017-03-24 17:56:45 -07:00
Yann Collet
b364caf455
Merge pull request #628 from facebook/dictBuilder_limits
...
Ensure all limits derived from same constants
2017-03-24 17:54:42 -07:00
Sean Purcell
ef30af843f
Ignore extension in command name matching
2017-03-24 17:06:09 -07:00
Yann Collet
8ff69fd1d3
Merge pull request #627 from iburinoc/appveyor
...
Statically build and link zlib on appveyor
2017-03-24 16:06:29 -07:00
Yann Collet
2238870eb6
Merge pull request #625 from facebook/loadCDict
...
limited CDict acceptation criteria to be the same as DDict
2017-03-24 16:06:20 -07:00
Yann Collet
96aa3019b2
changed advanced commands --maxdict= and --dictID=
...
now works with the `=` variant, which is the recommended one.
Old variant `--dictID #` still works, for compatibility with existing scripts.
Long term objective is to remove the old variant..
2017-03-24 16:04:29 -07:00
Yann Collet
9da3b215ec
Ensure all limits derived from same constants
...
Now uses ZDICT_DICTSIZE_MIN and ZDICT_CONTENTSIZE_MIN
from zdict.h.
Also : reduced values to 256 and 128 respectively
2017-03-24 15:02:09 -07:00
Yann Collet
ebe9963cf6
Merge pull request #626 from facebook/stricterDictBuilder
...
dictBuilder fails to create dictionary on certain input
2017-03-24 14:27:28 -07:00
Sean Purcell
8d2c63980e
Statically build and link zlib on appveyor
2017-03-24 13:21:24 -07:00
Yann Collet
16a0b10781
fixed ZSTD_loadZstdDictionary()
...
forgot to add the dictionary content
(tests were not failing, just compressing less).
Also : added size protections when adding dict content
since hc/bt table filling would fail if size < 8
2017-03-24 12:46:46 -07:00
Yann Collet
23776ce290
fixed ERROR_GENERIC on dstSize_tooSmall
...
required by users which depends on this error code to size dest buffer
2017-03-23 17:59:50 -07:00
Yann Collet
f332ece468
dictBuilder fails to create dictionary on certain input
...
Properly expressed with an error code (see zstd_errors.h)
and a cli return code != 0
2017-03-23 16:24:02 -07:00
Yann Collet
bea78e8fc2
limited CDict acceptation criteria to be the same as DDict
2017-03-23 15:46:06 -07:00
Yann Collet
5caaa15968
Merge pull request #623 from iburinoc/educational
...
Educational decoder polish updates
2017-03-23 14:52:50 -07:00
Yann Collet
4452bbe924
Merge pull request #622 from iburinoc/symlink
...
Match gzip behaviour on symbolic links and change g_displayLevel to int
2017-03-23 14:52:09 -07:00
Sean Purcell
7f67f8dce6
Educational decoder polish updates
2017-03-23 14:33:38 -07:00
Sean Purcell
793e7bb6dd
Add symbolic link checking to pzstd
2017-03-23 12:41:51 -07:00
Sean Purcell
dee08caabb
Fix displayLevel redefinition issues
2017-03-23 12:09:35 -07:00
Sean Purcell
680e4e0953
Ignore symbolic links unless --force specified
2017-03-23 11:52:09 -07:00
Sean Purcell
042ba122ae
Change g_displayLevel to int and fix DISPLAYUPDATE flush
2017-03-23 11:21:59 -07:00
Yann Collet
27983507e5
Merge pull request #621 from terrelln/zlib-flags
...
Add $(FLAGS) when testing for zlib/lzma support.
2017-03-22 15:33:29 -07:00
Nick Terrell
dfc75f74da
Add $(EXT) to binary to fix zlib detection for some MinGW versions
2017-03-22 13:24:52 -07:00
Nick Terrell
741e3e8314
Add $(FLAGS) when testing for zlib/lzma support.
...
* If zlib/lzma isn't in the usual spot, it won't be used,
even if `$CFLAGS` and `$LDFLAGS` add the location it is in.
* Update the test code snippets to not trigger any warnings.
2017-03-22 12:33:08 -07:00
Yann Collet
f09acd2963
Merge pull request #619 from iburinoc/educational
...
Educational decoder: Clarify IO_rewind_bits
2017-03-22 10:28:52 -07:00
Yann Collet
8922574cc8
Merge pull request #614 from iburinoc/appveyor
...
Update appveyor.yml to have short and long tests
2017-03-22 10:28:33 -07:00
Yann Collet
35fc66f257
updated .gitignore for new cmake script
2017-03-21 17:52:42 -07:00
Sean Purcell
9f048cb74a
Educational decoder: Some more minor clarity fixes
2017-03-21 17:01:51 -07:00
Sean Purcell
ea14b73795
Educational decoder: Clarify IO_rewind_bits
2017-03-21 15:05:40 -07:00
Yann Collet
f643e050dc
Merge pull request #618 from terrelln/zero-buffers
...
Zero pointers after freeing
2017-03-21 14:28:13 -07:00
Sean Purcell
4cfed3c526
Attempt to fix FUZZERTEST variable set and remove appveyor_old.yml
2017-03-21 14:21:00 -07:00
Yann Collet
c9dcdeacbc
Merge pull request #616 from iburinoc/cmake
...
CMake: Fix version parsing and allow Unix flags on Clang
2017-03-21 14:01:42 -07:00
Sean Purcell
f7a78609e7
CMake: Fix version parsing and allow Unix flags on Clang
2017-03-21 13:44:33 -07:00
Nick Terrell
eaf69b07f0
Zero pointers after freeing
2017-03-21 13:20:59 -07:00
Yann Collet
f3dfcdccd1
bump version number
2017-03-21 12:18:28 -07:00
Yann Collet
e498ed5f16
Merge pull request #611 from Majlen/cmake-improvement
...
Further cmake improvement
2017-03-21 11:23:27 -07:00
Sean Purcell
ad92b55448
Fix msvc fuzzer test runtime
2017-03-21 11:19:48 -07:00
Sean Purcell
1b418bd3da
Merge remote-tracking branch 'origin/dev' into appveyor
2017-03-21 10:59:54 -07:00
Milan Ševčík
5b3a9cbed2
Remove multithreading support by default on non UNIX platforms
2017-03-21 13:00:05 +01:00
Milan Ševčík
a2286a333c
Install zstdcat and unzstd symlinks by cmake
2017-03-21 11:11:53 +01:00
Milan Ševčík
0d09c778a5
Add build of new cmake branches to Makefile
2017-03-21 11:11:53 +01:00
Milan Ševčík
01d7ea27e9
Added options for building programs, static library and tests
2017-03-21 11:11:53 +01:00
Milan Ševčík
16f771dfb1
Install forgotten zstdmt tool and zstd.1 man page
2017-03-21 11:11:53 +01:00
Milan Ševčík
f0076adccb
Add_extra_compilation_flags macro needs to run before adding sources
...
Also adding comments in the top-level CMakeLists.txt
2017-03-21 11:11:53 +01:00
Milan Ševčík
8d562311c1
Test new cmake stuff
2017-03-21 11:11:53 +01:00
Milan Ševčík
b98b6fcf41
Check for pthreads library
2017-03-21 11:11:45 +01:00
Milan Ševčík
0d3daffa2f
Much easier way of installing libraries with correct names
2017-03-21 10:43:11 +01:00