zstd-ruby 1.3.8.0 → 1.4.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +6 -5
  3. data/README.md +1 -1
  4. data/ext/zstdruby/libzstd/Makefile +133 -61
  5. data/ext/zstdruby/libzstd/README.md +51 -18
  6. data/ext/zstdruby/libzstd/common/bitstream.h +38 -39
  7. data/ext/zstdruby/libzstd/common/compiler.h +41 -6
  8. data/ext/zstdruby/libzstd/common/cpu.h +1 -1
  9. data/ext/zstdruby/libzstd/common/debug.c +11 -31
  10. data/ext/zstdruby/libzstd/common/debug.h +11 -31
  11. data/ext/zstdruby/libzstd/common/entropy_common.c +13 -33
  12. data/ext/zstdruby/libzstd/common/error_private.c +2 -1
  13. data/ext/zstdruby/libzstd/common/error_private.h +6 -2
  14. data/ext/zstdruby/libzstd/common/fse.h +13 -33
  15. data/ext/zstdruby/libzstd/common/fse_decompress.c +12 -35
  16. data/ext/zstdruby/libzstd/common/huf.h +15 -33
  17. data/ext/zstdruby/libzstd/common/mem.h +75 -2
  18. data/ext/zstdruby/libzstd/common/pool.c +8 -4
  19. data/ext/zstdruby/libzstd/common/pool.h +2 -2
  20. data/ext/zstdruby/libzstd/common/threading.c +52 -6
  21. data/ext/zstdruby/libzstd/common/threading.h +36 -4
  22. data/ext/zstdruby/libzstd/common/xxhash.c +25 -37
  23. data/ext/zstdruby/libzstd/common/xxhash.h +11 -31
  24. data/ext/zstdruby/libzstd/common/zstd_common.c +1 -1
  25. data/ext/zstdruby/libzstd/common/zstd_errors.h +2 -1
  26. data/ext/zstdruby/libzstd/common/zstd_internal.h +203 -22
  27. data/ext/zstdruby/libzstd/compress/fse_compress.c +19 -42
  28. data/ext/zstdruby/libzstd/compress/hist.c +15 -35
  29. data/ext/zstdruby/libzstd/compress/hist.h +12 -32
  30. data/ext/zstdruby/libzstd/compress/huf_compress.c +92 -92
  31. data/ext/zstdruby/libzstd/compress/zstd_compress.c +1460 -1472
  32. data/ext/zstdruby/libzstd/compress/zstd_compress_internal.h +330 -65
  33. data/ext/zstdruby/libzstd/compress/zstd_compress_literals.c +158 -0
  34. data/ext/zstdruby/libzstd/compress/zstd_compress_literals.h +29 -0
  35. data/ext/zstdruby/libzstd/compress/zstd_compress_sequences.c +419 -0
  36. data/ext/zstdruby/libzstd/compress/zstd_compress_sequences.h +54 -0
  37. data/ext/zstdruby/libzstd/compress/zstd_compress_superblock.c +845 -0
  38. data/ext/zstdruby/libzstd/compress/zstd_compress_superblock.h +32 -0
  39. data/ext/zstdruby/libzstd/compress/zstd_cwksp.h +525 -0
  40. data/ext/zstdruby/libzstd/compress/zstd_double_fast.c +65 -43
  41. data/ext/zstdruby/libzstd/compress/zstd_double_fast.h +2 -2
  42. data/ext/zstdruby/libzstd/compress/zstd_fast.c +264 -159
  43. data/ext/zstdruby/libzstd/compress/zstd_fast.h +2 -2
  44. data/ext/zstdruby/libzstd/compress/zstd_lazy.c +74 -42
  45. data/ext/zstdruby/libzstd/compress/zstd_lazy.h +2 -2
  46. data/ext/zstdruby/libzstd/compress/zstd_ldm.c +33 -11
  47. data/ext/zstdruby/libzstd/compress/zstd_ldm.h +7 -2
  48. data/ext/zstdruby/libzstd/compress/zstd_opt.c +108 -125
  49. data/ext/zstdruby/libzstd/compress/zstd_opt.h +1 -1
  50. data/ext/zstdruby/libzstd/compress/zstdmt_compress.c +129 -93
  51. data/ext/zstdruby/libzstd/compress/zstdmt_compress.h +46 -28
  52. data/ext/zstdruby/libzstd/decompress/huf_decompress.c +76 -60
  53. data/ext/zstdruby/libzstd/decompress/zstd_ddict.c +14 -10
  54. data/ext/zstdruby/libzstd/decompress/zstd_ddict.h +2 -2
  55. data/ext/zstdruby/libzstd/decompress/zstd_decompress.c +471 -258
  56. data/ext/zstdruby/libzstd/decompress/zstd_decompress_block.c +471 -346
  57. data/ext/zstdruby/libzstd/decompress/zstd_decompress_block.h +3 -3
  58. data/ext/zstdruby/libzstd/decompress/zstd_decompress_internal.h +25 -4
  59. data/ext/zstdruby/libzstd/deprecated/zbuff.h +9 -8
  60. data/ext/zstdruby/libzstd/deprecated/zbuff_common.c +2 -2
  61. data/ext/zstdruby/libzstd/deprecated/zbuff_compress.c +1 -1
  62. data/ext/zstdruby/libzstd/deprecated/zbuff_decompress.c +1 -1
  63. data/ext/zstdruby/libzstd/dictBuilder/cover.c +220 -65
  64. data/ext/zstdruby/libzstd/dictBuilder/cover.h +81 -7
  65. data/ext/zstdruby/libzstd/dictBuilder/fastcover.c +85 -56
  66. data/ext/zstdruby/libzstd/dictBuilder/zdict.c +43 -19
  67. data/ext/zstdruby/libzstd/dictBuilder/zdict.h +73 -35
  68. data/ext/zstdruby/libzstd/dll/example/Makefile +2 -1
  69. data/ext/zstdruby/libzstd/dll/example/build_package.bat +3 -2
  70. data/ext/zstdruby/libzstd/legacy/zstd_legacy.h +49 -15
  71. data/ext/zstdruby/libzstd/legacy/zstd_v01.c +142 -117
  72. data/ext/zstdruby/libzstd/legacy/zstd_v01.h +13 -8
  73. data/ext/zstdruby/libzstd/legacy/zstd_v02.c +54 -25
  74. data/ext/zstdruby/libzstd/legacy/zstd_v02.h +13 -8
  75. data/ext/zstdruby/libzstd/legacy/zstd_v03.c +55 -25
  76. data/ext/zstdruby/libzstd/legacy/zstd_v03.h +13 -8
  77. data/ext/zstdruby/libzstd/legacy/zstd_v04.c +62 -29
  78. data/ext/zstdruby/libzstd/legacy/zstd_v04.h +13 -8
  79. data/ext/zstdruby/libzstd/legacy/zstd_v05.c +145 -109
  80. data/ext/zstdruby/libzstd/legacy/zstd_v05.h +14 -9
  81. data/ext/zstdruby/libzstd/legacy/zstd_v06.c +56 -26
  82. data/ext/zstdruby/libzstd/legacy/zstd_v06.h +11 -6
  83. data/ext/zstdruby/libzstd/legacy/zstd_v07.c +65 -28
  84. data/ext/zstdruby/libzstd/legacy/zstd_v07.h +11 -6
  85. data/ext/zstdruby/libzstd/libzstd.pc.in +3 -2
  86. data/ext/zstdruby/libzstd/zstd.h +921 -597
  87. data/lib/zstd-ruby/version.rb +1 -1
  88. data/zstd-ruby.gemspec +2 -2
  89. metadata +19 -14
  90. data/ext/zstdruby/libzstd/dll/libzstd.def +0 -87
@@ -1,3 +1,3 @@
1
1
  module Zstd
2
- VERSION = "1.3.8.0"
2
+ VERSION = "1.4.5.0"
3
3
  end
@@ -31,8 +31,8 @@ Gem::Specification.new do |spec|
31
31
  spec.require_paths = ["lib"]
32
32
  spec.extensions = ["ext/zstdruby/extconf.rb"]
33
33
 
34
- spec.add_development_dependency "bundler", "~> 1.14"
35
- spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "bundler"
35
+ spec.add_development_dependency "rake", "~> 13.0"
36
36
  spec.add_development_dependency "rake-compiler", '~> 1'
37
37
  spec.add_development_dependency "rspec", "~> 3.0"
38
38
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zstd-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.8.0
4
+ version: 1.4.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SpringMT
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-28 00:00:00.000000000 Z
11
+ date: 2020-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.14'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.14'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake-compiler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -118,6 +118,13 @@ files:
118
118
  - ext/zstdruby/libzstd/compress/huf_compress.c
119
119
  - ext/zstdruby/libzstd/compress/zstd_compress.c
120
120
  - ext/zstdruby/libzstd/compress/zstd_compress_internal.h
121
+ - ext/zstdruby/libzstd/compress/zstd_compress_literals.c
122
+ - ext/zstdruby/libzstd/compress/zstd_compress_literals.h
123
+ - ext/zstdruby/libzstd/compress/zstd_compress_sequences.c
124
+ - ext/zstdruby/libzstd/compress/zstd_compress_sequences.h
125
+ - ext/zstdruby/libzstd/compress/zstd_compress_superblock.c
126
+ - ext/zstdruby/libzstd/compress/zstd_compress_superblock.h
127
+ - ext/zstdruby/libzstd/compress/zstd_cwksp.h
121
128
  - ext/zstdruby/libzstd/compress/zstd_double_fast.c
122
129
  - ext/zstdruby/libzstd/compress/zstd_double_fast.h
123
130
  - ext/zstdruby/libzstd/compress/zstd_fast.c
@@ -153,7 +160,6 @@ files:
153
160
  - ext/zstdruby/libzstd/dll/example/build_package.bat
154
161
  - ext/zstdruby/libzstd/dll/example/fullbench-dll.sln
155
162
  - ext/zstdruby/libzstd/dll/example/fullbench-dll.vcxproj
156
- - ext/zstdruby/libzstd/dll/libzstd.def
157
163
  - ext/zstdruby/libzstd/legacy/zstd_legacy.h
158
164
  - ext/zstdruby/libzstd/legacy/zstd_v01.c
159
165
  - ext/zstdruby/libzstd/legacy/zstd_v01.h
@@ -180,7 +186,7 @@ homepage: https://github.com/SpringMT/zstd-ruby
180
186
  licenses:
181
187
  - MIT
182
188
  metadata: {}
183
- post_install_message:
189
+ post_install_message:
184
190
  rdoc_options: []
185
191
  require_paths:
186
192
  - lib
@@ -195,9 +201,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
201
  - !ruby/object:Gem::Version
196
202
  version: '0'
197
203
  requirements: []
198
- rubyforge_project:
199
- rubygems_version: 2.7.6
200
- signing_key:
204
+ rubygems_version: 3.0.3
205
+ signing_key:
201
206
  specification_version: 4
202
207
  summary: Ruby binding for zstd(Zstandard - Fast real-time compression algorithm)
203
208
  test_files: []
@@ -1,87 +0,0 @@
1
- LIBRARY libzstd.dll
2
- EXPORTS
3
- ZDICT_getDictID
4
- ZDICT_getErrorName
5
- ZDICT_isError
6
- ZDICT_trainFromBuffer
7
- ZSTD_CStreamInSize
8
- ZSTD_CStreamOutSize
9
- ZSTD_DStreamInSize
10
- ZSTD_DStreamOutSize
11
- ZSTD_adjustCParams
12
- ZSTD_checkCParams
13
- ZSTD_compress
14
- ZSTD_compressBegin
15
- ZSTD_compressBegin_advanced
16
- ZSTD_compressBegin_usingDict
17
- ZSTD_compressBlock
18
- ZSTD_compressBound
19
- ZSTD_compressCCtx
20
- ZSTD_compressContinue
21
- ZSTD_compressEnd
22
- ZSTD_compressStream
23
- ZSTD_compress_advanced
24
- ZSTD_compress_usingCDict
25
- ZSTD_compress_usingDict
26
- ZSTD_copyCCtx
27
- ZSTD_copyDCtx
28
- ZSTD_createCCtx
29
- ZSTD_createCCtx_advanced
30
- ZSTD_createCDict
31
- ZSTD_createCDict_advanced
32
- ZSTD_createCStream
33
- ZSTD_createCStream_advanced
34
- ZSTD_createDCtx
35
- ZSTD_createDCtx_advanced
36
- ZSTD_createDDict
37
- ZSTD_createDStream
38
- ZSTD_createDStream_advanced
39
- ZSTD_decompress
40
- ZSTD_decompressBegin
41
- ZSTD_decompressBegin_usingDict
42
- ZSTD_decompressBlock
43
- ZSTD_decompressContinue
44
- ZSTD_decompressDCtx
45
- ZSTD_decompressStream
46
- ZSTD_decompress_usingDDict
47
- ZSTD_decompress_usingDict
48
- ZSTD_endStream
49
- ZSTD_estimateCCtxSize
50
- ZSTD_estimateDCtxSize
51
- ZSTD_flushStream
52
- ZSTD_freeCCtx
53
- ZSTD_freeCDict
54
- ZSTD_freeCStream
55
- ZSTD_freeDCtx
56
- ZSTD_freeDDict
57
- ZSTD_freeDStream
58
- ZSTD_getBlockSizeMax
59
- ZSTD_getCParams
60
- ZSTD_getDecompressedSize
61
- ZSTD_findDecompressedSize
62
- ZSTD_getFrameContentSize
63
- ZSTD_getErrorName
64
- ZSTD_getFrameParams
65
- ZSTD_getParams
66
- ZSTD_initCStream
67
- ZSTD_initCStream_advanced
68
- ZSTD_initCStream_usingCDict
69
- ZSTD_initCStream_usingDict
70
- ZSTD_initDStream
71
- ZSTD_initDStream_usingDDict
72
- ZSTD_initDStream_usingDict
73
- ZSTD_insertBlock
74
- ZSTD_isError
75
- ZSTD_isFrame
76
- ZSTD_maxCLevel
77
- ZSTD_nextInputType
78
- ZSTD_nextSrcSizeToDecompress
79
- ZSTD_resetCStream
80
- ZSTD_resetDStream
81
- ZSTD_sizeof_CCtx
82
- ZSTD_sizeof_CDict
83
- ZSTD_sizeof_CStream
84
- ZSTD_sizeof_DCtx
85
- ZSTD_sizeof_DDict
86
- ZSTD_sizeof_DStream
87
- ZSTD_versionNumber