rroonga 6.0.5-x86-mingw32 → 6.0.7-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (993) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +15 -0
  3. data/ext/groonga/rb-grn-column.c +23 -17
  4. data/ext/groonga/rb-grn-context.c +24 -22
  5. data/ext/groonga/rb-grn-exception.c +2 -256
  6. data/ext/groonga/rb-grn-index-column.c +21 -9
  7. data/ext/groonga/rb-grn-object.c +98 -62
  8. data/ext/groonga/rb-grn-table-sort-keys.c +1 -1
  9. data/ext/groonga/rb-grn-table.c +2 -2
  10. data/ext/groonga/rb-grn-variable-size-column.c +13 -7
  11. data/ext/groonga/rb-grn.h +1 -2
  12. data/ext/groonga/rb-groonga.c +3 -2
  13. data/lib/2.1/groonga.so +0 -0
  14. data/lib/2.2/groonga.so +0 -0
  15. data/lib/2.3/groonga.so +0 -0
  16. data/rroonga-build.rb +3 -3
  17. data/test/test-fix-size-column.rb +1 -1
  18. data/test/test-schema.rb +1 -1
  19. data/test/test-variable-size-column.rb +1 -1
  20. data/vendor/local/bin/grndb.exe +0 -0
  21. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  22. data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
  23. data/vendor/local/bin/groonga.exe +0 -0
  24. data/vendor/local/bin/libgroonga-0.dll +0 -0
  25. data/vendor/local/bin/libmecab-2.dll +0 -0
  26. data/vendor/local/bin/{libmsgpack-4.dll → libmsgpackc.dll} +0 -0
  27. data/vendor/local/bin/libonig-5.dll +0 -0
  28. data/vendor/local/bin/lz4.exe +0 -0
  29. data/vendor/local/bin/lz4c.exe +0 -0
  30. data/vendor/local/bin/lz4cat +0 -0
  31. data/vendor/local/bin/mecab.exe +0 -0
  32. data/vendor/local/bin/zlib1.dll +0 -0
  33. data/vendor/local/include/groonga/groonga.h +2 -0
  34. data/vendor/local/include/groonga/groonga/column.h +29 -0
  35. data/vendor/local/include/groonga/groonga/dump.h +1 -1
  36. data/vendor/local/include/groonga/groonga/error.h +29 -0
  37. data/vendor/local/include/groonga/groonga/groonga.h +6 -1
  38. data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +4 -70
  39. data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +16 -0
  40. data/vendor/local/include/msgpack/adaptor/array_ref.hpp +4 -161
  41. data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +16 -0
  42. data/vendor/local/include/msgpack/adaptor/bool.hpp +2 -53
  43. data/vendor/local/include/msgpack/adaptor/boost/fusion.hpp +1 -146
  44. data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant.hpp +4 -416
  45. data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +16 -0
  46. data/vendor/local/include/msgpack/adaptor/boost/optional.hpp +2 -83
  47. data/vendor/local/include/msgpack/adaptor/boost/string_ref.hpp +2 -74
  48. data/vendor/local/include/msgpack/adaptor/carray.hpp +15 -0
  49. data/vendor/local/include/msgpack/adaptor/char_ptr.hpp +2 -144
  50. data/vendor/local/include/msgpack/adaptor/check_container_size.hpp +3 -53
  51. data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +16 -0
  52. data/vendor/local/include/msgpack/adaptor/cpp11/array.hpp +5 -127
  53. data/vendor/local/include/msgpack/adaptor/cpp11/array_char.hpp +5 -78
  54. data/vendor/local/include/msgpack/adaptor/cpp11/array_unsigned_char.hpp +5 -78
  55. data/vendor/local/include/msgpack/adaptor/cpp11/forward_list.hpp +5 -83
  56. data/vendor/local/include/msgpack/adaptor/cpp11/reference_wrapper.hpp +5 -57
  57. data/vendor/local/include/msgpack/adaptor/cpp11/shared_ptr.hpp +5 -71
  58. data/vendor/local/include/msgpack/adaptor/cpp11/tuple.hpp +5 -165
  59. data/vendor/local/include/msgpack/adaptor/cpp11/unique_ptr.hpp +5 -71
  60. data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map.hpp +5 -171
  61. data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set.hpp +5 -161
  62. data/vendor/local/include/msgpack/adaptor/define.hpp +3 -17
  63. data/vendor/local/include/msgpack/adaptor/define_decl.hpp +142 -0
  64. data/vendor/local/include/msgpack/adaptor/deque.hpp +3 -96
  65. data/vendor/local/include/msgpack/adaptor/ext.hpp +3 -223
  66. data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +16 -0
  67. data/vendor/local/include/msgpack/adaptor/fixint.hpp +4 -285
  68. data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +16 -0
  69. data/vendor/local/include/msgpack/adaptor/float.hpp +2 -110
  70. data/vendor/local/include/msgpack/adaptor/int.hpp +4 -415
  71. data/vendor/local/include/msgpack/adaptor/int_decl.hpp +16 -0
  72. data/vendor/local/include/msgpack/adaptor/list.hpp +2 -93
  73. data/vendor/local/include/msgpack/adaptor/map.hpp +3 -291
  74. data/vendor/local/include/msgpack/adaptor/map_decl.hpp +16 -0
  75. data/vendor/local/include/msgpack/adaptor/msgpack_tuple.hpp +2 -6
  76. data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +16 -0
  77. data/vendor/local/include/msgpack/adaptor/nil.hpp +3 -70
  78. data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +16 -0
  79. data/vendor/local/include/msgpack/adaptor/pair.hpp +2 -70
  80. data/vendor/local/include/msgpack/adaptor/raw.hpp +3 -92
  81. data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +16 -0
  82. data/vendor/local/include/msgpack/adaptor/set.hpp +2 -175
  83. data/vendor/local/include/msgpack/adaptor/size_equal_only.hpp +17 -0
  84. data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +16 -0
  85. data/vendor/local/include/msgpack/adaptor/string.hpp +2 -73
  86. data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
  87. data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
  88. data/vendor/local/include/msgpack/adaptor/v4raw.hpp +3 -92
  89. data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +16 -0
  90. data/vendor/local/include/msgpack/adaptor/vector.hpp +2 -108
  91. data/vendor/local/include/msgpack/adaptor/vector_bool.hpp +2 -75
  92. data/vendor/local/include/msgpack/adaptor/vector_char.hpp +2 -76
  93. data/vendor/local/include/msgpack/adaptor/vector_unsigned_char.hpp +2 -76
  94. data/vendor/local/include/msgpack/cpp_config.hpp +4 -111
  95. data/vendor/local/include/msgpack/cpp_config_decl.hpp +16 -0
  96. data/vendor/local/include/msgpack/fbuffer.h +1 -1
  97. data/vendor/local/include/msgpack/fbuffer.hpp +5 -48
  98. data/vendor/local/include/msgpack/fbuffer_decl.hpp +16 -0
  99. data/vendor/local/include/msgpack/gcc_atomic.hpp +33 -0
  100. data/vendor/local/include/msgpack/iterator.hpp +3 -23
  101. data/vendor/local/include/msgpack/iterator_decl.hpp +17 -0
  102. data/vendor/local/include/msgpack/meta.hpp +3 -36
  103. data/vendor/local/include/msgpack/meta_decl.hpp +17 -0
  104. data/vendor/local/include/msgpack/object.hpp +5 -799
  105. data/vendor/local/include/msgpack/object_decl.hpp +17 -0
  106. data/vendor/local/include/msgpack/object_fwd.hpp +4 -180
  107. data/vendor/local/include/msgpack/object_fwd_decl.hpp +17 -0
  108. data/vendor/local/include/msgpack/pack.hpp +4 -1077
  109. data/vendor/local/include/msgpack/pack_decl.hpp +16 -0
  110. data/vendor/local/include/msgpack/predef.h +6 -1
  111. data/vendor/local/include/msgpack/predef/architecture.h +3 -1
  112. data/vendor/local/include/msgpack/predef/architecture/alpha.h +3 -4
  113. data/vendor/local/include/msgpack/predef/architecture/arm.h +3 -4
  114. data/vendor/local/include/msgpack/predef/architecture/blackfin.h +3 -4
  115. data/vendor/local/include/msgpack/predef/architecture/convex.h +3 -5
  116. data/vendor/local/include/msgpack/predef/architecture/ia64.h +3 -3
  117. data/vendor/local/include/msgpack/predef/architecture/m68k.h +3 -4
  118. data/vendor/local/include/msgpack/predef/architecture/mips.h +3 -4
  119. data/vendor/local/include/msgpack/predef/architecture/parisc.h +3 -4
  120. data/vendor/local/include/msgpack/predef/architecture/ppc.h +3 -4
  121. data/vendor/local/include/msgpack/predef/architecture/pyramid.h +3 -4
  122. data/vendor/local/include/msgpack/predef/architecture/rs6k.h +4 -4
  123. data/vendor/local/include/msgpack/predef/architecture/sparc.h +3 -4
  124. data/vendor/local/include/msgpack/predef/architecture/superh.h +3 -4
  125. data/vendor/local/include/msgpack/predef/architecture/sys370.h +3 -4
  126. data/vendor/local/include/msgpack/predef/architecture/sys390.h +3 -4
  127. data/vendor/local/include/msgpack/predef/architecture/x86.h +6 -6
  128. data/vendor/local/include/msgpack/predef/architecture/x86/32.h +4 -4
  129. data/vendor/local/include/msgpack/predef/architecture/x86/64.h +4 -4
  130. data/vendor/local/include/msgpack/predef/architecture/z.h +3 -4
  131. data/vendor/local/include/msgpack/predef/compiler.h +3 -1
  132. data/vendor/local/include/msgpack/predef/compiler/borland.h +3 -4
  133. data/vendor/local/include/msgpack/predef/compiler/clang.h +3 -4
  134. data/vendor/local/include/msgpack/predef/compiler/comeau.h +4 -5
  135. data/vendor/local/include/msgpack/predef/compiler/compaq.h +3 -4
  136. data/vendor/local/include/msgpack/predef/compiler/diab.h +3 -4
  137. data/vendor/local/include/msgpack/predef/compiler/digitalmars.h +3 -4
  138. data/vendor/local/include/msgpack/predef/compiler/dignus.h +3 -4
  139. data/vendor/local/include/msgpack/predef/compiler/edg.h +3 -4
  140. data/vendor/local/include/msgpack/predef/compiler/ekopath.h +3 -4
  141. data/vendor/local/include/msgpack/predef/compiler/gcc.h +3 -4
  142. data/vendor/local/include/msgpack/predef/compiler/gcc_xml.h +3 -3
  143. data/vendor/local/include/msgpack/predef/compiler/greenhills.h +3 -4
  144. data/vendor/local/include/msgpack/predef/compiler/hp_acc.h +3 -4
  145. data/vendor/local/include/msgpack/predef/compiler/iar.h +3 -4
  146. data/vendor/local/include/msgpack/predef/compiler/ibm.h +3 -4
  147. data/vendor/local/include/msgpack/predef/compiler/intel.h +3 -4
  148. data/vendor/local/include/msgpack/predef/compiler/kai.h +3 -4
  149. data/vendor/local/include/msgpack/predef/compiler/llvm.h +3 -4
  150. data/vendor/local/include/msgpack/predef/compiler/metaware.h +3 -4
  151. data/vendor/local/include/msgpack/predef/compiler/metrowerks.h +3 -4
  152. data/vendor/local/include/msgpack/predef/compiler/microtec.h +3 -4
  153. data/vendor/local/include/msgpack/predef/compiler/mpw.h +3 -4
  154. data/vendor/local/include/msgpack/predef/compiler/palm.h +3 -4
  155. data/vendor/local/include/msgpack/predef/compiler/pgi.h +3 -4
  156. data/vendor/local/include/msgpack/predef/compiler/sgi_mipspro.h +3 -4
  157. data/vendor/local/include/msgpack/predef/compiler/sunpro.h +17 -8
  158. data/vendor/local/include/msgpack/predef/compiler/tendra.h +3 -4
  159. data/vendor/local/include/msgpack/predef/compiler/visualc.h +3 -4
  160. data/vendor/local/include/msgpack/predef/compiler/watcom.h +3 -4
  161. data/vendor/local/include/msgpack/predef/detail/_cassert.h +1 -1
  162. data/vendor/local/include/msgpack/predef/detail/_exception.h +1 -1
  163. data/vendor/local/include/msgpack/predef/detail/test_def.h +71 -0
  164. data/vendor/local/include/msgpack/predef/hardware.h +16 -0
  165. data/vendor/local/include/msgpack/predef/hardware/simd.h +119 -0
  166. data/vendor/local/include/msgpack/predef/hardware/simd/arm.h +57 -0
  167. data/vendor/local/include/msgpack/predef/hardware/simd/arm/versions.h +32 -0
  168. data/vendor/local/include/msgpack/predef/hardware/simd/ppc.h +69 -0
  169. data/vendor/local/include/msgpack/predef/hardware/simd/ppc/versions.h +51 -0
  170. data/vendor/local/include/msgpack/predef/hardware/simd/x86.h +123 -0
  171. data/vendor/local/include/msgpack/predef/hardware/simd/x86/versions.h +129 -0
  172. data/vendor/local/include/msgpack/predef/hardware/simd/x86_amd.h +87 -0
  173. data/vendor/local/include/msgpack/predef/hardware/simd/x86_amd/versions.h +51 -0
  174. data/vendor/local/include/msgpack/predef/language.h +3 -1
  175. data/vendor/local/include/msgpack/predef/language/objc.h +3 -4
  176. data/vendor/local/include/msgpack/predef/language/stdc.h +3 -4
  177. data/vendor/local/include/msgpack/predef/language/stdcpp.h +8 -11
  178. data/vendor/local/include/msgpack/predef/library.h +3 -1
  179. data/vendor/local/include/msgpack/predef/library/c.h +3 -1
  180. data/vendor/local/include/msgpack/predef/library/c/gnu.h +3 -4
  181. data/vendor/local/include/msgpack/predef/library/c/uc.h +3 -4
  182. data/vendor/local/include/msgpack/predef/library/c/vms.h +3 -4
  183. data/vendor/local/include/msgpack/predef/library/c/zos.h +3 -4
  184. data/vendor/local/include/msgpack/predef/library/std.h +3 -1
  185. data/vendor/local/include/msgpack/predef/library/std/cxx.h +3 -4
  186. data/vendor/local/include/msgpack/predef/library/std/dinkumware.h +3 -4
  187. data/vendor/local/include/msgpack/predef/library/std/libcomo.h +3 -4
  188. data/vendor/local/include/msgpack/predef/library/std/modena.h +3 -4
  189. data/vendor/local/include/msgpack/predef/library/std/msl.h +3 -4
  190. data/vendor/local/include/msgpack/predef/library/std/roguewave.h +3 -4
  191. data/vendor/local/include/msgpack/predef/library/std/sgi.h +3 -4
  192. data/vendor/local/include/msgpack/predef/library/std/stdcpp3.h +3 -4
  193. data/vendor/local/include/msgpack/predef/library/std/stlport.h +3 -4
  194. data/vendor/local/include/msgpack/predef/library/std/vacpp.h +3 -4
  195. data/vendor/local/include/msgpack/predef/make.h +2 -2
  196. data/vendor/local/include/msgpack/predef/os.h +3 -1
  197. data/vendor/local/include/msgpack/predef/os/aix.h +3 -4
  198. data/vendor/local/include/msgpack/predef/os/amigaos.h +3 -4
  199. data/vendor/local/include/msgpack/predef/os/android.h +3 -4
  200. data/vendor/local/include/msgpack/predef/os/beos.h +3 -4
  201. data/vendor/local/include/msgpack/predef/os/bsd.h +11 -3
  202. data/vendor/local/include/msgpack/predef/os/bsd/bsdi.h +3 -3
  203. data/vendor/local/include/msgpack/predef/os/bsd/dragonfly.h +3 -3
  204. data/vendor/local/include/msgpack/predef/os/bsd/free.h +3 -3
  205. data/vendor/local/include/msgpack/predef/os/bsd/net.h +3 -3
  206. data/vendor/local/include/msgpack/predef/os/bsd/open.h +3 -3
  207. data/vendor/local/include/msgpack/predef/os/cygwin.h +4 -5
  208. data/vendor/local/include/msgpack/predef/os/haiku.h +3 -4
  209. data/vendor/local/include/msgpack/predef/os/hpux.h +3 -4
  210. data/vendor/local/include/msgpack/predef/os/ios.h +3 -3
  211. data/vendor/local/include/msgpack/predef/os/irix.h +3 -4
  212. data/vendor/local/include/msgpack/predef/os/linux.h +3 -4
  213. data/vendor/local/include/msgpack/predef/os/macos.h +3 -4
  214. data/vendor/local/include/msgpack/predef/os/os400.h +3 -4
  215. data/vendor/local/include/msgpack/predef/os/qnxnto.h +3 -4
  216. data/vendor/local/include/msgpack/predef/os/solaris.h +3 -4
  217. data/vendor/local/include/msgpack/predef/os/unix.h +3 -3
  218. data/vendor/local/include/msgpack/predef/os/vms.h +3 -4
  219. data/vendor/local/include/msgpack/predef/os/windows.h +3 -3
  220. data/vendor/local/include/msgpack/predef/other.h +3 -1
  221. data/vendor/local/include/msgpack/predef/other/endian.h +4 -5
  222. data/vendor/local/include/msgpack/predef/platform.h +3 -1
  223. data/vendor/local/include/msgpack/predef/platform/mingw.h +3 -4
  224. data/vendor/local/include/msgpack/predef/platform/windows_desktop.h +4 -3
  225. data/vendor/local/include/msgpack/predef/platform/windows_phone.h +4 -3
  226. data/vendor/local/include/msgpack/predef/platform/windows_runtime.h +4 -3
  227. data/vendor/local/include/msgpack/predef/platform/windows_store.h +4 -3
  228. data/vendor/local/include/msgpack/predef/version.h +2 -2
  229. data/vendor/local/include/msgpack/predef/version_number.h +1 -2
  230. data/vendor/local/include/msgpack/preprocessor/arithmetic/dec.hpp +1 -0
  231. data/vendor/local/include/msgpack/preprocessor/config/config.hpp +5 -2
  232. data/vendor/local/include/msgpack/preprocessor/facilities/identity.hpp +4 -0
  233. data/vendor/local/include/msgpack/preprocessor/library.hpp +1 -0
  234. data/vendor/local/include/msgpack/preprocessor/repetition/for.hpp +19 -1
  235. data/vendor/local/include/msgpack/preprocessor/seq/detail/is_empty.hpp +49 -0
  236. data/vendor/local/include/msgpack/preprocessor/seq/for_each.hpp +57 -10
  237. data/vendor/local/include/msgpack/preprocessor/seq/for_each_i.hpp +58 -10
  238. data/vendor/local/include/msgpack/preprocessor/seq/replace.hpp +18 -2
  239. data/vendor/local/include/msgpack/preprocessor/seq/rest_n.hpp +18 -2
  240. data/vendor/local/include/msgpack/preprocessor/seq/size.hpp +1 -0
  241. data/vendor/local/include/msgpack/preprocessor/tuple/eat.hpp +10 -1
  242. data/vendor/local/include/msgpack/sbuffer.hpp +4 -139
  243. data/vendor/local/include/msgpack/sbuffer_decl.hpp +17 -0
  244. data/vendor/local/include/msgpack/sysdep.h +9 -5
  245. data/vendor/local/include/msgpack/type.hpp +2 -0
  246. data/vendor/local/include/msgpack/unpack.hpp +5 -1698
  247. data/vendor/local/include/msgpack/unpack_decl.hpp +16 -0
  248. data/vendor/local/include/msgpack/v1/adaptor/adaptor_base.hpp +116 -0
  249. data/vendor/local/include/msgpack/v1/adaptor/adaptor_base_decl.hpp +86 -0
  250. data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +305 -0
  251. data/vendor/local/include/msgpack/v1/adaptor/array_ref_decl.hpp +55 -0
  252. data/vendor/local/include/msgpack/v1/adaptor/bool.hpp +66 -0
  253. data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +160 -0
  254. data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +441 -0
  255. data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant_decl.hpp +62 -0
  256. data/vendor/local/include/msgpack/v1/adaptor/boost/optional.hpp +96 -0
  257. data/vendor/local/include/msgpack/v1/adaptor/boost/string_ref.hpp +87 -0
  258. data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +253 -0
  259. data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +92 -0
  260. data/vendor/local/include/msgpack/v1/adaptor/check_container_size.hpp +67 -0
  261. data/vendor/local/include/msgpack/v1/adaptor/check_container_size_decl.hpp +44 -0
  262. data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +138 -0
  263. data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +90 -0
  264. data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +90 -0
  265. data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +94 -0
  266. data/vendor/local/include/msgpack/v1/adaptor/cpp11/reference_wrapper.hpp +68 -0
  267. data/vendor/local/include/msgpack/v1/adaptor/cpp11/shared_ptr.hpp +82 -0
  268. data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +175 -0
  269. data/vendor/local/include/msgpack/v1/adaptor/cpp11/unique_ptr.hpp +82 -0
  270. data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +182 -0
  271. data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +172 -0
  272. data/vendor/local/include/msgpack/v1/adaptor/define.hpp +21 -0
  273. data/vendor/local/include/msgpack/v1/adaptor/define_decl.hpp +23 -0
  274. data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +108 -0
  275. data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_define_array.hpp +6 -71
  276. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array_decl.hpp +135 -0
  277. data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_define_map.hpp +7 -61
  278. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map_decl.hpp +135 -0
  279. data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_msgpack_tuple.hpp +1095 -579
  280. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +317 -0
  281. data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_define_array.hpp +5 -71
  282. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array_decl.hpp +39 -0
  283. data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_define_map.hpp +7 -62
  284. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map_decl.hpp +37 -0
  285. data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_msgpack_tuple.hpp +30 -85
  286. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +120 -0
  287. data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +236 -0
  288. data/vendor/local/include/msgpack/v1/adaptor/ext_decl.hpp +38 -0
  289. data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +283 -0
  290. data/vendor/local/include/msgpack/v1/adaptor/fixint_decl.hpp +46 -0
  291. data/vendor/local/include/msgpack/v1/adaptor/float.hpp +123 -0
  292. data/vendor/local/include/msgpack/v1/adaptor/int.hpp +426 -0
  293. data/vendor/local/include/msgpack/v1/adaptor/int_decl.hpp +49 -0
  294. data/vendor/local/include/msgpack/v1/adaptor/list.hpp +106 -0
  295. data/vendor/local/include/msgpack/v1/adaptor/map.hpp +314 -0
  296. data/vendor/local/include/msgpack/v1/adaptor/map_decl.hpp +36 -0
  297. data/vendor/local/include/msgpack/v1/adaptor/msgpack_tuple.hpp +21 -0
  298. data/vendor/local/include/msgpack/v1/adaptor/msgpack_tuple_decl.hpp +21 -0
  299. data/vendor/local/include/msgpack/v1/adaptor/nil.hpp +76 -0
  300. data/vendor/local/include/msgpack/v1/adaptor/nil_decl.hpp +44 -0
  301. data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +83 -0
  302. data/vendor/local/include/msgpack/v1/adaptor/raw.hpp +106 -0
  303. data/vendor/local/include/msgpack/v1/adaptor/raw_decl.hpp +36 -0
  304. data/vendor/local/include/msgpack/v1/adaptor/set.hpp +188 -0
  305. data/vendor/local/include/msgpack/v1/adaptor/size_equal_only.hpp +118 -0
  306. data/vendor/local/include/msgpack/v1/adaptor/size_equal_only_decl.hpp +52 -0
  307. data/vendor/local/include/msgpack/v1/adaptor/string.hpp +87 -0
  308. data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +171 -0
  309. data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +165 -0
  310. data/vendor/local/include/msgpack/v1/adaptor/v4raw.hpp +105 -0
  311. data/vendor/local/include/msgpack/v1/adaptor/v4raw_decl.hpp +34 -0
  312. data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +121 -0
  313. data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +90 -0
  314. data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +114 -0
  315. data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +114 -0
  316. data/vendor/local/include/msgpack/v1/cpp_config.hpp +129 -0
  317. data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +131 -0
  318. data/vendor/local/include/msgpack/{detail → v1/detail}/cpp03_zone.hpp +10 -21
  319. data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +46 -0
  320. data/vendor/local/include/msgpack/{detail → v1/detail}/cpp11_zone.hpp +10 -18
  321. data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +47 -0
  322. data/vendor/local/include/msgpack/v1/fbuffer.hpp +60 -0
  323. data/vendor/local/include/msgpack/v1/fbuffer_decl.hpp +32 -0
  324. data/vendor/local/include/msgpack/v1/iterator.hpp +40 -0
  325. data/vendor/local/include/msgpack/v1/iterator_decl.hpp +40 -0
  326. data/vendor/local/include/msgpack/v1/meta.hpp +47 -0
  327. data/vendor/local/include/msgpack/v1/meta_decl.hpp +52 -0
  328. data/vendor/local/include/msgpack/v1/object.hpp +865 -0
  329. data/vendor/local/include/msgpack/v1/object_decl.hpp +112 -0
  330. data/vendor/local/include/msgpack/v1/object_fwd.hpp +252 -0
  331. data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +76 -0
  332. data/vendor/local/include/msgpack/v1/pack.hpp +1602 -0
  333. data/vendor/local/include/msgpack/v1/pack_decl.hpp +91 -0
  334. data/vendor/local/include/msgpack/v1/preprocessor.hpp +19 -0
  335. data/vendor/local/include/msgpack/v1/sbuffer.hpp +149 -0
  336. data/vendor/local/include/msgpack/v1/sbuffer_decl.hpp +33 -0
  337. data/vendor/local/include/msgpack/v1/unpack.hpp +1672 -0
  338. data/vendor/local/include/msgpack/v1/unpack_decl.hpp +461 -0
  339. data/vendor/local/include/msgpack/v1/version.hpp +36 -0
  340. data/vendor/local/include/msgpack/v1/versioning.hpp +69 -0
  341. data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +292 -0
  342. data/vendor/local/include/msgpack/v1/vrefbuffer_decl.hpp +39 -0
  343. data/vendor/local/include/msgpack/v1/zbuffer.hpp +159 -0
  344. data/vendor/local/include/msgpack/v1/zbuffer_decl.hpp +37 -0
  345. data/vendor/local/include/msgpack/v1/zone.hpp +21 -0
  346. data/vendor/local/include/msgpack/v1/zone_decl.hpp +21 -0
  347. data/vendor/local/include/msgpack/v2/adaptor/adaptor_base.hpp +58 -0
  348. data/vendor/local/include/msgpack/v2/adaptor/adaptor_base_decl.hpp +52 -0
  349. data/vendor/local/include/msgpack/v2/adaptor/array_ref_decl.hpp +36 -0
  350. data/vendor/local/include/msgpack/v2/adaptor/boost/msgpack_variant_decl.hpp +42 -0
  351. data/vendor/local/include/msgpack/v2/adaptor/check_container_size_decl.hpp +39 -0
  352. data/vendor/local/include/msgpack/v2/adaptor/define_decl.hpp +23 -0
  353. data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
  354. data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
  355. data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
  356. data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
  357. data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
  358. data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
  359. data/vendor/local/include/msgpack/v2/adaptor/ext_decl.hpp +34 -0
  360. data/vendor/local/include/msgpack/v2/adaptor/fixint_decl.hpp +43 -0
  361. data/vendor/local/include/msgpack/v2/adaptor/int_decl.hpp +54 -0
  362. data/vendor/local/include/msgpack/v2/adaptor/map_decl.hpp +33 -0
  363. data/vendor/local/include/msgpack/v2/adaptor/msgpack_tuple_decl.hpp +21 -0
  364. data/vendor/local/include/msgpack/v2/adaptor/nil_decl.hpp +42 -0
  365. data/vendor/local/include/msgpack/v2/adaptor/raw_decl.hpp +33 -0
  366. data/vendor/local/include/msgpack/v2/adaptor/size_equal_only_decl.hpp +35 -0
  367. data/vendor/local/include/msgpack/v2/adaptor/v4raw_decl.hpp +34 -0
  368. data/vendor/local/include/msgpack/v2/cpp_config_decl.hpp +84 -0
  369. data/vendor/local/include/msgpack/v2/detail/cpp03_zone_decl.hpp +31 -0
  370. data/vendor/local/include/msgpack/v2/detail/cpp11_zone_decl.hpp +31 -0
  371. data/vendor/local/include/msgpack/v2/fbuffer_decl.hpp +32 -0
  372. data/vendor/local/include/msgpack/v2/iterator_decl.hpp +33 -0
  373. data/vendor/local/include/msgpack/v2/meta_decl.hpp +46 -0
  374. data/vendor/local/include/msgpack/v2/object.hpp +33 -0
  375. data/vendor/local/include/msgpack/v2/object_decl.hpp +49 -0
  376. data/vendor/local/include/msgpack/v2/object_fwd.hpp +109 -0
  377. data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +73 -0
  378. data/vendor/local/include/msgpack/v2/pack_decl.hpp +55 -0
  379. data/vendor/local/include/msgpack/v2/sbuffer_decl.hpp +33 -0
  380. data/vendor/local/include/msgpack/v2/unpack.hpp +1625 -0
  381. data/vendor/local/include/msgpack/v2/unpack_decl.hpp +348 -0
  382. data/vendor/local/include/msgpack/v2/vrefbuffer_decl.hpp +29 -0
  383. data/vendor/local/include/msgpack/v2/zbuffer_decl.hpp +29 -0
  384. data/vendor/local/include/msgpack/v2/zone_decl.hpp +21 -0
  385. data/vendor/local/include/msgpack/version_master.h +2 -2
  386. data/vendor/local/include/msgpack/versioning.hpp +3 -3
  387. data/vendor/local/include/msgpack/vrefbuffer.hpp +4 -279
  388. data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +16 -0
  389. data/vendor/local/include/msgpack/zbuffer.hpp +3 -153
  390. data/vendor/local/include/msgpack/zbuffer_decl.hpp +16 -0
  391. data/vendor/local/include/msgpack/zone.hpp +3 -7
  392. data/vendor/local/include/msgpack/zone_decl.hpp +16 -0
  393. data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
  394. data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
  395. data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
  396. data/vendor/local/lib/groonga/plugins/functions/number.la +3 -3
  397. data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
  398. data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
  399. data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
  400. data/vendor/local/lib/groonga/plugins/functions/string.la +3 -3
  401. data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
  402. data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
  403. data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
  404. data/vendor/local/lib/groonga/plugins/functions/time.la +3 -3
  405. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  406. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  407. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  408. data/vendor/local/lib/groonga/plugins/functions/vector.la +3 -3
  409. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  410. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  411. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  412. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  413. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  414. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  415. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  416. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  417. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  418. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  419. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  420. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  421. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  422. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  423. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  424. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
  425. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  426. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  427. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  428. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  429. data/vendor/local/lib/groonga/scripts/ruby/expression.rb +1 -0
  430. data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +10 -0
  431. data/vendor/local/lib/libgroonga.a +0 -0
  432. data/vendor/local/lib/libgroonga.dll.a +0 -0
  433. data/vendor/local/lib/libgroonga.la +3 -3
  434. data/vendor/local/lib/liblz4.a +0 -0
  435. data/vendor/local/lib/liblz4.dll +0 -0
  436. data/vendor/local/lib/liblz4.dll.1 +0 -0
  437. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  438. data/vendor/local/lib/libmecab.a +0 -0
  439. data/vendor/local/lib/libmecab.dll.a +0 -0
  440. data/vendor/local/lib/libmsgpackc.a +0 -0
  441. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  442. data/vendor/local/lib/libonig.a +0 -0
  443. data/vendor/local/lib/libonig.dll.a +0 -0
  444. data/vendor/local/lib/libonig.la +2 -2
  445. data/vendor/local/lib/libz.a +0 -0
  446. data/vendor/local/lib/libz.dll.a +0 -0
  447. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  448. data/vendor/local/lib/pkgconfig/msgpack.pc +2 -2
  449. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  450. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  451. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  452. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  453. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  454. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  455. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  456. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +0 -1
  457. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  458. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  459. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  460. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  461. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  462. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  463. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -4
  464. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  465. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +82 -1244
  466. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +3 -0
  467. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +3 -0
  468. data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +3 -0
  469. data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +3 -0
  470. data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +3 -0
  471. data/vendor/local/share/doc/groonga/en/html/_sources/news/5.x.txt +1250 -0
  472. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_list.txt +393 -0
  473. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_substring.txt +27 -0
  474. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_slice.txt +27 -0
  475. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +1 -1
  476. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -4
  477. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -1
  478. data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -7
  479. data/vendor/local/share/doc/groonga/en/html/client.html +7 -7
  480. data/vendor/local/share/doc/groonga/en/html/community.html +7 -7
  481. data/vendor/local/share/doc/groonga/en/html/contribution.html +7 -7
  482. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +7 -7
  483. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +7 -7
  484. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +7 -7
  485. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +7 -7
  486. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +7 -7
  487. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
  488. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +7 -7
  489. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
  490. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +7 -8
  491. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +7 -7
  492. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
  493. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +7 -7
  494. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
  495. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +7 -7
  496. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +7 -7
  497. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -7
  498. data/vendor/local/share/doc/groonga/en/html/development.html +7 -7
  499. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +7 -7
  500. data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -7
  501. data/vendor/local/share/doc/groonga/en/html/index.html +44 -41
  502. data/vendor/local/share/doc/groonga/en/html/install.html +7 -7
  503. data/vendor/local/share/doc/groonga/en/html/install/centos.html +10 -10
  504. data/vendor/local/share/doc/groonga/en/html/install/debian.html +10 -10
  505. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
  506. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +10 -10
  507. data/vendor/local/share/doc/groonga/en/html/install/others.html +10 -10
  508. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +10 -10
  509. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +10 -11
  510. data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -16
  511. data/vendor/local/share/doc/groonga/en/html/limitations.html +7 -7
  512. data/vendor/local/share/doc/groonga/en/html/news.html +257 -1703
  513. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +7 -7
  514. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +7 -7
  515. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -7
  516. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +54 -48
  517. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +18 -12
  518. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +65 -59
  519. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +64 -58
  520. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +61 -55
  521. data/vendor/local/share/doc/groonga/en/html/news/5.x.html +1426 -0
  522. data/vendor/local/share/doc/groonga/en/html/news/senna.html +7 -7
  523. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  524. data/vendor/local/share/doc/groonga/en/html/reference.html +44 -41
  525. data/vendor/local/share/doc/groonga/en/html/reference/alias.html +7 -7
  526. data/vendor/local/share/doc/groonga/en/html/reference/api.html +7 -7
  527. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +7 -7
  528. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +7 -7
  529. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +7 -7
  530. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +7 -7
  531. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +7 -7
  532. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +7 -7
  533. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +7 -7
  534. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +7 -7
  535. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +7 -7
  536. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +7 -7
  537. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +7 -7
  538. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +7 -7
  539. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +7 -7
  540. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +7 -7
  541. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +7 -7
  542. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +7 -7
  543. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +7 -7
  544. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +7 -7
  545. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +7 -7
  546. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +7 -7
  547. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +7 -7
  548. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +7 -7
  549. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +7 -7
  550. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +7 -7
  551. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +7 -7
  552. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +7 -7
  553. data/vendor/local/share/doc/groonga/en/html/reference/column.html +7 -7
  554. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +7 -7
  555. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +7 -7
  556. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +7 -7
  557. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +7 -7
  558. data/vendor/local/share/doc/groonga/en/html/reference/command.html +33 -32
  559. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +7 -7
  560. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +7 -7
  561. data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +7 -7
  562. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +7 -7
  563. data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +7 -7
  564. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +7 -7
  565. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +7 -7
  566. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +7 -7
  567. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +7 -7
  568. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +7 -7
  569. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +7 -7
  570. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +7 -7
  571. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +7 -7
  572. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +7 -7
  573. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +7 -7
  574. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +7 -7
  575. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +7 -7
  576. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +7 -7
  577. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +7 -7
  578. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
  579. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +7 -7
  580. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +7 -7
  581. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +7 -7
  582. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +7 -7
  583. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +7 -7
  584. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +7 -7
  585. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +7 -7
  586. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +7 -7
  587. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +7 -7
  588. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +7 -7
  589. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +7 -7
  590. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +7 -7
  591. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +7 -7
  592. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +7 -7
  593. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +7 -7
  594. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +7 -7
  595. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +7 -7
  596. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +7 -7
  597. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +7 -7
  598. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +12 -12
  599. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +991 -0
  600. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +36 -36
  601. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +27 -27
  602. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +27 -27
  603. data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +33 -33
  604. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -27
  605. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +27 -27
  606. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +27 -27
  607. data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +29 -29
  608. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +33 -33
  609. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +31 -31
  610. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +31 -31
  611. data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +69 -69
  612. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +113 -113
  613. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +33 -33
  614. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +31 -31
  615. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +29 -29
  616. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +53 -53
  617. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
  618. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +43 -43
  619. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +33 -33
  620. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +43 -43
  621. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +33 -33
  622. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +45 -45
  623. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +27 -27
  624. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +27 -27
  625. data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +7 -7
  626. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -7
  627. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +7 -7
  628. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +7 -7
  629. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -7
  630. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +7 -7
  631. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -7
  632. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
  633. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +7 -7
  634. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +7 -7
  635. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -7
  636. data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -16
  637. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +7 -7
  638. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +7 -7
  639. data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +7 -7
  640. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +7 -7
  641. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +7 -7
  642. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +7 -7
  643. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +7 -7
  644. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +7 -7
  645. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +7 -7
  646. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +7 -7
  647. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +7 -7
  648. data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +7 -7
  649. data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +7 -7
  650. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +7 -7
  651. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +7 -7
  652. data/vendor/local/share/doc/groonga/en/html/reference/functions/record_number.html +7 -7
  653. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +12 -12
  654. data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +162 -0
  655. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +34 -34
  656. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +25 -25
  657. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +25 -25
  658. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +25 -25
  659. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +25 -25
  660. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +25 -25
  661. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +25 -25
  662. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +25 -25
  663. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +30 -30
  664. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +162 -0
  665. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +7 -7
  666. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +7 -7
  667. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +7 -7
  668. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +7 -7
  669. data/vendor/local/share/doc/groonga/en/html/reference/log.html +7 -7
  670. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +8 -8
  671. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +12 -12
  672. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +7 -7
  673. data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +7 -7
  674. data/vendor/local/share/doc/groonga/en/html/reference/output.html +7 -7
  675. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +7 -7
  676. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +7 -7
  677. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +7 -7
  678. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +7 -7
  679. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +7 -7
  680. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +7 -7
  681. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +7 -7
  682. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +7 -7
  683. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +7 -7
  684. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +7 -7
  685. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +7 -7
  686. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +7 -7
  687. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +7 -7
  688. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +7 -7
  689. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +7 -7
  690. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +7 -7
  691. data/vendor/local/share/doc/groonga/en/html/reference/types.html +11 -11
  692. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  693. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  694. data/vendor/local/share/doc/groonga/en/html/server.html +7 -7
  695. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +7 -7
  696. data/vendor/local/share/doc/groonga/en/html/server/http.html +7 -7
  697. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +7 -7
  698. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +7 -7
  699. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +7 -7
  700. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +7 -7
  701. data/vendor/local/share/doc/groonga/en/html/server/package.html +7 -7
  702. data/vendor/local/share/doc/groonga/en/html/spec.html +7 -7
  703. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +7 -7
  704. data/vendor/local/share/doc/groonga/en/html/spec/search.html +7 -7
  705. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +7 -7
  706. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
  707. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -7
  708. data/vendor/local/share/doc/groonga/en/html/tutorial.html +7 -7
  709. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +7 -7
  710. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +7 -7
  711. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +7 -7
  712. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +7 -7
  713. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +7 -7
  714. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +7 -7
  715. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +7 -7
  716. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +7 -7
  717. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +7 -7
  718. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +7 -7
  719. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +7 -7
  720. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  721. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +0 -1
  722. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  723. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  724. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  725. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  726. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  727. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  728. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -4
  729. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  730. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +82 -1244
  731. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +3 -0
  732. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +3 -0
  733. data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +3 -0
  734. data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +3 -0
  735. data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +3 -0
  736. data/vendor/local/share/doc/groonga/ja/html/_sources/news/5.x.txt +1250 -0
  737. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_list.txt +393 -0
  738. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_substring.txt +27 -0
  739. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_slice.txt +27 -0
  740. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +1 -1
  741. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -4
  742. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -1
  743. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -7
  744. data/vendor/local/share/doc/groonga/ja/html/client.html +7 -7
  745. data/vendor/local/share/doc/groonga/ja/html/community.html +7 -7
  746. data/vendor/local/share/doc/groonga/ja/html/contribution.html +7 -7
  747. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +7 -7
  748. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +7 -7
  749. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +7 -7
  750. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +7 -7
  751. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +7 -7
  752. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
  753. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +7 -7
  754. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
  755. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +7 -8
  756. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +7 -7
  757. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
  758. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -7
  759. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
  760. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
  761. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +7 -7
  762. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -7
  763. data/vendor/local/share/doc/groonga/ja/html/development.html +7 -7
  764. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +7 -7
  765. data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -7
  766. data/vendor/local/share/doc/groonga/ja/html/index.html +44 -41
  767. data/vendor/local/share/doc/groonga/ja/html/install.html +7 -7
  768. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
  769. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +10 -10
  770. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +10 -10
  771. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +10 -10
  772. data/vendor/local/share/doc/groonga/ja/html/install/others.html +10 -10
  773. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +10 -10
  774. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +10 -11
  775. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +16 -16
  776. data/vendor/local/share/doc/groonga/ja/html/limitations.html +7 -7
  777. data/vendor/local/share/doc/groonga/ja/html/news.html +248 -1638
  778. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +7 -7
  779. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +7 -7
  780. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -7
  781. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +54 -48
  782. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +18 -12
  783. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +65 -59
  784. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +64 -58
  785. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +61 -55
  786. data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +1368 -0
  787. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +7 -7
  788. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  789. data/vendor/local/share/doc/groonga/ja/html/reference.html +44 -41
  790. data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +7 -7
  791. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +7 -7
  792. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +7 -7
  793. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +7 -7
  794. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +7 -7
  795. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +7 -7
  796. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +7 -7
  797. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +7 -7
  798. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +7 -7
  799. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +7 -7
  800. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +7 -7
  801. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +7 -7
  802. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +7 -7
  803. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +7 -7
  804. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +7 -7
  805. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +7 -7
  806. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +7 -7
  807. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +7 -7
  808. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +7 -7
  809. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +7 -7
  810. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +7 -7
  811. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +7 -7
  812. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +7 -7
  813. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +7 -7
  814. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +7 -7
  815. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +7 -7
  816. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +7 -7
  817. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +7 -7
  818. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +7 -7
  819. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +7 -7
  820. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +7 -7
  821. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +7 -7
  822. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +7 -7
  823. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +33 -32
  824. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +7 -7
  825. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +7 -7
  826. data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +7 -7
  827. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +7 -7
  828. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +7 -7
  829. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +7 -7
  830. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +7 -7
  831. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +7 -7
  832. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +7 -7
  833. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +7 -7
  834. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +7 -7
  835. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +7 -7
  836. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +7 -7
  837. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +7 -7
  838. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +7 -7
  839. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +7 -7
  840. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +7 -7
  841. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +7 -7
  842. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +7 -7
  843. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +7 -7
  844. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +7 -7
  845. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +7 -7
  846. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +7 -7
  847. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +7 -7
  848. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +7 -7
  849. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +7 -7
  850. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +7 -7
  851. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +7 -7
  852. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +7 -7
  853. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +7 -7
  854. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +7 -7
  855. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +7 -7
  856. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +7 -7
  857. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +7 -7
  858. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +7 -7
  859. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +7 -7
  860. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +7 -7
  861. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +7 -7
  862. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +7 -7
  863. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +12 -12
  864. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +1014 -0
  865. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +36 -36
  866. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +27 -27
  867. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +27 -27
  868. data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +33 -33
  869. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -27
  870. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +27 -27
  871. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +27 -27
  872. data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +29 -29
  873. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +33 -33
  874. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +31 -31
  875. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +31 -31
  876. data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +69 -69
  877. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +113 -113
  878. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +33 -33
  879. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +31 -31
  880. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +29 -29
  881. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +53 -53
  882. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
  883. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +43 -43
  884. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +33 -33
  885. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +43 -43
  886. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +33 -33
  887. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +45 -45
  888. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +27 -27
  889. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +27 -27
  890. data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +7 -7
  891. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
  892. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +7 -7
  893. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +7 -7
  894. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +7 -7
  895. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +7 -7
  896. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +7 -7
  897. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
  898. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +7 -7
  899. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +7 -7
  900. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +7 -7
  901. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -16
  902. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +7 -7
  903. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +7 -7
  904. data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +7 -7
  905. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +7 -7
  906. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +7 -7
  907. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +7 -7
  908. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +7 -7
  909. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +7 -7
  910. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +7 -7
  911. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +7 -7
  912. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +7 -7
  913. data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +7 -7
  914. data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +7 -7
  915. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +7 -7
  916. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +7 -7
  917. data/vendor/local/share/doc/groonga/ja/html/reference/functions/record_number.html +7 -7
  918. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +12 -12
  919. data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +163 -0
  920. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
  921. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +25 -25
  922. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +25 -25
  923. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +25 -25
  924. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +25 -25
  925. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +25 -25
  926. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +25 -25
  927. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +25 -25
  928. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +30 -30
  929. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +163 -0
  930. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +7 -7
  931. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +7 -7
  932. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +7 -7
  933. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +7 -7
  934. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +7 -7
  935. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +8 -8
  936. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +12 -12
  937. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +7 -7
  938. data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +7 -7
  939. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +7 -7
  940. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +7 -7
  941. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +7 -7
  942. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +7 -7
  943. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +7 -7
  944. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +7 -7
  945. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +7 -7
  946. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +7 -7
  947. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +7 -7
  948. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +7 -7
  949. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +7 -7
  950. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +7 -7
  951. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +7 -7
  952. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +7 -7
  953. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +7 -7
  954. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +7 -7
  955. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +7 -7
  956. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +11 -11
  957. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  958. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  959. data/vendor/local/share/doc/groonga/ja/html/server.html +7 -7
  960. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +7 -7
  961. data/vendor/local/share/doc/groonga/ja/html/server/http.html +7 -7
  962. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +7 -7
  963. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +7 -7
  964. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +7 -7
  965. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +7 -7
  966. data/vendor/local/share/doc/groonga/ja/html/server/package.html +7 -7
  967. data/vendor/local/share/doc/groonga/ja/html/spec.html +7 -7
  968. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +7 -7
  969. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -7
  970. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -7
  971. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
  972. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -7
  973. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +7 -7
  974. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -7
  975. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +7 -7
  976. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +7 -7
  977. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +7 -7
  978. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +7 -7
  979. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +7 -7
  980. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +7 -7
  981. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +7 -7
  982. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +7 -7
  983. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +7 -7
  984. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +7 -7
  985. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +7 -1
  986. data/vendor/local/share/groonga/examples/dictionary/html/index.html +1 -1
  987. data/vendor/local/share/license/msgpack/README.md +6 -7
  988. metadata +200 -16
  989. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  990. data/vendor/local/lib/libmsgpack.a +0 -0
  991. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  992. data/vendor/local/lib/libmsgpack.la +0 -41
  993. data/vendor/local/lib/libmsgpackc.la +0 -41
@@ -1,7 +1,7 @@
1
1
  //
2
2
  // MessagePack for C++ zero-copy buffer implementation
3
3
  //
4
- // Copyright (C) 2008-2013 FURUHASHI Sadayuki and KONDO Takatoshi
4
+ // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5
5
  //
6
6
  // Distributed under the Boost Software License, Version 1.0.
7
7
  // (See accompanying file LICENSE_1_0.txt or copy at
@@ -10,283 +10,8 @@
10
10
  #ifndef MSGPACK_VREFBUFFER_HPP
11
11
  #define MSGPACK_VREFBUFFER_HPP
12
12
 
13
- #include "msgpack/versioning.hpp"
13
+ #include "msgpack/vrefbuffer_decl.hpp"
14
14
 
15
- #include <stdexcept>
15
+ #include "msgpack/v1/vrefbuffer.hpp"
16
16
 
17
- #ifndef MSGPACK_VREFBUFFER_REF_SIZE
18
- #define MSGPACK_VREFBUFFER_REF_SIZE 32
19
- #endif
20
-
21
- #ifndef MSGPACK_VREFBUFFER_CHUNK_SIZE
22
- #define MSGPACK_VREFBUFFER_CHUNK_SIZE 8192
23
- #endif
24
-
25
- #ifndef _WIN32
26
- #include <sys/uio.h>
27
- #else
28
- struct iovec {
29
- void *iov_base;
30
- size_t iov_len;
31
- };
32
- #endif
33
-
34
- namespace msgpack {
35
-
36
- /// @cond
37
- MSGPACK_API_VERSION_NAMESPACE(v1) {
38
- /// @endcond
39
-
40
- namespace detail {
41
- // int64, uint64, double
42
- std::size_t const packer_max_buffer_size = 9;
43
- } // detail
44
-
45
- class vrefbuffer {
46
- private:
47
- struct chunk {
48
- chunk* next;
49
- };
50
- struct inner_buffer {
51
- size_t free;
52
- char* ptr;
53
- chunk* head;
54
- };
55
- public:
56
- vrefbuffer(size_t ref_size = MSGPACK_VREFBUFFER_REF_SIZE,
57
- size_t chunk_size = MSGPACK_VREFBUFFER_CHUNK_SIZE)
58
- :m_ref_size(std::max(ref_size, detail::packer_max_buffer_size + 1)),
59
- m_chunk_size(chunk_size)
60
- {
61
- size_t nfirst = (sizeof(iovec) < 72/2) ?
62
- 72 / sizeof(iovec) : 8;
63
-
64
- iovec* array = static_cast<iovec*>(::malloc(
65
- sizeof(iovec) * nfirst));
66
- if(!array) {
67
- throw std::bad_alloc();
68
- }
69
-
70
- m_tail = array;
71
- m_end = array + nfirst;
72
- m_array = array;
73
-
74
- chunk* c = static_cast<chunk*>(::malloc(sizeof(chunk) + chunk_size));
75
- if(!c) {
76
- ::free(array);
77
- throw std::bad_alloc();
78
- }
79
- inner_buffer* const ib = &m_inner_buffer;
80
-
81
- ib->free = chunk_size;
82
- ib->ptr = reinterpret_cast<char*>(c) + sizeof(chunk);
83
- ib->head = c;
84
- c->next = nullptr;
85
-
86
- }
87
-
88
- ~vrefbuffer()
89
- {
90
- chunk* c = m_inner_buffer.head;
91
- while(true) {
92
- chunk* n = c->next;
93
- ::free(c);
94
- if(n != NULL) {
95
- c = n;
96
- } else {
97
- break;
98
- }
99
- }
100
- ::free(m_array);
101
- }
102
-
103
- public:
104
- void write(const char* buf, size_t len)
105
- {
106
- if(len < m_ref_size) {
107
- append_copy(buf, len);
108
- } else {
109
- append_ref(buf, len);
110
- }
111
- }
112
-
113
- void append_ref(const char* buf, size_t len)
114
- {
115
- if(m_tail == m_end) {
116
- const size_t nused = m_tail - m_array;
117
- const size_t nnext = nused * 2;
118
-
119
- iovec* nvec = static_cast<iovec*>(::realloc(
120
- m_array, sizeof(iovec)*nnext));
121
- if(!nvec) {
122
- throw std::bad_alloc();
123
- }
124
-
125
- m_array = nvec;
126
- m_end = nvec + nnext;
127
- m_tail = nvec + nused;
128
- }
129
-
130
- m_tail->iov_base = const_cast<char*>(buf);
131
- m_tail->iov_len = len;
132
- ++m_tail;
133
- }
134
-
135
- void append_copy(const char* buf, size_t len)
136
- {
137
- inner_buffer* const ib = &m_inner_buffer;
138
-
139
- if(ib->free < len) {
140
- size_t sz = m_chunk_size;
141
- if(sz < len) {
142
- sz = len;
143
- }
144
-
145
- chunk* c = static_cast<chunk*>(::malloc(sizeof(chunk) + sz));
146
- if(!c) {
147
- throw std::bad_alloc();
148
- }
149
-
150
- c->next = ib->head;
151
- ib->head = c;
152
- ib->free = sz;
153
- ib->ptr = reinterpret_cast<char*>(c) + sizeof(chunk);
154
- }
155
-
156
- char* m = ib->ptr;
157
- std::memcpy(m, buf, len);
158
- ib->free -= len;
159
- ib->ptr += len;
160
-
161
- if(m_tail != m_array && m ==
162
- static_cast<const char*>(
163
- const_cast<const void *>((m_tail - 1)->iov_base)
164
- ) + (m_tail - 1)->iov_len) {
165
- (m_tail - 1)->iov_len += len;
166
- return;
167
- } else {
168
- append_ref( m, len);
169
- }
170
- }
171
-
172
- const struct iovec* vector() const
173
- {
174
- return m_array;
175
- }
176
-
177
- size_t vector_size() const
178
- {
179
- return m_tail - m_array;
180
- }
181
-
182
- void migrate(vrefbuffer* to)
183
- {
184
- size_t sz = m_chunk_size;
185
-
186
- chunk* empty = static_cast<chunk*>(::malloc(sizeof(chunk) + sz));
187
- if(!empty) {
188
- throw std::bad_alloc();
189
- }
190
-
191
- empty->next = nullptr;
192
-
193
- const size_t nused = m_tail - m_array;
194
- if(to->m_tail + nused < m_end) {
195
- const size_t tosize = to->m_tail - to->m_array;
196
- const size_t reqsize = nused + tosize;
197
- size_t nnext = (to->m_end - to->m_array) * 2;
198
- while(nnext < reqsize) {
199
- size_t tmp_nnext = nnext * 2;
200
- if (tmp_nnext <= nnext) {
201
- nnext = reqsize;
202
- break;
203
- }
204
- nnext = tmp_nnext;
205
- }
206
-
207
- iovec* nvec = static_cast<iovec*>(::realloc(
208
- to->m_array, sizeof(iovec)*nnext));
209
- if(!nvec) {
210
- ::free(empty);
211
- throw std::bad_alloc();
212
- }
213
-
214
- to->m_array = nvec;
215
- to->m_end = nvec + nnext;
216
- to->m_tail = nvec + tosize;
217
- }
218
-
219
- std::memcpy(to->m_tail, m_array, sizeof(iovec)*nused);
220
-
221
- to->m_tail += nused;
222
- m_tail = m_array;
223
-
224
-
225
- inner_buffer* const ib = &m_inner_buffer;
226
- inner_buffer* const toib = &to->m_inner_buffer;
227
-
228
- chunk* last = ib->head;
229
- while(last->next) {
230
- last = last->next;
231
- }
232
- last->next = toib->head;
233
- toib->head = ib->head;
234
-
235
- if(toib->free < ib->free) {
236
- toib->free = ib->free;
237
- toib->ptr = ib->ptr;
238
- }
239
-
240
- ib->head = empty;
241
- ib->free = sz;
242
- ib->ptr = reinterpret_cast<char*>(empty) + sizeof(chunk);
243
-
244
- }
245
-
246
- void clear()
247
- {
248
- chunk* c = m_inner_buffer.head->next;
249
- chunk* n;
250
- while(c) {
251
- n = c->next;
252
- ::free(c);
253
- c = n;
254
- }
255
-
256
- inner_buffer* const ib = &m_inner_buffer;
257
- c = ib->head;
258
- c->next = nullptr;
259
- ib->free = m_chunk_size;
260
- ib->ptr = reinterpret_cast<char*>(c) + sizeof(chunk);
261
-
262
- m_tail = m_array;
263
- }
264
-
265
- #if defined(MSGPACK_USE_CPP03)
266
- private:
267
- vrefbuffer(const vrefbuffer&);
268
- vrefbuffer& operator=(const vrefbuffer&);
269
- #else // defined(MSGPACK_USE_CPP03)
270
- vrefbuffer(const vrefbuffer&) = delete;
271
- vrefbuffer& operator=(const vrefbuffer&) = delete;
272
- #endif // defined(MSGPACK_USE_CPP03)
273
-
274
- private:
275
- iovec* m_tail;
276
- iovec* m_end;
277
- iovec* m_array;
278
-
279
- size_t m_ref_size;
280
- size_t m_chunk_size;
281
-
282
- inner_buffer m_inner_buffer;
283
-
284
- };
285
-
286
- /// @cond
287
- } // MSGPACK_API_VERSION_NAMESPACE(v1)
288
- /// @endcond
289
-
290
- } // namespace msgpack
291
-
292
- #endif /* msgpack/vrefbuffer.hpp */
17
+ #endif // MSGPACK_VREFBUFFER_HPP
@@ -0,0 +1,16 @@
1
+ //
2
+ // MessagePack for C++ zero-copy buffer implementation
3
+ //
4
+ // Copyright (C) 2016 KONDO Takatoshi
5
+ //
6
+ // Distributed under the Boost Software License, Version 1.0.
7
+ // (See accompanying file LICENSE_1_0.txt or copy at
8
+ // http://www.boost.org/LICENSE_1_0.txt)
9
+ //
10
+ #ifndef MSGPACK_VREFBUFFER_DECL_HPP
11
+ #define MSGPACK_VREFBUFFER_DECL_HPP
12
+
13
+ #include "msgpack/v1/vrefbuffer_decl.hpp"
14
+ #include "msgpack/v2/vrefbuffer_decl.hpp"
15
+
16
+ #endif // MSGPACK_VREFBUFFER_DECL_HPP
@@ -10,158 +10,8 @@
10
10
  #ifndef MSGPACK_ZBUFFER_HPP
11
11
  #define MSGPACK_ZBUFFER_HPP
12
12
 
13
- #include "msgpack/versioning.hpp"
13
+ #include "msgpack/zbuffer_decl.hpp"
14
14
 
15
- #include <stdexcept>
16
- #include <zlib.h>
15
+ #include "msgpack/v1/zbuffer.hpp"
17
16
 
18
- #ifndef MSGPACK_ZBUFFER_RESERVE_SIZE
19
- #define MSGPACK_ZBUFFER_RESERVE_SIZE 512
20
- #endif
21
-
22
- #ifndef MSGPACK_ZBUFFER_INIT_SIZE
23
- #define MSGPACK_ZBUFFER_INIT_SIZE 8192
24
- #endif
25
-
26
- namespace msgpack {
27
-
28
- /// @cond
29
- MSGPACK_API_VERSION_NAMESPACE(v1) {
30
- /// @endcond
31
-
32
- class zbuffer {
33
- public:
34
- zbuffer(int level = Z_DEFAULT_COMPRESSION,
35
- size_t init_size = MSGPACK_ZBUFFER_INIT_SIZE)
36
- : m_data(nullptr), m_init_size(init_size)
37
- {
38
- m_stream.zalloc = Z_NULL;
39
- m_stream.zfree = Z_NULL;
40
- m_stream.opaque = Z_NULL;
41
- m_stream.next_out = Z_NULL;
42
- m_stream.avail_out = 0;
43
- if(deflateInit(&m_stream, level) != Z_OK) {
44
- throw std::bad_alloc();
45
- }
46
- }
47
-
48
- ~zbuffer()
49
- {
50
- deflateEnd(&m_stream);
51
- ::free(m_data);
52
- }
53
-
54
- public:
55
- void write(const char* buf, size_t len)
56
- {
57
- m_stream.next_in = reinterpret_cast<Bytef*>(const_cast<char*>(buf));
58
- m_stream.avail_in = len;
59
-
60
- while(m_stream.avail_in > 0) {
61
- if(m_stream.avail_out < MSGPACK_ZBUFFER_RESERVE_SIZE) {
62
- if(!expand()) {
63
- throw std::bad_alloc();
64
- }
65
- }
66
-
67
- if(deflate(&m_stream, Z_NO_FLUSH) != Z_OK) {
68
- throw std::bad_alloc();
69
- }
70
- }
71
- }
72
-
73
- char* flush()
74
- {
75
- while(true) {
76
- switch(deflate(&m_stream, Z_FINISH)) {
77
- case Z_STREAM_END:
78
- return m_data;
79
- case Z_OK:
80
- if(!expand()) {
81
- throw std::bad_alloc();
82
- }
83
- break;
84
- default:
85
- throw std::bad_alloc();
86
- }
87
- }
88
- }
89
-
90
- char* data()
91
- {
92
- return m_data;
93
- }
94
-
95
- const char* data() const
96
- {
97
- return m_data;
98
- }
99
-
100
- size_t size() const
101
- {
102
- return reinterpret_cast<char*>(m_stream.next_out) - m_data;
103
- }
104
-
105
- void reset()
106
- {
107
- if(deflateReset(&m_stream) != Z_OK) {
108
- throw std::bad_alloc();
109
- }
110
- reset_buffer();
111
- }
112
-
113
- void reset_buffer()
114
- {
115
- m_stream.avail_out += reinterpret_cast<char*>(m_stream.next_out) - m_data;
116
- m_stream.next_out = reinterpret_cast<Bytef*>(m_data);
117
- }
118
-
119
- char* release_buffer()
120
- {
121
- char* tmp = m_data;
122
- m_data = nullptr;
123
- m_stream.next_out = nullptr;
124
- m_stream.avail_out = 0;
125
- return tmp;
126
- }
127
-
128
- private:
129
- bool expand()
130
- {
131
- size_t used = reinterpret_cast<char*>(m_stream.next_out) - m_data;
132
- size_t csize = used + m_stream.avail_out;
133
- size_t nsize = (csize == 0) ? m_init_size : csize * 2;
134
-
135
- char* tmp = static_cast<char*>(::realloc(m_data, nsize));
136
- if(tmp == nullptr) {
137
- return false;
138
- }
139
-
140
- m_data = tmp;
141
- m_stream.next_out = reinterpret_cast<Bytef*>(tmp + used);
142
- m_stream.avail_out = nsize - used;
143
-
144
- return true;
145
- }
146
- #if defined(MSGPACK_USE_CPP03)
147
- private:
148
- zbuffer(const zbuffer&);
149
- zbuffer& operator=(const zbuffer&);
150
- #else // defined(MSGPACK_USE_CPP03)
151
- zbuffer(const zbuffer&) = delete;
152
- zbuffer& operator=(const zbuffer&) = delete;
153
- #endif // defined(MSGPACK_USE_CPP03)
154
-
155
- private:
156
- z_stream m_stream;
157
- char* m_data;
158
- size_t m_init_size;
159
- };
160
-
161
- /// @cond
162
- } // MSGPACK_API_VERSION_NAMESPACE(v1)
163
- /// @endcond
164
-
165
- } // namespace msgpack
166
-
167
- #endif /* msgpack/zbuffer.hpp */
17
+ #endif // MSGPACK_ZBUFFER_HPP