]>
git.ipfire.org Git - thirdparty/zstd.git/log
Paul Cruz [Thu, 15 Jun 2017 22:02:54 +0000 (15:02 -0700)]
allow analysis even if file does not have zst extension
Paul Cruz [Thu, 15 Jun 2017 21:13:28 +0000 (14:13 -0700)]
cleaning up code for analyzing frames
Paul Cruz [Thu, 15 Jun 2017 19:27:32 +0000 (12:27 -0700)]
cleaning up code
Paul Cruz [Thu, 15 Jun 2017 18:37:24 +0000 (11:37 -0700)]
add print statements for debugging and change malloc with updated size
Paul Cruz [Thu, 15 Jun 2017 16:47:29 +0000 (09:47 -0700)]
added print statements for debugging, fixed first segfault
Paul Cruz [Thu, 15 Jun 2017 01:06:16 +0000 (18:06 -0700)]
changed samples to geometric distribution so that it is huffman compressible
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
Paul Cruz [Thu, 15 Jun 2017 00:18:25 +0000 (17:18 -0700)]
Merge pull request #2 from paulcruz74/list
List
Paul Cruz [Wed, 14 Jun 2017 23:42:51 +0000 (16:42 -0700)]
changed randomly generated samples to randomly selected from the dictionary content
Yann Collet [Wed, 14 Jun 2017 21:28:12 +0000 (14:28 -0700)]
Merge pull request #722 from paulcruz74/dev
Improve roundTripCrash
Paul Cruz [Wed, 14 Jun 2017 20:26:19 +0000 (13:26 -0700)]
changing formatting again
Paul Cruz [Wed, 14 Jun 2017 20:23:36 +0000 (13:23 -0700)]
print message when no files are given, rearrange code for readability
Paul Cruz [Wed, 14 Jun 2017 20:11:18 +0000 (13:11 -0700)]
changed U64 to unsigned long to get rid of build test errors
Paul Cruz [Wed, 14 Jun 2017 19:04:22 +0000 (12:04 -0700)]
added error message to catch case where size not given
Paul Cruz [Wed, 14 Jun 2017 17:54:47 +0000 (10:54 -0700)]
code refactoring and adding some print statements for debugging
Paul Cruz [Wed, 14 Jun 2017 00:27:02 +0000 (17:27 -0700)]
debugging error with finalizeDictionary() not writing dictionary properly
Paul Cruz [Tue, 13 Jun 2017 21:19:35 +0000 (14:19 -0700)]
changed makefile to include zdict functions, wrote out dictionary to path
Paul Cruz [Tue, 13 Jun 2017 18:54:43 +0000 (11:54 -0700)]
added code to generate dictionary using finalizeDictionary
Paul Cruz [Tue, 13 Jun 2017 17:06:49 +0000 (10:06 -0700)]
cleaning up code
Paul Cruz [Tue, 13 Jun 2017 00:47:33 +0000 (17:47 -0700)]
changed print format for non-verbose version
Paul Cruz [Tue, 13 Jun 2017 00:19:53 +0000 (17:19 -0700)]
yet more refactoring
Paul Cruz [Tue, 13 Jun 2017 00:09:08 +0000 (17:09 -0700)]
more refactoring for C90
Paul Cruz [Mon, 12 Jun 2017 23:53:50 +0000 (16:53 -0700)]
refactoring for C90 syntax
Paul Cruz [Mon, 12 Jun 2017 23:29:00 +0000 (16:29 -0700)]
formatting issues resolved
Paul Cruz [Mon, 12 Jun 2017 23:14:04 +0000 (16:14 -0700)]
code refactorings with explicit conversion
Paul Cruz [Mon, 12 Jun 2017 22:59:28 +0000 (15:59 -0700)]
formated information for verbose output
Paul Cruz [Mon, 12 Jun 2017 22:51:59 +0000 (15:51 -0700)]
displayed decompressed size
Paul Cruz [Mon, 12 Jun 2017 22:40:47 +0000 (15:40 -0700)]
incremented decompressedSize instead of setting value
Paul Cruz [Mon, 12 Jun 2017 22:24:50 +0000 (15:24 -0700)]
removed useless lines
Paul Cruz [Mon, 12 Jun 2017 22:22:48 +0000 (15:22 -0700)]
added in logic for parsing through blocks/frames
Paul Cruz [Mon, 12 Jun 2017 20:46:39 +0000 (13:46 -0700)]
added code to analyze the first frame header
Paul Cruz [Mon, 12 Jun 2017 17:58:34 +0000 (10:58 -0700)]
added line spacing for clarity
Paul Cruz [Mon, 12 Jun 2017 17:47:30 +0000 (10:47 -0700)]
Merge branch 'dev' into list
Yann Collet [Mon, 12 Jun 2017 12:19:15 +0000 (05:19 -0700)]
minor man update on -B# option in benchmark mode
Yann Collet [Mon, 12 Jun 2017 11:51:24 +0000 (04:51 -0700)]
Merge pull request #721 from manixate/typo-fix
Minor grammatical changes
Muhammad Azeem [Mon, 12 Jun 2017 03:09:44 +0000 (11:09 +0800)]
Minor grammatical changes
Yann Collet [Mon, 12 Jun 2017 01:46:09 +0000 (18:46 -0700)]
disabled MT code path when ZSTD_MULTITHREAD is not defined
Yann Collet [Mon, 12 Jun 2017 01:39:46 +0000 (18:39 -0700)]
added MT support to NEWAPI
Yann Collet [Mon, 12 Jun 2017 01:32:36 +0000 (18:32 -0700)]
added control stage to MT mode
Paul Cruz [Fri, 9 Jun 2017 20:57:18 +0000 (13:57 -0700)]
removed previous double free crash, used new crash function
Paul Cruz [Fri, 9 Jun 2017 20:41:34 +0000 (13:41 -0700)]
added error function for different compilation modes
Paul Cruz [Fri, 9 Jun 2017 16:48:56 +0000 (09:48 -0700)]
added code to extend the offset when a dictionary is detected
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
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
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
Paul Cruz [Tue, 6 Jun 2017 16:21:42 +0000 (09:21 -0700)]
added display for compressed size
Yann Collet [Tue, 6 Jun 2017 01:32:48 +0000 (18:32 -0700)]
linked newAPI to ZSTDMT
Paul Cruz [Mon, 5 Jun 2017 22:00:06 +0000 (15:00 -0700)]
added in check suffix check to ensure file was compressed with zstd
Paul Cruz [Mon, 5 Jun 2017 21:45:31 +0000 (14:45 -0700)]
setup basic functions for adding --list functionality
cyan4973 [Mon, 5 Jun 2017 07:12:13 +0000 (00:12 -0700)]
minor fix for -Wdocumentation
cyan4973 [Mon, 5 Jun 2017 06:52:00 +0000 (23:52 -0700)]
fixed g++ prototype mismatch
cyan4973 [Mon, 5 Jun 2017 05:06:25 +0000 (22:06 -0700)]
fixed fullbench project for VS2010+
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
Yann Collet [Sat, 3 Jun 2017 08:15:02 +0000 (01:15 -0700)]
updated ZSTDMT streaming API
ZSTDMT streaming API is now similar
and has same capabilites as single-thread streaming API.
It makes it easier to blend them together.
Yann Collet [Sat, 3 Jun 2017 01:20:48 +0000 (18:20 -0700)]
made debug definitions common within zstd_internal.h
Yann Collet [Sat, 3 Jun 2017 00:43:55 +0000 (17:43 -0700)]
completed NEWS for v1.3.0
Yann Collet [Sat, 3 Jun 2017 00:35:11 +0000 (17:35 -0700)]
updated NEWS for v1.3.0
Yann Collet [Sat, 3 Jun 2017 00:16:49 +0000 (17:16 -0700)]
fixed missing initialization
Yann Collet [Sat, 3 Jun 2017 00:10:49 +0000 (17:10 -0700)]
significant zlib wrapper code refactoring
code indentation
variable scope and names
constify
Only coding style changes.
The logic should remain the same.
Yann Collet [Fri, 2 Jun 2017 21:24:58 +0000 (14:24 -0700)]
zlib_wrapper's uncompress() uses ZSTD_isFrame() for routing
more generic and safer than using own routing for magic number comparison
Yann Collet [Fri, 2 Jun 2017 21:01:21 +0000 (14:01 -0700)]
ensure zlibwrapper uses ZSTD_malloc() and ZSTD_free()
which is compatible with { NULL, NULL, NULL }
Yann Collet [Fri, 2 Jun 2017 20:47:11 +0000 (13:47 -0700)]
minor indent
Yann Collet [Fri, 2 Jun 2017 19:34:18 +0000 (12:34 -0700)]
Merge pull request #716 from paulcruz74/dev
VS2005 Support Changes
Yann Collet [Fri, 2 Jun 2017 18:36:47 +0000 (11:36 -0700)]
added POOL_sizeof() for single-thread
Paul Cruz [Fri, 2 Jun 2017 17:28:56 +0000 (10:28 -0700)]
added a project support notice for VS2005
Paul Cruz [Fri, 2 Jun 2017 17:25:30 +0000 (10:25 -0700)]
added back documentation/notification for VS2005 in build directory
Paul Cruz [Fri, 2 Jun 2017 17:11:03 +0000 (10:11 -0700)]
Removed VS2005 from the list of included projects
Paul Cruz [Fri, 2 Jun 2017 04:25:39 +0000 (21:25 -0700)]
adding zstd/zstd.vcproj because it was ignored during initial commit
Paul Cruz [Fri, 2 Jun 2017 04:18:48 +0000 (21:18 -0700)]
Moved VS2005 to the contrib directory
Yann Collet [Fri, 2 Jun 2017 01:44:06 +0000 (18:44 -0700)]
added support for multithreading parameters
Yann Collet [Fri, 2 Jun 2017 00:56:14 +0000 (17:56 -0700)]
created ZSTDMT_sizeof_CCtx() and POOL_sizeof()
required by ZSTD_sizeofCCtx() while adding a ZSTDMT_CCtx*
Yann Collet [Thu, 1 Jun 2017 16:44:54 +0000 (09:44 -0700)]
protected impossible switch(){default:} with assert(0)
can be converted into assume(0) in some future
Yann Collet [Wed, 31 May 2017 17:03:20 +0000 (10:03 -0700)]
Merge branch 'advancedAPI2' of github.com:facebook/zstd into advancedAPI2
Yann Collet [Wed, 31 May 2017 16:59:22 +0000 (09:59 -0700)]
fixed visual warning
Yann Collet [Wed, 31 May 2017 08:17:44 +0000 (01:17 -0700)]
fixed visual warnings
Yann Collet [Wed, 31 May 2017 01:10:26 +0000 (18:10 -0700)]
finally converted ZSTD_compressStream_generic() to use {in,ou}Buffer
replacing the older read/write variables from ZBUFF_* era.
Mostly to help code readability.
Fixed relevant callers.
Yann Collet [Wed, 31 May 2017 00:45:37 +0000 (17:45 -0700)]
ZSTD_createCCtx_advanced() now uses ZSTD_calloc()
initially uses calloc() instead of memset().
Performance improvement is unlikely measurable,
since ZSTD_CCtx is now very small,
with all tables transferred into workSpace.
Yann Collet [Wed, 31 May 2017 00:42:00 +0000 (17:42 -0700)]
expose ZSTD_compress_generic_simpleArgs()
which is a binding towards ZSTD_compress_generic()
using only integral types for arguments.
Yann Collet [Wed, 31 May 2017 00:11:39 +0000 (17:11 -0700)]
removed defaultCustomMem
now ZSTD_customCMem is promoted as new default.
Advantages : ZSTD_customCMem = { NULL, NULL, NULL},
so it's natural default after a memset.
ZSTD_customCMem is public constant
(defaultCustomMem was private only).
Also : makes it possible to introduce ZSTD_calloc(),
which can now default to stdlib's calloc()
when it detects system default.
Fixed zlibwrapper which depended on defaultCustomMem.
Yann Collet [Tue, 30 May 2017 23:37:19 +0000 (16:37 -0700)]
removed mtctx->cstream
use the first cctx in pool when ZSTDMT is used in single-thread mode
now that cctx and cstream are the same object.
Yann Collet [Tue, 30 May 2017 23:18:57 +0000 (16:18 -0700)]
Merge branch 'dev' into advancedAPI2
Fixed conflic in zstd_decompress.c
Yann Collet [Tue, 30 May 2017 23:12:06 +0000 (16:12 -0700)]
added ZSTDMT_createCCtx_advanced()
make it possible to use custom allocators
Yann Collet [Tue, 30 May 2017 17:02:03 +0000 (10:02 -0700)]
Merge branch 'advancedAPI2' of github.com:facebook/zstd into advancedAPI2
Yann Collet [Sun, 28 May 2017 00:09:06 +0000 (17:09 -0700)]
fixed minor cast warning
Yann Collet [Sat, 27 May 2017 07:21:33 +0000 (00:21 -0700)]
mtctx->jobs allocate its own memory space
to make ZSTDMT_CCtx_s size predictable
so that it can be included in CCtx
Yann Collet [Sat, 27 May 2017 07:03:08 +0000 (00:03 -0700)]
static dctx is incompatible with legacy support
documented, and runtime tested
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
Nick Terrell [Fri, 26 May 2017 01:34:13 +0000 (18:34 -0700)]
[linux-kernel] Fix duplicate symbols when built-in to kernel
Yann Collet [Fri, 26 May 2017 01:29:08 +0000 (18:29 -0700)]
fixed a few code comments : ZSTD_getFrameParams => ZSTD_getFrameHeader
Yann Collet [Fri, 26 May 2017 01:05:49 +0000 (18:05 -0700)]
Added ZSTD_initStaticCDict()
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
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")
Yann Collet [Thu, 25 May 2017 22:44:06 +0000 (15:44 -0700)]
added ZSTD_initStaticDDict()
Yann Collet [Thu, 25 May 2017 22:07:37 +0000 (15:07 -0700)]
updated ZSTD_estimate?DictSize() to pass parameter byReference
resulting ?Dict object is smaller when created byReference.
Seems better than a documentation note.
Nick Terrell [Thu, 25 May 2017 20:56:46 +0000 (13:56 -0700)]
[linux-kernel] Fix clang-format edge case with goto labels
Yann Collet [Thu, 25 May 2017 00:41:41 +0000 (17:41 -0700)]
added ZSTD_initStaticDCtx()
Yann Collet [Wed, 24 May 2017 22:42:24 +0000 (15:42 -0700)]
merged DStream's inBuff and outBuff into a single buffer
Saves one malloc().
Also : makes it easier to implement static allocation
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
Nick Terrell [Wed, 24 May 2017 20:52:36 +0000 (13:52 -0700)]
[linux-kernel] Fix some up clang-format edge cases
Nick Terrell [Wed, 24 May 2017 20:50:10 +0000 (13:50 -0700)]
[zstd] Fix up formatting edge cases for clang-format