0x123456789A and GitHub
57a311d3b7
Consider ZSTD_PROGRAMS_LINK_SHARED
...
Actually consider ZSTD_PROGRAMS_LINK_SHARED in programs CMakeLists
2019-10-29 14:33:50 +01:00
0x123456789A and GitHub
26ffc18634
Introduce ZSTD_PROGRAMS_LINK_SHARED
...
The CMake variable ZSTD_PROGRAMS_LINK_SHARED indicactes wether or not to link the zstd programs dynamically or statically.
2019-10-29 14:31:02 +01:00
Shashank Tavildar
850ba66139
Minor fixes in test
2019-10-28 22:24:01 -07:00
Bimba Shrestha and GitHub
da73b11b14
Merge branch 'dev' into named_pipes
2019-10-29 01:17:13 -04:00
Bimba Shrestha
66f580ca73
Removing Visual08 and Visual10 tests
2019-10-28 22:09:34 -07:00
Nick Terrell and GitHub
5c0bdde922
Merge pull request #1856 from terrelln/assert-fix
...
Fix assert in ZSTD_safecopy
2019-10-28 21:44:22 -07:00
Shashank Tavildar
0f2bff2faf
Addressing comments, removing cyclic dependency with header file, updating tests
2019-10-28 18:21:47 -07:00
Nick Terrell
9c1860861e
Fix assert in ZSTD_safecopy
...
In the case that `op >= oend_w` it is possible that `diff < 8` because
the two buffers could be adjacent.
Credit to OSS-Fuzz, which found the bug. It isn't reproducible because
it depends on the memory layout.
2019-10-28 17:51:17 -07:00
Shashank Tavildar
0e9a37daeb
Fixing tests and moving flag to advanced usage
2019-10-28 15:22:26 -07:00
Shashank Tavildar
f422914619
Resolving local merge conflicts
2019-10-28 15:15:13 -07:00
Shashank Tavildar
02433e0b15
Addressing comments: -Created a list of extensions defined in fileio.h, -Updated test
2019-10-28 14:54:54 -07:00
Shashank Tavildar
48f856640e
Added --exclude-compressed flag feature that skips compression of precompressed files
2019-10-28 13:57:40 -07:00
Yann Collet
6d5e0f1c9f
Merge branch 'dev' of github.com:facebook/zstd into dev
2019-10-28 12:57:23 -07:00
Yann Collet
faddd2aa1d
updated CHANGELOG for v1.4.4
2019-10-28 12:57:05 -07:00
Felix Handte and GitHub
01ec595b85
Merge pull request #1851 from felixhandte/pkg-config-prefix-fix
...
In pkg-config File, Derive Lib and Include Dir from Prefix at Use-Time
2019-10-28 14:24:56 -04:00
Yann Collet
74065da4c5
updated API inline doc and manual
...
regarding ZSTD_CDict created without a dictBuffer.
2019-10-28 11:15:41 -07:00
Yann Collet and GitHub
b4037b18ef
Merge pull request #1848 from felixhandte/tzst-ext-tmp
...
Support Decompressing Short Tar Extensions
2019-10-28 10:08:20 -07:00
Yann Collet and GitHub
66a96caf22
Merge pull request #1847 from facebook/zlibwrap_visual
...
fix zlibWrapper for Visual Studio
2019-10-25 17:42:42 -07:00
Shashank Tavildar
55ee7d56e4
Added --exclude-compressed flag feature that skips compression of precompressed files
2019-10-25 15:49:11 -07:00
Bimba Shrestha
5e59d51991
Merge branch 'master' of https://github.com/bimbashrestha/zstd into named_pipes
2019-10-25 15:43:41 -07:00
Bimba Shrestha
857268b32c
Gating named pipe support in hedaer file
2019-10-25 15:15:28 -07:00
Bimba Shrestha
0b52d878b2
Cleaning up gate and adding comment to flag
2019-10-25 14:06:50 -07:00
W. Felix Handte
74bd76c3ff
In pkg-config File, Derive Lib and Include Dir from Prefix at Use-Time
...
Addresses #1794 . Instead of deriving the lib dir and include dir at
build-time, let's do it like everyone else does at pkg-config run-time.
This has the disadvantage that we can no longer override LIBDIR and
INCLUDEDIR in the Makefile and have that reflected in the .pc file.
2019-10-25 15:07:31 -04:00
Bimba Shrestha and GitHub
fb509a2a7b
Merge pull request #8 from bimbashrestha/appveyorTest
...
Appveyor test
2019-10-25 12:07:05 -07:00
Bimba Shrestha
8adecc73b0
Running playtests.sh on PRs too
2019-10-25 12:04:54 -07:00
Bimba Shrestha
5b45ff4f1c
Gating named file support on windows
2019-10-25 11:32:38 -07:00
W. Felix Handte
4eccc82875
Minor Fixes
2019-10-25 13:59:19 -04:00
Yann Collet and GitHub
c2140e9db0
Merge pull request #1845 from facebook/zbuff
...
improve deprecation warning macro
2019-10-25 09:59:00 -07:00
W. Felix Handte
24499036ba
Add Tests
2019-10-24 20:19:10 -04:00
W. Felix Handte
91c3f545cc
Fix Build; Refactor
2019-10-24 20:18:57 -04:00
Yann Collet
42a22af78b
fix zlibWrapper for Visual Studio
...
As per https://github.com/facebook/zstd/issues/1800#issuecomment-545945050 ,
Visual does not support `ssize_t` type,
which is an issue for `gzread.c`.
Added a work around, suggested by @bluenlive
Note : I have not been able to confirm the problem,
so this is a blind fix.
This seems safe outside of Visual, since it is gated by _MSC_VER macro.
2019-10-24 15:19:05 -07:00
Felix Handte and GitHub
30b27ee0c9
Merge pull request #1790 from stokito/tzst-ext
...
Add short tar's extensions .tgz (.tar.gz), .txz (.tar.xz), .tzst (.tar.zst)
2019-10-24 17:50:22 -04:00
Felix Handte and GitHub
506e1a1176
Merge branch 'tzst-ext-tmp' into tzst-ext
2019-10-24 17:49:34 -04:00
Yann Collet and GitHub
f93668c904
Merge pull request #1841 from bimbashrestha/travis
...
Adding arm64 make check to travis.ci
2019-10-24 12:58:50 -07:00
Yann Collet and GitHub
37f90930da
Merge pull request #1839 from bimbashrestha/named_pipes
...
Allowing named pipes to go through in zstdcli
2019-10-24 10:53:12 -07:00
Yann Collet and GitHub
a9a216a846
Merge pull request #1824 from senhuang42/new_path_for_cdict
...
Avoid using CDict params when input is large.
2019-10-23 12:04:40 -07:00
Yann Collet
63e435dda1
improve deprecation warning macro
...
fix #1488
although, curiously enough, I was never able to reproduce the issue
(according to the bug report, it should be present while using gcc 4.8).
2019-10-23 11:59:32 -07:00
Bimba Shrestha
4899b6fdbd
Moving arm64 test outside the meson scope
2019-10-23 10:43:20 -07:00
moozzyk
eda7946a36
Take ZSTD_parameters as a const pointer
...
Fixes : #1637
2019-10-22 23:21:54 -07:00
Nick Terrell and GitHub
3c8ff35013
Merge pull request #1840 from terrelln/regression-fix
...
[regression] Fix the old streaming regression test
2019-10-22 17:58:31 -07:00
Bimba Shrestha
5228c0718d
Adding arm64 make check
2019-10-22 17:43:29 -07:00
Yann Collet
f966cd080a
added documentation on DYNAMIC_BMI2 build macro
2019-10-22 17:43:09 -07:00
Bimba Shrestha and GitHub
95f7880ddb
Merge pull request #4 from facebook/dev
...
Merging dev
2019-10-22 17:33:12 -07:00
Bimba Shrestha
10f7147013
Adding shell test and removing bash test file
2019-10-22 17:09:44 -07:00
Yann Collet and GitHub
09d0b52998
Merge pull request #1838 from facebook/fixAdvanced
...
fix initCStream_advanced() for fast strategies
2019-10-22 16:22:55 -07:00
Bimba Shrestha
edae3c8f3c
Adding bash test for named pipes
2019-10-22 16:15:59 -07:00
Nick Terrell
cf21003995
[regression] Fix the old streaming regression test
...
* A copy-paste error made it so we weren't running the advanced/cdict
streaming tests with the old API.
* Clean up the old streaming tests to skip incompatible configs.
* Update `results.csv`.
The tests now catch the bug in #1787 .
2019-10-22 15:43:17 -07:00
Bimba Shrestha
8a3974807e
Allowing named pipes to go through zstdcli
2019-10-22 15:23:22 -07:00
Yann Collet and GitHub
514f941a70
Merge pull request #1836 from facebook/dirFlat2
...
Added --output-dir-flat=
2019-10-22 15:19:04 -07:00
Yann Collet
5d5c895b18
fix initCStream_advanced() for fast strategies
...
Compression ratio of fast strategies (levels 1 & 2)
was seriously reduced, due to accidental disabling of Literals compression.
Credit to @QrczakMK, which perfectly described the issue, and implementation details,
making the fix straightforward.
Example : initCStream with level 1 on synthetic sample P50 :
Before : 5,273,976 bytes
After : 3,154,678 bytes
ZSTD_compress (for comparison) : 3,154,550
Fix #1787 .
To follow : refactor the test which was supposed to catch this issue (and failed)
2019-10-22 15:01:38 -07:00