]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
8 years agoadded progress metric to display
Paul Cruz [Tue, 20 Jun 2017 20:26:25 +0000 (13:26 -0700)] 
added progress metric to display

8 years agomoved signifcant operations to fileio.c
Paul Cruz [Tue, 20 Jun 2017 19:43:10 +0000 (12:43 -0700)] 
moved signifcant operations to fileio.c

8 years agofixed fuzzer test
Yann Collet [Tue, 20 Jun 2017 19:17:32 +0000 (12:17 -0700)] 
fixed fuzzer test

8 years agoMerge pull request #728 from terrelln/ubsan-failure
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

8 years agoremoved double if statements for same condition
Paul Cruz [Tue, 20 Jun 2017 18:59:45 +0000 (11:59 -0700)] 
removed double if statements for same condition

8 years agominor update to logic
Paul Cruz [Tue, 20 Jun 2017 18:58:27 +0000 (11:58 -0700)] 
minor update to logic

8 years agosize_t const value
Paul Cruz [Tue, 20 Jun 2017 18:56:11 +0000 (11:56 -0700)] 
size_t const value

8 years agoadded additional tests for error detection
Paul Cruz [Tue, 20 Jun 2017 18:54:44 +0000 (11:54 -0700)] 
added additional tests for error detection

8 years agochanged displayInfo alignment and const
Paul Cruz [Tue, 20 Jun 2017 18:47:24 +0000 (11:47 -0700)] 
changed displayInfo alignment and const

8 years agoconst dictOffset
Paul Cruz [Tue, 20 Jun 2017 18:27:39 +0000 (11:27 -0700)] 
const dictOffset

8 years agoconst value
Paul Cruz [Tue, 20 Jun 2017 18:15:26 +0000 (11:15 -0700)] 
const value

8 years agomade changes to accommodate single file use case
Paul Cruz [Tue, 20 Jun 2017 18:07:38 +0000 (11:07 -0700)] 
made changes to accommodate single file use case

8 years agochange test to list info on .zst files
Paul Cruz [Tue, 20 Jun 2017 17:45:06 +0000 (10:45 -0700)] 
change test to list info on .zst files

8 years agoadded description to advanced usage, changed to use-dict
Paul Cruz [Tue, 20 Jun 2017 17:34:34 +0000 (10:34 -0700)] 
added description to advanced usage, changed to use-dict

8 years agoremoved testing code from generation code
Paul Cruz [Tue, 20 Jun 2017 17:25:16 +0000 (10:25 -0700)] 
removed testing code from generation code

8 years agoadded comments for clarity
Paul Cruz [Tue, 20 Jun 2017 17:17:38 +0000 (10:17 -0700)] 
added comments for clarity

8 years agochanged error condition
Paul Cruz [Tue, 20 Jun 2017 17:14:03 +0000 (10:14 -0700)] 
changed error condition

8 years agorefactoring for readability
Paul Cruz [Tue, 20 Jun 2017 17:12:13 +0000 (10:12 -0700)] 
refactoring for readability

8 years agochanged computation for readability
Paul Cruz [Tue, 20 Jun 2017 16:50:28 +0000 (09:50 -0700)] 
changed computation for readability

8 years agochanged fileInfo initialization, updated error code
Paul Cruz [Tue, 20 Jun 2017 16:35:21 +0000 (09:35 -0700)] 
changed fileInfo initialization, updated error code

8 years ago[linux] Add xxhash and zstd in-kernel tests 728/head
Nick Terrell [Tue, 20 Jun 2017 02:09:41 +0000 (19:09 -0700)] 
[linux] Add xxhash and zstd in-kernel tests

8 years ago[linux] Add libfuzzer targets
Nick Terrell [Tue, 20 Jun 2017 02:09:15 +0000 (19:09 -0700)] 
[linux] Add libfuzzer targets

8 years agofirst implementation of bench.c with new API ZSTD_compress_generic()
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.

8 years agoconst value that doesn't change
Paul Cruz [Tue, 20 Jun 2017 00:46:21 +0000 (17:46 -0700)] 
const value that doesn't change

8 years agofix attempt : fullbench VS2008 project
Yann Collet [Tue, 20 Jun 2017 00:45:43 +0000 (17:45 -0700)] 
fix attempt : fullbench VS2008 project

8 years agochanged scope to avoid errors
Paul Cruz [Tue, 20 Jun 2017 00:43:16 +0000 (17:43 -0700)] 
changed scope to avoid errors

8 years agoadhere to min dict size
Paul Cruz [Tue, 20 Jun 2017 00:37:14 +0000 (17:37 -0700)] 
adhere to min dict size

8 years agochanged dictionary to stay reasonable size during test
Paul Cruz [Tue, 20 Jun 2017 00:34:50 +0000 (17:34 -0700)] 
changed dictionary to stay reasonable size during test

8 years agoadded test to runTestMode
Paul Cruz [Tue, 20 Jun 2017 00:29:15 +0000 (17:29 -0700)] 
added test to runTestMode

8 years agofixed for loop declaration, fixed test case
Paul Cruz [Tue, 20 Jun 2017 00:18:43 +0000 (17:18 -0700)] 
fixed for loop declaration, fixed test case

8 years agowrote a test for dictionary corpus
Paul Cruz [Tue, 20 Jun 2017 00:13:00 +0000 (17:13 -0700)] 
wrote a test for dictionary corpus

8 years agochanging for loop declaration
Paul Cruz [Mon, 19 Jun 2017 23:39:57 +0000 (16:39 -0700)] 
changing for loop declaration

8 years agofor loop declaration not allowed
Paul Cruz [Mon, 19 Jun 2017 23:38:51 +0000 (16:38 -0700)] 
for loop declaration not allowed

8 years agoscope change
Paul Cruz [Mon, 19 Jun 2017 23:32:38 +0000 (16:32 -0700)] 
scope change

8 years agochanged scope so that warning disappears
Paul Cruz [Mon, 19 Jun 2017 23:28:40 +0000 (16:28 -0700)] 
changed scope so that warning disappears

8 years agochanged scope to get rid of mixed code/variables warning
Paul Cruz [Mon, 19 Jun 2017 23:27:05 +0000 (16:27 -0700)] 
changed scope to get rid of mixed code/variables warning

8 years agoadded in struct to keep functions more orderly
Paul Cruz [Mon, 19 Jun 2017 23:23:00 +0000 (16:23 -0700)] 
added in struct to keep functions more orderly

8 years agomade some small changes to dictInfo struct and initDictInfo
Paul Cruz [Mon, 19 Jun 2017 23:05:05 +0000 (16:05 -0700)] 
made some small changes to dictInfo struct and initDictInfo

8 years agocleaning up code
Paul Cruz [Mon, 19 Jun 2017 22:55:01 +0000 (15:55 -0700)] 
cleaning up code

8 years ago[linux] Port libzstd UBSAN fix
Nick Terrell [Mon, 19 Jun 2017 22:48:30 +0000 (15:48 -0700)] 
[linux] Port libzstd UBSAN fix

8 years agoMerge pull request #727 from terrelln/ubsan-failure
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

8 years agofixed IA64 compilation error, by @mcmilk
Yann Collet [Mon, 19 Jun 2017 22:27:30 +0000 (15:27 -0700)] 
fixed IA64 compilation error, by @mcmilk

8 years agofix attempts : fullbench for VS2008
Yann Collet [Mon, 19 Jun 2017 22:23:19 +0000 (15:23 -0700)] 
fix attempts : fullbench for VS2008

8 years ago[libzstd] Fix UBSAN failure 727/head
Nick Terrell [Mon, 19 Jun 2017 22:12:28 +0000 (15:12 -0700)] 
[libzstd] Fix UBSAN failure

8 years agoadded comment to anotate decompressed error code
Paul Cruz [Mon, 19 Jun 2017 21:21:35 +0000 (14:21 -0700)] 
added comment to anotate decompressed error code

8 years agosmall stylistic changes
Paul Cruz [Mon, 19 Jun 2017 21:20:35 +0000 (14:20 -0700)] 
small stylistic changes

8 years agoMerge pull request #726 from terrelln/malloc-failure
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

8 years agochanged if statement styling
Paul Cruz [Mon, 19 Jun 2017 21:07:56 +0000 (14:07 -0700)] 
changed if statement styling

8 years agoadded calls to free to match calls to malloc, made some stylistic changes, added...
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

8 years agogot files to decompress
Paul Cruz [Mon, 19 Jun 2017 20:21:50 +0000 (13:21 -0700)] 
got files to decompress

8 years agoupdate new api presentation in zstd.h and manual
Yann Collet [Mon, 19 Jun 2017 19:56:25 +0000 (12:56 -0700)] 
update new api presentation in zstd.h and manual

8 years ago[linux] Fix decompression memory allocation 726/head
Nick Terrell [Mon, 19 Jun 2017 19:24:14 +0000 (12:24 -0700)] 
[linux] Fix decompression memory allocation

8 years agoupdated manual
Yann Collet [Mon, 19 Jun 2017 19:03:25 +0000 (12:03 -0700)] 
updated manual

8 years agominor declaration statement warning fix
Yann Collet [Mon, 19 Jun 2017 18:53:42 +0000 (11:53 -0700)] 
minor declaration statement warning fix

8 years agonew api : setting compression parameters is refused if a dictionary is already loaded
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

8 years agofixed decompression so that it uses compressed version
Paul Cruz [Mon, 19 Jun 2017 18:40:45 +0000 (11:40 -0700)] 
fixed decompression so that it uses compressed version

8 years agomade changes so that HUF_writeCTable no longer fails
Paul Cruz [Mon, 19 Jun 2017 18:27:50 +0000 (11:27 -0700)] 
made changes so that HUF_writeCTable no longer fails

8 years agonewapi fuzzer tests : random flush orders in main loop
Yann Collet [Mon, 19 Jun 2017 18:07:33 +0000 (11:07 -0700)] 
newapi fuzzer tests : random flush orders in main loop

8 years agomade style changes, added description in man file
Paul Cruz [Mon, 19 Jun 2017 16:55:55 +0000 (09:55 -0700)] 
made style changes, added description in man file

8 years agosmall style changes
Paul Cruz [Mon, 19 Jun 2017 16:24:38 +0000 (09:24 -0700)] 
small style changes

8 years agonew api fuzzer tests : frame parameters are randonly set
Yann Collet [Mon, 19 Jun 2017 06:41:38 +0000 (23:41 -0700)] 
new api fuzzer tests : frame parameters are randonly set

8 years agonew api fuzzer set : dictionary is randomly set
Yann Collet [Mon, 19 Jun 2017 06:31:55 +0000 (23:31 -0700)] 
new api fuzzer set : dictionary is randomly set

8 years agonew api fuzzer tests : compression parameters are randomly set
Yann Collet [Mon, 19 Jun 2017 06:25:15 +0000 (23:25 -0700)] 
new api fuzzer tests : compression parameters are randomly set

8 years agoMerge pull request #724 from yurivict/fix-install-static-lib
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

8 years agoINSTALL_DATA instead of INSTALL_LIB for libzstd.a 724/head
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.

8 years agoremoved macro CLAMP from decodecorpus
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

8 years agofuzzer tests for new API
Yann Collet [Sat, 17 Jun 2017 00:56:41 +0000 (17:56 -0700)] 
fuzzer tests for new API

8 years agoadded ZSTD_clampCParams()
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

8 years agofixed +/-1 error for pledgedSrcSizePlusOne
Yann Collet [Sat, 17 Jun 2017 00:01:46 +0000 (17:01 -0700)] 
fixed +/-1 error for pledgedSrcSizePlusOne

8 years agofix attempt 2 : Visual sign conversion warning
Yann Collet [Fri, 16 Jun 2017 23:51:33 +0000 (16:51 -0700)] 
fix attempt 2 : Visual sign conversion warning

8 years agofixed attempt : minor Visual sign conversion warning
Yann Collet [Fri, 16 Jun 2017 21:04:30 +0000 (14:04 -0700)] 
fixed attempt : minor Visual sign conversion warning

8 years agoadded ZSTD_startNewCompression()
Yann Collet [Fri, 16 Jun 2017 21:00:46 +0000 (14:00 -0700)] 
added ZSTD_startNewCompression()

8 years agochanged frameContentSize field to pledgedSrcSizePlusOne
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

8 years agofix : pledgedSrcSize correctly reset to unknown in "continue" mode
Yann Collet [Fri, 16 Jun 2017 19:34:41 +0000 (12:34 -0700)] 
fix : pledgedSrcSize correctly reset to unknown in "continue" mode

8 years agofix : correctly reset pledgedSrcSize to unknown status
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

8 years agofixed : new advanced AIP : setting nbThreads to the same value > 1
Yann Collet [Fri, 16 Jun 2017 19:04:21 +0000 (12:04 -0700)] 
fixed : new advanced AIP : setting nbThreads to the same value > 1

8 years agofixed : calling ZSTD_compress_generic() to end-flush a stream in multiple steps
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

8 years agoadded ZSTD_CCtx_reset
Yann Collet [Fri, 16 Jun 2017 17:17:50 +0000 (10:17 -0700)] 
added ZSTD_CCtx_reset

8 years agoprotection : ZSTD_CONTENTSIZE_UNKNOWN automatically disables contentSizeFlag
Yann Collet [Fri, 16 Jun 2017 01:17:10 +0000 (18:17 -0700)] 
protection : ZSTD_CONTENTSIZE_UNKNOWN automatically disables contentSizeFlag

8 years agoMerge branch 'list' into dev
Paul Cruz [Fri, 16 Jun 2017 01:09:15 +0000 (18:09 -0700)] 
Merge branch 'list' into dev

8 years agofixing more spacing on loops
Paul Cruz [Fri, 16 Jun 2017 01:08:22 +0000 (18:08 -0700)] 
fixing more spacing on loops

8 years agofixing general style
Paul Cruz [Fri, 16 Jun 2017 01:06:32 +0000 (18:06 -0700)] 
fixing general style

8 years agoadded protection : MT incompatible with Static allocation
Yann Collet [Fri, 16 Jun 2017 01:03:34 +0000 (18:03 -0700)] 
added protection : MT incompatible with Static allocation

8 years agoMerge branch 'list' into dev
Paul Cruz [Fri, 16 Jun 2017 00:53:00 +0000 (17:53 -0700)] 
Merge branch 'list' into dev

8 years agoadded in correct error return from main in zstdcli.c
Paul Cruz [Fri, 16 Jun 2017 00:46:49 +0000 (17:46 -0700)] 
added in correct error return from main in zstdcli.c

8 years agoinitialized info manually to avoid error
Paul Cruz [Fri, 16 Jun 2017 00:30:18 +0000 (17:30 -0700)] 
initialized info manually to avoid error

8 years agochanged spacing on if statements
Paul Cruz [Fri, 16 Jun 2017 00:12:41 +0000 (17:12 -0700)] 
changed spacing on if statements

8 years agoadded const
Paul Cruz [Fri, 16 Jun 2017 00:03:59 +0000 (17:03 -0700)] 
added const

8 years agoadded case for when file is not compressed with zstd (incorrect magic number)
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)

8 years agoadded tests in playTest.sh
Paul Cruz [Thu, 15 Jun 2017 23:53:03 +0000 (16:53 -0700)] 
added tests in playTest.sh

8 years agoMerge branch 'list' into dev
Paul Cruz [Thu, 15 Jun 2017 23:46:54 +0000 (16:46 -0700)] 
Merge branch 'list' into dev

8 years agorefactoring brackets to allow for const values
Paul Cruz [Thu, 15 Jun 2017 23:27:38 +0000 (16:27 -0700)] 
refactoring brackets to allow for const values

8 years agorearranging code to allow for consts
Paul Cruz [Thu, 15 Jun 2017 23:12:04 +0000 (16:12 -0700)] 
rearranging code to allow for consts

8 years agochanged implicit precision loss again
Paul Cruz [Thu, 15 Jun 2017 23:03:40 +0000 (16:03 -0700)] 
changed implicit precision loss again

8 years agogot rid of imlpicit precision loss
Paul Cruz [Thu, 15 Jun 2017 23:01:52 +0000 (16:01 -0700)] 
got rid of imlpicit precision loss

8 years agomade another function static
Paul Cruz [Thu, 15 Jun 2017 22:55:49 +0000 (15:55 -0700)] 
made another function static

8 years agoclosed file at end of function, created another variable to keep exit points simpler
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

8 years agochanged info to static allocation
Paul Cruz [Thu, 15 Jun 2017 22:35:37 +0000 (15:35 -0700)] 
changed info to static allocation

8 years agocleaned up if statements
Paul Cruz [Thu, 15 Jun 2017 22:25:20 +0000 (15:25 -0700)] 
cleaned up if statements

8 years agoadded --list command
Paul Cruz [Thu, 15 Jun 2017 22:07:54 +0000 (15:07 -0700)] 
added --list command