extzstd 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +28 -14
  3. data/contrib/zstd/CHANGELOG +114 -56
  4. data/contrib/zstd/CONTRIBUTING.md +14 -0
  5. data/contrib/zstd/Makefile +37 -31
  6. data/contrib/zstd/README.md +6 -0
  7. data/contrib/zstd/appveyor.yml +4 -1
  8. data/contrib/zstd/lib/Makefile +231 -134
  9. data/contrib/zstd/lib/README.md +28 -0
  10. data/contrib/zstd/lib/common/bitstream.h +24 -15
  11. data/contrib/zstd/lib/common/compiler.h +116 -3
  12. data/contrib/zstd/lib/common/cpu.h +0 -2
  13. data/contrib/zstd/lib/common/debug.h +11 -18
  14. data/contrib/zstd/lib/common/entropy_common.c +188 -42
  15. data/contrib/zstd/lib/common/error_private.c +1 -0
  16. data/contrib/zstd/lib/common/error_private.h +1 -1
  17. data/contrib/zstd/lib/common/fse.h +38 -11
  18. data/contrib/zstd/lib/common/fse_decompress.c +123 -16
  19. data/contrib/zstd/lib/common/huf.h +26 -5
  20. data/contrib/zstd/lib/common/mem.h +66 -93
  21. data/contrib/zstd/lib/common/pool.c +22 -16
  22. data/contrib/zstd/lib/common/pool.h +1 -1
  23. data/contrib/zstd/lib/common/threading.c +6 -5
  24. data/contrib/zstd/lib/common/xxhash.c +18 -56
  25. data/contrib/zstd/lib/common/xxhash.h +1 -1
  26. data/contrib/zstd/lib/common/zstd_common.c +9 -9
  27. data/contrib/zstd/lib/common/zstd_deps.h +111 -0
  28. data/contrib/zstd/lib/common/zstd_errors.h +1 -0
  29. data/contrib/zstd/lib/common/zstd_internal.h +89 -58
  30. data/contrib/zstd/lib/compress/fse_compress.c +30 -23
  31. data/contrib/zstd/lib/compress/hist.c +26 -28
  32. data/contrib/zstd/lib/compress/hist.h +1 -1
  33. data/contrib/zstd/lib/compress/huf_compress.c +210 -95
  34. data/contrib/zstd/lib/compress/zstd_compress.c +1339 -409
  35. data/contrib/zstd/lib/compress/zstd_compress_internal.h +119 -41
  36. data/contrib/zstd/lib/compress/zstd_compress_literals.c +4 -4
  37. data/contrib/zstd/lib/compress/zstd_compress_sequences.c +17 -3
  38. data/contrib/zstd/lib/compress/zstd_compress_superblock.c +23 -19
  39. data/contrib/zstd/lib/compress/zstd_cwksp.h +60 -24
  40. data/contrib/zstd/lib/compress/zstd_double_fast.c +22 -22
  41. data/contrib/zstd/lib/compress/zstd_fast.c +19 -19
  42. data/contrib/zstd/lib/compress/zstd_lazy.c +351 -77
  43. data/contrib/zstd/lib/compress/zstd_lazy.h +20 -0
  44. data/contrib/zstd/lib/compress/zstd_ldm.c +59 -18
  45. data/contrib/zstd/lib/compress/zstd_ldm.h +6 -0
  46. data/contrib/zstd/lib/compress/zstd_opt.c +190 -45
  47. data/contrib/zstd/lib/compress/zstdmt_compress.c +74 -406
  48. data/contrib/zstd/lib/compress/zstdmt_compress.h +26 -108
  49. data/contrib/zstd/lib/decompress/huf_decompress.c +302 -200
  50. data/contrib/zstd/lib/decompress/zstd_ddict.c +8 -8
  51. data/contrib/zstd/lib/decompress/zstd_ddict.h +1 -1
  52. data/contrib/zstd/lib/decompress/zstd_decompress.c +125 -80
  53. data/contrib/zstd/lib/decompress/zstd_decompress_block.c +145 -37
  54. data/contrib/zstd/lib/decompress/zstd_decompress_block.h +5 -2
  55. data/contrib/zstd/lib/decompress/zstd_decompress_internal.h +11 -10
  56. data/contrib/zstd/lib/dictBuilder/cover.c +29 -20
  57. data/contrib/zstd/lib/dictBuilder/cover.h +1 -1
  58. data/contrib/zstd/lib/dictBuilder/fastcover.c +20 -19
  59. data/contrib/zstd/lib/dictBuilder/zdict.c +15 -16
  60. data/contrib/zstd/lib/dictBuilder/zdict.h +1 -1
  61. data/contrib/zstd/lib/legacy/zstd_v01.c +5 -1
  62. data/contrib/zstd/lib/legacy/zstd_v02.c +5 -1
  63. data/contrib/zstd/lib/legacy/zstd_v03.c +5 -1
  64. data/contrib/zstd/lib/legacy/zstd_v04.c +6 -2
  65. data/contrib/zstd/lib/legacy/zstd_v05.c +5 -1
  66. data/contrib/zstd/lib/legacy/zstd_v06.c +5 -1
  67. data/contrib/zstd/lib/legacy/zstd_v07.c +5 -1
  68. data/contrib/zstd/lib/libzstd.pc.in +3 -3
  69. data/contrib/zstd/lib/zstd.h +348 -47
  70. data/ext/extzstd.c +6 -0
  71. data/ext/extzstd.h +6 -0
  72. data/gemstub.rb +3 -21
  73. data/lib/extzstd.rb +0 -2
  74. data/lib/extzstd/version.rb +6 -1
  75. data/test/test_basic.rb +0 -5
  76. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f61d75e29eb86642f72138584ffc02ff36e86318dc48c07dbb176fc26f72b9c
4
- data.tar.gz: 539f64336ce50da00e14e3920545a3f27842febe3ce8ec47387b408110fc1149
3
+ metadata.gz: e4e56ebb5f90203fdb75edc0e6bf0d1a7c52b0cd39eba39fd79e759e61e6d159
4
+ data.tar.gz: ebaf4a264c678b3e11951ea7b42ac7338d1d5f1246ec90326a5913bfb9c795ee
5
5
  SHA512:
6
- metadata.gz: 52279e275616d6d179464deda78ff289abc07b42ebf7f111c79b89d6bc0ba9092290494aaefb7b9631fb3ed37d7fcd60e3f337d691a8990b36155541442fad65
7
- data.tar.gz: 0d46cccb64f150ecf3b29459bc55b0aecfa1b43dcaa68c46f60c1a863d1827edb71acbfb4491ee777acde3bf68bdd8faf841c83cd00863172a2943689b36e482
6
+ metadata.gz: 4807023d38a23f81780d3a4c3e7b745781d6bb34369f2dda14345e6959df715da1969a6af89e404dc702cfe07d941ecf0d48bad5ea5b91041b8b4f3131239c60
7
+ data.tar.gz: 90c90309273506ee9f466efd56fdff168849d0cd5156116b300fc78b48767756c06de8cf37af0a028f63722cd218366d4b581805fb5f05d32898c4ac550ce286
data/README.md CHANGED
@@ -5,8 +5,8 @@ This is unofficial ruby bindings for the data compression library
5
5
 
6
6
  "extzstd" is supported decompression with the legacy formats (zstd-0.1 - 0.7).
7
7
 
8
- * [HISTORY (in Japanese)](HISTORY.ja.md)
9
- * [Quick reference](QUICKREF.md)
8
+ - [HISTORY (in Japanese)](HISTORY.ja.md)
9
+ - [Quick reference](QUICKREF.md)
10
10
 
11
11
 
12
12
  ## HOW TO USE
@@ -73,18 +73,32 @@ end
73
73
  ```
74
74
 
75
75
 
76
+ ## Support `Ractor` (Ruby3 feature)
77
+
78
+ Ruby3 の `Ractor` に対応しています。
79
+
80
+ ```ruby
81
+ require "extzstd"
82
+
83
+ using Zstd
84
+
85
+ p Ractor.new {
86
+ Ractor.yield ("abcdefg" * 9).to_zstd, move: true
87
+ }.take
88
+ ```
89
+
76
90
  ## Specification
77
91
 
78
- * package name: extzstd
79
- * version: 0.3.1
80
- * product quality: TECHNICAL PREVIEW, UNSTABLE
81
- * license: [BSD-2-clause License](LICENSE)
82
- * author: dearblue <mailto:dearblue@users.noreply.github.com>
83
- * project page: <https://github.com/dearblue/ruby-extzstd>
84
- * support ruby: ruby-2.4+
85
- * dependency ruby gems: (none)
86
- * dependency library: (none)
87
- * bundled external C library (git submodules):
88
- * [zstd-1.4.0](https://github.com/facebook/zstd)
89
- under selectable dual licensed ([BSD-3-clause License](https://github.com/facebook/zstd/blob/v1.4.0/LICENSE) and [GNU General Public License, version 2](https://github.com/facebook/zstd/blob/v1.4.0/COPYING))
92
+ - package name: extzstd
93
+ - project page: <https://github.com/dearblue/ruby-extzstd>
94
+ - version: 0.3.2
95
+ - product quality: TECHNICAL PREVIEW, UNSTABLE
96
+ - license: [2 clause BSD License](LICENSE)
97
+ - author: dearblue
98
+ - support ruby: ruby-2.5+
99
+ - dependency ruby gems: (none)
100
+ - dependency library: (none)
101
+ - bundled external C library (git submodules):
102
+ - [zstd-1.4.9](https://github.com/facebook/zstd/blob/v1.4.9)
103
+ under selectable dual licensed ([3 clause BSD License](https://github.com/facebook/zstd/blob/v1.4.9/LICENSE) and [GNU General Public License, version 2](https://github.com/facebook/zstd/blob/v1.4.9/COPYING))
90
104
  by [facebook](https://github.com/facebook)
@@ -1,4 +1,62 @@
1
- v1.4.5
1
+ v1.4.7
2
+ perf: stronger --long mode at high compression levels, by @senhuang42
3
+ perf: stronger --patch-from at high compression levels, thanks to --long improvements
4
+ perf: faster dictionary compression at medium compression levels, by @felixhandte
5
+ perf: small speed & memory usage improvements for ZSTD_compress2(), by @terrelln
6
+ perf: improved fast compression speeds with Visual Studio, by @animalize
7
+ cli : Set nb of threads with environment variable ZSTD_NBTHREADS, by @senhuang42
8
+ cli : accept decompressing files with *.zstd suffix
9
+ cli : provide a condensed summary by default when processing multiple files
10
+ cli : fix : stdin input no longer confused as user prompt
11
+ cli : improve accuracy of several error messages
12
+ api : new sequence ingestion API, by @senhuang42
13
+ api : shared thread pool: control total nb of threads used by multiple compression jobs, by @marxin
14
+ api : new ZSTD_getDictID_fromCDict(), by @LuAPi
15
+ api : zlibWrapper only uses public API, and is compatible with dynamic library, by @terrelln
16
+ api : fix : multithreaded compression has predictable output even in special cases (see #2327) (issue not accessible from cli)
17
+ api : fix : dictionary compression correctly respects dictionary compression level (see #2303) (issue not accessible from cli)
18
+ build: fix cmake script when using path with spaces, by @terrelln
19
+ build: improved compile-time detection of aarch64/neon platforms, by @bsdimp
20
+ build: Fix building on AIX 5.1, by @likema
21
+ build: compile paramgrill with cmake on Windows, requested by @mirh
22
+ doc : clarify repcode updates in format specification, by @felixhandte
23
+
24
+ v1.4.6
25
+ fix : Always return dstSize_tooSmall when that is the case
26
+ fix : Fix ZSTD_initCStream_advanced() with static allocation and no dictionary
27
+ perf: Improve small block decompression speed by 20%+, by @terrelln
28
+ perf: Reduce compression stack usage by 1 KB, by @terrelln
29
+ perf: Improve decompression speed by improving ZSTD_wildcopy, by @helloguo (#2252, #2256)
30
+ perf: Improve histogram construction, by @cyan4973 (#2253)
31
+ cli : Add --output-dir-mirror option, by @xxie24 (#2219)
32
+ cli : Warn when (de)compressing multiple files into a single output, by @senhuang42 (#2279)
33
+ cli : Improved progress bar and status summary when (de)compressing multiple files, by @senhuang42 (#2283)
34
+ cli : Call stat less often, by @felixhandte (#2262)
35
+ cli : Allow --patch-from XXX and --filelist XXX in addition to --patch-from=XXX and --filelist=XXX, by @cyan4973 (#2250)
36
+ cli : Allow --patch-from to compress stdin with --stream-size, by @bimbashrestha (#2206)
37
+ api : Do not install zbuff.h, since it has long been deprecated, by @cyan4973 (#2166).
38
+ api : Fix ZSTD_CCtx_setParameter() with ZSTD_c_compressionLevel to make 0 mean default level, by @i-do-cpp (#2291)
39
+ api : Rename ZSTDMT_NBTHREADS_MAX to ZSTDMT_NBWORKERS_MAX, by @marxin (#2228).
40
+ build: Install pkg-config file with CMake and MinGW, by @tonytheodore (#2183)
41
+ build: Install DLL with CMake on Windows, by @BioDataAnalysis (#2221)
42
+ build: Fix DLL install location with CMake, by @xantares and @bimbashrestha (#2186)
43
+ build: Add ZSTD_NO_UNUSED_FUNCTIONS macro to hide unused functions
44
+ build: Add ZSTD_NO_INTRINSICS macro to avoid explicit intrinsics
45
+ build: Add STATIC_BMI2 macro for compile time detection of BMI2 on MSVC, by @Niadb (#2258)
46
+ build: Fix -Wcomma warnings, by @cwoffenden
47
+ build: Remove distutils requirement for meson build, by @neheb (#2197)
48
+ build: Fix cli compilation with uclibc
49
+ build: Fix cli compilation without st_mtime, by @ffontaine (#2246)
50
+ build: Fix shadowing warnings in library
51
+ build: Fix single file library compilation with Enscripten, by @yoshihitoh (#2227)
52
+ misc: Improve single file library and include dictBuilder, by @cwoffenden
53
+ misc: Allow compression dictionaries with missing symbols
54
+ misc: Add freestanding translation script in contrib/freestanding_lib
55
+ misc: Collect all of zstd's libc dependencies into zstd_deps.h
56
+ doc : Add ZSTD_versionString() to manual, by @animalize
57
+ doc : Fix documentation for ZSTD_CCtxParams_setParameter(), by @felixhandte (#2270)
58
+
59
+ v1.4.5 (May 22, 2020)
2
60
  fix : Compression ratio regression on huge files (> 3 GB) using high levels (--ultra) and multithreading, by @terrelln
3
61
  perf: Improved decompression speed: x64 : +10% (clang) / +5% (gcc); ARM : from +15% to +50%, depending on SoC, by @terrelln
4
62
  perf: Automatically downsizes ZSTD_DCtx when too large for too long (#2069, by @bimbashreshta)
@@ -24,7 +82,7 @@ misc: Edit-distance match finder in contrib/
24
82
  doc : Improved beginner CONTRIBUTING.md docs
25
83
  doc : New issue templates for zstd
26
84
 
27
- v1.4.4
85
+ v1.4.4 (Nov 6, 2019)
28
86
  perf: Improved decompression speed, by > 10%, by @terrelln
29
87
  perf: Better compression speed when re-using a context, by @felixhandte
30
88
  perf: Fix compression ratio when compressing large files with small dictionary, by @senhuang42
@@ -51,18 +109,18 @@ pack: modified pkgconfig, for better integration into openwrt, requested by @neh
51
109
  misc: Improved documentation : ZSTD_CLEVEL, DYNAMIC_BMI2, ZSTD_CDict, function deprecation, zstd format
52
110
  misc: fixed educational decoder : accept larger literals section, and removed UNALIGNED() macro
53
111
 
54
- v1.4.3
112
+ v1.4.3 (Aug 20, 2019)
55
113
  bug: Fix Dictionary Compression Ratio Regression by @cyan4973 (#1709)
56
114
  bug: Fix Buffer Overflow in legacy v0.3 decompression by @felixhandte (#1722)
57
115
  build: Add support for IAR C/C++ Compiler for Arm by @joseph0918 (#1705)
58
116
 
59
- v1.4.2
117
+ v1.4.2 (Jul 26, 2019)
60
118
  bug: Fix bug in zstd-0.5 decoder by @terrelln (#1696)
61
119
  bug: Fix seekable decompression in-memory API by @iburinoc (#1695)
62
120
  misc: Validate blocks are smaller than size limit by @vivekmg (#1685)
63
121
  misc: Restructure source files by @ephiepark (#1679)
64
122
 
65
- v1.4.1
123
+ v1.4.1 (Jul 20, 2019)
66
124
  bug: Fix data corruption in niche use cases by @terrelln (#1659)
67
125
  bug: Fuzz legacy modes, fix uncovered bugs by @terrelln (#1593, #1594, #1595)
68
126
  bug: Fix out of bounds read by @terrelln (#1590)
@@ -92,7 +150,7 @@ build: Visual Studio: fix linking by @absotively (#1639)
92
150
  build: Fix MinGW-W64 build by @myzhang1029 (#1600)
93
151
  misc: Expand decodecorpus coverage by @ephiepark (#1664)
94
152
 
95
- v1.4.0
153
+ v1.4.0 (Apr 17, 2019)
96
154
  perf: Improve level 1 compression speed in most scenarios by 6% by @gbtucker and @terrelln
97
155
  api: Move the advanced API, including all functions in the staging section, to the stable section
98
156
  api: Make ZSTD_e_flush and ZSTD_e_end block for maximum forward progress
@@ -129,7 +187,7 @@ misc: Optimize dictionary memory usage in corner cases
129
187
  misc: Improve the dictionary builder on small or homogeneous data
130
188
  misc: Fix spelling across the repo by @jsoref
131
189
 
132
- v1.3.8
190
+ v1.3.8 (Dec 28, 2018)
133
191
  perf: better decompression speed on large files (+7%) and cold dictionaries (+15%)
134
192
  perf: slightly better compression ratio at high compression modes
135
193
  api : finalized advanced API, last stage before "stable" status
@@ -151,14 +209,14 @@ doc : clarified zstd_compression_format.md, by @ulikunitz
151
209
  misc: fixed zstdgrep, returns 1 on failure, by @lzutao
152
210
  misc: NEWS renamed as CHANGELOG, in accordance with fboss
153
211
 
154
- v1.3.7
212
+ v1.3.7 (Oct 20, 2018)
155
213
  perf: slightly better decompression speed on clang (depending on hardware target)
156
214
  fix : performance of dictionary compression for small input < 4 KB at levels 9 and 10
157
215
  build: no longer build backtrace by default in release mode; restrict further automatic mode
158
216
  build: control backtrace support through build macro BACKTRACE
159
217
  misc: added man pages for zstdless and zstdgrep, by @samrussell
160
218
 
161
- v1.3.6
219
+ v1.3.6 (Oct 6, 2018)
162
220
  perf: much faster dictionary builder, by @jenniferliu
163
221
  perf: faster dictionary compression on small data when using multiple contexts, by @felixhandte
164
222
  perf: faster dictionary decompression when using a very large number of dictionaries simultaneously
@@ -172,7 +230,7 @@ build: Read Legacy format is limited to v0.5+ by default. Can be changed at comp
172
230
  doc : zstd_compression_format.md updated to match wording in IETF RFC 8478
173
231
  misc: tests/paramgrill, a parameter optimizer, by @GeorgeLu97
174
232
 
175
- v1.3.5
233
+ v1.3.5 (Jun 29, 2018)
176
234
  perf: much faster dictionary compression, by @felixhandte
177
235
  perf: small quality improvement for dictionary generation, by @terrelln
178
236
  perf: slightly improved high compression levels (notably level 19)
@@ -187,7 +245,7 @@ build: make and make all are compatible with -j
187
245
  doc : clarify zstd_compression_format.md, updated for IETF RFC process
188
246
  misc: pzstd compatible with reproducible compilation, by @lamby
189
247
 
190
- v1.3.4
248
+ v1.3.4 (Mar 27, 2018)
191
249
  perf: faster speed (especially decoding speed) on recent cpus (haswell+)
192
250
  perf: much better performance associating --long with multi-threading, by @terrelln
193
251
  perf: better compression at levels 13-15
@@ -205,7 +263,7 @@ build: VS2017 scripts, by @HaydnTrigg
205
263
  misc: all /contrib projects fixed
206
264
  misc: added /contrib/docker script by @gyscos
207
265
 
208
- v1.3.3
266
+ v1.3.3 (Dec 21, 2017)
209
267
  perf: faster zstd_opt strategy (levels 16-19)
210
268
  fix : bug #944 : multithreading with shared ditionary and large data, reported by @gsliepen
211
269
  cli : fix : content size written in header by default
@@ -217,7 +275,7 @@ api : change : when setting `pledgedSrcSize`, use `ZSTD_CONTENTSIZE_UNKNOWN` mac
217
275
  build: fix : compilation under rhel6 and centos6, reported by @pixelb
218
276
  build: added `check` target
219
277
 
220
- v1.3.2
278
+ v1.3.2 (Oct 10, 2017)
221
279
  new : long range mode, using --long command, by Stella Lau (@stellamplau)
222
280
  new : ability to generate and decode magicless frames (#591)
223
281
  changed : maximum nb of threads reduced to 200, to avoid address space exhaustion in 32-bits mode
@@ -240,7 +298,7 @@ example : added streaming_memory_usage
240
298
  license : changed /examples license to BSD + GPLv2
241
299
  license : fix a few header files to reflect new license (#825)
242
300
 
243
- v1.3.1
301
+ v1.3.1 (Aug 21, 2017)
244
302
  New license : BSD + GPLv2
245
303
  perf: substantially decreased memory usage in Multi-threading mode, thanks to reports by Tino Reichardt (@mcmilk)
246
304
  perf: Multi-threading supports up to 256 threads. Cap at 256 when more are requested (#760)
@@ -255,7 +313,7 @@ new : contrib/adaptive-compression, I/O driven compression strength, by Paul Cru
255
313
  new : contrib/long_distance_matching, statistics by Stella Lau (@stellamplau)
256
314
  updated : contrib/linux-kernel, by Nick Terrell (@terrelln)
257
315
 
258
- v1.3.0
316
+ v1.3.0 (Jul 6, 2017)
259
317
  cli : new : `--list` command, by Paul Cruz
260
318
  cli : changed : xz/lzma support enabled by default
261
319
  cli : changed : `-t *` continue processing list after a decompression error
@@ -270,7 +328,7 @@ tools : decodecorpus can generate random dictionary-compressed samples, by Paul
270
328
  new : contrib/seekable_format, demo and API, by Sean Purcell
271
329
  changed : contrib/linux-kernel, updated version and license, by Nick Terrell
272
330
 
273
- v1.2.0
331
+ v1.2.0 (May 5, 2017)
274
332
  cli : changed : Multithreading enabled by default (use target zstd-nomt or HAVE_THREAD=0 to disable)
275
333
  cli : new : command -T0 means "detect and use nb of cores", by Sean Purcell
276
334
  cli : new : zstdmt symlink hardwired to `zstd -T0`
@@ -292,7 +350,7 @@ build: enabled Multi-threading support for *BSD, by Baptiste Daroussin
292
350
  tools: updated Paramgrill. Command -O# provides best parameters for sample and speed target.
293
351
  new : contrib/linux-kernel version, by Nick Terrell
294
352
 
295
- v1.1.4
353
+ v1.1.4 (Mar 18, 2017)
296
354
  cli : new : can compress in *.gz format, using --format=gzip command, by Przemyslaw Skibinski
297
355
  cli : new : advanced benchmark command --priority=rt
298
356
  cli : fix : write on sparse-enabled file systems in 32-bits mode, by @ds77
@@ -308,7 +366,7 @@ build : improved cmake script, by @Majlen
308
366
  build : added -Wformat-security flag, as recommended by Padraig Brady
309
367
  doc : new : educational decoder, by Sean Purcell
310
368
 
311
- v1.1.3
369
+ v1.1.3 (Feb 7, 2017)
312
370
  cli : zstd can decompress .gz files (can be disabled with `make zstd-nogz` or `make HAVE_ZLIB=0`)
313
371
  cli : new : experimental target `make zstdmt`, with multi-threading support
314
372
  cli : new : improved dictionary builder "cover" (experimental), by Nick Terrell, based on prior work by Giuseppe Ottaviano.
@@ -324,7 +382,7 @@ API : fix : all symbols properly exposed in libzstd, by Nick Terrell
324
382
  build : support for Solaris target, by Przemyslaw Skibinski
325
383
  doc : clarified specification, by Sean Purcell
326
384
 
327
- v1.1.2
385
+ v1.1.2 (Dec 15, 2016)
328
386
  API : streaming : decompression : changed : automatic implicit reset when chain-decoding new frames without init
329
387
  API : experimental : added : dictID retrieval functions, and ZSTD_initCStream_srcSize()
330
388
  API : zbuff : changed : prototypes now generate deprecation warnings
@@ -341,7 +399,7 @@ zlib_wrapper : added support for gz* functions, by Przemyslaw Skibinski
341
399
  install : better compatibility with FreeBSD, by Dimitry Andric
342
400
  source tree : changed : zbuff source files moved to lib/deprecated
343
401
 
344
- v1.1.1
402
+ v1.1.1 (Nov 2, 2016)
345
403
  New : command -M#, --memory=, --memlimit=, --memlimit-decompress= to limit allowed memory consumption
346
404
  New : doc/zstd_manual.html, by Przemyslaw Skibinski
347
405
  Improved : slightly better compression ratio at --ultra levels (>= 20)
@@ -352,7 +410,7 @@ Changed : zstd_errors.h is now installed within /include (and replaces errors_pu
352
410
  Updated man page
353
411
  Fixed : zstd-small, zstd-compress and zstd-decompress compilation targets
354
412
 
355
- v1.1.0
413
+ v1.1.0 (Sep 28, 2016)
356
414
  New : contrib/pzstd, parallel version of zstd, by Nick Terrell
357
415
  added : NetBSD install target (#338)
358
416
  Improved : speed for batches of small files
@@ -366,7 +424,7 @@ Fixed : compatibility with OpenBSD, reported by Juan Francisco Cantero Hurtado (
366
424
  Fixed : compatibility with Hurd, by Przemyslaw Skibinski (#365)
367
425
  Fixed : zstd-pgo, reported by octoploid (#329)
368
426
 
369
- v1.0.0
427
+ v1.0.0 (Sep 1, 2016)
370
428
  Change Licensing, all project is now BSD, Copyright Facebook
371
429
  Small decompression speed improvement
372
430
  API : Streaming API supports legacy format
@@ -375,7 +433,7 @@ CLI supports legacy formats v0.4+
375
433
  Fixed : compression fails on certain huge files, reported by Jesse McGrew
376
434
  Enhanced documentation, by Przemyslaw Skibinski
377
435
 
378
- v0.8.1
436
+ v0.8.1 (Aug 18, 2016)
379
437
  New streaming API
380
438
  Changed : --ultra now enables levels beyond 19
381
439
  Changed : -i# now selects benchmark time in second
@@ -384,7 +442,7 @@ Fixed : speed regression on specific patterns (#272)
384
442
  Fixed : support for Z_SYNC_FLUSH, by Dmitry Krot (#291)
385
443
  Fixed : ICC compilation, by Przemyslaw Skibinski
386
444
 
387
- v0.8.0
445
+ v0.8.0 (Aug 2, 2016)
388
446
  Improved : better speed on clang and gcc -O2, thanks to Eric Biggers
389
447
  New : Build on FreeBSD and DragonFly, thanks to JrMarino
390
448
  Changed : modified API : ZSTD_compressEnd()
@@ -397,17 +455,17 @@ Modified : minor compression level adaptations
397
455
  Updated : compression format specification to v0.2.0
398
456
  changed : zstd.h moved to /lib directory
399
457
 
400
- v0.7.5
458
+ v0.7.5 (Aug 1, 2016)
401
459
  Transition version, supporting decoding of v0.8.x
402
460
 
403
- v0.7.4
461
+ v0.7.4 (Jul 17, 2016)
404
462
  Added : homebrew for Mac, by Daniel Cade
405
463
  Added : more examples
406
464
  Fixed : segfault when using small dictionaries, reported by Felix Handte
407
465
  Modified : default compression level for CLI is now 3
408
466
  Updated : specification, to v0.1.1
409
467
 
410
- v0.7.3
468
+ v0.7.3 (Jul 9, 2016)
411
469
  New : compression format specification
412
470
  New : `--` separator, stating that all following arguments are file names. Suggested by Chip Turner.
413
471
  New : `ZSTD_getDecompressedSize()`
@@ -419,18 +477,18 @@ fixed : multi-blocks decoding with intermediate uncompressed blocks, reported by
419
477
  modified : removed "mem.h" and "error_public.h" dependencies from "zstd.h" (experimental section)
420
478
  modified : legacy functions no longer need magic number
421
479
 
422
- v0.7.2
480
+ v0.7.2 (Jul 4, 2016)
423
481
  fixed : ZSTD_decompressBlock() using multiple consecutive blocks. Reported by Greg Slazinski.
424
482
  fixed : potential segfault on very large files (many gigabytes). Reported by Chip Turner.
425
483
  fixed : CLI displays system error message when destination file cannot be created (#231). Reported by Chip Turner.
426
484
 
427
- v0.7.1
485
+ v0.7.1 (Jun 23, 2016)
428
486
  fixed : ZBUFF_compressEnd() called multiple times with too small `dst` buffer, reported by Christophe Chevalier
429
487
  fixed : dictBuilder fails if first sample is too small, reported by Руслан Ковалёв
430
488
  fixed : corruption issue, reported by cj
431
489
  modified : checksum enabled by default in command line mode
432
490
 
433
- v0.7.0
491
+ v0.7.0 (Jun 17, 2016)
434
492
  New : Support for directory compression, using `-r`, thanks to Przemyslaw Skibinski
435
493
  New : Command `--rm`, to remove source file after successful de/compression
436
494
  New : Visual build scripts, by Christophe Chevalier
@@ -443,7 +501,7 @@ API : support for custom malloc/free functions
443
501
  New : controllable Dictionary ID
444
502
  New : Support for skippable frames
445
503
 
446
- v0.6.1
504
+ v0.6.1 (May 13, 2016)
447
505
  New : zlib wrapper API, thanks to Przemyslaw Skibinski
448
506
  New : Ability to compile compressor / decompressor separately
449
507
  Changed : new lib directory structure
@@ -453,103 +511,103 @@ Fixed : null-string roundtrip (#176)
453
511
  New : benchmark mode can select directory as input
454
512
  Experimental : midipix support, VMS support
455
513
 
456
- v0.6.0
514
+ v0.6.0 (Apr 13, 2016)
457
515
  Stronger high compression modes, thanks to Przemyslaw Skibinski
458
516
  API : ZSTD_getFrameParams() provides size of decompressed content
459
517
  New : highest compression modes require `--ultra` command to fully unleash their capacity
460
518
  Fixed : zstd cli return error code > 0 and removes dst file artifact when decompression fails, thanks to Chip Turner
461
519
 
462
- v0.5.1
520
+ v0.5.1 (Feb 18, 2016)
463
521
  New : Optimal parsing => Very high compression modes, thanks to Przemyslaw Skibinski
464
522
  Changed : Dictionary builder integrated into libzstd and zstd cli
465
523
  Changed (!) : zstd cli now uses "multiple input files" as default mode. See `zstd -h`.
466
524
  Fix : high compression modes for big-endian platforms
467
525
  New : zstd cli : `-t` | `--test` command
468
526
 
469
- v0.5.0
527
+ v0.5.0 (Feb 5, 2016)
470
528
  New : dictionary builder utility
471
529
  Changed : streaming & dictionary API
472
530
  Improved : better compression of small data
473
531
 
474
- v0.4.7
532
+ v0.4.7 (Jan 22, 2016)
475
533
  Improved : small compression speed improvement in HC mode
476
534
  Changed : `zstd_decompress.c` has ZSTD_LEGACY_SUPPORT to 0 by default
477
535
  fix : bt search bug
478
536
 
479
- v0.4.6
537
+ v0.4.6 (Jan 13, 2016)
480
538
  fix : fast compression mode on Windows
481
539
  New : cmake configuration file, thanks to Artyom Dymchenko
482
540
  Improved : high compression mode on repetitive data
483
541
  New : block-level API
484
542
  New : ZSTD_duplicateCCtx()
485
543
 
486
- v0.4.5
544
+ v0.4.5 (Dec 18, 2015)
487
545
  new : -m/--multiple : compress/decompress multiple files
488
546
 
489
- v0.4.4
547
+ v0.4.4 (Dec 14, 2015)
490
548
  Fixed : high compression modes for Windows 32 bits
491
549
  new : external dictionary API extended to buffered mode and accessible through command line
492
550
  new : windows DLL project, thanks to Christophe Chevalier
493
551
 
494
- v0.4.3 :
552
+ v0.4.3 (Dec 7, 2015)
495
553
  new : external dictionary API
496
554
  new : zstd-frugal
497
555
 
498
- v0.4.2 :
556
+ v0.4.2 (Dec 2, 2015)
499
557
  Generic minor improvements for small blocks
500
558
  Fixed : big-endian compatibility, by Peter Harris (#85)
501
559
 
502
- v0.4.1
560
+ v0.4.1 (Dec 1, 2015)
503
561
  Fixed : ZSTD_LEGACY_SUPPORT=0 build mode (reported by Luben)
504
562
  removed `zstd.c`
505
563
 
506
- v0.4.0
564
+ v0.4.0 (Nov 29, 2015)
507
565
  Command line utility compatible with high compression levels
508
566
  Removed zstdhc => merged into zstd
509
567
  Added : ZBUFF API (see zstd_buffered.h)
510
568
  Rolling buffer support
511
569
 
512
- v0.3.6
570
+ v0.3.6 (Nov 10, 2015)
513
571
  small blocks params
514
572
 
515
- v0.3.5
573
+ v0.3.5 (Nov 9, 2015)
516
574
  minor generic compression improvements
517
575
 
518
- v0.3.4
576
+ v0.3.4 (Nov 6, 2015)
519
577
  Faster fast cLevels
520
578
 
521
- v0.3.3
579
+ v0.3.3 (Nov 5, 2015)
522
580
  Small compression ratio improvement
523
581
 
524
- v0.3.2
582
+ v0.3.2 (Nov 2, 2015)
525
583
  Fixed Visual Studio
526
584
 
527
- v0.3.1 :
585
+ v0.3.1 (Nov 2, 2015)
528
586
  Small compression ratio improvement
529
587
 
530
- v0.3
588
+ v0.3 (Oct 30, 2015)
531
589
  HC mode : compression levels 2-26
532
590
 
533
- v0.2.2
591
+ v0.2.2 (Oct 28, 2015)
534
592
  Fix : Visual Studio 2013 & 2015 release compilation, by Christophe Chevalier
535
593
 
536
- v0.2.1
594
+ v0.2.1 (Oct 24, 2015)
537
595
  Fix : Read errors, advanced fuzzer tests, by Hanno Böck
538
596
 
539
- v0.2.0
597
+ v0.2.0 (Oct 22, 2015)
540
598
  **Breaking format change**
541
599
  Faster decompression speed
542
600
  Can still decode v0.1 format
543
601
 
544
- v0.1.3
602
+ v0.1.3 (Oct 15, 2015)
545
603
  fix uninitialization warning, reported by Evan Nemerson
546
604
 
547
- v0.1.2
605
+ v0.1.2 (Sep 11, 2015)
548
606
  frame concatenation support
549
607
 
550
- v0.1.1
608
+ v0.1.1 (Aug 27, 2015)
551
609
  fix compression bug
552
610
  detects write-flush errors
553
611
 
554
- v0.1.0
612
+ v0.1.0 (Aug 25, 2015)
555
613
  first release