]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
8 years agoReduce point at which we reduce offsets to protect against UB 593/head
Sean Purcell [Wed, 8 Mar 2017 00:52:23 +0000 (16:52 -0800)] 
Reduce point at which we reduce offsets to protect against UB

8 years agominor text refactor in readme
Yann Collet [Wed, 8 Mar 2017 00:24:54 +0000 (16:24 -0800)] 
minor text refactor in readme

8 years agoMerge pull request #592 from iburinoc/ci
Yann Collet [Tue, 7 Mar 2017 21:51:33 +0000 (13:51 -0800)] 
Merge pull request #592 from iburinoc/ci

Fix travis test broken by Makefile change

8 years agoFix travis test broken by Makefile change 592/head
Sean Purcell [Tue, 7 Mar 2017 19:36:19 +0000 (11:36 -0800)] 
Fix travis test broken by Makefile change

8 years agoMerge pull request #590 from iburinoc/ci
Yann Collet [Tue, 7 Mar 2017 07:29:26 +0000 (23:29 -0800)] 
Merge pull request #590 from iburinoc/ci

Set up "short" tests on CircleCI

8 years agoUse test section 590/head
Sean Purcell [Tue, 7 Mar 2017 00:57:04 +0000 (16:57 -0800)] 
Use test section

8 years agofixed lzbench link
Yann Collet [Tue, 7 Mar 2017 01:24:34 +0000 (17:24 -0800)] 
fixed lzbench link

8 years agofix : remove mempcpy line in bench
Yann Collet [Tue, 7 Mar 2017 01:22:47 +0000 (17:22 -0800)] 
fix : remove mempcpy line in bench

8 years agoupdated benchmark table
Yann Collet [Tue, 7 Mar 2017 01:20:44 +0000 (17:20 -0800)] 
updated benchmark table

zstd v1.1.3, new station i7-6700K

8 years agoAdd build targets to the Makefile, and update CircleCI tests
Sean Purcell [Thu, 2 Mar 2017 00:10:26 +0000 (16:10 -0800)] 
Add build targets to the Makefile, and update CircleCI tests

8 years agoMerge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Mon, 6 Mar 2017 05:18:25 +0000 (21:18 -0800)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

8 years agoadded -Wformat-security flag, as recommended by @pixelb
Yann Collet [Mon, 6 Mar 2017 05:17:32 +0000 (21:17 -0800)] 
added -Wformat-security flag, as recommended by @pixelb

8 years agominor code refactor in HUF module
Yann Collet [Mon, 6 Mar 2017 05:07:20 +0000 (21:07 -0800)] 
minor code refactor in HUF module

8 years agoMerge pull request #588 from pixelb/fedora-warnings
Yann Collet [Mon, 6 Mar 2017 05:06:13 +0000 (21:06 -0800)] 
Merge pull request #588 from pixelb/fedora-warnings

support -Werror=format-security

8 years agosupport -Werror=format-security 588/head
Pádraig Brady [Mon, 6 Mar 2017 03:36:56 +0000 (19:36 -0800)] 
support -Werror=format-security

Fedora now enables this option by default, resulting
in the following build failure:

Logging.h: In instantiation of
'void pzstd::Logger::operator()(int, const char*, Args ...)
Pzstd.cpp:413:48:   required from here
Logging.h:46:17: error: format not a string literal and no format arguments
[-Werror=format-security]
     std::fprintf(out_, fmt, args...);
     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~

8 years agoMerge pull request #586 from terrelln/repeat-heuristic
Yann Collet [Sat, 4 Mar 2017 03:38:56 +0000 (19:38 -0800)] 
Merge pull request #586 from terrelln/repeat-heuristic

Always check Huffman tables for ZSTD_lazy+

8 years agoAlways check Huffman tables for ZSTD_lazy+ 586/head
Nick Terrell [Fri, 3 Mar 2017 20:30:24 +0000 (12:30 -0800)] 
Always check Huffman tables for ZSTD_lazy+

The compressor always reuses the existing Huffman table if the literals
size is at most 1 KiB. If the compression strategy is `ZSTD_lazy` or
stronger always check to see if reusing the previous table or creating
a new table is better.

This doesn't yet weigh in decompression speed. I don't want to add any
heuristics there until I have real data to work with to ensure that the
heuristic works for at least one use case, preferably more.

8 years agoMerge pull request #585 from terrelln/cover-leak
Yann Collet [Fri, 3 Mar 2017 04:46:35 +0000 (20:46 -0800)] 
Merge pull request #585 from terrelln/cover-leak

Fix COVER_optimizeTrainFromBuffer() resource leaks

8 years agoMerge pull request #584 from terrelln/huff-repeat
Yann Collet [Fri, 3 Mar 2017 01:20:11 +0000 (17:20 -0800)] 
Merge pull request #584 from terrelln/huff-repeat

Allow compressor to repeat Huffman tables

8 years agoupdate NEWS on @iburinoc's 32-bits version improvement
Yann Collet [Fri, 3 Mar 2017 01:14:57 +0000 (17:14 -0800)] 
update NEWS on @iburinoc's 32-bits version improvement

8 years agodisable prefetch-decode for 32-bits target
Yann Collet [Fri, 3 Mar 2017 01:09:21 +0000 (17:09 -0800)] 
disable prefetch-decode for 32-bits target

This decoder variant is detrimental to x86 architecture
likely due to register pressure.

Note that the variant is disabled for all 32-bits targets.
It's unclear if it would help for different architectures,
such as ARM, MIPS or PowerPC.

8 years agoMerge pull request #582 from iburinoc/m32
Yann Collet [Fri, 3 Mar 2017 00:42:50 +0000 (16:42 -0800)] 
Merge pull request #582 from iburinoc/m32

Encode/decode offsets >= 32MB in 32-bits mode

8 years agoUse workspace for count and CTable 584/head
Nick Terrell [Fri, 3 Mar 2017 00:38:07 +0000 (16:38 -0800)] 
Use workspace for count and CTable

8 years agoFix COVER_optimizeTrainFromBuffer() resource leaks 585/head
Nick Terrell [Thu, 2 Mar 2017 23:54:39 +0000 (15:54 -0800)] 
Fix COVER_optimizeTrainFromBuffer() resource leaks

Thanks to @nemequ for reporting the resource leaks.

8 years agoRemove 'generic' inline strategy 582/head
Sean Purcell [Thu, 2 Mar 2017 23:15:31 +0000 (15:15 -0800)] 
Remove 'generic' inline strategy

Seems to avoid performance loss for compression.
Same strategy tested on decompression side, did not appear to improve
speed.

8 years agoMerge remote-tracking branch 'origin/dev' into m32
Sean Purcell [Thu, 2 Mar 2017 23:17:56 +0000 (15:17 -0800)] 
Merge remote-tracking branch 'origin/dev' into m32

8 years agoAllow compressor to repeat Huffman tables
Nick Terrell [Thu, 2 Mar 2017 01:51:56 +0000 (17:51 -0800)] 
Allow compressor to repeat Huffman tables

* Compressor saves most recently used Huffman table and reuses it
  if it produces better results.
* I attempted to preserve CPU usage profile.
  I intentionally left all of the existing heuristics in place.
  There is only a speed difference on the second block and later.
  When compressing large enough blocks (say >= 4 KiB) there is
  no significant difference in compression speed.
  Dictionary compression of one block is the same speed for blocks
  with literals <= 1 KiB, and after that the difference is not
  very significant.
* In the synthetic data, with blocks 10 KB or smaller, most blocks
  can't use repeated tables because the previous block did not
  contain a symbol that the current block contains.
  Once blocks are about 12 KB or more, most previous blocks have
  valid Huffman tables for the current block, and the compression
  ratio and decompression speed jumped.
* In silesia blocks as small as 4KB can frequently reuse the
  previous Huffman table (85%), but it isn't as profitable, and
  the previous Huffman table only gets used about 3% of the time.
* Microbenchmarks show that `HUF_validateCTable()` takes ~55 ns
  and `HUF_estimateCompressedSize()` takes ~35 ns.
  They are decently well optimized, the first versions took 90 ns
  and 120 ns respectively. `HUF_validateCTable()` could be twice as
  fast, if we cast the `HUF_CElt*` to a `U32*` and compare to 0.
  However, `U32` has an alignment of 4 instead of 2, so I think that
  might be undefined behavior.
* I've ran `zstreamtest` compiled normally, with UASAN and with MSAN
  for 4 hours each.

The worst case for the speed difference is a bunch of small blocks
in the same frame. I modified `bench.c` to compress the input in a
single frame but with blocks of the given block size, set by `-B`.
Benchmarks on level 1:

|  Program  | Block size |   Corpus  | Ratio | Compression MB/s | Decompression MB/s |
|-----------|------------|-----------|-------|------------------|--------------------|
| zstd.base |        256 | synthetic | 2.364 |            110.0 |              297.0 |
|      zstd |        256 | synthetic | 2.367 |            108.9 |              297.0 |
| zstd.base |        256 | silesia   | 2.204 |             93.8 |              415.7 |
|      zstd |        256 | silesia   | 2.204 |             93.4 |              415.7 |
| zstd.base |        512 | synthetic | 2.594 |            144.2 |              420.0 |
|      zstd |        512 | synthetic | 2.599 |            141.5 |              425.7 |
| zstd.base |        512 | silesia   | 2.358 |            118.4 |              432.6 |
|      zstd |        512 | silesia   | 2.358 |            119.8 |              432.6 |
| zstd.base |       1024 | synthetic | 2.790 |            192.3 |              594.1 |
|      zstd |       1024 | synthetic | 2.794 |            192.3 |              600.0 |
| zstd.base |       1024 | silesia   | 2.524 |            148.2 |              464.2 |
|      zstd |       1024 | silesia   | 2.525 |            148.2 |              467.6 |
| zstd.base |       4096 | synthetic | 3.023 |            300.0 |             1000.0 |
|      zstd |       4096 | synthetic | 3.024 |            300.0 |             1010.1 |
| zstd.base |       4096 | silesia   | 2.779 |            223.1 |              623.5 |
|      zstd |       4096 | silesia   | 2.779 |            223.1 |              636.0 |
| zstd.base |      16384 | synthetic | 3.131 |            350.0 |             1150.1 |
|      zstd |      16384 | synthetic | 3.152 |            350.0 |             1630.3 |
| zstd.base |      16384 | silesia   | 2.871 |            296.5 |              883.3 |
|      zstd |      16384 | silesia   | 2.872 |            294.4 |              898.3 |

8 years agoMerge pull request #583 from terrelln/set-dictid
Yann Collet [Thu, 2 Mar 2017 21:15:31 +0000 (13:15 -0800)] 
Merge pull request #583 from terrelln/set-dictid

Set dictID to 0 for content only dictionaries

8 years agoSet dictID to 0 for content only dictionaries 583/head
Nick Terrell [Thu, 2 Mar 2017 20:33:02 +0000 (12:33 -0800)] 
Set dictID to 0 for content only dictionaries

8 years agofixed : build zstd cli after libzstd
Yann Collet [Thu, 2 Mar 2017 05:02:06 +0000 (21:02 -0800)] 
fixed : build zstd cli after libzstd

8 years agomake : added target shortest
Yann Collet [Thu, 2 Mar 2017 01:02:49 +0000 (17:02 -0800)] 
make : added target shortest

shortest only run fast part of playTests.sh .
cc @iburinoc

8 years agoadded gzip tests
Yann Collet [Thu, 2 Mar 2017 00:49:20 +0000 (16:49 -0800)] 
added gzip tests

also : made sure zstd --format=gzip -V
would fail if gzip compatibility is not supported

8 years agoOffsets >= 32MB in 32-bits mode
Sean Purcell [Wed, 1 Mar 2017 22:36:25 +0000 (14:36 -0800)] 
Offsets >= 32MB in 32-bits mode

8 years agoxxhash can be included twice in any order
Yann Collet [Wed, 1 Mar 2017 21:29:29 +0000 (13:29 -0800)] 
xxhash can be included twice in any order

Previously,

followed by :

would fail to include the static definitions,
because the second include was simply skipped by guard macro.

Now it works as intended :
the missing static part is included during the second include.

8 years agosolves warnings when compiling with global XXH_STATIC_LINKING_ONLY
Yann Collet [Wed, 1 Mar 2017 19:33:25 +0000 (11:33 -0800)] 
solves warnings when compiling with global XXH_STATIC_LINKING_ONLY

XXH_STATIC_LINKING_ONLY protection macro is intended to be triggered just before the include.
The main idea is to keep this setting local :
user module shall explicitly understand and accept the static linking restriction
which becomes transparent when triggering the macro at project level.
Global definition also triggers redefinition warnings for user modules which do locally define the macro.

This new version compiles lib and cli without warning when the macro is set globally.
That's not a scenario to be recommended, since it trades a local effect for a global one,
but it was easy enough to provide from zstd side.

8 years agoMerge pull request #579 from iburinoc/multiframe
Yann Collet [Wed, 1 Mar 2017 19:02:04 +0000 (11:02 -0800)] 
Merge pull request #579 from iburinoc/multiframe

Check to ensure ddict isn't null before dereference

8 years agoMerge pull request #580 from facebook/speedStream
Yann Collet [Wed, 1 Mar 2017 18:59:51 +0000 (10:59 -0800)] 
Merge pull request #580 from facebook/speedStream

Improve streaming decompression speed

8 years agoupdated NEWS for 1.1.4
Yann Collet [Wed, 1 Mar 2017 01:44:17 +0000 (17:44 -0800)] 
updated NEWS for 1.1.4

cmake, performance

8 years agoMerge pull request #575 from Majlen/cmake-improvement
Yann Collet [Tue, 28 Feb 2017 23:32:21 +0000 (15:32 -0800)] 
Merge pull request #575 from Majlen/cmake-improvement

Cmake improvement

8 years agoCheck to ensure ddict isn't null before dereference 579/head
Sean Purcell [Tue, 28 Feb 2017 23:28:29 +0000 (15:28 -0800)] 
Check to ensure ddict isn't null before dereference

8 years agoMerge pull request #578 from inikep/dev
Yann Collet [Tue, 28 Feb 2017 23:21:28 +0000 (15:21 -0800)] 
Merge pull request #578 from inikep/dev

decompression: --rm is silent when input is stdin

8 years agotravis.yml: fixed pull_request 578/head
Przemyslaw Skibinski [Tue, 28 Feb 2017 16:27:41 +0000 (17:27 +0100)] 
travis.yml: fixed pull_request

8 years agofixed multi frames 580/head
Yann Collet [Tue, 28 Feb 2017 10:12:42 +0000 (02:12 -0800)] 
fixed multi frames

8 years agoAdded compile flags to pzstd 575/head
Milan Ševčík [Mon, 27 Feb 2017 13:44:49 +0000 (14:44 +0100)] 
Added compile flags to pzstd

Definition NDEBUG from original Makefile
-Wno-shadow silences shadowing in initializers

8 years ago-Wstrict-prototypes is not supported with C++
Milan Ševčík [Mon, 27 Feb 2017 12:56:04 +0000 (13:56 +0100)] 
-Wstrict-prototypes is not supported with C++

8 years agoImprove handling of library symlinks.
Milan Ševčík [Fri, 10 Feb 2017 11:29:55 +0000 (12:29 +0100)] 
Improve handling of library symlinks.

Previous method was failing to remove the symlinks when make clean was
invoked and wasn't portable.

8 years agoAdd zstdmt target in cmake
Milan Ševčík [Thu, 9 Feb 2017 14:11:05 +0000 (15:11 +0100)] 
Add zstdmt target in cmake

8 years agoSupport building contrib utils from cmake
Milan Ševčík [Thu, 9 Feb 2017 14:10:24 +0000 (15:10 +0100)] 
Support building contrib utils from cmake

8 years agofixed decoding skippable frames
Yann Collet [Tue, 28 Feb 2017 09:15:28 +0000 (01:15 -0800)] 
fixed decoding skippable frames

8 years agoadded test for decompression with NULL dict and NULL DDict
Yann Collet [Tue, 28 Feb 2017 09:02:46 +0000 (01:02 -0800)] 
added test for decompression with NULL dict and NULL DDict

previous version of ZSTD_decompressMultiFrame() would fail that test

8 years agocli : fix : --rm is silent when input is stdin (decompression)
Przemyslaw Skibinski [Tue, 28 Feb 2017 08:42:37 +0000 (09:42 +0100)] 
cli : fix : --rm is silent when input is stdin (decompression)

8 years agoupdate gzip tests
Przemyslaw Skibinski [Tue, 28 Feb 2017 08:41:23 +0000 (09:41 +0100)] 
update gzip tests

8 years agoImproved speed of ZSTD_decompressStream()
Yann Collet [Tue, 28 Feb 2017 08:14:28 +0000 (00:14 -0800)] 
Improved speed of ZSTD_decompressStream()

When ZSTD_decompressStream() detects
that there is enough space in dst
to complete decompression in a single pass,
delegates to ZSTD_decompress(),
for an extra ~5% speed boost

8 years agoupdated .travis.yml (2)
Przemyslaw Skibinski [Tue, 28 Feb 2017 07:20:53 +0000 (08:20 +0100)] 
updated .travis.yml (2)

8 years agoupdated .travis.yml
Przemyslaw Skibinski [Tue, 28 Feb 2017 07:16:49 +0000 (08:16 +0100)] 
updated .travis.yml

8 years agoMerge branch 'decompressStream' into dev
Yann Collet [Tue, 28 Feb 2017 04:55:22 +0000 (20:55 -0800)] 
Merge branch 'decompressStream' into dev

8 years agoMerge pull request #573 from facebook/ddict
Yann Collet [Tue, 28 Feb 2017 04:54:42 +0000 (20:54 -0800)] 
Merge pull request #573 from facebook/ddict

Improved DDict memory usage

8 years agofullbench : -i0 displays list of functions to bench
Yann Collet [Tue, 28 Feb 2017 01:58:02 +0000 (17:58 -0800)] 
fullbench : -i0 displays list of functions to bench

8 years agoadded test case : --rm on stdin
Yann Collet [Tue, 28 Feb 2017 00:09:20 +0000 (16:09 -0800)] 
added test case : --rm on stdin

must remain silent (instead of failing)

8 years agoMerge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Mon, 27 Feb 2017 23:58:38 +0000 (15:58 -0800)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

8 years agocli : fix : --rm is silent when input is stdin
Yann Collet [Mon, 27 Feb 2017 23:57:50 +0000 (15:57 -0800)] 
cli : fix : --rm is silent when input is stdin

previously, app would produce an error message, and stop.

8 years agoMerge pull request #571 from inikep/dev11
Yann Collet [Mon, 27 Feb 2017 21:54:33 +0000 (13:54 -0800)] 
Merge pull request #571 from inikep/dev11

gzip tests

8 years agouse "./gzip" for gzip tests 571/head
Przemyslaw Skibinski [Mon, 27 Feb 2017 21:01:03 +0000 (22:01 +0100)] 
use "./gzip" for gzip tests

8 years agoMerge pull request #569 from iburinoc/testcorpus
Yann Collet [Mon, 27 Feb 2017 18:19:37 +0000 (10:19 -0800)] 
Merge pull request #569 from iburinoc/testcorpus

Fix some more ARM compile errors

8 years agoMerge pull request #572 from prashantkhandelwal/dev
Yann Collet [Mon, 27 Feb 2017 18:19:08 +0000 (10:19 -0800)] 
Merge pull request #572 from prashantkhandelwal/dev

Fix for a small typo

8 years agominor tweaks in FIO_decompressGzFrame
Przemyslaw Skibinski [Mon, 27 Feb 2017 12:21:05 +0000 (13:21 +0100)] 
minor tweaks in FIO_decompressGzFrame

8 years agoFix for a small Typo 572/head
Prashant Khandelwal [Mon, 27 Feb 2017 10:58:22 +0000 (16:28 +0530)] 
Fix for a small Typo

8 years agoreduced ZSTD_DDict memory usage 573/head
Yann Collet [Mon, 27 Feb 2017 08:27:30 +0000 (00:27 -0800)] 
reduced ZSTD_DDict memory usage

saved 128 KB

8 years agoupdate gzip tests
Przemyslaw Skibinski [Mon, 27 Feb 2017 08:07:35 +0000 (09:07 +0100)] 
update gzip tests

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Mon, 27 Feb 2017 07:56:43 +0000 (08:56 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agoMerge branch 'dev' into testcorpus 569/head
Sean Purcell [Mon, 27 Feb 2017 06:27:31 +0000 (22:27 -0800)] 
Merge branch 'dev' into testcorpus

8 years agoadded ZSTD_refDDict()
Yann Collet [Sun, 26 Feb 2017 22:43:07 +0000 (14:43 -0800)] 
added ZSTD_refDDict()

Now DDict does no longer depends on DCtx duplication

8 years agoloadEntropy works on new ZSTD_entropy_t type
Yann Collet [Sun, 26 Feb 2017 18:16:42 +0000 (10:16 -0800)] 
loadEntropy works on new ZSTD_entropy_t type

8 years agocreated entropy structure type
Yann Collet [Sun, 26 Feb 2017 02:33:31 +0000 (18:33 -0800)] 
created entropy structure type

8 years agoAdded DDict unit test in fuzzer
Yann Collet [Sat, 25 Feb 2017 18:11:15 +0000 (10:11 -0800)] 
Added DDict unit test in fuzzer

also : slightly modified loadEntropy :
know src must points at start of dictionary

8 years agoMerge pull request #567 from inikep/dev11
Yann Collet [Sat, 25 Feb 2017 14:57:31 +0000 (06:57 -0800)] 
Merge pull request #567 from inikep/dev11

faster Travis tests

8 years agoMerge pull request #566 from facebook/forceRawDict
Yann Collet [Sat, 25 Feb 2017 00:59:24 +0000 (16:59 -0800)] 
Merge pull request #566 from facebook/forceRawDict

Force raw dict

8 years agoFix some more ARM compile errors
Sean Purcell [Fri, 24 Feb 2017 18:53:16 +0000 (10:53 -0800)] 
Fix some more ARM compile errors

https://travis-ci.org/facebook/zstd/jobs/204807461

Can't get them to reproduce the compile errors locally,
tested fix by forcing that test to run on Travis.

8 years agoadded tests for gzip
Przemyslaw Skibinski [Fri, 24 Feb 2017 15:09:17 +0000 (16:09 +0100)] 
added tests for gzip

8 years agofix uninitialized value warning 567/head
Przemyslaw Skibinski [Fri, 24 Feb 2017 08:24:55 +0000 (09:24 +0100)] 
fix uninitialized value warning

8 years agoattempt to fix pthreat linking error 566/head
Yann Collet [Fri, 24 Feb 2017 08:16:05 +0000 (00:16 -0800)] 
attempt to fix pthreat linking error

replacing -lpthread by -pthread

8 years agozstdmt : fix : loading prefix from previous segments
Yann Collet [Fri, 24 Feb 2017 07:42:12 +0000 (23:42 -0800)] 
zstdmt : fix : loading prefix from previous segments

There used to be a (very small) chance that
loading prefix from previous segment
would be confused with a real zstd dictionary.
For that to happen, the prefix needs to start
with the same value as dictionary magic.
That's 1 chance in 4 billions if all values have equal probability.
But in fact, since some values are more common (0x00000000 for example)
others are less common, and dictionary magic was selected to be one of them,
so probabilities are likely even lower.

Anyway, this risk is no down to zero
by adding a new CCtx parameter : ZSTD_p_forceRawDict

Current parameter policy : the parameter "stick" to its CCtx,
so any dictionary loading after ZSTD_p_forceRawDict is set
will be loaded in "raw" ("content only") mode,
even if CCtx is re-used multiple times with multiple different dictionary.
It's up to the user to reset this value differently if it needs so.

8 years agorearrange Travis tests
Przemyslaw Skibinski [Fri, 24 Feb 2017 07:18:44 +0000 (08:18 +0100)] 
rearrange Travis tests

8 years agominor tests/Makefile refactoring
Yann Collet [Fri, 24 Feb 2017 07:09:10 +0000 (23:09 -0800)] 
minor tests/Makefile refactoring

and update of zstd_manual,html

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Fri, 24 Feb 2017 06:41:18 +0000 (07:41 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agoMerge pull request #565 from iburinoc/testcorpus
Yann Collet [Fri, 24 Feb 2017 00:28:37 +0000 (16:28 -0800)] 
Merge pull request #565 from iburinoc/testcorpus

Fix 32-bit -Wsign-compare issues in decodecorpus.c

8 years agoMerge pull request #564 from iburinoc/doc
Yann Collet [Fri, 24 Feb 2017 00:27:54 +0000 (16:27 -0800)] 
Merge pull request #564 from iburinoc/doc

Move educational_decoder to doc/ and add doc README

8 years agoFix -Wsign-compare issues in decodecorpus.c 565/head
Sean Purcell [Thu, 23 Feb 2017 23:53:44 +0000 (15:53 -0800)] 
Fix -Wsign-compare issues in decodecorpus.c

https://travis-ci.org/facebook/zstd/jobs/204423280

8 years agoMerge branch 'dev' into doc 564/head
Sean Purcell [Thu, 23 Feb 2017 23:23:24 +0000 (15:23 -0800)] 
Merge branch 'dev' into doc

8 years agoMerge pull request #562 from iburinoc/testcorpus
Yann Collet [Thu, 23 Feb 2017 23:19:37 +0000 (15:19 -0800)] 
Merge pull request #562 from iburinoc/testcorpus

Create a tool that generates random, valid, Zstd frames for decoder testing

8 years agoMove educational_decoder to doc/ and add doc README
Sean Purcell [Thu, 23 Feb 2017 22:34:52 +0000 (14:34 -0800)] 
Move educational_decoder to doc/ and add doc README

- Also make some minor bugfixes to educational decoder

8 years agoMerge pull request #558 from facebook/manual
Yann Collet [Thu, 23 Feb 2017 21:39:36 +0000 (13:39 -0800)] 
Merge pull request #558 from facebook/manual

Manual

8 years agoMerge pull request #560 from iburinoc/findcompressedsize
Yann Collet [Thu, 23 Feb 2017 21:39:23 +0000 (13:39 -0800)] 
Merge pull request #560 from iburinoc/findcompressedsize

Change name to to findFrameCompressedSize and add skippable support

8 years agoUpdate CLI and link from educational decoder 562/head
Sean Purcell [Thu, 23 Feb 2017 21:06:50 +0000 (13:06 -0800)] 
Update CLI and link from educational decoder

8 years agoUpdate tests/README.md
Sean Purcell [Thu, 23 Feb 2017 18:27:00 +0000 (10:27 -0800)] 
Update tests/README.md

8 years agozlibWrapper: better description of ZWRAP_useZSTDcompression
Przemyslaw Skibinski [Thu, 23 Feb 2017 17:28:48 +0000 (18:28 +0100)] 
zlibWrapper: better description of ZWRAP_useZSTDcompression

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11
Przemyslaw Skibinski [Thu, 23 Feb 2017 08:20:25 +0000 (09:20 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agoCreate a tool that generates random, valid, Zstd frames for decoder testing
Sean Purcell [Wed, 22 Feb 2017 23:59:15 +0000 (15:59 -0800)] 
Create a tool that generates random, valid, Zstd frames for decoder testing

Note: Does not handle dictionaries currently

8 years agoMerge pull request #561 from iburinoc/fsefix
Yann Collet [Wed, 22 Feb 2017 23:32:22 +0000 (15:32 -0800)] 
Merge pull request #561 from iburinoc/fsefix

Fix bug in FSE distribution normalization

8 years agoFix bug in FSE distribution normalization 561/head
Sean Purcell [Wed, 22 Feb 2017 21:52:48 +0000 (13:52 -0800)] 
Fix bug in FSE distribution normalization