Sean Purcell
0f5c95af44
Disambiguate pledgedSrcSize == 0
...
- Modify ZSTD CLI to only set contentSizeFlag if it _knows_ the size
- Change pzstd to stop setting contentSizeFlag without accurate pledgedSrcSize
2017-02-08 15:12:46 -08:00
Sean Purcell
ba2ad9f25c
ZSTD_decompress now handles multiple frames
2017-02-08 14:50:10 -08:00
Sean Purcell
4e709712e1
Decompressed size functions now handle multiframes and distinguish cases
...
- Add ZSTD_findDecompressedSize
- Traverses multiple frames to find total output size
- Add ZSTD_getFrameContentSize
- Gets the decompressed size of a single frame by reading header
- Deprecate ZSTD_getDecompressedSize
2017-02-08 14:50:10 -08:00
Yann Collet
60259eb9a0
Merge pull request #526 from iburinoc/educational
...
Add educational decoder to /contrib
2017-02-07 15:34:33 -08:00
Sean Purcell
eb52dbd4fe
Minor changes to educational decoder
2017-02-07 14:44:11 -08:00
Yann Collet
00ea51f806
completed NEWS for v1.1.3
2017-02-07 12:05:28 -08:00
Yann Collet
ba76bde015
Merge pull request #534 from terrelln/dev
...
Attribute cover dictionary code
2017-02-07 11:58:59 -08:00
Nick Terrell
71c5263c00
Attribute cover dictionary code
2017-02-07 11:35:07 -08:00
Yann Collet
11df67cb09
Merge branch 'dev' of github.com:facebook/zstd into dev
2017-02-06 17:40:38 -08:00
Yann Collet
816edeb9c2
corrected contributor's name
2017-02-06 17:39:54 -08:00
Yann Collet
696a749d30
Merge pull request #532 from terrelln/zlib
...
Change zlib include to be a system include
2017-02-06 14:44:23 -08:00
Nick Terrell
7e3fc73795
Ensure <zlib.h> can be included in HAVE_ZLIB test
2017-02-06 11:54:31 -08:00
Nick Terrell
2cb8ee8784
Change zlib include to be a system include
2017-02-06 11:32:13 -08:00
Yann Collet
d44d363ec1
changed download URL for github_users sample set
2017-02-06 10:01:06 -08:00
Yann Collet
5962e58659
updated NEWS for v1.1.3
2017-02-05 18:09:35 -08:00
Yann Collet
f6e9c4f1e1
Merge pull request #529 from facebook/gzstd_default
...
Gzstd default
2017-02-05 18:03:36 -08:00
Yann Collet
b54e235bf3
fixed Mac OS-X specific directory in $(RM) list
...
these directories are now removed with -r command
2017-02-05 10:22:58 -08:00
cyan4973
613087c02b
Silence zlib detection routine
...
When it fails, $(CC) sends error message into stderr
redirected to /dev/null
2017-02-04 23:36:12 -08:00
cyan4973
6f31b76d1d
removed gzstd test from travis
...
this target does no longer exist
2017-02-04 21:39:41 -08:00
Sean Purcell
f191be2fe6
Inlined portions of specification for clarity
2017-02-03 18:04:00 -08:00
Yann Collet
11d3bc885e
Merge pull request #530 from terrelln/cover-man
...
Add cover dictionary training to zstd.1
2017-02-03 17:10:06 -08:00
Nick Terrell
b4016ff02f
Add cover dictionary training to zstd.1
...
Tested with `make install && man zstd` and visual inspection.
2017-02-03 16:42:07 -08:00
Sean Purcell
18ce8b54dd
Switch IO to go through streams
2017-02-03 15:22:52 -08:00
Yann Collet
762ddeeb9e
fixed zstdmt compilation under Windows minGW/MSYS2, by @inikep
2017-02-03 14:35:42 -08:00
Yann Collet
21eb80d485
remove zlib detection artefact
...
result of compilation test is sent to /dev/null
2017-02-03 14:34:41 -08:00
Yann Collet
b02ac8d613
fixed pointer conversion warnings (C++)
...
in gz module
2017-02-03 08:43:06 -08:00
Yann Collet
c2a4632789
release builds use less debug symbols and warnings
...
release build are triggered through either `make`,
or their specific target `make zstd-release` and `make lib-release`.
2017-02-02 20:54:41 -08:00
Yann Collet
c3cba9d858
fixed silent conversion warnings in GZDECOMPRESS path
2017-02-02 17:12:50 -08:00
Yann Collet
030ac243a0
Changed Makefile to generate zstd with .gz support by default
...
.gz support is detected by a runtime test.
2017-02-02 16:49:34 -08:00
Yann Collet
3dc85bae66
minor : fixed zstd-frugal
...
fixed a minor unused variable warning when compiling zstd-frugal target
2017-02-02 16:19:09 -08:00
Yann Collet
4dfabc45d9
removed unused chart
2017-02-02 13:50:51 -08:00
Yann Collet
c13cd3aa62
updated dictionary compression paragraph
2017-02-02 13:50:07 -08:00
Sean Purcell
823d8c233b
Minor security fixes
2017-02-01 10:41:04 -08:00
Yann Collet
48bed91606
Merge pull request #527 from facebook/zstdmt
...
zstdmt refinements
2017-01-31 16:36:46 -08:00
Sean Purcell
92ec2ea62f
More const's and readability improvements
2017-01-31 15:57:18 -08:00
Sean Purcell
f5d2f32d4d
Removed circular buffer, matches access destination buffer directly
2017-01-31 15:54:55 -08:00
Sean Purcell
f231626244
Minor fixes according to comments
...
- Add Facebook copyright notice
- Make max size macros more consistent
- Fix some unchecked malloc's
2017-01-30 15:00:19 -08:00
Sean Purcell
5657e0e07d
Added ZSTD_get_decompressed_size
...
Since this implementation handles multiple concatenated frames,
to determine decompressed size we must traverse the entire input,
checking each frame's frame_content_size field
2017-01-30 14:56:29 -08:00
Yann Collet
b2e1b3d670
fixed overlapLog==0 => no overlap
2017-01-30 14:54:46 -08:00
Yann Collet
8d8513fb64
fixed C constant restrictions
2017-01-30 14:37:08 -08:00
Yann Collet
3672d06d06
zstdmt : section size is set to be a minimum of overlapSize
...
the minimum size condition size is applied transparently (no warning, no error)
like previous minimum section size condition (1 KB) which still applies.
2017-01-30 13:35:45 -08:00
Yann Collet
6ccd37c8d4
cli : added advanced parameter overlapLog
...
as a hidden (undocumented) parameter for now
2017-01-30 13:07:24 -08:00
Yann Collet
92c98a5b21
zstreamtest uses random section sizes for fuzzing
2017-01-30 12:50:31 -08:00
Yann Collet
cd23dd24af
zstreamtest uses random overlapLog for fuzzing
2017-01-30 12:46:35 -08:00
Sean Purcell
9700f92583
Add educational decoder to /contrib
2017-01-30 11:44:43 -08:00
Yann Collet
6be2337c26
added command --block-size=
...
for Multi-threading only.
alias : -B#
2017-01-30 11:17:26 -08:00
Yann Collet
88df1aed61
changed advanced parameter overlapLog
...
Follows a positive logic (increasing value => increasing overlap)
which is easier to use
2017-01-30 11:00:00 -08:00
Yann Collet
b5fd15ccb2
fixed : legacy decoders v04 and v05
2017-01-30 10:45:58 -08:00
Yann Collet
cc3d1bc262
Merge pull request #525 from terrelln/covermt
...
Multithreaded COVER dictionary training
2017-01-30 10:15:33 -08:00
Yann Collet
4fd0fffdea
Merge pull request #523 from terrelln/buck
...
Add BUCK files for Nuclide integration
2017-01-28 19:17:58 -08:00