493f95c7df
Fix merge conflicts
2019-08-22 11:51:41 -07:00
a505463710
Merge pull request #1726 from nmagerko/stream-size
...
Add --stream-size=# option
2019-08-22 11:31:15 -07:00
fd486a846a
Differentiate --stream-size from --size-hint
2019-08-22 09:37:47 -07:00
2cdda8b3c4
Minor documentation update
2019-08-22 09:13:28 -07:00
05d7479a50
Document --size-hint
2019-08-20 14:08:26 -07:00
2d39b43906
Use int for srcSizeHint when sensible
2019-08-19 16:49:25 -07:00
dffbac5f89
Add --size-hint=# option
2019-08-19 11:38:49 -07:00
30bfa228e8
Keep content size flag set in stream size mode
2019-08-19 11:20:28 -07:00
a24dc3a935
Remove extraneous variables
2019-08-19 11:14:56 -07:00
f781cf672b
Remove extraneous parameter
2019-08-19 11:07:43 -07:00
bbd83c2ab3
Update man page
2019-08-19 09:11:22 -07:00
c403b12f9d
Set pledged size just before compression
2019-08-19 09:01:31 -07:00
af0c9501d1
Add --stream-size=# command
2019-08-16 11:34:39 -07:00
b81d7cc6a0
remove extraneous doubled ;s
2019-08-15 21:17:06 -04:00
01b2331ad1
bumped version number
...
to v1.4.3
2019-08-05 17:17:16 +02:00
26351071bc
Merge pull request #1706 from LeeYoung624/dev
...
add NULL pointer check in util.c
2019-08-05 15:56:50 +02:00
387e20d4f0
fixed minor conversion warning in datagen
2019-08-02 18:02:54 +02:00
37f47e51a8
fixed datagen
...
to produce same content on both 32 and 64-bit platforms
by removing floating from literal table determination.
also : added checksum trace in compression control test,
so that it's easier to determine if test fails
as a consequence of compressing a different sample.
2019-08-02 17:34:53 +02:00
c5caaf52a4
bug fix : NULL pointer
2019-07-29 17:05:50 +08:00
793b94b354
memory leak fix
2019-07-25 21:07:57 +08:00
1f16245e9e
updated man page
2019-07-24 16:04:37 -07:00
0d38ee3c30
Merge pull request #1690 from piguin/dev
...
fix compiling errors with clang-8
2019-07-24 15:37:05 -07:00
5a61e66f7b
previous commit did not undo all changes
2019-07-24 13:53:50 -07:00
12d60a9bd9
removing changes to zstd.1
2019-07-24 13:52:34 -07:00
f8c1d7979c
modifying minor nit
2019-07-22 16:36:44 -07:00
02da4497f0
Adding documentation for shrink flag PR #1656
2019-07-22 16:33:22 -07:00
04a9d6b828
fix compiling errors with clang-8
...
Compiling with clang-8 fails with the following errors:
largeNbDicts.c:562:37: error: implicit conversion turns floating-point
number into integer: 'const double' to 'U64' (aka 'unsigned long')
[-Werror,-Wfloat-conversion]
U64 const dTime_ns = result.nanoSecPerRun;
~~~~~~~~ ~~~~~~~^~~~~~~~~~~~~
zstdcli.c:300:5: error: '@return' command used in a comment that is
not attached to a function or method declaration
[-Werror,-Wdocumentation]
* @return 1 means that cover parameters were correct
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zstdcli.c:301:5: error: '@return' command used in a comment that is
not attached to a function or method declaration
[-Werror,-Wdocumentation]
* @return 0 in case of malformed parameters
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-07-18 19:41:00 -07:00
8eda16c9f6
Merge pull request #1677 from LeeYoung624/gitignore_fix
...
fix gitignore errors
2019-07-09 14:36:38 -07:00
b8ec4b0fd6
updated version number (to v1.4.1)
...
also : added doc on context re-use, as suggested by @scherepanov at #1676
2019-07-09 11:43:59 -07:00
654cb9d439
fix gitignore errors
2019-07-09 21:08:13 +08:00
096714d1b8
Merge pull request #1671 from ephiepark/dev
...
Adding targetCBlockSize param
2019-07-03 17:47:44 -07:00
9007701670
Adding targetCBlockSize param
2019-07-03 15:41:52 -07:00
857e608b51
Merge pull request #1658 from facebook/memset
...
memset() rather than reduceIndex()
2019-07-01 15:01:43 -07:00
c55d2e7ba3
Adding shrinking flag for cover and fastcover ( #1656 )
...
* Changed ERROR(GENERIC) excluding inits
* editing git ignore
* Edited init functions to size_t returns
* moved declarations earlier
* resolved issues with changes to init functions
* fixed style and an error check
* attempting to add tests that might trigger changes
* added && die to cases expecting to fail
* resolved no die on expected failed command
* fixed accel to be incorrect value
* Adding an automated shrinking option
* Fixing build
* finalizing fixes
* fix?
* Removing added comment in cover.h
* Styling fixes
* Merging with fb dev
* removing megic number for default regression
* Requested revisions
* fixing support for fast cover
* fixing casting errors
* parenthesis fix
* fixing some build nits
* resolving travis ci syntax
* might resolve all compilation issues
* removed unused variable
* remodeling the selectDict function
* fixing bad memory access
* fixing error checks
* fixed erroring check in selectDict
* fixing mixed declarations
* modify mixed declaration
* fixing nits and adding test cases
* Adding requested changes + fixed bug for error checking
* switched double comparison from != to <
* fixed declaration typing
* refactoring COVER_best_finish() and changing shrinkDict
* removing the const's
* modifying ZDICT_optimizeTrainFromBuffer_cover functions
* fixing potential bad memcpy
* fixing the error function for dict size
2019-06-27 16:26:57 -07:00
944e2e9e12
benchfn : added macro macro CONTROL()
...
like assert() but cannot be disabled.
proper separation of user contract errors (CONTROL())
and invariant verification (assert()).
2019-06-21 15:58:55 -07:00
1166782eb7
Merge pull request #1640 from felixhandte/lstat-macro-guard
...
Protect lstat() With Better Macro Guard
2019-06-14 17:30:03 -07:00
af80f6dfac
[programs] Don’t try to chmod a dst file if it can’t be opened
...
Repairs an oversight in my last commit, thanks @Cyan4973
2019-06-09 01:52:45 -07:00
3968160a91
[programs] set chmod 600 after opening destination file
...
This resolves a race condition where zstd or unzstd may expose read
permissions beyond the original file allowed. Mode 600 is used
temporarily during the compression and decompression write stage
and the new file inherits the original file’s mode at the end.
Fixes #1630
2019-06-08 21:54:02 -07:00
d2c48042e6
Switch Macro Guarding lstat()
2019-06-07 15:32:28 -04:00
f46a3603c9
Update README.md
...
Fix minor typo in the documentation.
2019-06-05 09:11:21 -07:00
e498bb64b6
zstdcli : align output message with previous message
2019-06-04 09:42:18 -07:00
a38601f05a
zstdcli : remove extra semicolon
2019-06-04 09:25:16 -07:00
ef2c836955
zstdcli : trying to fix declaration after statement
2019-06-04 09:23:49 -07:00
5fe974261b
zstdcli : moving cpu load calculation from FIO_compressFilename_dstFile to FIO_compressFilename_internal
2019-06-04 09:04:35 -07:00
2841c79e87
zstdcli : fixing mixed declarations and code error
2019-06-03 17:36:09 -07:00
43d463eccb
zstdcli : moving start time and cpu initialization after potential prompt
2019-06-03 17:31:14 -07:00
5029ebce2f
zstdcli : exposing cpu load indicator for each file on -vv mode
2019-06-03 14:38:40 -07:00
61025d5b7d
zstdgrep: Handle -f Flag
2019-05-24 16:55:59 -04:00
23b5ee1236
fileio: Disable BACKTRACE under uClibc
...
uClibc does not support BACKTRACE. It also defines __GLIBC__ and minor as both 2.
This fixes compilation under such a setup.
2019-05-06 15:02:47 -07:00
c4a40dbf65
set followLinks option true to cat, zcat and gzcat programs
2019-04-27 19:06:29 -04:00