Commit Graph

227 Commits (abc02e08ff5659f7d09854371d0d95b0991ecbd1)

Author SHA1 Message Date
inikep c629776b31 make clean will remove decompress/zstd_decompress.o 2016-08-19 10:45:59 +02:00
inikep 2868d565e4 test-related files moved to tests/ 2016-08-18 13:18:11 +02:00
inikep 79b4062c81 fixed paramgrill dependency 2016-08-17 16:29:57 +02:00
inikep d0c270fe85 improved programs\Makefile 2016-08-17 15:59:50 +02:00
Yann Collet 6263ba5451 fileio uses new streaming API 2016-08-16 15:11:28 +02:00
Yann Collet d7883a2c0e added zstreamtest 2016-08-16 15:11:28 +02:00
Yann Collet 666398e7ed added : xxhash namespace enforced from xxhash.h.
added : xxhash namespace test.
removed : -DXXH_NAMESPACE
2016-08-10 08:16:51 +02:00
Yann Collet 2a2ba3691c Merge pull request #266 from jrmarino/master
Enable build on FreeBSD ports (includes DragonFly BSD) [dev branch]
2016-07-31 02:21:26 +02:00
jrmarino 0d07ec0c0c Enable build on FreeBSD ports (includes DragonFly BSD)
Zstd has been introduced to FreeBSD ports
(http://www.freshports.org/archivers/zstd/) which DragonFly BSD also
uses.  FreeBSD and DragonFly use the install targets (albeit modified in
some cases) so they must be added to the associated Makefile filters.
2016-07-30 19:11:15 -05:00
Yann Collet e5a817a2d8 better MOREFLAGS 2016-07-24 17:46:05 +02:00
Yann Collet b752298d1d fixed 32-bits compilation 2016-07-22 14:37:09 +02:00
Yann Collet 32faf6c8e7 fixed conversion warnings 2016-07-22 14:37:09 +02:00
Yann Collet 5e45a5fbb3 force loop-align to 32 for zstd_decompress 2016-07-22 14:37:09 +02:00
Yann Collet 5288ac0cb7 changed filed order 2016-07-22 14:37:09 +02:00
Yann Collet 85f3919960 moved `zstd.h` to `/lib` 2016-07-17 20:42:21 +02:00
Juan Francisco Cantero Hurtado 06ad6f1911 Add OpenBSD to the Makefile test. 2016-07-03 22:16:00 +02:00
Yann Collet 923938edde Added `-Wdeclaration-after-statement` compilation flag 2016-06-02 17:56:00 +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
inikep 5bee32e349 cmake project works with MSYS 2016-05-31 13:36:14 +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
inikep 93fc13ebc8 playTests.sh working with Linux, Windows, OS X 2016-05-30 10:17:55 +02:00
Yann Collet f51e0660f4 Simplified list of `*.c` files 2016-05-29 01:39:19 +02:00
Yann Collet 0c5e8b17ad moved xxhash to lib/common 2016-05-29 01:06:30 +02:00
Yann Collet ab2ee08042 fixed makefile error in clean target 2016-05-28 16:06:29 +02:00
Yann Collet fb0ba59c41 Added : utility `roundTripCrash`
which generates a crash (double-free) on detecting a round-trip corruption
2016-05-28 15:30:01 +02:00
inikep 5d589562fe playTests.sh joined with playTestsMSYS.sh 2016-05-25 10:50:28 +02:00
inikep 02c244bf78 Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev 2016-05-24 17:15:04 +02:00
Yann Collet de4d4da52d changed version to 0.6.2
removed make-controlled version (now used from zstd.h)
removed std=c99 by default
added : c90/gno90/c99/gnu99/c11 tests
2016-05-20 12:20:12 +02:00
inikep f33021552b added playTestsMSYS.sh 2016-05-18 16:38:36 +02:00
inikep 63ecd747de added common/entropy_common.c 2016-05-13 11:27:56 +02:00
inikep aaaf923a17 common/util.h moved to programs/util.h
decompress/fse_decompress.c moved to common/
2016-05-09 16:19:25 +02:00
inikep f066816998 fix for g++ compilation 2016-04-22 18:54:05 +02:00
inikep db3964382c introduced ZSTD_NODECOMPRESS to link only compressor 2016-04-22 18:22:30 +02:00
inikep a1febea01d Error functions moved to common/zstd_common.c 2016-04-22 17:14:25 +02:00
inikep 3c7c3527d0 introduced ZSTD_NOCOMPRESS to generate decompressor only 2016-04-22 13:59:05 +02:00
inikep 23a0889301 separation of lib/ into common/, compress/, decompress/, dictBuilder/, legacy/ 2016-04-22 12:43:18 +02:00
Yann Collet 029267ab3f Integrated Legacy v0.5.x decoder (provided by @inikep) 2016-04-09 09:42:27 +02:00
inikep 64d7bcb0dc only repcode 0 for lazy, lazy2 and btlazy2 strategies 2016-04-07 19:14:09 +02:00
inikep e47f33f980 reordered code 2016-04-06 20:58:00 +02:00
inikep 5ce00aee37 ZSTD_compressBlock_opt_extDict_generic in progress 2016-04-05 21:03:43 +02:00
inikep 33ad251236 removed clock_gettime (not portable) 2016-03-30 09:55:37 +02:00
inikep 4611d11fea added -lrt required by clock_gettime 2016-03-29 15:52:38 +02:00
Yann Collet 5a854af006 Fixed #153, reported by @thatsafunnyname 2016-03-22 00:22:50 +01:00
Yann Collet 34b20ec2c6 fullbench can measure speed of zbuff 2016-03-15 20:47:23 +01:00
Yann Collet 728c8fc995 longer pgo tests 2016-02-17 17:04:12 +01:00
Yann Collet 2673076b3d fix zstd-frugal 2016-02-17 13:40:11 +01:00
Yann Collet 62ae5fb0d2 zstd_buffered => zbuff 2016-02-12 18:59:11 +01:00
Yann Collet f4c9d75370 dictBuilder => zdict 2016-02-12 18:45:02 +01:00
Yann Collet 492a9bb88e fixed Valgrind tests 2016-02-12 03:52:37 +01:00
Yann Collet c8da2c9f8f updated tests 2016-02-12 02:56:27 +01:00
Yann Collet 71eafdd23f Integrated dictionary builder into zstd cli 2016-02-12 02:31:57 +01:00
Yann Collet 521b0108dd Added PowerPC tests with Qemu user more
Shortened tests for emulated platforms
removed date from CLI for reproducibility
2016-02-08 01:27:59 +01:00
Yann Collet 648959a9ed new : ARM tests with Qemu user-mode 2016-02-07 23:58:32 +01:00
Yann Collet 464fa996e9 added v0.4 legacy support 2016-02-03 01:09:46 +01:00
Yann Collet 977f1f3600 modified error system, following suggestions by @nemequ 2016-01-21 15:38:47 +01:00
Yann Collet 1fdd82312d Fixed : strict aliasing warnings in legacy decoders 2016-01-06 12:35:42 +01:00
Yann Collet 722504c2a0 update version to 0.4.6 2015-12-31 18:32:15 +01:00
Yann Collet 5f9f98768a Makefile version automatically follows zstd.h 2015-12-30 19:52:08 +01:00
Yann Collet deb078b9b1 added : -m : decompress multiple files 2015-12-17 20:30:14 +01:00
Yann Collet f6f3d7526a external dictionary capability added to command line 2015-12-13 13:35:21 +01:00
Yann Collet 6c3e2e7855 fixed : high compression modes for Windows 32 bits 2015-12-11 10:44:07 +01:00
Konstantin Tokarev 0b570b59d2 playTests.sh: Added --test-large-data switch. 2015-12-08 18:47:43 +03:00
Konstantin Tokarev d66db2ff04 Move tests from zstd-playTests target to separate shell script.
This patch allows me to run tests on MIPS board which lacks make.
2015-12-08 18:11:10 +03:00
Yann Collet e47c4e5f8e strengthened bufferless streaming decompression 2015-12-05 09:23:53 +01:00
Yann Collet 1c2ddba469 use time limited fuzzer tests in CI 2015-12-04 17:45:35 +01:00
Yann Collet 28e7cefea9 new zstd-noBench & zstd-frugal builds 2015-12-03 12:11:30 +01:00
Yann Collet 6a2f03295c update version to 0.4.2 2015-12-02 15:05:22 +01:00
Yann Collet c620b48489 revert install to normal zstd due to travis limitation (likely gcc 4.6) 2015-12-01 01:56:02 +01:00
Yann Collet 0338635e93 pgo 2015-12-01 01:28:32 +01:00
Yann Collet aead1bf86b changed to ZSTD_LEGACY_SUPPORT=0, as suggested within #80 2015-11-30 14:18:47 +01:00
Yann Collet a85a8dd94a Fixed #80 (reported by @luben)
Added : tests for ZSTD_LEGACY=disable build mode
extended ZSTD_LEGACY=disable to dll build
2015-11-30 11:53:11 +01:00
Yann Collet 00fd7a2110 protect 32-bits mode 2015-11-28 16:03:22 +01:00
Yann Collet b096cbf0d2 can build without legacy support using ZSTD_LEGACY=disable 2015-11-27 16:18:56 +01:00
Yann Collet 31d1806a77 zbuff properly supports small dst buffers 2015-11-27 14:07:36 +01:00
Yann Collet 29a2c838c5 support for legacy 0.3 format 2015-11-26 16:02:04 +01:00
Yann Collet 26415d3ff2 fixed leak 2015-11-26 12:43:28 +01:00
Yann Collet 7447ee96f6 fixed g++ warning 2015-11-26 10:52:30 +01:00
Yann Collet 5f2ec63852 fixed decompression bug (buffered mode) 2015-11-26 10:32:17 +01:00
Yann Collet 91a97960f7 Added zbufftest 2015-11-26 09:59:49 +01:00
Yann Collet d3cb690156 fixed leak issue 2015-11-25 15:26:55 +01:00
Yann Collet 785b5ecc54 stronger tests 2015-11-25 15:16:19 +01:00
Yann Collet 88fcd2916e Added : zstd buffered API 2015-11-25 14:42:45 +01:00
Yann Collet 225179dd05 more tests (bt modes) 2015-11-23 16:52:22 +01:00
Yann Collet d7233d6e14 more compression tests 2015-11-22 14:40:51 +01:00
Yann Collet b2549846ba more tests 2015-11-18 11:29:32 +01:00
Yann Collet 2666d3e56c more tests 2015-11-14 11:07:51 +01:00
Yann Collet 5be2dd25f2 Changed Library source tree
- no more zstdhc ; zstd.h is enough
- ZSTD_compress() now needs a compressionLevel
- separated zstd_compress.c and zstd_decompress.c
- updated zstdcli, fullbench, fuzzer with new API
2015-11-11 13:43:58 +01:00
Yann Collet 43e0cd512a small blocks params 2015-11-09 16:38:17 +01:00
Yann Collet f48e35c206 minor bt improvements 2015-11-07 01:13:31 +01:00
Yann Collet f12c1304a8 integrate fast mode 2015-11-05 18:16:59 +01:00
Yann Collet 3564487614 lazydeep 2015-11-02 16:14:46 +01:00
Yann Collet 7671f393be v0.3.2 2015-11-02 12:17:39 +01:00
Yann Collet 66d22b803b v0.3.1 2015-11-02 02:36:10 +01:00
Yann Collet aa074051d6 decoding support for legacy v0.2 format 2015-10-30 11:21:50 +01:00
Yann Collet fc04bcc6d7 fixed minor gcc warning 2015-10-30 07:11:07 +01:00
Yann Collet f8eaf0e158 added HC tests 2015-10-30 05:59:18 +01:00
Yann Collet 2f648e54ff hc fuzzer tests 2015-10-29 18:23:38 +01:00
Yann Collet 2acb5d3d48 HC modes can be selected from command line 2015-10-29 16:49:43 +01:00
Yann Collet 1077bb8141 memory notation 2015-10-28 12:32:25 +01:00
Yann Collet 0b87939dc0 clean paramgrill 2015-10-26 00:11:16 +01:00
Yann Collet 78d0f39605 make paramgrill 2015-10-26 00:07:32 +01:00
Yann Collet 83fae977e6 Added asan tests 2015-10-23 15:21:53 +01:00
Yann Collet eeb8ba18d1 uncoupled maxdlog and chainlog 2015-10-22 16:55:40 +01:00
Yann Collet f3eca25322 quick first zstdhc version 2015-10-22 15:31:46 +01:00
Yann Collet 1c00dc3e24 Added block size to bench 2015-10-21 08:22:25 +01:00
Yann Collet b1f3f4b565 update huff0 2015-10-18 22:18:32 +01:00
Yann Collet be50aaa0ee Added : Frame concatenation ability 2015-09-10 23:26:09 +01:00
Yann Collet 5abd8203cb Fix : decompression i/o detects flush write errors 2015-08-27 03:16:04 +01:00
Yann Collet bf50409e05 Refactor Makefile and .travis tests 2015-08-26 00:19:06 +01:00
Yann Collet f44b2b02b4 Zstd cli : --version and --help write to stdout 2015-08-25 23:32:45 +01:00
Yann Collet 5b147600f9 Fixed #42 2015-08-25 17:41:46 +01:00
Yann Collet d5d9bc3f82 Added : ZSTD decompression : ability to resist to noisy/faulty data source 2015-08-23 23:13:49 +01:00
Yann Collet e9853b2cdb Fixed : ZSTD_compress() can attempt compression on a too small buffer 2015-08-07 19:07:32 +01:00
Yann Collet 8b48b24821 Fixed minor visual analyzer warning 2015-07-07 17:26:17 -08:00
Yann Collet 674d91b3da Added sanitize=undefine test 2015-07-07 00:36:49 -08:00
Yann Collet 17867ced03 Fixed minor clang warnings 2015-07-07 00:14:27 -08:00
Yann Collet 7083b8a54a Travis CI : added ARM compilation tests 2015-07-06 23:58:59 -08:00
Yann Collet effbd9811b Merge pull request #30 from jforberg/dev
Add `unzstd` program for decompression.
2015-07-05 15:02:41 -07:00
Yann Collet 078a9a2804 Added Wcast-qual compilation flag
Updated xxHash
Removed log traces
2015-06-20 19:37:53 -08:00
Johan Förberg 273d049a7c Add `unzstd` program for decompression. 2015-03-24 20:15:56 +01:00
Yann Collet 1d62914ea7 Added : valgrind test for datagen 2015-03-09 13:48:34 +01:00
Yann Collet f66d2babf8 Updated test-fullbench 2015-02-11 08:34:50 +01:00
Yann Collet f96780683b updated fullbench, to include datagen 2015-02-11 08:19:57 +01:00
Yann Collet 6610cb381c datagen is now a library, to be included in multiple programs 2015-02-09 08:00:26 +01:00
Yann Collet 6434adcf54 Fix : no AVX2 for Visual 2008 and older 2015-01-29 07:00:43 +01:00
Yann Collet 759433d679 Updated fullbench tests 2015-01-24 13:31:55 +01:00
Yann Collet 4856a00164 Initial release 2015-01-24 01:58:16 +01:00