rroonga 4.0.3-x64-mingw32 → 4.0.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (683) hide show
  1. checksums.yaml +13 -5
  2. data/Gemfile +1 -1
  3. data/README.textile +1 -1
  4. data/Rakefile +8 -1
  5. data/bin/grndump +1 -1
  6. data/bin/grntest-log-analyze +1 -1
  7. data/bin/groonga-database-inspect +1 -1
  8. data/bin/groonga-index-dump +1 -1
  9. data/doc/text/news.textile +28 -0
  10. data/ext/groonga/extconf.rb +12 -2
  11. data/ext/groonga/rb-grn-accessor.c +2 -1
  12. data/ext/groonga/rb-grn-array-cursor.c +1 -1
  13. data/ext/groonga/rb-grn-array.c +1 -1
  14. data/ext/groonga/rb-grn-column.c +1 -1
  15. data/ext/groonga/rb-grn-context.c +7 -5
  16. data/ext/groonga/rb-grn-database.c +1 -1
  17. data/ext/groonga/rb-grn-double-array-trie-cursor.c +1 -1
  18. data/ext/groonga/rb-grn-double-array-trie.c +1 -1
  19. data/ext/groonga/rb-grn-encoding-support.c +1 -1
  20. data/ext/groonga/rb-grn-encoding.c +1 -1
  21. data/ext/groonga/rb-grn-exception.c +1 -1
  22. data/ext/groonga/rb-grn-expression-builder.c +1 -1
  23. data/ext/groonga/rb-grn-expression.c +1 -1
  24. data/ext/groonga/rb-grn-fix-size-column.c +1 -1
  25. data/ext/groonga/rb-grn-geo-point.c +1 -1
  26. data/ext/groonga/rb-grn-hash-cursor.c +1 -1
  27. data/ext/groonga/rb-grn-hash.c +1 -1
  28. data/ext/groonga/rb-grn-index-column.c +1 -1
  29. data/ext/groonga/rb-grn-index-cursor.c +1 -1
  30. data/ext/groonga/rb-grn-logger.c +1 -1
  31. data/ext/groonga/rb-grn-normalizer.c +1 -1
  32. data/ext/groonga/rb-grn-object.c +71 -45
  33. data/ext/groonga/rb-grn-operator.c +1 -1
  34. data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
  35. data/ext/groonga/rb-grn-patricia-trie.c +1 -1
  36. data/ext/groonga/rb-grn-plugin.c +1 -1
  37. data/ext/groonga/rb-grn-posting.c +1 -1
  38. data/ext/groonga/rb-grn-procedure-type.c +40 -0
  39. data/ext/groonga/rb-grn-procedure.c +17 -4
  40. data/ext/groonga/rb-grn-query-logger.c +1 -1
  41. data/ext/groonga/rb-grn-record.c +1 -1
  42. data/ext/groonga/rb-grn-snippet.c +1 -1
  43. data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
  44. data/ext/groonga/rb-grn-table-cursor.c +1 -1
  45. data/ext/groonga/rb-grn-table-key-support.c +1 -1
  46. data/ext/groonga/rb-grn-table.c +3 -2
  47. data/ext/groonga/rb-grn-type.c +1 -1
  48. data/ext/groonga/rb-grn-utils.c +1 -1
  49. data/ext/groonga/rb-grn-variable-size-column.c +55 -27
  50. data/ext/groonga/rb-grn-variable.c +1 -1
  51. data/ext/groonga/rb-grn.h +4 -2
  52. data/ext/groonga/rb-groonga.c +3 -2
  53. data/extconf.rb +1 -1
  54. data/lib/1.9/groonga.so +0 -0
  55. data/lib/2.0/groonga.so +0 -0
  56. data/lib/2.1/groonga.so +0 -0
  57. data/lib/groonga/column.rb +1 -1
  58. data/lib/groonga/context/command-executor.rb +1 -1
  59. data/lib/groonga/context.rb +1 -1
  60. data/lib/groonga/database-inspector.rb +1 -1
  61. data/lib/groonga/database.rb +1 -1
  62. data/lib/groonga/dumper.rb +1 -1
  63. data/lib/groonga/expression-builder-19.rb +1 -1
  64. data/lib/groonga/expression-builder.rb +1 -1
  65. data/lib/groonga/geo-point.rb +1 -1
  66. data/lib/groonga/grntest-log.rb +1 -1
  67. data/lib/groonga/index-column.rb +1 -1
  68. data/lib/groonga/logger.rb +1 -1
  69. data/lib/groonga/memory-pool.rb +1 -2
  70. data/lib/groonga/pagination.rb +1 -1
  71. data/lib/groonga/patricia-trie.rb +1 -1
  72. data/lib/groonga/posting.rb +1 -1
  73. data/lib/groonga/query-logger.rb +1 -1
  74. data/lib/groonga/record.rb +6 -2
  75. data/lib/groonga/schema.rb +1 -1
  76. data/lib/groonga/statistic-measurer.rb +1 -1
  77. data/lib/groonga/sub-records.rb +1 -1
  78. data/lib/groonga/table.rb +1 -1
  79. data/lib/groonga.rb +1 -1
  80. data/misc/grnop2ruby.rb +1 -1
  81. data/rroonga-build.rb +4 -4
  82. data/rroonga.gemspec +3 -3
  83. data/test/groonga-test-utils.rb +4 -4
  84. data/test/run-test.rb +1 -1
  85. data/test/test-accessor.rb +1 -1
  86. data/test/test-array.rb +1 -1
  87. data/test/test-column.rb +1 -1
  88. data/test/test-command-select.rb +1 -1
  89. data/test/test-context.rb +21 -16
  90. data/test/test-convert.rb +1 -1
  91. data/test/test-database-dumper.rb +1 -1
  92. data/test/test-database-inspector.rb +1 -1
  93. data/test/test-database.rb +38 -25
  94. data/test/test-double-array-trie.rb +1 -1
  95. data/test/test-encoding.rb +1 -1
  96. data/test/test-exception.rb +12 -7
  97. data/test/test-expression-builder.rb +1 -1
  98. data/test/test-expression.rb +1 -1
  99. data/test/test-fix-size-column.rb +1 -1
  100. data/test/test-geo-point.rb +1 -1
  101. data/test/test-gqtp.rb +1 -1
  102. data/test/test-hash.rb +1 -1
  103. data/test/test-index-column.rb +1 -1
  104. data/test/test-index-cursor.rb +1 -1
  105. data/test/test-lock-timeout.rb +1 -1
  106. data/test/test-logger.rb +1 -1
  107. data/test/test-memory-pool.rb +1 -1
  108. data/test/test-normalizer.rb +1 -1
  109. data/test/test-pagination.rb +1 -1
  110. data/test/test-patricia-trie.rb +1 -1
  111. data/test/test-plugin.rb +1 -1
  112. data/test/test-procedure.rb +9 -2
  113. data/test/test-record.rb +1 -1
  114. data/test/test-remote.rb +1 -1
  115. data/test/test-schema-create-table.rb +1 -1
  116. data/test/test-schema-dumper.rb +1 -1
  117. data/test/test-schema-type.rb +1 -1
  118. data/test/test-schema.rb +1 -1
  119. data/test/test-snippet.rb +1 -1
  120. data/test/test-statistic-measurer.rb +1 -1
  121. data/test/test-sub-records.rb +1 -1
  122. data/test/test-table-dumper.rb +1 -1
  123. data/test/test-table-key-support.rb +1 -1
  124. data/test/test-table-offset-and-limit.rb +1 -1
  125. data/test/test-table-select-mecab.rb +1 -1
  126. data/test/test-table-select-normalize.rb +1 -1
  127. data/test/test-table-select-weight.rb +1 -1
  128. data/test/test-table-select.rb +1 -1
  129. data/test/test-table-traverse.rb +1 -1
  130. data/test/test-table.rb +1 -1
  131. data/test/test-type.rb +1 -1
  132. data/test/test-variable-size-column.rb +136 -67
  133. data/test/test-variable.rb +1 -1
  134. data/test/test-vector-column.rb +1 -1
  135. data/test/test-version.rb +1 -1
  136. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  137. data/vendor/local/bin/groonga.exe +0 -0
  138. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  139. data/vendor/local/bin/libgroonga-0.dll +0 -0
  140. data/vendor/local/bin/libmecab-1.dll +0 -0
  141. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  142. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  143. data/vendor/local/bin/libstdc++-6.dll +0 -0
  144. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  145. data/vendor/local/bin/mecab-config +0 -0
  146. data/vendor/local/bin/mecab.exe +0 -0
  147. data/vendor/local/include/groonga/groonga/plugin.h +11 -83
  148. data/vendor/local/include/groonga/groonga/tokenizer.h +10 -5
  149. data/vendor/local/include/groonga/groonga.h +38 -5
  150. data/vendor/local/include/msgpack/fbuffer.h +47 -0
  151. data/vendor/local/include/msgpack/fbuffer.hpp +56 -0
  152. data/vendor/local/include/msgpack/object.hpp +12 -3
  153. data/vendor/local/include/msgpack/pack.h +7 -3
  154. data/vendor/local/include/msgpack/pack.hpp +26 -7
  155. data/vendor/local/include/msgpack/pack_template.h +34 -7
  156. data/vendor/local/include/msgpack/sbuffer.h +3 -2
  157. data/vendor/local/include/msgpack/sbuffer.hpp +1 -1
  158. data/vendor/local/include/msgpack/sysdep.h +27 -14
  159. data/vendor/local/include/msgpack/type/define.hpp +747 -561
  160. data/vendor/local/include/msgpack/type/float.hpp +24 -4
  161. data/vendor/local/include/msgpack/type/int.hpp +78 -13
  162. data/vendor/local/include/msgpack/type/tr1/unordered_map.hpp +31 -10
  163. data/vendor/local/include/msgpack/type/tr1/unordered_set.hpp +30 -10
  164. data/vendor/local/include/msgpack/type.hpp +2 -1
  165. data/vendor/local/include/msgpack/unpack.h +9 -9
  166. data/vendor/local/include/msgpack/unpack_define.h +16 -14
  167. data/vendor/local/include/msgpack/unpack_template.h +19 -8
  168. data/vendor/local/include/msgpack/version.h +1 -1
  169. data/vendor/local/include/msgpack/vrefbuffer.h +10 -9
  170. data/vendor/local/include/msgpack/vrefbuffer.hpp +4 -2
  171. data/vendor/local/include/msgpack/zbuffer.h +3 -2
  172. data/vendor/local/include/msgpack/zbuffer.hpp +4 -2
  173. data/vendor/local/include/msgpack/zone.h +5 -4
  174. data/vendor/local/include/msgpack/zone.hpp +10 -1
  175. data/vendor/local/include/msgpack.h +1 -0
  176. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  177. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  178. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  179. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
  180. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  181. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  182. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  183. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
  184. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  185. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  186. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  187. data/vendor/local/lib/groonga/plugins/table/table.la +1 -1
  188. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  189. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  190. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  191. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  192. data/vendor/local/lib/libgroonga.a +0 -0
  193. data/vendor/local/lib/libgroonga.dll.a +0 -0
  194. data/vendor/local/lib/libgroonga.la +1 -1
  195. data/vendor/local/lib/libmecab.a +0 -0
  196. data/vendor/local/lib/libmecab.dll.a +0 -0
  197. data/vendor/local/lib/libmecab.la +2 -2
  198. data/vendor/local/lib/libmsgpack.a +0 -0
  199. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  200. data/vendor/local/lib/libmsgpack.la +1 -1
  201. data/vendor/local/lib/libmsgpackc.a +0 -0
  202. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  203. data/vendor/local/lib/libmsgpackc.la +1 -1
  204. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  205. data/vendor/local/lib/pkgconfig/msgpack.pc +10 -0
  206. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  207. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  208. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  209. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  210. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  211. data/vendor/local/sbin/groonga-httpd-restart +0 -0
  212. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  213. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +2 -6
  214. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -26
  215. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +9 -5
  216. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +13 -15
  217. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  218. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
  219. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  220. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  222. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +49 -0
  223. data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +617 -0
  224. data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +536 -0
  225. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +149 -1194
  226. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +122 -3
  227. data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +0 -1
  228. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +50 -55
  229. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +25 -31
  230. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +26 -29
  231. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +20 -26
  232. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +26 -29
  233. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/dump.txt +28 -28
  234. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +20 -26
  235. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +20 -26
  236. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +29 -34
  237. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +3 -3
  238. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt +20 -20
  239. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +2 -2
  240. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +19 -20
  241. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +19 -24
  242. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +78 -87
  243. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +20 -22
  244. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +19 -24
  245. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +27 -0
  246. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +3 -3
  247. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +17 -5
  248. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +17 -8
  249. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +2 -2
  250. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +132 -0
  251. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +100 -0
  252. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +1 -1
  253. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
  254. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +1 -1
  255. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +6 -2
  256. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +3 -2
  257. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +28 -25
  258. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +26 -21
  259. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +3 -3
  260. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +17 -12
  261. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +44 -42
  262. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -18
  263. data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +2 -0
  264. data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
  265. data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
  266. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
  267. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
  268. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
  269. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
  270. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
  271. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
  272. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
  273. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
  274. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
  275. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +17 -19
  276. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
  277. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
  278. data/vendor/local/share/doc/groonga/en/html/contribution.html +17 -19
  279. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +17 -19
  280. data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
  281. data/vendor/local/share/doc/groonga/en/html/genindex.html +136 -26
  282. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +17 -19
  283. data/vendor/local/share/doc/groonga/en/html/index.html +56 -56
  284. data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -50
  285. data/vendor/local/share/doc/groonga/en/html/install/debian.html +59 -35
  286. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +40 -44
  287. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +20 -22
  288. data/vendor/local/share/doc/groonga/en/html/install/others.html +21 -23
  289. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +20 -22
  290. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +33 -35
  291. data/vendor/local/share/doc/groonga/en/html/install/windows.html +26 -28
  292. data/vendor/local/share/doc/groonga/en/html/install.html +17 -19
  293. data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -19
  294. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
  295. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +17 -19
  296. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
  297. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +17 -19
  298. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +160 -0
  299. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +804 -0
  300. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +727 -0
  301. data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
  302. data/vendor/local/share/doc/groonga/en/html/news.html +320 -1367
  303. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  304. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +19 -21
  305. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +23 -25
  306. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +23 -25
  307. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +19 -21
  308. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +28 -30
  309. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +21 -23
  310. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +21 -23
  311. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +30 -32
  312. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +21 -23
  313. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +21 -23
  314. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +21 -23
  315. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +19 -21
  316. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +21 -23
  317. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +21 -23
  318. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +40 -42
  319. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +20 -22
  320. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +18 -20
  321. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +35 -37
  322. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +25 -27
  323. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +18 -20
  324. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +18 -20
  325. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +226 -24
  326. data/vendor/local/share/doc/groonga/en/html/reference/api.html +17 -19
  327. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
  328. data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -19
  329. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +17 -19
  330. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +17 -20
  331. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
  332. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +17 -19
  333. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +17 -19
  334. data/vendor/local/share/doc/groonga/en/html/reference/command.html +33 -35
  335. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +18 -20
  336. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +73 -85
  337. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +50 -62
  338. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +18 -20
  339. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +18 -20
  340. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +53 -65
  341. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +19 -21
  342. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +45 -57
  343. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +49 -59
  344. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +19 -21
  345. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +47 -51
  346. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +19 -21
  347. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +44 -56
  348. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +45 -57
  349. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +54 -63
  350. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +18 -20
  351. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +21 -23
  352. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +42 -46
  353. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +20 -22
  354. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +18 -20
  355. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +17 -19
  356. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +18 -20
  357. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +41 -46
  358. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +52 -64
  359. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +201 -213
  360. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +19 -21
  361. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +74 -81
  362. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +42 -54
  363. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +174 -20
  364. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +20 -22
  365. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +17 -19
  366. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +17 -19
  367. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +31 -24
  368. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +17 -19
  369. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +17 -19
  370. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
  371. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +17 -19
  372. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -27
  373. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +19 -21
  374. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +17 -19
  375. data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -25
  376. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +17 -19
  377. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +17 -19
  378. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +17 -19
  379. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +17 -19
  380. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -24
  381. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +311 -0
  382. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +278 -0
  383. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +42 -44
  384. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +37 -39
  385. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +53 -55
  386. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +39 -41
  387. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +40 -42
  388. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
  389. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -19
  390. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +17 -19
  391. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +17 -19
  392. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -23
  393. data/vendor/local/share/doc/groonga/en/html/reference/log.html +18 -20
  394. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +17 -19
  395. data/vendor/local/share/doc/groonga/en/html/reference/output.html +17 -19
  396. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +17 -19
  397. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
  398. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +17 -19
  399. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
  400. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +17 -19
  401. data/vendor/local/share/doc/groonga/en/html/reference/types.html +17 -19
  402. data/vendor/local/share/doc/groonga/en/html/reference.html +41 -41
  403. data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
  404. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  405. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
  406. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +18 -20
  407. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
  408. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
  409. data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
  410. data/vendor/local/share/doc/groonga/en/html/server/package.html +17 -19
  411. data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
  412. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +17 -19
  413. data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
  414. data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
  415. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +17 -19
  416. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +17 -19
  417. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +17 -19
  418. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +17 -19
  419. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +17 -19
  420. data/vendor/local/share/doc/groonga/en/html/suggest.html +17 -19
  421. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
  422. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  423. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
  424. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +21 -23
  425. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +28 -29
  426. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +52 -52
  427. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
  428. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +21 -23
  429. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +57 -56
  430. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +22 -24
  431. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -22
  432. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +46 -44
  433. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +17 -19
  434. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +71 -69
  435. data/vendor/local/share/doc/groonga/en/html/tutorial.html +32 -34
  436. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  437. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +2 -6
  438. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -26
  439. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +9 -5
  440. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +13 -15
  441. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  442. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
  443. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  444. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +5 -5
  445. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  446. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +49 -0
  447. data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +617 -0
  448. data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +536 -0
  449. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +149 -1194
  450. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +122 -3
  451. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +0 -1
  452. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +50 -55
  453. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +25 -31
  454. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +26 -29
  455. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +20 -26
  456. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +26 -29
  457. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/dump.txt +28 -28
  458. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +20 -26
  459. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +20 -26
  460. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +29 -34
  461. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +3 -3
  462. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt +20 -20
  463. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +2 -2
  464. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +19 -20
  465. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +19 -24
  466. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +78 -87
  467. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +20 -22
  468. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +19 -24
  469. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +27 -0
  470. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +3 -3
  471. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +17 -5
  472. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +17 -8
  473. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +2 -2
  474. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +132 -0
  475. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +100 -0
  476. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +1 -1
  477. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
  478. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +1 -1
  479. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +6 -2
  480. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +3 -2
  481. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +28 -25
  482. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +26 -21
  483. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +3 -3
  484. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +17 -12
  485. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +44 -42
  486. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -18
  487. data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +2 -0
  488. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
  489. data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
  490. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
  491. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
  492. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
  493. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +17 -19
  494. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
  495. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
  496. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
  497. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
  498. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -21
  499. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +17 -19
  500. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
  501. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +18 -20
  502. data/vendor/local/share/doc/groonga/ja/html/contribution.html +17 -19
  503. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +17 -19
  504. data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
  505. data/vendor/local/share/doc/groonga/ja/html/genindex.html +136 -26
  506. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +17 -19
  507. data/vendor/local/share/doc/groonga/ja/html/index.html +53 -53
  508. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -50
  509. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +62 -36
  510. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +33 -35
  511. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +20 -22
  512. data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -23
  513. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +20 -22
  514. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +34 -36
  515. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +26 -28
  516. data/vendor/local/share/doc/groonga/ja/html/install.html +17 -19
  517. data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -19
  518. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
  519. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +17 -19
  520. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
  521. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +17 -19
  522. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +180 -0
  523. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +950 -0
  524. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +831 -0
  525. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
  526. data/vendor/local/share/doc/groonga/ja/html/news.html +354 -1643
  527. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  528. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +19 -21
  529. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -26
  530. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +23 -25
  531. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +19 -21
  532. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +28 -30
  533. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +21 -23
  534. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +21 -23
  535. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +30 -32
  536. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +21 -23
  537. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +21 -23
  538. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +21 -23
  539. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +19 -21
  540. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +21 -23
  541. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +21 -23
  542. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +40 -42
  543. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +20 -22
  544. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +18 -20
  545. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +35 -37
  546. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -27
  547. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +18 -20
  548. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +18 -20
  549. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +226 -24
  550. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +17 -19
  551. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
  552. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -19
  553. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +17 -19
  554. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +17 -21
  555. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
  556. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +17 -19
  557. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +17 -19
  558. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +33 -35
  559. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +18 -20
  560. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +73 -85
  561. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +50 -62
  562. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +18 -20
  563. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +42 -57
  564. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +53 -65
  565. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +27 -35
  566. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +45 -57
  567. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +49 -59
  568. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +19 -21
  569. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +47 -51
  570. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +19 -21
  571. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +44 -56
  572. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +45 -57
  573. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +54 -63
  574. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -22
  575. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +27 -30
  576. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +42 -46
  577. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +20 -22
  578. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +18 -20
  579. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +17 -19
  580. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +18 -20
  581. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +41 -46
  582. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +52 -64
  583. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +195 -207
  584. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +19 -21
  585. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +74 -81
  586. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +42 -54
  587. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +172 -21
  588. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +26 -29
  589. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +17 -19
  590. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +17 -19
  591. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +31 -24
  592. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +17 -19
  593. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +17 -19
  594. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
  595. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +17 -19
  596. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -27
  597. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +19 -21
  598. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +17 -19
  599. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
  600. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +18 -21
  601. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +17 -19
  602. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +17 -19
  603. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +17 -19
  604. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -24
  605. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +294 -0
  606. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +266 -0
  607. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +42 -44
  608. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +37 -39
  609. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +55 -62
  610. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +39 -41
  611. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +39 -41
  612. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +39 -41
  613. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +17 -19
  614. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -19
  615. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +17 -19
  616. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -23
  617. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +18 -20
  618. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +17 -19
  619. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +17 -19
  620. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +17 -19
  621. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
  622. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +17 -19
  623. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
  624. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +17 -19
  625. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +17 -19
  626. data/vendor/local/share/doc/groonga/ja/html/reference.html +41 -41
  627. data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
  628. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  629. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
  630. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +18 -20
  631. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
  632. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
  633. data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
  634. data/vendor/local/share/doc/groonga/ja/html/server/package.html +17 -19
  635. data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
  636. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +17 -19
  637. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
  638. data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
  639. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +17 -19
  640. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +17 -19
  641. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +17 -19
  642. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +17 -19
  643. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +17 -19
  644. data/vendor/local/share/doc/groonga/ja/html/suggest.html +17 -19
  645. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
  646. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  647. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
  648. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +24 -26
  649. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +28 -31
  650. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +33 -35
  651. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +20 -22
  652. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
  653. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +43 -43
  654. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +19 -21
  655. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +21 -23
  656. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +39 -38
  657. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +17 -19
  658. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +68 -64
  659. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +29 -31
  660. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  661. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +2 -2
  662. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  663. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
  664. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  665. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
  666. data/vendor/local/share/groonga/examples/dictionary/html/index.html +2 -2
  667. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +4 -0
  668. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +356 -0
  669. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  670. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
  671. data/vendor/local/share/groonga/html/admin/css/groonga-admin.css +11 -0
  672. data/vendor/local/share/groonga/html/admin/index.html +75 -75
  673. data/vendor/local/share/groonga/html/admin/index.ja.html +301 -0
  674. data/vendor/local/share/groonga/html/admin/js/groonga-admin.ja.js +1372 -0
  675. data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +28 -28
  676. data/vendor/local/share/license/groonga/README.md +49 -0
  677. data/vendor/local/share/man/ja/man1/groonga.1 +1934 -1247
  678. data/vendor/local/share/man/man1/groonga.1 +2008 -1240
  679. metadata +112 -84
  680. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  681. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.6.0.min.js +0 -16
  682. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.12.min.js +0 -406
  683. data/vendor/local/share/license/groonga/AUTHORS +0 -17
@@ -0,0 +1,47 @@
1
+ /*
2
+ * MessagePack for C FILE* buffer adaptor
3
+ *
4
+ * Copyright (C) 2013 Vladimir Volodko
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+ #ifndef MSGPACK_FBUFFER_H__
19
+ #define MSGPACK_FBUFFER_H__
20
+
21
+ #include <stdio.h>
22
+
23
+ #ifdef __cplusplus
24
+ extern "C" {
25
+ #endif
26
+
27
+
28
+ /**
29
+ * @defgroup msgpack_fbuffer FILE* buffer
30
+ * @ingroup msgpack_buffer
31
+ * @{
32
+ */
33
+
34
+ static inline int msgpack_fbuffer_write(void* data, const char* buf, unsigned int len)
35
+ {
36
+ return (1 == fwrite(buf, len, 1, (FILE *)data)) ? 0 : -1;
37
+ }
38
+
39
+ /** @} */
40
+
41
+
42
+ #ifdef __cplusplus
43
+ }
44
+ #endif
45
+
46
+ #endif /* msgpack/fbuffer.h */
47
+
@@ -0,0 +1,56 @@
1
+ //
2
+ // MessagePack for C++ FILE* buffer adaptor
3
+ //
4
+ // Copyright (C) 2013 Vladimir Volodko
5
+ //
6
+ // Licensed under the Apache License, Version 2.0 (the "License");
7
+ // you may not use this file except in compliance with the License.
8
+ // You may obtain a copy of the License at
9
+ //
10
+ // http://www.apache.org/licenses/LICENSE-2.0
11
+ //
12
+ // Unless required by applicable law or agreed to in writing, software
13
+ // distributed under the License is distributed on an "AS IS" BASIS,
14
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ // See the License for the specific language governing permissions and
16
+ // limitations under the License.
17
+ //
18
+ #ifndef MSGPACK_FBUFFER_HPP__
19
+ #define MSGPACK_FBUFFER_HPP__
20
+
21
+ #include <cstdio>
22
+ #include <stdexcept>
23
+
24
+ namespace msgpack {
25
+
26
+
27
+ class fbuffer {
28
+ public:
29
+ explicit fbuffer(FILE* file) : m_file(file) { }
30
+
31
+ public:
32
+ void write(const char* buf, unsigned int len)
33
+ {
34
+ if (1 != fwrite(buf, len, 1, m_file)) {
35
+ throw std::runtime_error("fwrite() failed");
36
+ }
37
+ }
38
+
39
+ FILE* file() const
40
+ {
41
+ return m_file;
42
+ }
43
+
44
+ private:
45
+ fbuffer(const fbuffer&);
46
+ fbuffer& operator= (const fbuffer&);
47
+
48
+ private:
49
+ FILE* m_file;
50
+ };
51
+
52
+
53
+ } // namespace msgpack
54
+
55
+ #endif /* msgpack/fbuffer.hpp */
56
+
@@ -1,7 +1,7 @@
1
1
  //
2
2
  // MessagePack for C++ static resolution routine
3
3
  //
4
- // Copyright (C) 2008-2009 FURUHASHI Sadayuki
4
+ // Copyright (C) 2008-2010 FURUHASHI Sadayuki
5
5
  //
6
6
  // Licensed under the Apache License, Version 2.0 (the "License");
7
7
  // you may not use this file except in compliance with the License.
@@ -212,11 +212,20 @@ inline T& operator>> (object o, T& v)
212
212
  return v;
213
213
  }
214
214
 
215
+ namespace detail {
216
+ template <typename Stream, typename T>
217
+ struct packer_serializer {
218
+ static packer<Stream>& pack(packer<Stream>& o, const T& v) {
219
+ v.msgpack_pack(o);
220
+ return o;
221
+ }
222
+ };
223
+ }
224
+
215
225
  template <typename Stream, typename T>
216
226
  inline packer<Stream>& operator<< (packer<Stream>& o, const T& v)
217
227
  {
218
- v.msgpack_pack(o);
219
- return o;
228
+ return detail::packer_serializer<Stream, T>::pack(o, v);
220
229
  }
221
230
 
222
231
  template <typename T>
@@ -40,7 +40,7 @@ extern "C" {
40
40
  * @{
41
41
  */
42
42
 
43
- typedef int (*msgpack_packer_write)(void* data, const char* buf, unsigned int len);
43
+ typedef int (*msgpack_packer_write)(void* data, const char* buf, size_t len);
44
44
 
45
45
  typedef struct msgpack_packer {
46
46
  void* data;
@@ -52,10 +52,14 @@ static void msgpack_packer_init(msgpack_packer* pk, void* data, msgpack_packer_w
52
52
  static msgpack_packer* msgpack_packer_new(void* data, msgpack_packer_write callback);
53
53
  static void msgpack_packer_free(msgpack_packer* pk);
54
54
 
55
+ static int msgpack_pack_char(msgpack_packer* pk, char d);
56
+
57
+ static int msgpack_pack_signed_char(msgpack_packer* pk, signed char d);
55
58
  static int msgpack_pack_short(msgpack_packer* pk, short d);
56
59
  static int msgpack_pack_int(msgpack_packer* pk, int d);
57
60
  static int msgpack_pack_long(msgpack_packer* pk, long d);
58
61
  static int msgpack_pack_long_long(msgpack_packer* pk, long long d);
62
+ static int msgpack_pack_unsigned_char(msgpack_packer* pk, unsigned char d);
59
63
  static int msgpack_pack_unsigned_short(msgpack_packer* pk, unsigned short d);
60
64
  static int msgpack_pack_unsigned_int(msgpack_packer* pk, unsigned int d);
61
65
  static int msgpack_pack_unsigned_long(msgpack_packer* pk, unsigned long d);
@@ -86,9 +90,9 @@ static int msgpack_pack_nil(msgpack_packer* pk);
86
90
  static int msgpack_pack_true(msgpack_packer* pk);
87
91
  static int msgpack_pack_false(msgpack_packer* pk);
88
92
 
89
- static int msgpack_pack_array(msgpack_packer* pk, unsigned int n);
93
+ static int msgpack_pack_array(msgpack_packer* pk, size_t n);
90
94
 
91
- static int msgpack_pack_map(msgpack_packer* pk, unsigned int n);
95
+ static int msgpack_pack_map(msgpack_packer* pk, size_t n);
92
96
 
93
97
  static int msgpack_pack_raw(msgpack_packer* pk, size_t l);
94
98
  static int msgpack_pack_raw_body(msgpack_packer* pk, const void* b, size_t l);
@@ -54,10 +54,13 @@ public:
54
54
  packer<Stream>& pack_fix_int32(int32_t d);
55
55
  packer<Stream>& pack_fix_int64(int64_t d);
56
56
 
57
+ packer<Stream>& pack_char(char d);
58
+ packer<Stream>& pack_signed_char(signed char d);
57
59
  packer<Stream>& pack_short(short d);
58
60
  packer<Stream>& pack_int(int d);
59
61
  packer<Stream>& pack_long(long d);
60
62
  packer<Stream>& pack_long_long(long long d);
63
+ packer<Stream>& pack_unsigned_char(unsigned char d);
61
64
  packer<Stream>& pack_unsigned_short(unsigned short d);
62
65
  packer<Stream>& pack_unsigned_int(unsigned int d);
63
66
  packer<Stream>& pack_unsigned_long(unsigned long d);
@@ -70,9 +73,9 @@ public:
70
73
  packer<Stream>& pack_true();
71
74
  packer<Stream>& pack_false();
72
75
 
73
- packer<Stream>& pack_array(unsigned int n);
76
+ packer<Stream>& pack_array(size_t n);
74
77
 
75
- packer<Stream>& pack_map(unsigned int n);
78
+ packer<Stream>& pack_map(size_t n);
76
79
 
77
80
  packer<Stream>& pack_raw(size_t l);
78
81
  packer<Stream>& pack_raw_body(const char* b, size_t l);
@@ -96,10 +99,14 @@ private:
96
99
  static void _pack_fix_int32(Stream& x, int32_t d);
97
100
  static void _pack_fix_int64(Stream& x, int64_t d);
98
101
 
102
+ static void _pack_char(Stream& x, char d);
103
+
104
+ static void _pack_signed_char(Stream& x, signed char d);
99
105
  static void _pack_short(Stream& x, short d);
100
106
  static void _pack_int(Stream& x, int d);
101
107
  static void _pack_long(Stream& x, long d);
102
108
  static void _pack_long_long(Stream& x, long long d);
109
+ static void _pack_unsigned_char(Stream& x, unsigned char d);
103
110
  static void _pack_unsigned_short(Stream& x, unsigned short d);
104
111
  static void _pack_unsigned_int(Stream& x, unsigned int d);
105
112
  static void _pack_unsigned_long(Stream& x, unsigned long d);
@@ -112,14 +119,14 @@ private:
112
119
  static void _pack_true(Stream& x);
113
120
  static void _pack_false(Stream& x);
114
121
 
115
- static void _pack_array(Stream& x, unsigned int n);
122
+ static void _pack_array(Stream& x, size_t n);
116
123
 
117
- static void _pack_map(Stream& x, unsigned int n);
124
+ static void _pack_map(Stream& x, size_t n);
118
125
 
119
126
  static void _pack_raw(Stream& x, size_t l);
120
127
  static void _pack_raw_body(Stream& x, const void* b, size_t l);
121
128
 
122
- static void append_buffer(Stream& x, const unsigned char* buf, unsigned int len)
129
+ static void append_buffer(Stream& x, const unsigned char* buf, size_t len)
123
130
  { x.write((const char*)buf, len); }
124
131
 
125
132
  private:
@@ -238,6 +245,14 @@ inline packer<Stream>& packer<Stream>::pack_fix_int64(int64_t d)
238
245
  { _pack_fix_int64(m_stream, d); return *this;}
239
246
 
240
247
 
248
+ template <typename Stream>
249
+ inline packer<Stream>& packer<Stream>::pack_char(char d)
250
+ { _pack_char(m_stream, d); return *this; }
251
+
252
+ template <typename Stream>
253
+ inline packer<Stream>& packer<Stream>::pack_signed_char(signed char d)
254
+ { _pack_signed_char(m_stream, d); return *this; }
255
+
241
256
  template <typename Stream>
242
257
  inline packer<Stream>& packer<Stream>::pack_short(short d)
243
258
  { _pack_short(m_stream, d); return *this; }
@@ -254,6 +269,10 @@ template <typename Stream>
254
269
  inline packer<Stream>& packer<Stream>::pack_long_long(long long d)
255
270
  { _pack_long_long(m_stream, d); return *this; }
256
271
 
272
+ template <typename Stream>
273
+ inline packer<Stream>& packer<Stream>::pack_unsigned_char(unsigned char d)
274
+ { _pack_unsigned_char(m_stream, d); return *this; }
275
+
257
276
  template <typename Stream>
258
277
  inline packer<Stream>& packer<Stream>::pack_unsigned_short(unsigned short d)
259
278
  { _pack_unsigned_short(m_stream, d); return *this; }
@@ -294,12 +313,12 @@ inline packer<Stream>& packer<Stream>::pack_false()
294
313
 
295
314
 
296
315
  template <typename Stream>
297
- inline packer<Stream>& packer<Stream>::pack_array(unsigned int n)
316
+ inline packer<Stream>& packer<Stream>::pack_array(size_t n)
298
317
  { _pack_array(m_stream, n); return *this; }
299
318
 
300
319
 
301
320
  template <typename Stream>
302
- inline packer<Stream>& packer<Stream>::pack_map(unsigned int n)
321
+ inline packer<Stream>& packer<Stream>::pack_map(size_t n)
303
322
  { _pack_map(m_stream, n); return *this; }
304
323
 
305
324
 
@@ -372,6 +372,28 @@ msgpack_pack_inline_func(_int64)(msgpack_pack_user x, int64_t d)
372
372
  msgpack_pack_real_int64(x, d);
373
373
  }
374
374
 
375
+ msgpack_pack_inline_func(_char)(msgpack_pack_user x, char d)
376
+ {
377
+ #if defined(CHAR_MIN)
378
+ #if CHAR_MIN < 0
379
+ msgpack_pack_real_int8(x, d);
380
+ #else
381
+ msgpack_pack_real_uint8(x, d);
382
+ #endif
383
+ #else
384
+ #error CHAR_MIN is not defined
385
+ #endif
386
+ }
387
+
388
+ msgpack_pack_inline_func(_signed_char)(msgpack_pack_user x, signed char d)
389
+ {
390
+ msgpack_pack_real_int8(x, d);
391
+ }
392
+
393
+ msgpack_pack_inline_func(_unsigned_char)(msgpack_pack_user x, unsigned char d)
394
+ {
395
+ msgpack_pack_real_uint8(x, d);
396
+ }
375
397
 
376
398
  #ifdef msgpack_pack_inline_func_cint
377
399
 
@@ -634,19 +656,24 @@ if(sizeof(unsigned long long) == 2) {
634
656
 
635
657
  msgpack_pack_inline_func(_float)(msgpack_pack_user x, float d)
636
658
  {
659
+ unsigned char buf[5];
637
660
  union { float f; uint32_t i; } mem;
638
661
  mem.f = d;
639
- unsigned char buf[5];
640
662
  buf[0] = 0xca; _msgpack_store32(&buf[1], mem.i);
641
663
  msgpack_pack_append_buffer(x, buf, 5);
642
664
  }
643
665
 
644
666
  msgpack_pack_inline_func(_double)(msgpack_pack_user x, double d)
645
667
  {
668
+ unsigned char buf[9];
646
669
  union { double f; uint64_t i; } mem;
647
670
  mem.f = d;
648
- unsigned char buf[9];
649
- buf[0] = 0xcb; _msgpack_store64(&buf[1], mem.i);
671
+ buf[0] = 0xcb;
672
+ #if defined(__arm__) && !(__ARM_EABI__) // arm-oabi
673
+ // https://github.com/msgpack/msgpack-perl/pull/1
674
+ mem.i = (mem.i & 0xFFFFFFFFUL) << 32UL | (mem.i >> 32UL);
675
+ #endif
676
+ _msgpack_store64(&buf[1], mem.i);
650
677
  msgpack_pack_append_buffer(x, buf, 9);
651
678
  }
652
679
 
@@ -683,10 +710,10 @@ msgpack_pack_inline_func(_false)(msgpack_pack_user x)
683
710
  * Array
684
711
  */
685
712
 
686
- msgpack_pack_inline_func(_array)(msgpack_pack_user x, unsigned int n)
713
+ msgpack_pack_inline_func(_array)(msgpack_pack_user x, size_t n)
687
714
  {
688
715
  if(n < 16) {
689
- unsigned char d = 0x90 | n;
716
+ unsigned char d = 0x90 | (uint8_t)n;
690
717
  msgpack_pack_append_buffer(x, &d, 1);
691
718
  } else if(n < 65536) {
692
719
  unsigned char buf[3];
@@ -704,10 +731,10 @@ msgpack_pack_inline_func(_array)(msgpack_pack_user x, unsigned int n)
704
731
  * Map
705
732
  */
706
733
 
707
- msgpack_pack_inline_func(_map)(msgpack_pack_user x, unsigned int n)
734
+ msgpack_pack_inline_func(_map)(msgpack_pack_user x, size_t n)
708
735
  {
709
736
  if(n < 16) {
710
- unsigned char d = 0x80 | n;
737
+ unsigned char d = 0x80 | (uint8_t)n;
711
738
  msgpack_pack_append_buffer(x, &TAKE8_8(d), 1);
712
739
  } else if(n < 65536) {
713
740
  unsigned char buf[3];
@@ -64,17 +64,18 @@ static inline void msgpack_sbuffer_free(msgpack_sbuffer* sbuf)
64
64
  #define MSGPACK_SBUFFER_INIT_SIZE 8192
65
65
  #endif
66
66
 
67
- static inline int msgpack_sbuffer_write(void* data, const char* buf, unsigned int len)
67
+ static inline int msgpack_sbuffer_write(void* data, const char* buf, size_t len)
68
68
  {
69
69
  msgpack_sbuffer* sbuf = (msgpack_sbuffer*)data;
70
70
 
71
71
  if(sbuf->alloc - sbuf->size < len) {
72
+ void* tmp;
72
73
  size_t nsize = (sbuf->alloc) ?
73
74
  sbuf->alloc * 2 : MSGPACK_SBUFFER_INIT_SIZE;
74
75
 
75
76
  while(nsize < sbuf->size + len) { nsize *= 2; }
76
77
 
77
- void* tmp = realloc(sbuf->data, nsize);
78
+ tmp = realloc(sbuf->data, nsize);
78
79
  if(!tmp) { return -1; }
79
80
 
80
81
  sbuf->data = (char*)tmp;
@@ -47,7 +47,7 @@ public:
47
47
  }
48
48
 
49
49
  public:
50
- void write(const char* buf, unsigned int len)
50
+ void write(const char* buf, size_t len)
51
51
  {
52
52
  if(base::alloc - base::size < len) {
53
53
  expand_buffer(len);
@@ -153,24 +153,24 @@ typedef unsigned int _msgpack_atomic_counter_t;
153
153
  #define _msgpack_be64(x) (x)
154
154
 
155
155
  #define _msgpack_load16(cast, from) ((cast)( \
156
- (((uint16_t)((uint8_t*)from)[1]) << 8) | \
157
- (((uint16_t)((uint8_t*)from)[0]) ) ))
156
+ (((uint16_t)((uint8_t*)from)[0]) << 8) | \
157
+ (((uint16_t)((uint8_t*)from)[1]) ) ))
158
158
 
159
159
  #define _msgpack_load32(cast, from) ((cast)( \
160
- (((uint32_t)((uint8_t*)from)[3]) << 24) | \
161
- (((uint32_t)((uint8_t*)from)[2]) << 16) | \
162
- (((uint32_t)((uint8_t*)from)[1]) << 8) | \
163
- (((uint32_t)((uint8_t*)from)[0]) ) ))
160
+ (((uint32_t)((uint8_t*)from)[0]) << 24) | \
161
+ (((uint32_t)((uint8_t*)from)[1]) << 16) | \
162
+ (((uint32_t)((uint8_t*)from)[2]) << 8) | \
163
+ (((uint32_t)((uint8_t*)from)[3]) ) ))
164
164
 
165
165
  #define _msgpack_load64(cast, from) ((cast)( \
166
- (((uint64_t)((uint8_t*)from)[7]) << 56) | \
167
- (((uint64_t)((uint8_t*)from)[6]) << 48) | \
168
- (((uint64_t)((uint8_t*)from)[5]) << 40) | \
169
- (((uint64_t)((uint8_t*)from)[4]) << 32) | \
170
- (((uint64_t)((uint8_t*)from)[3]) << 24) | \
171
- (((uint64_t)((uint8_t*)from)[2]) << 16) | \
172
- (((uint64_t)((uint8_t*)from)[1]) << 8) | \
173
- (((uint64_t)((uint8_t*)from)[0]) ) ))
166
+ (((uint64_t)((uint8_t*)from)[0]) << 56) | \
167
+ (((uint64_t)((uint8_t*)from)[1]) << 48) | \
168
+ (((uint64_t)((uint8_t*)from)[2]) << 40) | \
169
+ (((uint64_t)((uint8_t*)from)[3]) << 32) | \
170
+ (((uint64_t)((uint8_t*)from)[4]) << 24) | \
171
+ (((uint64_t)((uint8_t*)from)[5]) << 16) | \
172
+ (((uint64_t)((uint8_t*)from)[6]) << 8) | \
173
+ (((uint64_t)((uint8_t*)from)[7]) ) ))
174
174
  #endif
175
175
 
176
176
 
@@ -191,5 +191,18 @@ typedef unsigned int _msgpack_atomic_counter_t;
191
191
  */
192
192
 
193
193
 
194
+ #if !defined(__cplusplus) && defined(_MSC_VER)
195
+ #if !defined(FALSE)
196
+ #define FALSE (0)
197
+ #endif
198
+ #if !defined(TRUE)
199
+ #define TRUE (!FALSE)
200
+ #endif
201
+ #define bool int
202
+ #define true TRUE
203
+ #define false FALSE
204
+ #define inline __inline
205
+ #endif
206
+
194
207
  #endif /* msgpack/sysdep.h */
195
208