]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
8 years agoadded cli tests to test-all 729/head
Paul Cruz [Sat, 24 Jun 2017 00:10:41 +0000 (17:10 -0700)] 
added cli tests to test-all

8 years agoadded additional condition so large offsets into the dictionary are not generated...
Paul Cruz [Fri, 23 Jun 2017 22:54:51 +0000 (15:54 -0700)] 
added additional condition so large offsets into the dictionary are not generated past windowSize

8 years agofixed bug detected by the API test
Paul Cruz [Fri, 23 Jun 2017 20:44:24 +0000 (13:44 -0700)] 
fixed bug detected by the API test

8 years agotype warnings
Paul Cruz [Fri, 23 Jun 2017 19:00:48 +0000 (12:00 -0700)] 
type warnings

8 years agofixed bus error bug
Paul Cruz [Fri, 23 Jun 2017 18:22:29 +0000 (11:22 -0700)] 
fixed bus error bug

8 years agoadded sizeof for clarity
Paul Cruz [Thu, 22 Jun 2017 22:52:33 +0000 (15:52 -0700)] 
added sizeof for clarity

8 years agochanged makefile test
Paul Cruz [Thu, 22 Jun 2017 22:44:01 +0000 (15:44 -0700)] 
changed makefile test

8 years agochanged assignment
Paul Cruz [Thu, 22 Jun 2017 22:36:28 +0000 (15:36 -0700)] 
changed assignment

8 years agoadded description for dictionary cli tests
Paul Cruz [Thu, 22 Jun 2017 22:23:59 +0000 (15:23 -0700)] 
added description for dictionary cli tests

8 years agomade changes to cli test so it runs properly
Paul Cruz [Thu, 22 Jun 2017 22:13:41 +0000 (15:13 -0700)] 
made changes to cli test so it runs properly

8 years agoadded cli test for decodecorpus inside tests/Makefile. Also changed calculation of...
Paul Cruz [Thu, 22 Jun 2017 21:43:44 +0000 (14:43 -0700)] 
added cli test for decodecorpus inside tests/Makefile. Also changed calculation of offset

8 years agoadded cli test case in Makefile
Paul Cruz [Thu, 22 Jun 2017 20:53:39 +0000 (13:53 -0700)] 
added cli test case in Makefile

8 years agoshould be updating seed whenever multiple files are generated
Paul Cruz [Thu, 22 Jun 2017 17:23:36 +0000 (10:23 -0700)] 
should be updating seed whenever multiple files are generated

8 years agochanged format of command to --use-dict=#
Paul Cruz [Thu, 22 Jun 2017 17:04:14 +0000 (10:04 -0700)] 
changed format of command to --use-dict=#

8 years agofixed offset in this case os that it always goes past src start
Paul Cruz [Thu, 22 Jun 2017 01:47:40 +0000 (18:47 -0700)] 
fixed offset in this case os that it always goes past src start

8 years agomore meaningful names for count variables
Paul Cruz [Thu, 22 Jun 2017 01:30:27 +0000 (18:30 -0700)] 
more meaningful names for count variables

8 years agomalloc samples instead of static allocation
Paul Cruz [Thu, 22 Jun 2017 01:24:19 +0000 (18:24 -0700)] 
malloc samples instead of static allocation

8 years agoremoved comment regarding windowSize requirement
Paul Cruz [Thu, 22 Jun 2017 01:13:52 +0000 (18:13 -0700)] 
removed comment regarding windowSize requirement

8 years agoremoved requirement that offset be less than windowSize
Paul Cruz [Thu, 22 Jun 2017 01:00:47 +0000 (18:00 -0700)] 
removed requirement that offset be less than windowSize

8 years agoadded const x2
Paul Cruz [Thu, 22 Jun 2017 00:48:37 +0000 (17:48 -0700)] 
added const x2

8 years agoadded const
Paul Cruz [Thu, 22 Jun 2017 00:48:01 +0000 (17:48 -0700)] 
added const

8 years agogot rid of unnecessary casting to void*
Paul Cruz [Thu, 22 Jun 2017 00:46:37 +0000 (17:46 -0700)] 
got rid of unnecessary casting to void*

8 years agoadded comment addressing use of bits in frame header descriptor
Paul Cruz [Thu, 22 Jun 2017 00:43:21 +0000 (17:43 -0700)] 
added comment addressing use of bits in frame header descriptor

8 years agofixed strange spacing
Paul Cruz [Tue, 20 Jun 2017 22:41:43 +0000 (15:41 -0700)] 
fixed strange spacing

8 years agofree the context object once done with decompression
Paul Cruz [Tue, 20 Jun 2017 22:37:14 +0000 (15:37 -0700)] 
free the context object once done with decompression

8 years agoallocate statically so we don't have to deal with freeing
Paul Cruz [Tue, 20 Jun 2017 22:31:54 +0000 (15:31 -0700)] 
allocate statically so we don't have to deal with freeing

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 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 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 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 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 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 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 agosmall style changes
Paul Cruz [Mon, 19 Jun 2017 16:24:38 +0000 (09:24 -0700)] 
small style changes

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

8 years agoadd print statements for debugging and change malloc with updated size
Paul Cruz [Thu, 15 Jun 2017 18:37:24 +0000 (11:37 -0700)] 
add print statements for debugging and change malloc with updated size

8 years agoadded print statements for debugging, fixed first segfault
Paul Cruz [Thu, 15 Jun 2017 16:47:29 +0000 (09:47 -0700)] 
added print statements for debugging, fixed first segfault

8 years agochanged samples to geometric distribution so that it is huffman compressible
Paul Cruz [Thu, 15 Jun 2017 01:06:16 +0000 (18:06 -0700)] 
changed samples to geometric distribution so that it is huffman compressible

8 years agochanged dictionary from using fixed amount of bytes for the header / entropy tables
Paul Cruz [Thu, 15 Jun 2017 00:23:56 +0000 (17:23 -0700)] 
changed dictionary from using fixed amount of bytes for the header / entropy tables

8 years agochanged randomly generated samples to randomly selected from the dictionary content
Paul Cruz [Wed, 14 Jun 2017 23:42:51 +0000 (16:42 -0700)] 
changed randomly generated samples to randomly selected from the dictionary content

8 years agoadded error message to catch case where size not given
Paul Cruz [Wed, 14 Jun 2017 19:04:22 +0000 (12:04 -0700)] 
added error message to catch case where size not given

8 years agocode refactoring and adding some print statements for debugging
Paul Cruz [Wed, 14 Jun 2017 17:54:47 +0000 (10:54 -0700)] 
code refactoring and adding some print statements for debugging

8 years agodebugging error with finalizeDictionary() not writing dictionary properly
Paul Cruz [Wed, 14 Jun 2017 00:27:02 +0000 (17:27 -0700)] 
debugging error with finalizeDictionary() not writing dictionary properly

8 years agochanged makefile to include zdict functions, wrote out dictionary to path
Paul Cruz [Tue, 13 Jun 2017 21:19:35 +0000 (14:19 -0700)] 
changed makefile to include zdict functions, wrote out dictionary to path

8 years agoadded code to generate dictionary using finalizeDictionary
Paul Cruz [Tue, 13 Jun 2017 18:54:43 +0000 (11:54 -0700)] 
added code to generate dictionary using finalizeDictionary

8 years agoadded code to extend the offset when a dictionary is detected
Paul Cruz [Fri, 9 Jun 2017 16:48:56 +0000 (09:48 -0700)] 
added code to extend the offset when a dictionary is detected

8 years agomade sure dictionary ID was being written in the frame header of each file
Paul Cruz [Fri, 9 Jun 2017 00:27:15 +0000 (17:27 -0700)] 
made sure dictionary ID was being written in the frame header of each file

8 years agoset the lower bits of frame header descriptor if dictionary is needed
Paul Cruz [Fri, 9 Jun 2017 00:11:33 +0000 (17:11 -0700)] 
set the lower bits of frame header descriptor if dictionary is needed

8 years agoadded code for generating dictionary/test files randomly. Still need to make sure...
Paul Cruz [Fri, 9 Jun 2017 00:06:30 +0000 (17:06 -0700)] 
added code for generating dictionary/test files randomly. Still need to make sure dictionary ID matches

8 years agoMerge pull request #1 from facebook/dev
Paul Cruz [Sat, 3 Jun 2017 17:11:35 +0000 (10:11 -0700)] 
Merge pull request #1 from facebook/dev

Merge pull request #716 from paulcruz74/dev

8 years agoMerge pull request #716 from paulcruz74/dev
Yann Collet [Fri, 2 Jun 2017 19:34:18 +0000 (12:34 -0700)] 
Merge pull request #716 from paulcruz74/dev

VS2005 Support Changes

8 years agoadded a project support notice for VS2005 716/head
Paul Cruz [Fri, 2 Jun 2017 17:28:56 +0000 (10:28 -0700)] 
added a project support notice for VS2005

8 years agoadded back documentation/notification for VS2005 in build directory
Paul Cruz [Fri, 2 Jun 2017 17:25:30 +0000 (10:25 -0700)] 
added back documentation/notification for VS2005 in build directory

8 years agoRemoved VS2005 from the list of included projects
Paul Cruz [Fri, 2 Jun 2017 17:11:03 +0000 (10:11 -0700)] 
Removed VS2005 from the list of included projects

8 years agoadding zstd/zstd.vcproj because it was ignored during initial commit
Paul Cruz [Fri, 2 Jun 2017 04:25:39 +0000 (21:25 -0700)] 
adding zstd/zstd.vcproj because it was ignored during initial commit

8 years agoMoved VS2005 to the contrib directory
Paul Cruz [Fri, 2 Jun 2017 04:18:48 +0000 (21:18 -0700)] 
Moved VS2005 to the contrib directory

8 years agoMerge pull request #712 from terrelln/dev
Yann Collet [Fri, 26 May 2017 16:48:12 +0000 (18:48 +0200)] 
Merge pull request #712 from terrelln/dev

[linux-kernel] Fix formatting and Makefile

8 years ago[linux-kernel] Fix duplicate symbols when built-in to kernel 712/head
Nick Terrell [Fri, 26 May 2017 01:34:13 +0000 (18:34 -0700)] 
[linux-kernel] Fix duplicate symbols when built-in to kernel

8 years agoMerge pull request #711 from ldv-alt/dev
Yann Collet [Fri, 26 May 2017 00:31:33 +0000 (02:31 +0200)] 
Merge pull request #711 from ldv-alt/dev

Fix typo in libzstd.a-mt make rules

8 years agoFix typo in libzstd.a-mt make rules 711/head
Dmitry V. Levin [Thu, 25 May 2017 23:43:05 +0000 (23:43 +0000)] 
Fix typo in libzstd.a-mt make rules

The macro name is ZSTD_MULTITHREAD, not ZSTD_MULTHREAD.

Fixes: ca6fae78080d ("Add MT enabled targets for libzstd")
8 years ago[linux-kernel] Fix clang-format edge case with goto labels
Nick Terrell [Thu, 25 May 2017 20:56:46 +0000 (13:56 -0700)] 
[linux-kernel] Fix clang-format edge case with goto labels

8 years agoMerge pull request #710 from terrelln/dev
Yann Collet [Wed, 24 May 2017 22:10:17 +0000 (00:10 +0200)] 
Merge pull request #710 from terrelln/dev

[linux-kernel] Minor formatting changes

8 years ago[linux-kernel] Fix some up clang-format edge cases 710/head
Nick Terrell [Wed, 24 May 2017 20:52:36 +0000 (13:52 -0700)] 
[linux-kernel] Fix some up clang-format edge cases

8 years ago[zstd] Fix up formatting edge cases for clang-format
Nick Terrell [Wed, 24 May 2017 20:50:10 +0000 (13:50 -0700)] 
[zstd] Fix up formatting edge cases for clang-format

8 years agoMerge pull request #709 from codicodi/fix-cmake
Yann Collet [Wed, 24 May 2017 18:56:47 +0000 (20:56 +0200)] 
Merge pull request #709 from codicodi/fix-cmake

CMake improvements

8 years agoCMake improvements 709/head
codicodi [Wed, 24 May 2017 08:48:10 +0000 (10:48 +0200)] 
CMake improvements

8 years agoMerge pull request #708 from terrelln/lk
Yann Collet [Mon, 22 May 2017 22:10:59 +0000 (00:10 +0200)] 
Merge pull request #708 from terrelln/lk

[linux-kernel] Update patches in response to comments

8 years agoMerge pull request #705 from terrelln/dev
Yann Collet [Mon, 22 May 2017 19:25:09 +0000 (21:25 +0200)] 
Merge pull request #705 from terrelln/dev

[libzstd] Allow users to define custom visibility

8 years ago[libzstd] Allow users to define custom visibility 705/head
Nick Terrell [Sat, 20 May 2017 01:01:59 +0000 (18:01 -0700)] 
[libzstd] Allow users to define custom visibility

8 years ago[linux-kernel] Fix a weird clang-format corner case 708/head
Nick Terrell [Wed, 17 May 2017 22:06:41 +0000 (15:06 -0700)] 
[linux-kernel] Fix a weird clang-format corner case

8 years ago[linux-kernel] Update tests Makefile 704/head
Nick Terrell [Wed, 17 May 2017 21:56:37 +0000 (14:56 -0700)] 
[linux-kernel] Update tests Makefile

8 years ago[linux-kernel] Update zstd.diff
Nick Terrell [Wed, 17 May 2017 21:52:12 +0000 (14:52 -0700)] 
[linux-kernel] Update zstd.diff

8 years ago[linux-kernel] Move ZSTD_STATIC_ASSERT to zstd_internal.h
Nick Terrell [Wed, 17 May 2017 21:51:41 +0000 (14:51 -0700)] 
[linux-kernel] Move ZSTD_STATIC_ASSERT to zstd_internal.h

8 years ago[linux-kernel] clang-format lib/zstd/
Nick Terrell [Wed, 17 May 2017 21:40:46 +0000 (14:40 -0700)] 
[linux-kernel] clang-format lib/zstd/

8 years ago[linux-kernel] Rename MEM_* functions to ZSTD_*
Nick Terrell [Wed, 17 May 2017 21:39:57 +0000 (14:39 -0700)] 
[linux-kernel] Rename MEM_* functions to ZSTD_*

8 years agoAdd clang-format config
Nick Terrell [Wed, 17 May 2017 19:27:58 +0000 (12:27 -0700)] 
Add clang-format config