rroonga 1.3.1-x86-mingw32 → 2.0.0-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. data/Gemfile +1 -1
  2. data/Rakefile +2 -7
  3. data/ext/groonga/rb-grn-column.c +34 -37
  4. data/ext/groonga/rb-grn-context.c +63 -2
  5. data/ext/groonga/rb-grn-expression.c +21 -13
  6. data/ext/groonga/rb-grn-object.c +2 -0
  7. data/ext/groonga/rb-grn-table.c +57 -51
  8. data/ext/groonga/rb-grn.h +10 -4
  9. data/lib/1.8/groonga.so +0 -0
  10. data/lib/1.9/groonga.so +0 -0
  11. data/lib/groonga/schema.rb +75 -46
  12. data/lib/groonga.rb +9 -6
  13. data/rroonga-build.rb +2 -2
  14. data/test/run-test.rb +1 -2
  15. data/test/test-table-select.rb +0 -5
  16. data/test/test-type.rb +2 -2
  17. data/test/test-version.rb +40 -10
  18. data/vendor/local/bin/grntest.exe +0 -0
  19. data/vendor/local/bin/groonga.exe +0 -0
  20. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  21. data/vendor/local/bin/libgroonga-0.dll +0 -0
  22. data/vendor/local/bin/libmecab-1.dll +0 -0
  23. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  24. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  25. data/vendor/local/bin/libstdc++-6.dll +0 -0
  26. data/vendor/local/bin/mecab.exe +0 -0
  27. data/vendor/local/include/groonga/groonga/plugin.h +113 -0
  28. data/vendor/local/include/groonga/groonga/tokenizer.h +146 -0
  29. data/vendor/local/include/groonga/groonga.h +18 -18
  30. data/vendor/local/include/msgpack/object.h +98 -0
  31. data/vendor/local/include/msgpack/object.hpp +412 -0
  32. data/vendor/local/include/msgpack/pack.h +143 -0
  33. data/vendor/local/include/msgpack/pack.hpp +318 -0
  34. data/vendor/local/include/msgpack/pack_define.h +26 -0
  35. data/vendor/local/include/msgpack/pack_template.h +766 -0
  36. data/vendor/local/include/msgpack/sbuffer.h +111 -0
  37. data/vendor/local/include/msgpack/sbuffer.hpp +112 -0
  38. data/vendor/local/include/msgpack/sysdep.h +195 -0
  39. data/vendor/local/include/msgpack/type/bool.hpp +55 -0
  40. data/vendor/local/include/msgpack/type/define.hpp +3279 -0
  41. data/vendor/local/include/msgpack/type/deque.hpp +77 -0
  42. data/vendor/local/include/msgpack/type/fixint.hpp +172 -0
  43. data/vendor/local/include/msgpack/type/float.hpp +82 -0
  44. data/vendor/local/include/msgpack/type/int.hpp +211 -0
  45. data/vendor/local/include/msgpack/type/list.hpp +77 -0
  46. data/vendor/local/include/msgpack/type/map.hpp +205 -0
  47. data/vendor/local/include/msgpack/type/nil.hpp +65 -0
  48. data/vendor/local/include/msgpack/type/pair.hpp +61 -0
  49. data/vendor/local/include/msgpack/type/raw.hpp +94 -0
  50. data/vendor/local/include/msgpack/type/set.hpp +122 -0
  51. data/vendor/local/include/msgpack/type/string.hpp +62 -0
  52. data/vendor/local/include/msgpack/type/tr1/unordered_map.hpp +129 -0
  53. data/vendor/local/include/msgpack/type/tr1/unordered_set.hpp +122 -0
  54. data/vendor/local/include/msgpack/type/tuple.hpp +13691 -0
  55. data/vendor/local/include/msgpack/type/vector.hpp +81 -0
  56. data/vendor/local/include/msgpack/type.hpp +16 -0
  57. data/vendor/local/include/msgpack/unpack.h +260 -0
  58. data/vendor/local/include/msgpack/unpack.hpp +374 -0
  59. data/vendor/local/include/msgpack/unpack_define.h +93 -0
  60. data/vendor/local/include/msgpack/unpack_template.h +409 -0
  61. data/vendor/local/include/msgpack/version.h +40 -0
  62. data/vendor/local/include/msgpack/vrefbuffer.h +142 -0
  63. data/vendor/local/include/msgpack/vrefbuffer.hpp +97 -0
  64. data/vendor/local/include/msgpack/zbuffer.h +207 -0
  65. data/vendor/local/include/msgpack/zbuffer.hpp +100 -0
  66. data/vendor/local/include/msgpack/zone.h +147 -0
  67. data/vendor/local/include/msgpack/zone.hpp +455 -0
  68. data/vendor/local/include/msgpack.h +30 -0
  69. data/vendor/local/include/msgpack.hpp +24 -0
  70. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  71. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  72. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  73. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
  74. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  75. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  76. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  77. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  78. data/vendor/local/lib/libgroonga.a +0 -0
  79. data/vendor/local/lib/libgroonga.dll.a +0 -0
  80. data/vendor/local/lib/libgroonga.la +2 -2
  81. data/vendor/local/lib/libmecab.a +0 -0
  82. data/vendor/local/lib/libmecab.dll.a +0 -0
  83. data/vendor/local/lib/libmsgpack.a +0 -0
  84. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  85. data/vendor/local/lib/libmsgpack.la +41 -0
  86. data/vendor/local/lib/libmsgpackc.a +0 -0
  87. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  88. data/vendor/local/lib/libmsgpackc.la +41 -0
  89. data/vendor/local/lib/pkgconfig/groonga.pc +4 -4
  90. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  91. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  92. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  93. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  94. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  95. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  96. data/vendor/local/share/doc/groonga/en/html/_sources/commands/suggest.txt +1 -1
  97. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +6 -7
  98. data/vendor/local/share/doc/groonga/en/html/_sources/indexing.txt +108 -0
  99. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +386 -0
  100. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +51 -385
  101. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  102. data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +4 -4
  103. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/command_version.html +5 -5
  105. data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +5 -5
  106. data/vendor/local/share/doc/groonga/en/html/commands/check.html +5 -5
  107. data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +5 -5
  108. data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +5 -5
  109. data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +5 -5
  110. data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/commands/delete.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/commands/dump.html +5 -5
  115. data/vendor/local/share/doc/groonga/en/html/commands/load.html +5 -5
  116. data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/commands/quit.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/commands/select.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/commands/status.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +7 -7
  124. data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +5 -5
  125. data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +5 -5
  126. data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/commands.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  130. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  131. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
  132. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  133. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  134. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  135. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +9 -9
  139. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/executables.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/expr.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +5 -5
  150. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/functions/now.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/functions/rand.html +10 -10
  153. data/vendor/local/share/doc/groonga/en/html/functions.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/index.html +14 -8
  157. data/vendor/local/share/doc/groonga/en/html/indexing.html +237 -0
  158. data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/log.html +20 -20
  161. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +566 -0
  165. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/news.html +65 -464
  167. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  168. data/vendor/local/share/doc/groonga/en/html/output.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/reference.html +14 -8
  171. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  173. data/vendor/local/share/doc/groonga/en/html/spec/search.html +9 -9
  174. data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
  175. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/type.html +5 -5
  196. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  197. data/vendor/local/share/doc/groonga/ja/html/_sources/commands/suggest.txt +1 -1
  198. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +6 -7
  199. data/vendor/local/share/doc/groonga/ja/html/_sources/indexing.txt +108 -0
  200. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +386 -0
  201. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +51 -385
  202. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  203. data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +4 -4
  204. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  205. data/vendor/local/share/doc/groonga/ja/html/command_version.html +5 -5
  206. data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +5 -5
  207. data/vendor/local/share/doc/groonga/ja/html/commands/check.html +5 -5
  208. data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +5 -5
  209. data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +5 -5
  210. data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +5 -5
  211. data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +5 -5
  212. data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +5 -5
  213. data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +5 -5
  214. data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +5 -5
  215. data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +5 -5
  216. data/vendor/local/share/doc/groonga/ja/html/commands/load.html +5 -5
  217. data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +5 -5
  218. data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +5 -5
  219. data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +5 -5
  220. data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +5 -5
  221. data/vendor/local/share/doc/groonga/ja/html/commands/select.html +5 -5
  222. data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +5 -5
  223. data/vendor/local/share/doc/groonga/ja/html/commands/status.html +5 -5
  224. data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +5 -5
  225. data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +5 -5
  226. data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +5 -5
  227. data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +5 -5
  228. data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +5 -5
  229. data/vendor/local/share/doc/groonga/ja/html/commands.html +5 -5
  230. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  231. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  232. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
  233. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  234. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  235. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  236. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  237. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  238. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  239. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
  240. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  241. data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +5 -5
  242. data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +5 -5
  243. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +5 -5
  244. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +5 -5
  245. data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +5 -5
  246. data/vendor/local/share/doc/groonga/ja/html/executables.html +5 -5
  247. data/vendor/local/share/doc/groonga/ja/html/expr.html +5 -5
  248. data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +5 -5
  249. data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +5 -5
  250. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +5 -5
  251. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +5 -5
  252. data/vendor/local/share/doc/groonga/ja/html/functions/now.html +5 -5
  253. data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +10 -10
  254. data/vendor/local/share/doc/groonga/ja/html/functions.html +5 -5
  255. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  256. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  257. data/vendor/local/share/doc/groonga/ja/html/index.html +14 -8
  258. data/vendor/local/share/doc/groonga/ja/html/indexing.html +215 -0
  259. data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
  260. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  261. data/vendor/local/share/doc/groonga/ja/html/log.html +20 -20
  262. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  263. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  264. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  265. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +528 -0
  266. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  267. data/vendor/local/share/doc/groonga/ja/html/news.html +62 -425
  268. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  269. data/vendor/local/share/doc/groonga/ja/html/output.html +5 -5
  270. data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +5 -5
  271. data/vendor/local/share/doc/groonga/ja/html/reference.html +14 -8
  272. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  273. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  274. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +9 -9
  275. data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
  276. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  277. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  278. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  279. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  280. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  281. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  282. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  283. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  284. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  285. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  286. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  287. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  288. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  289. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  290. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  291. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  292. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  293. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  294. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  295. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  296. data/vendor/local/share/doc/groonga/ja/html/type.html +5 -5
  297. data/vendor/local/share/doc/groonga/source/commands/suggest.txt +1 -1
  298. data/vendor/local/share/doc/groonga/source/contribution/report.txt +6 -7
  299. data/vendor/local/share/doc/groonga/source/indexing.txt +108 -0
  300. data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +386 -0
  301. data/vendor/local/share/doc/groonga/source/news.txt +51 -385
  302. data/vendor/local/share/doc/groonga/source/reference.txt +1 -0
  303. data/vendor/local/share/doc/groonga/source/spec/search.txt +4 -4
  304. data/vendor/local/share/license/groonga/COPYING +10 -12
  305. data/vendor/local/share/license/msgpack/AUTHORS +1 -0
  306. data/vendor/local/share/license/msgpack/COPYING +14 -0
  307. data/vendor/local/share/license/msgpack/LICENSE +202 -0
  308. data/vendor/local/share/man/ja/man1/groonga.1 +113 -5
  309. data/vendor/local/share/man/man1/groonga.1 +142 -11
  310. metadata +66 -3
  311. data/vendor/local/share/doc/groonga/source/update_execution_example.py +0 -141
@@ -0,0 +1,111 @@
1
+ /*
2
+ * MessagePack for C simple buffer implementation
3
+ *
4
+ * Copyright (C) 2008-2009 FURUHASHI Sadayuki
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_SBUFFER_H__
19
+ #define MSGPACK_SBUFFER_H__
20
+
21
+ #include <stdlib.h>
22
+ #include <string.h>
23
+
24
+ #ifdef __cplusplus
25
+ extern "C" {
26
+ #endif
27
+
28
+
29
+ /**
30
+ * @defgroup msgpack_sbuffer Simple buffer
31
+ * @ingroup msgpack_buffer
32
+ * @{
33
+ */
34
+
35
+ typedef struct msgpack_sbuffer {
36
+ size_t size;
37
+ char* data;
38
+ size_t alloc;
39
+ } msgpack_sbuffer;
40
+
41
+ static inline void msgpack_sbuffer_init(msgpack_sbuffer* sbuf)
42
+ {
43
+ memset(sbuf, 0, sizeof(msgpack_sbuffer));
44
+ }
45
+
46
+ static inline void msgpack_sbuffer_destroy(msgpack_sbuffer* sbuf)
47
+ {
48
+ free(sbuf->data);
49
+ }
50
+
51
+ static inline msgpack_sbuffer* msgpack_sbuffer_new(void)
52
+ {
53
+ return (msgpack_sbuffer*)calloc(1, sizeof(msgpack_sbuffer));
54
+ }
55
+
56
+ static inline void msgpack_sbuffer_free(msgpack_sbuffer* sbuf)
57
+ {
58
+ if(sbuf == NULL) { return; }
59
+ msgpack_sbuffer_destroy(sbuf);
60
+ free(sbuf);
61
+ }
62
+
63
+ #ifndef MSGPACK_SBUFFER_INIT_SIZE
64
+ #define MSGPACK_SBUFFER_INIT_SIZE 8192
65
+ #endif
66
+
67
+ static inline int msgpack_sbuffer_write(void* data, const char* buf, unsigned int len)
68
+ {
69
+ msgpack_sbuffer* sbuf = (msgpack_sbuffer*)data;
70
+
71
+ if(sbuf->alloc - sbuf->size < len) {
72
+ size_t nsize = (sbuf->alloc) ?
73
+ sbuf->alloc * 2 : MSGPACK_SBUFFER_INIT_SIZE;
74
+
75
+ while(nsize < sbuf->size + len) { nsize *= 2; }
76
+
77
+ void* tmp = realloc(sbuf->data, nsize);
78
+ if(!tmp) { return -1; }
79
+
80
+ sbuf->data = (char*)tmp;
81
+ sbuf->alloc = nsize;
82
+ }
83
+
84
+ memcpy(sbuf->data + sbuf->size, buf, len);
85
+ sbuf->size += len;
86
+ return 0;
87
+ }
88
+
89
+ static inline char* msgpack_sbuffer_release(msgpack_sbuffer* sbuf)
90
+ {
91
+ char* tmp = sbuf->data;
92
+ sbuf->size = 0;
93
+ sbuf->data = NULL;
94
+ sbuf->alloc = 0;
95
+ return tmp;
96
+ }
97
+
98
+ static inline void msgpack_sbuffer_clear(msgpack_sbuffer* sbuf)
99
+ {
100
+ sbuf->size = 0;
101
+ }
102
+
103
+ /** @} */
104
+
105
+
106
+ #ifdef __cplusplus
107
+ }
108
+ #endif
109
+
110
+ #endif /* msgpack/sbuffer.h */
111
+
@@ -0,0 +1,112 @@
1
+ //
2
+ // MessagePack for C++ simple buffer implementation
3
+ //
4
+ // Copyright (C) 2008-2009 FURUHASHI Sadayuki
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_SBUFFER_HPP__
19
+ #define MSGPACK_SBUFFER_HPP__
20
+
21
+ #include "sbuffer.h"
22
+ #include <stdexcept>
23
+
24
+ namespace msgpack {
25
+
26
+
27
+ class sbuffer : public msgpack_sbuffer {
28
+ public:
29
+ sbuffer(size_t initsz = MSGPACK_SBUFFER_INIT_SIZE)
30
+ {
31
+ if(initsz == 0) {
32
+ base::data = NULL;
33
+ } else {
34
+ base::data = (char*)::malloc(initsz);
35
+ if(!base::data) {
36
+ throw std::bad_alloc();
37
+ }
38
+ }
39
+
40
+ base::size = 0;
41
+ base::alloc = initsz;
42
+ }
43
+
44
+ ~sbuffer()
45
+ {
46
+ ::free(base::data);
47
+ }
48
+
49
+ public:
50
+ void write(const char* buf, unsigned int len)
51
+ {
52
+ if(base::alloc - base::size < len) {
53
+ expand_buffer(len);
54
+ }
55
+ memcpy(base::data + base::size, buf, len);
56
+ base::size += len;
57
+ }
58
+
59
+ char* data()
60
+ {
61
+ return base::data;
62
+ }
63
+
64
+ const char* data() const
65
+ {
66
+ return base::data;
67
+ }
68
+
69
+ size_t size() const
70
+ {
71
+ return base::size;
72
+ }
73
+
74
+ char* release()
75
+ {
76
+ return msgpack_sbuffer_release(this);
77
+ }
78
+
79
+ void clear()
80
+ {
81
+ msgpack_sbuffer_clear(this);
82
+ }
83
+
84
+ private:
85
+ void expand_buffer(size_t len)
86
+ {
87
+ size_t nsize = (base::alloc > 0) ?
88
+ base::alloc * 2 : MSGPACK_SBUFFER_INIT_SIZE;
89
+
90
+ while(nsize < base::size + len) { nsize *= 2; }
91
+
92
+ void* tmp = realloc(base::data, nsize);
93
+ if(!tmp) {
94
+ throw std::bad_alloc();
95
+ }
96
+
97
+ base::data = (char*)tmp;
98
+ base::alloc = nsize;
99
+ }
100
+
101
+ private:
102
+ typedef msgpack_sbuffer base;
103
+
104
+ private:
105
+ sbuffer(const sbuffer&);
106
+ };
107
+
108
+
109
+ } // namespace msgpack
110
+
111
+ #endif /* msgpack/sbuffer.hpp */
112
+
@@ -0,0 +1,195 @@
1
+ /*
2
+ * MessagePack system dependencies
3
+ *
4
+ * Copyright (C) 2008-2010 FURUHASHI Sadayuki
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_SYSDEP_H__
19
+ #define MSGPACK_SYSDEP_H__
20
+
21
+ #include <stdlib.h>
22
+ #include <stddef.h>
23
+ #if defined(_MSC_VER) && _MSC_VER < 1600
24
+ typedef __int8 int8_t;
25
+ typedef unsigned __int8 uint8_t;
26
+ typedef __int16 int16_t;
27
+ typedef unsigned __int16 uint16_t;
28
+ typedef __int32 int32_t;
29
+ typedef unsigned __int32 uint32_t;
30
+ typedef __int64 int64_t;
31
+ typedef unsigned __int64 uint64_t;
32
+ #elif defined(_MSC_VER) // && _MSC_VER >= 1600
33
+ #include <stdint.h>
34
+ #else
35
+ #include <stdint.h>
36
+ #include <stdbool.h>
37
+ #endif
38
+
39
+ #ifdef _WIN32
40
+ #define _msgpack_atomic_counter_header <windows.h>
41
+ typedef long _msgpack_atomic_counter_t;
42
+ #define _msgpack_sync_decr_and_fetch(ptr) InterlockedDecrement(ptr)
43
+ #define _msgpack_sync_incr_and_fetch(ptr) InterlockedIncrement(ptr)
44
+ #elif defined(__GNUC__) && ((__GNUC__*10 + __GNUC_MINOR__) < 41)
45
+ #define _msgpack_atomic_counter_header "gcc_atomic.h"
46
+ #else
47
+ typedef unsigned int _msgpack_atomic_counter_t;
48
+ #define _msgpack_sync_decr_and_fetch(ptr) __sync_sub_and_fetch(ptr, 1)
49
+ #define _msgpack_sync_incr_and_fetch(ptr) __sync_add_and_fetch(ptr, 1)
50
+ #endif
51
+
52
+ #ifdef _WIN32
53
+
54
+ #ifdef __cplusplus
55
+ /* numeric_limits<T>::min,max */
56
+ #ifdef max
57
+ #undef max
58
+ #endif
59
+ #ifdef min
60
+ #undef min
61
+ #endif
62
+ #endif
63
+
64
+ #else
65
+ #include <arpa/inet.h> /* __BYTE_ORDER */
66
+ #endif
67
+
68
+ #if !defined(__LITTLE_ENDIAN__) && !defined(__BIG_ENDIAN__)
69
+ #if __BYTE_ORDER == __LITTLE_ENDIAN
70
+ #define __LITTLE_ENDIAN__
71
+ #elif __BYTE_ORDER == __BIG_ENDIAN
72
+ #define __BIG_ENDIAN__
73
+ #elif _WIN32
74
+ #define __LITTLE_ENDIAN__
75
+ #endif
76
+ #endif
77
+
78
+
79
+ #ifdef __LITTLE_ENDIAN__
80
+
81
+ #ifdef _WIN32
82
+ # if defined(ntohs)
83
+ # define _msgpack_be16(x) ntohs(x)
84
+ # elif defined(_byteswap_ushort) || (defined(_MSC_VER) && _MSC_VER >= 1400)
85
+ # define _msgpack_be16(x) ((uint16_t)_byteswap_ushort((unsigned short)x))
86
+ # else
87
+ # define _msgpack_be16(x) ( \
88
+ ((((uint16_t)x) << 8) ) | \
89
+ ((((uint16_t)x) >> 8) ) )
90
+ # endif
91
+ #else
92
+ # define _msgpack_be16(x) ntohs(x)
93
+ #endif
94
+
95
+ #ifdef _WIN32
96
+ # if defined(ntohl)
97
+ # define _msgpack_be32(x) ntohl(x)
98
+ # elif defined(_byteswap_ulong) || (defined(_MSC_VER) && _MSC_VER >= 1400)
99
+ # define _msgpack_be32(x) ((uint32_t)_byteswap_ulong((unsigned long)x))
100
+ # else
101
+ # define _msgpack_be32(x) \
102
+ ( ((((uint32_t)x) << 24) ) | \
103
+ ((((uint32_t)x) << 8) & 0x00ff0000U ) | \
104
+ ((((uint32_t)x) >> 8) & 0x0000ff00U ) | \
105
+ ((((uint32_t)x) >> 24) ) )
106
+ # endif
107
+ #else
108
+ # define _msgpack_be32(x) ntohl(x)
109
+ #endif
110
+
111
+ #if defined(_byteswap_uint64) || (defined(_MSC_VER) && _MSC_VER >= 1400)
112
+ # define _msgpack_be64(x) (_byteswap_uint64(x))
113
+ #elif defined(bswap_64)
114
+ # define _msgpack_be64(x) bswap_64(x)
115
+ #elif defined(__DARWIN_OSSwapInt64)
116
+ # define _msgpack_be64(x) __DARWIN_OSSwapInt64(x)
117
+ #else
118
+ #define _msgpack_be64(x) \
119
+ ( ((((uint64_t)x) << 56) ) | \
120
+ ((((uint64_t)x) << 40) & 0x00ff000000000000ULL ) | \
121
+ ((((uint64_t)x) << 24) & 0x0000ff0000000000ULL ) | \
122
+ ((((uint64_t)x) << 8) & 0x000000ff00000000ULL ) | \
123
+ ((((uint64_t)x) >> 8) & 0x00000000ff000000ULL ) | \
124
+ ((((uint64_t)x) >> 24) & 0x0000000000ff0000ULL ) | \
125
+ ((((uint64_t)x) >> 40) & 0x000000000000ff00ULL ) | \
126
+ ((((uint64_t)x) >> 56) ) )
127
+ #endif
128
+
129
+ #define _msgpack_load16(cast, from) ((cast)( \
130
+ (((uint16_t)((uint8_t*)(from))[0]) << 8) | \
131
+ (((uint16_t)((uint8_t*)(from))[1]) ) ))
132
+
133
+ #define _msgpack_load32(cast, from) ((cast)( \
134
+ (((uint32_t)((uint8_t*)(from))[0]) << 24) | \
135
+ (((uint32_t)((uint8_t*)(from))[1]) << 16) | \
136
+ (((uint32_t)((uint8_t*)(from))[2]) << 8) | \
137
+ (((uint32_t)((uint8_t*)(from))[3]) ) ))
138
+
139
+ #define _msgpack_load64(cast, from) ((cast)( \
140
+ (((uint64_t)((uint8_t*)(from))[0]) << 56) | \
141
+ (((uint64_t)((uint8_t*)(from))[1]) << 48) | \
142
+ (((uint64_t)((uint8_t*)(from))[2]) << 40) | \
143
+ (((uint64_t)((uint8_t*)(from))[3]) << 32) | \
144
+ (((uint64_t)((uint8_t*)(from))[4]) << 24) | \
145
+ (((uint64_t)((uint8_t*)(from))[5]) << 16) | \
146
+ (((uint64_t)((uint8_t*)(from))[6]) << 8) | \
147
+ (((uint64_t)((uint8_t*)(from))[7]) ) ))
148
+
149
+ #else
150
+
151
+ #define _msgpack_be16(x) (x)
152
+ #define _msgpack_be32(x) (x)
153
+ #define _msgpack_be64(x) (x)
154
+
155
+ #define _msgpack_load16(cast, from) ((cast)( \
156
+ (((uint16_t)((uint8_t*)from)[1]) << 8) | \
157
+ (((uint16_t)((uint8_t*)from)[0]) ) ))
158
+
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]) ) ))
164
+
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]) ) ))
174
+ #endif
175
+
176
+
177
+ #define _msgpack_store16(to, num) \
178
+ do { uint16_t val = _msgpack_be16(num); memcpy(to, &val, 2); } while(0)
179
+ #define _msgpack_store32(to, num) \
180
+ do { uint32_t val = _msgpack_be32(num); memcpy(to, &val, 4); } while(0)
181
+ #define _msgpack_store64(to, num) \
182
+ do { uint64_t val = _msgpack_be64(num); memcpy(to, &val, 8); } while(0)
183
+
184
+ /*
185
+ #define _msgpack_load16(cast, from) \
186
+ ({ cast val; memcpy(&val, (char*)from, 2); _msgpack_be16(val); })
187
+ #define _msgpack_load32(cast, from) \
188
+ ({ cast val; memcpy(&val, (char*)from, 4); _msgpack_be32(val); })
189
+ #define _msgpack_load64(cast, from) \
190
+ ({ cast val; memcpy(&val, (char*)from, 8); _msgpack_be64(val); })
191
+ */
192
+
193
+
194
+ #endif /* msgpack/sysdep.h */
195
+
@@ -0,0 +1,55 @@
1
+ //
2
+ // MessagePack for C++ static resolution routine
3
+ //
4
+ // Copyright (C) 2008-2009 FURUHASHI Sadayuki
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_TYPE_BOOL_HPP__
19
+ #define MSGPACK_TYPE_BOOL_HPP__
20
+
21
+ #include "msgpack/object.hpp"
22
+ #include <vector>
23
+
24
+ namespace msgpack {
25
+
26
+
27
+ inline bool& operator>> (object o, bool& v)
28
+ {
29
+ if(o.type != type::BOOLEAN) { throw type_error(); }
30
+ v = o.via.boolean;
31
+ return v;
32
+ }
33
+
34
+ template <typename Stream>
35
+ inline packer<Stream>& operator<< (packer<Stream>& o, const bool& v)
36
+ {
37
+ if(v) { o.pack_true(); }
38
+ else { o.pack_false(); }
39
+ return o;
40
+ }
41
+
42
+ inline void operator<< (object& o, bool v)
43
+ {
44
+ o.type = type::BOOLEAN;
45
+ o.via.boolean = v;
46
+ }
47
+
48
+ inline void operator<< (object::with_zone& o, bool v)
49
+ { static_cast<object&>(o) << v; }
50
+
51
+
52
+ } // namespace msgpack
53
+
54
+ #endif /* msgpack/type/bool.hpp */
55
+