]>
git.ipfire.org Git - thirdparty/zstd.git/log
Paul Cruz [Tue, 20 Jun 2017 20:26:25 +0000 (13:26 -0700)]
added progress metric to display
Paul Cruz [Tue, 20 Jun 2017 19:43:10 +0000 (12:43 -0700)]
moved signifcant operations to fileio.c
Yann Collet [Tue, 20 Jun 2017 19:17:32 +0000 (12:17 -0700)]
fixed fuzzer test
Yann Collet [Tue, 20 Jun 2017 19:13:51 +0000 (12:13 -0700)]
Merge pull request #728 from terrelln/ubsan-failure
[linux] Add more tests and fuzzing
Paul Cruz [Tue, 20 Jun 2017 18:59:45 +0000 (11:59 -0700)]
removed double if statements for same condition
Paul Cruz [Tue, 20 Jun 2017 18:58:27 +0000 (11:58 -0700)]
minor update to logic
Paul Cruz [Tue, 20 Jun 2017 18:56:11 +0000 (11:56 -0700)]
size_t const value
Paul Cruz [Tue, 20 Jun 2017 18:54:44 +0000 (11:54 -0700)]
added additional tests for error detection
Paul Cruz [Tue, 20 Jun 2017 18:47:24 +0000 (11:47 -0700)]
changed displayInfo alignment and const
Paul Cruz [Tue, 20 Jun 2017 18:27:39 +0000 (11:27 -0700)]
const dictOffset
Paul Cruz [Tue, 20 Jun 2017 18:15:26 +0000 (11:15 -0700)]
const value
Paul Cruz [Tue, 20 Jun 2017 18:07:38 +0000 (11:07 -0700)]
made changes to accommodate single file use case
Paul Cruz [Tue, 20 Jun 2017 17:45:06 +0000 (10:45 -0700)]
change test to list info on .zst files
Paul Cruz [Tue, 20 Jun 2017 17:34:34 +0000 (10:34 -0700)]
added description to advanced usage, changed to use-dict
Paul Cruz [Tue, 20 Jun 2017 17:25:16 +0000 (10:25 -0700)]
removed testing code from generation code
Paul Cruz [Tue, 20 Jun 2017 17:17:38 +0000 (10:17 -0700)]
added comments for clarity
Paul Cruz [Tue, 20 Jun 2017 17:14:03 +0000 (10:14 -0700)]
changed error condition
Paul Cruz [Tue, 20 Jun 2017 17:12:13 +0000 (10:12 -0700)]
refactoring for readability
Paul Cruz [Tue, 20 Jun 2017 16:50:28 +0000 (09:50 -0700)]
changed computation for readability
Paul Cruz [Tue, 20 Jun 2017 16:35:21 +0000 (09:35 -0700)]
changed fileInfo initialization, updated error code
Nick Terrell [Tue, 20 Jun 2017 02:09:41 +0000 (19:09 -0700)]
[linux] Add xxhash and zstd in-kernel tests
Nick Terrell [Tue, 20 Jun 2017 02:09:15 +0000 (19:09 -0700)]
[linux] Add libfuzzer targets
Yann Collet [Tue, 20 Jun 2017 01:25:35 +0000 (18:25 -0700)]
first implementation of bench.c with new API ZSTD_compress_generic()
Doesn't speed optimize this buffer-to-buffer scenario yet.
Still internally defers to streaming implementation.
Also : fixed a long standing bug in ZSTDMT streaming API.
Paul Cruz [Tue, 20 Jun 2017 00:46:21 +0000 (17:46 -0700)]
const value that doesn't change
Yann Collet [Tue, 20 Jun 2017 00:45:43 +0000 (17:45 -0700)]
fix attempt : fullbench VS2008 project
Paul Cruz [Tue, 20 Jun 2017 00:43:16 +0000 (17:43 -0700)]
changed scope to avoid errors
Paul Cruz [Tue, 20 Jun 2017 00:37:14 +0000 (17:37 -0700)]
adhere to min dict size
Paul Cruz [Tue, 20 Jun 2017 00:34:50 +0000 (17:34 -0700)]
changed dictionary to stay reasonable size during test
Paul Cruz [Tue, 20 Jun 2017 00:29:15 +0000 (17:29 -0700)]
added test to runTestMode
Paul Cruz [Tue, 20 Jun 2017 00:18:43 +0000 (17:18 -0700)]
fixed for loop declaration, fixed test case
Paul Cruz [Tue, 20 Jun 2017 00:13:00 +0000 (17:13 -0700)]
wrote a test for dictionary corpus
Paul Cruz [Mon, 19 Jun 2017 23:39:57 +0000 (16:39 -0700)]
changing for loop declaration
Paul Cruz [Mon, 19 Jun 2017 23:38:51 +0000 (16:38 -0700)]
for loop declaration not allowed
Paul Cruz [Mon, 19 Jun 2017 23:32:38 +0000 (16:32 -0700)]
scope change
Paul Cruz [Mon, 19 Jun 2017 23:28:40 +0000 (16:28 -0700)]
changed scope so that warning disappears
Paul Cruz [Mon, 19 Jun 2017 23:27:05 +0000 (16:27 -0700)]
changed scope to get rid of mixed code/variables warning
Paul Cruz [Mon, 19 Jun 2017 23:23:00 +0000 (16:23 -0700)]
added in struct to keep functions more orderly
Paul Cruz [Mon, 19 Jun 2017 23:05:05 +0000 (16:05 -0700)]
made some small changes to dictInfo struct and initDictInfo
Paul Cruz [Mon, 19 Jun 2017 22:55:01 +0000 (15:55 -0700)]
cleaning up code
Nick Terrell [Mon, 19 Jun 2017 22:48:30 +0000 (15:48 -0700)]
[linux] Port libzstd UBSAN fix
Yann Collet [Mon, 19 Jun 2017 22:43:17 +0000 (15:43 -0700)]
Merge pull request #727 from terrelln/ubsan-failure
[libzstd] Fix UBSAN failure
Yann Collet [Mon, 19 Jun 2017 22:27:30 +0000 (15:27 -0700)]
fixed IA64 compilation error, by @mcmilk
Yann Collet [Mon, 19 Jun 2017 22:23:19 +0000 (15:23 -0700)]
fix attempts : fullbench for VS2008
Nick Terrell [Mon, 19 Jun 2017 22:12:28 +0000 (15:12 -0700)]
[libzstd] Fix UBSAN failure
Paul Cruz [Mon, 19 Jun 2017 21:21:35 +0000 (14:21 -0700)]
added comment to anotate decompressed error code
Paul Cruz [Mon, 19 Jun 2017 21:20:35 +0000 (14:20 -0700)]
small stylistic changes
Yann Collet [Mon, 19 Jun 2017 21:13:46 +0000 (14:13 -0700)]
Merge pull request #726 from terrelln/malloc-failure
[linux] Fix decompression memory allocation
Paul Cruz [Mon, 19 Jun 2017 21:07:56 +0000 (14:07 -0700)]
changed if statement styling
Paul Cruz [Mon, 19 Jun 2017 21:02:27 +0000 (14:02 -0700)]
added calls to free to match calls to malloc, made some stylistic changes, added init function for new struct
Paul Cruz [Mon, 19 Jun 2017 20:21:50 +0000 (13:21 -0700)]
got files to decompress
Yann Collet [Mon, 19 Jun 2017 19:56:25 +0000 (12:56 -0700)]
update new api presentation in zstd.h and manual
Nick Terrell [Mon, 19 Jun 2017 19:24:14 +0000 (12:24 -0700)]
[linux] Fix decompression memory allocation
Yann Collet [Mon, 19 Jun 2017 19:03:25 +0000 (12:03 -0700)]
updated manual
Yann Collet [Mon, 19 Jun 2017 18:53:42 +0000 (11:53 -0700)]
minor declaration statement warning fix
Yann Collet [Mon, 19 Jun 2017 18:53:01 +0000 (11:53 -0700)]
new api : setting compression parameters is refused if a dictionary is already loaded
Paul Cruz [Mon, 19 Jun 2017 18:40:45 +0000 (11:40 -0700)]
fixed decompression so that it uses compressed version
Paul Cruz [Mon, 19 Jun 2017 18:27:50 +0000 (11:27 -0700)]
made changes so that HUF_writeCTable no longer fails
Yann Collet [Mon, 19 Jun 2017 18:07:33 +0000 (11:07 -0700)]
newapi fuzzer tests : random flush orders in main loop
Paul Cruz [Mon, 19 Jun 2017 16:55:55 +0000 (09:55 -0700)]
made style changes, added description in man file
Paul Cruz [Mon, 19 Jun 2017 16:24:38 +0000 (09:24 -0700)]
small style changes
Yann Collet [Mon, 19 Jun 2017 06:41:38 +0000 (23:41 -0700)]
new api fuzzer tests : frame parameters are randonly set
Yann Collet [Mon, 19 Jun 2017 06:31:55 +0000 (23:31 -0700)]
new api fuzzer set : dictionary is randomly set
Yann Collet [Mon, 19 Jun 2017 06:25:15 +0000 (23:25 -0700)]
new api fuzzer tests : compression parameters are randomly set
Yann Collet [Sat, 17 Jun 2017 08:19:39 +0000 (01:19 -0700)]
Merge pull request #724 from yurivict/fix-install-static-lib
INSTALL_DATA instead of INSTALL_LIB for libzstd.a
Yuri [Sat, 17 Jun 2017 07:23:41 +0000 (00:23 -0700)]
INSTALL_DATA instead of INSTALL_LIB for libzstd.a
INSTALL_LIB can be passed -s flag to strip symbols. Static libraries should not be stripped, only dynamic ones should be stripped.
Yann Collet [Sat, 17 Jun 2017 01:16:27 +0000 (18:16 -0700)]
removed macro CLAMP from decodecorpus
never used,
and would duplicate with CLAMP from zstd_compress.c
Yann Collet [Sat, 17 Jun 2017 00:56:41 +0000 (17:56 -0700)]
fuzzer tests for new API
Yann Collet [Sat, 17 Jun 2017 00:29:35 +0000 (17:29 -0700)]
added ZSTD_clampCParams()
now ZSTD_adjustCParams() is always successful,
it always produces a valid CParams
Yann Collet [Sat, 17 Jun 2017 00:01:46 +0000 (17:01 -0700)]
fixed +/-1 error for pledgedSrcSizePlusOne
Yann Collet [Fri, 16 Jun 2017 23:51:33 +0000 (16:51 -0700)]
fix attempt 2 : Visual sign conversion warning
Yann Collet [Fri, 16 Jun 2017 21:04:30 +0000 (14:04 -0700)]
fixed attempt : minor Visual sign conversion warning
Yann Collet [Fri, 16 Jun 2017 21:00:46 +0000 (14:00 -0700)]
added ZSTD_startNewCompression()
Yann Collet [Fri, 16 Jun 2017 20:29:17 +0000 (13:29 -0700)]
changed frameContentSize field to pledgedSrcSizePlusOne
pledgedSrcSize is proper : it's a promise, not yet fulfilled.
It will be controlled at the end.
PlusOne is meant to have 0 (default) == unknown
Yann Collet [Fri, 16 Jun 2017 19:34:41 +0000 (12:34 -0700)]
fix : pledgedSrcSize correctly reset to unknown in "continue" mode
Yann Collet [Fri, 16 Jun 2017 19:24:01 +0000 (12:24 -0700)]
fix : correctly reset pledgedSrcSize to unknown status
when starting a new compression with an existing context
Yann Collet [Fri, 16 Jun 2017 19:04:21 +0000 (12:04 -0700)]
fixed : new advanced AIP : setting nbThreads to the same value > 1
Yann Collet [Fri, 16 Jun 2017 18:58:21 +0000 (11:58 -0700)]
fixed : calling ZSTD_compress_generic() to end-flush a stream in multiple steps
Yann Collet [Fri, 16 Jun 2017 17:17:50 +0000 (10:17 -0700)]
added ZSTD_CCtx_reset
Yann Collet [Fri, 16 Jun 2017 01:17:10 +0000 (18:17 -0700)]
protection : ZSTD_CONTENTSIZE_UNKNOWN automatically disables contentSizeFlag
Paul Cruz [Fri, 16 Jun 2017 01:09:15 +0000 (18:09 -0700)]
Merge branch 'list' into dev
Paul Cruz [Fri, 16 Jun 2017 01:08:22 +0000 (18:08 -0700)]
fixing more spacing on loops
Paul Cruz [Fri, 16 Jun 2017 01:06:32 +0000 (18:06 -0700)]
fixing general style
Yann Collet [Fri, 16 Jun 2017 01:03:34 +0000 (18:03 -0700)]
added protection : MT incompatible with Static allocation
Paul Cruz [Fri, 16 Jun 2017 00:53:00 +0000 (17:53 -0700)]
Merge branch 'list' into dev
Paul Cruz [Fri, 16 Jun 2017 00:46:49 +0000 (17:46 -0700)]
added in correct error return from main in zstdcli.c
Paul Cruz [Fri, 16 Jun 2017 00:30:18 +0000 (17:30 -0700)]
initialized info manually to avoid error
Paul Cruz [Fri, 16 Jun 2017 00:12:41 +0000 (17:12 -0700)]
changed spacing on if statements
Paul Cruz [Fri, 16 Jun 2017 00:03:59 +0000 (17:03 -0700)]
added const
Paul Cruz [Fri, 16 Jun 2017 00:00:59 +0000 (17:00 -0700)]
added case for when file is not compressed with zstd (incorrect magic number)
Paul Cruz [Thu, 15 Jun 2017 23:53:03 +0000 (16:53 -0700)]
added tests in playTest.sh
Paul Cruz [Thu, 15 Jun 2017 23:46:54 +0000 (16:46 -0700)]
Merge branch 'list' into dev
Paul Cruz [Thu, 15 Jun 2017 23:27:38 +0000 (16:27 -0700)]
refactoring brackets to allow for const values
Paul Cruz [Thu, 15 Jun 2017 23:12:04 +0000 (16:12 -0700)]
rearranging code to allow for consts
Paul Cruz [Thu, 15 Jun 2017 23:03:40 +0000 (16:03 -0700)]
changed implicit precision loss again
Paul Cruz [Thu, 15 Jun 2017 23:01:52 +0000 (16:01 -0700)]
got rid of imlpicit precision loss
Paul Cruz [Thu, 15 Jun 2017 22:55:49 +0000 (15:55 -0700)]
made another function static
Paul Cruz [Thu, 15 Jun 2017 22:53:02 +0000 (15:53 -0700)]
closed file at end of function, created another variable to keep exit points simpler
Paul Cruz [Thu, 15 Jun 2017 22:35:37 +0000 (15:35 -0700)]
changed info to static allocation
Paul Cruz [Thu, 15 Jun 2017 22:25:20 +0000 (15:25 -0700)]
cleaned up if statements
Paul Cruz [Thu, 15 Jun 2017 22:07:54 +0000 (15:07 -0700)]
added --list command