zstdlib 0.1.2-x64-mingw32 → 0.2.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +6 -0
  3. data/CHANGES.md +7 -0
  4. data/README.md +4 -3
  5. data/ext/zstdlib/extconf.rb +1 -1
  6. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/bitstream.h +0 -0
  7. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/compiler.h +1 -1
  8. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/cpu.h +0 -0
  9. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/debug.c +0 -0
  10. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/debug.h +0 -0
  11. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/entropy_common.c +0 -0
  12. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/error_private.c +0 -0
  13. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/error_private.h +0 -0
  14. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/fse.h +1 -1
  15. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/fse_decompress.c +0 -0
  16. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/huf.h +0 -0
  17. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/mem.h +0 -0
  18. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/pool.c +0 -0
  19. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/pool.h +0 -0
  20. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/threading.c +2 -2
  21. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/threading.h +0 -0
  22. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/xxhash.c +2 -2
  23. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/xxhash.h +0 -0
  24. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/zstd_common.c +0 -0
  25. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/zstd_errors.h +0 -0
  26. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/common/zstd_internal.h +55 -2
  27. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/fse_compress.c +2 -2
  28. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/hist.c +0 -0
  29. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/hist.h +0 -0
  30. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/huf_compress.c +0 -0
  31. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_compress.c +423 -296
  32. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_compress_internal.h +14 -11
  33. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_double_fast.c +0 -0
  34. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_double_fast.h +0 -0
  35. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_fast.c +203 -124
  36. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_fast.h +0 -0
  37. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_lazy.c +0 -0
  38. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_lazy.h +1 -1
  39. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_ldm.c +1 -1
  40. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_ldm.h +0 -0
  41. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_opt.c +27 -11
  42. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstd_opt.h +0 -0
  43. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstdmt_compress.c +41 -49
  44. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/compress/zstdmt_compress.h +43 -26
  45. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/decompress/huf_decompress.c +0 -0
  46. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/decompress/zstd_ddict.c +4 -4
  47. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/decompress/zstd_ddict.h +0 -0
  48. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/decompress/zstd_decompress.c +257 -164
  49. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/decompress/zstd_decompress_block.c +51 -47
  50. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/decompress/zstd_decompress_block.h +0 -0
  51. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/decompress/zstd_decompress_internal.h +7 -0
  52. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/lib/zstd.h +689 -542
  53. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/zlibWrapper/gzclose.c +0 -0
  54. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/zlibWrapper/gzcompatibility.h +0 -0
  55. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/zlibWrapper/gzguts.h +2 -0
  56. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/zlibWrapper/gzlib.c +0 -0
  57. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/zlibWrapper/gzread.c +0 -0
  58. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/zlibWrapper/gzwrite.c +0 -0
  59. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/zlibWrapper/zstd_zlibwrapper.c +0 -0
  60. data/ext/zstdlib/{zstd-1.3.8 → zstd-1.4.0}/zlibWrapper/zstd_zlibwrapper.h +0 -0
  61. data/lib/2.2/zstdlib.so +0 -0
  62. data/lib/2.3/zstdlib.so +0 -0
  63. data/lib/2.4/zstdlib.so +0 -0
  64. data/lib/2.5/zstdlib.so +0 -0
  65. data/lib/2.6/zstdlib.so +0 -0
  66. metadata +58 -57
@@ -38,6 +38,8 @@
38
38
 
39
39
  #ifdef _WIN32
40
40
  # include <stddef.h>
41
+ #else
42
+ # include <unistd.h>
41
43
  #endif
42
44
 
43
45
  #if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32)
data/lib/2.2/zstdlib.so CHANGED
Binary file
data/lib/2.3/zstdlib.so CHANGED
Binary file
data/lib/2.4/zstdlib.so CHANGED
Binary file
data/lib/2.5/zstdlib.so CHANGED
Binary file
data/lib/2.6/zstdlib.so CHANGED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zstdlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Oleg A. Khlybov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-13 00:00:00.000000000 Z
11
+ date: 2019-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -87,6 +87,7 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
+ - ".yardopts"
90
91
  - CHANGES.md
91
92
  - Gemfile
92
93
  - README.md
@@ -126,61 +127,61 @@ files:
126
127
  - ext/zstdlib/zlib.mk
127
128
  - ext/zstdlib/zlibwrapper.mk
128
129
  - ext/zstdlib/zlibwrapper/zlibwrapper.c
129
- - ext/zstdlib/zstd-1.3.8/lib/common/bitstream.h
130
- - ext/zstdlib/zstd-1.3.8/lib/common/compiler.h
131
- - ext/zstdlib/zstd-1.3.8/lib/common/cpu.h
132
- - ext/zstdlib/zstd-1.3.8/lib/common/debug.c
133
- - ext/zstdlib/zstd-1.3.8/lib/common/debug.h
134
- - ext/zstdlib/zstd-1.3.8/lib/common/entropy_common.c
135
- - ext/zstdlib/zstd-1.3.8/lib/common/error_private.c
136
- - ext/zstdlib/zstd-1.3.8/lib/common/error_private.h
137
- - ext/zstdlib/zstd-1.3.8/lib/common/fse.h
138
- - ext/zstdlib/zstd-1.3.8/lib/common/fse_decompress.c
139
- - ext/zstdlib/zstd-1.3.8/lib/common/huf.h
140
- - ext/zstdlib/zstd-1.3.8/lib/common/mem.h
141
- - ext/zstdlib/zstd-1.3.8/lib/common/pool.c
142
- - ext/zstdlib/zstd-1.3.8/lib/common/pool.h
143
- - ext/zstdlib/zstd-1.3.8/lib/common/threading.c
144
- - ext/zstdlib/zstd-1.3.8/lib/common/threading.h
145
- - ext/zstdlib/zstd-1.3.8/lib/common/xxhash.c
146
- - ext/zstdlib/zstd-1.3.8/lib/common/xxhash.h
147
- - ext/zstdlib/zstd-1.3.8/lib/common/zstd_common.c
148
- - ext/zstdlib/zstd-1.3.8/lib/common/zstd_errors.h
149
- - ext/zstdlib/zstd-1.3.8/lib/common/zstd_internal.h
150
- - ext/zstdlib/zstd-1.3.8/lib/compress/fse_compress.c
151
- - ext/zstdlib/zstd-1.3.8/lib/compress/hist.c
152
- - ext/zstdlib/zstd-1.3.8/lib/compress/hist.h
153
- - ext/zstdlib/zstd-1.3.8/lib/compress/huf_compress.c
154
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_compress.c
155
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_compress_internal.h
156
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_double_fast.c
157
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_double_fast.h
158
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_fast.c
159
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_fast.h
160
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_lazy.c
161
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_lazy.h
162
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_ldm.c
163
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_ldm.h
164
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_opt.c
165
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstd_opt.h
166
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstdmt_compress.c
167
- - ext/zstdlib/zstd-1.3.8/lib/compress/zstdmt_compress.h
168
- - ext/zstdlib/zstd-1.3.8/lib/decompress/huf_decompress.c
169
- - ext/zstdlib/zstd-1.3.8/lib/decompress/zstd_ddict.c
170
- - ext/zstdlib/zstd-1.3.8/lib/decompress/zstd_ddict.h
171
- - ext/zstdlib/zstd-1.3.8/lib/decompress/zstd_decompress.c
172
- - ext/zstdlib/zstd-1.3.8/lib/decompress/zstd_decompress_block.c
173
- - ext/zstdlib/zstd-1.3.8/lib/decompress/zstd_decompress_block.h
174
- - ext/zstdlib/zstd-1.3.8/lib/decompress/zstd_decompress_internal.h
175
- - ext/zstdlib/zstd-1.3.8/lib/zstd.h
176
- - ext/zstdlib/zstd-1.3.8/zlibWrapper/gzclose.c
177
- - ext/zstdlib/zstd-1.3.8/zlibWrapper/gzcompatibility.h
178
- - ext/zstdlib/zstd-1.3.8/zlibWrapper/gzguts.h
179
- - ext/zstdlib/zstd-1.3.8/zlibWrapper/gzlib.c
180
- - ext/zstdlib/zstd-1.3.8/zlibWrapper/gzread.c
181
- - ext/zstdlib/zstd-1.3.8/zlibWrapper/gzwrite.c
182
- - ext/zstdlib/zstd-1.3.8/zlibWrapper/zstd_zlibwrapper.c
183
- - ext/zstdlib/zstd-1.3.8/zlibWrapper/zstd_zlibwrapper.h
130
+ - ext/zstdlib/zstd-1.4.0/lib/common/bitstream.h
131
+ - ext/zstdlib/zstd-1.4.0/lib/common/compiler.h
132
+ - ext/zstdlib/zstd-1.4.0/lib/common/cpu.h
133
+ - ext/zstdlib/zstd-1.4.0/lib/common/debug.c
134
+ - ext/zstdlib/zstd-1.4.0/lib/common/debug.h
135
+ - ext/zstdlib/zstd-1.4.0/lib/common/entropy_common.c
136
+ - ext/zstdlib/zstd-1.4.0/lib/common/error_private.c
137
+ - ext/zstdlib/zstd-1.4.0/lib/common/error_private.h
138
+ - ext/zstdlib/zstd-1.4.0/lib/common/fse.h
139
+ - ext/zstdlib/zstd-1.4.0/lib/common/fse_decompress.c
140
+ - ext/zstdlib/zstd-1.4.0/lib/common/huf.h
141
+ - ext/zstdlib/zstd-1.4.0/lib/common/mem.h
142
+ - ext/zstdlib/zstd-1.4.0/lib/common/pool.c
143
+ - ext/zstdlib/zstd-1.4.0/lib/common/pool.h
144
+ - ext/zstdlib/zstd-1.4.0/lib/common/threading.c
145
+ - ext/zstdlib/zstd-1.4.0/lib/common/threading.h
146
+ - ext/zstdlib/zstd-1.4.0/lib/common/xxhash.c
147
+ - ext/zstdlib/zstd-1.4.0/lib/common/xxhash.h
148
+ - ext/zstdlib/zstd-1.4.0/lib/common/zstd_common.c
149
+ - ext/zstdlib/zstd-1.4.0/lib/common/zstd_errors.h
150
+ - ext/zstdlib/zstd-1.4.0/lib/common/zstd_internal.h
151
+ - ext/zstdlib/zstd-1.4.0/lib/compress/fse_compress.c
152
+ - ext/zstdlib/zstd-1.4.0/lib/compress/hist.c
153
+ - ext/zstdlib/zstd-1.4.0/lib/compress/hist.h
154
+ - ext/zstdlib/zstd-1.4.0/lib/compress/huf_compress.c
155
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_compress.c
156
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_compress_internal.h
157
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_double_fast.c
158
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_double_fast.h
159
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_fast.c
160
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_fast.h
161
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_lazy.c
162
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_lazy.h
163
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_ldm.c
164
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_ldm.h
165
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_opt.c
166
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstd_opt.h
167
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstdmt_compress.c
168
+ - ext/zstdlib/zstd-1.4.0/lib/compress/zstdmt_compress.h
169
+ - ext/zstdlib/zstd-1.4.0/lib/decompress/huf_decompress.c
170
+ - ext/zstdlib/zstd-1.4.0/lib/decompress/zstd_ddict.c
171
+ - ext/zstdlib/zstd-1.4.0/lib/decompress/zstd_ddict.h
172
+ - ext/zstdlib/zstd-1.4.0/lib/decompress/zstd_decompress.c
173
+ - ext/zstdlib/zstd-1.4.0/lib/decompress/zstd_decompress_block.c
174
+ - ext/zstdlib/zstd-1.4.0/lib/decompress/zstd_decompress_block.h
175
+ - ext/zstdlib/zstd-1.4.0/lib/decompress/zstd_decompress_internal.h
176
+ - ext/zstdlib/zstd-1.4.0/lib/zstd.h
177
+ - ext/zstdlib/zstd-1.4.0/zlibWrapper/gzclose.c
178
+ - ext/zstdlib/zstd-1.4.0/zlibWrapper/gzcompatibility.h
179
+ - ext/zstdlib/zstd-1.4.0/zlibWrapper/gzguts.h
180
+ - ext/zstdlib/zstd-1.4.0/zlibWrapper/gzlib.c
181
+ - ext/zstdlib/zstd-1.4.0/zlibWrapper/gzread.c
182
+ - ext/zstdlib/zstd-1.4.0/zlibWrapper/gzwrite.c
183
+ - ext/zstdlib/zstd-1.4.0/zlibWrapper/zstd_zlibwrapper.c
184
+ - ext/zstdlib/zstd-1.4.0/zlibWrapper/zstd_zlibwrapper.h
184
185
  - ext/zstdlib/zstd.mk
185
186
  - lib/2.2/zstdlib.so
186
187
  - lib/2.3/zstdlib.so