rroonga 4.0.7-x86-mingw32 → 4.0.8-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 (559) hide show
  1. checksums.yaml +13 -5
  2. data/README.md +1 -1
  3. data/doc/text/news.textile +17 -1
  4. data/ext/groonga/extconf.rb +2 -1
  5. data/ext/groonga/rb-grn-column.c +31 -0
  6. data/ext/groonga/rb-grn-database.c +33 -1
  7. data/ext/groonga/rb-grn-table.c +1 -1
  8. data/ext/groonga/rb-grn.h +1 -1
  9. data/lib/1.9/groonga.so +0 -0
  10. data/lib/2.0/groonga.so +0 -0
  11. data/lib/2.1/groonga.so +0 -0
  12. data/lib/groonga/geo-point.rb +2 -1
  13. data/rroonga-build.rb +3 -3
  14. data/test/test-column.rb +68 -6
  15. data/test/test-command-select.rb +0 -3
  16. data/test/test-database.rb +28 -1
  17. data/test/test-expression-builder.rb +1 -1
  18. data/test/test-geo-point.rb +15 -0
  19. data/test/test-variable-size-column.rb +2 -2
  20. data/vendor/local/bin/grndb.exe +0 -0
  21. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  22. data/vendor/local/bin/groonga.exe +0 -0
  23. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  24. data/vendor/local/bin/libgroonga-0.dll +0 -0
  25. data/vendor/local/bin/libmecab-1.dll +0 -0
  26. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  27. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  28. data/vendor/local/bin/libonig-5.dll +0 -0
  29. data/vendor/local/bin/libstdc++-6.dll +0 -0
  30. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  31. data/vendor/local/bin/lz4.exe +0 -0
  32. data/vendor/local/bin/lz4c.exe +0 -0
  33. data/vendor/local/bin/lz4cat +0 -0
  34. data/vendor/local/bin/mecab-config +2 -2
  35. data/vendor/local/bin/mecab.exe +0 -0
  36. data/vendor/local/bin/onig-config +1 -1
  37. data/vendor/local/bin/zlib1.dll +0 -0
  38. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  39. data/vendor/local/include/groonga/groonga.h +1 -0
  40. data/vendor/local/include/groonga/groonga/groonga.h +4 -1
  41. data/vendor/local/include/groonga/groonga/request_canceler.h +39 -0
  42. data/vendor/local/include/lz4.h +21 -29
  43. data/vendor/local/include/lz4frame.h +252 -0
  44. data/vendor/local/include/lz4hc.h +14 -63
  45. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  47. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  48. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  49. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  50. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  51. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  52. data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
  53. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  54. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  55. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  56. data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
  57. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  58. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  59. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  61. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  62. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  63. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  64. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  65. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  66. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  67. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  68. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
  69. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  70. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  71. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  73. data/vendor/local/lib/groonga/scripts/ruby/command/grndb.rb +169 -0
  74. data/vendor/local/lib/groonga/scripts/ruby/database.rb +19 -0
  75. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
  76. data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +1 -0
  77. data/vendor/local/lib/groonga/scripts/ruby/require.rb +68 -0
  78. data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +11 -0
  79. data/vendor/local/lib/libgroonga.a +0 -0
  80. data/vendor/local/lib/libgroonga.dll.a +0 -0
  81. data/vendor/local/lib/libgroonga.la +3 -3
  82. data/vendor/local/lib/liblz4.a +0 -0
  83. data/vendor/local/lib/liblz4.dll +0 -0
  84. data/vendor/local/lib/liblz4.dll.1 +0 -0
  85. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  86. data/vendor/local/lib/libmecab.a +0 -0
  87. data/vendor/local/lib/libmecab.dll.a +0 -0
  88. data/vendor/local/lib/libmecab.la +3 -3
  89. data/vendor/local/lib/libmsgpack.a +0 -0
  90. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  91. data/vendor/local/lib/libmsgpack.la +3 -3
  92. data/vendor/local/lib/libmsgpackc.a +0 -0
  93. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  94. data/vendor/local/lib/libmsgpackc.la +3 -3
  95. data/vendor/local/lib/libonig.a +0 -0
  96. data/vendor/local/lib/libonig.dll.a +0 -0
  97. data/vendor/local/lib/libonig.la +2 -2
  98. data/vendor/local/lib/libz.a +0 -0
  99. data/vendor/local/lib/libz.dll.a +0 -0
  100. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  101. data/vendor/local/lib/pkgconfig/liblz4.pc +6 -6
  102. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  103. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  104. data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
  105. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  106. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  107. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  108. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  109. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  110. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  111. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  112. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  113. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -12
  114. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  115. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +10 -3
  116. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  117. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  118. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
  119. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  120. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +10 -3
  121. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  122. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
  123. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +75 -1
  124. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +16 -0
  125. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +40 -0
  126. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
  127. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +41 -0
  128. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +3 -0
  129. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +91 -0
  130. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +139 -0
  131. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +39 -14
  132. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +84 -0
  133. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -21
  134. data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +16 -7
  135. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
  136. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +5 -67
  137. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +0 -25
  138. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  139. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  140. data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
  141. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +2 -4
  142. data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
  143. data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
  144. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  145. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  146. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
  147. data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
  148. data/vendor/local/share/doc/groonga/en/html/client.html +17 -19
  149. data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
  150. data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
  151. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
  152. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
  153. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
  154. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
  155. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
  156. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
  157. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
  158. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
  159. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
  160. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
  161. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +33 -35
  162. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
  163. data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
  164. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
  165. data/vendor/local/share/doc/groonga/en/html/genindex.html +22 -14
  166. data/vendor/local/share/doc/groonga/en/html/index.html +84 -82
  167. data/vendor/local/share/doc/groonga/en/html/install.html +31 -33
  168. data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
  169. data/vendor/local/share/doc/groonga/en/html/install/debian.html +29 -25
  170. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -27
  171. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
  172. data/vendor/local/share/doc/groonga/en/html/install/others.html +88 -90
  173. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
  174. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -26
  175. data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
  176. data/vendor/local/share/doc/groonga/en/html/limitations.html +18 -20
  177. data/vendor/local/share/doc/groonga/en/html/news.html +226 -147
  178. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
  179. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +18 -20
  180. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
  181. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
  182. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
  183. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +97 -99
  184. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +69 -71
  185. data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
  186. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  187. data/vendor/local/share/doc/groonga/en/html/reference.html +83 -81
  188. data/vendor/local/share/doc/groonga/en/html/reference/api.html +37 -39
  189. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +31 -33
  190. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +43 -45
  191. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +93 -65
  192. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -29
  193. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +24 -26
  194. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +61 -63
  195. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +86 -33
  196. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +28 -30
  197. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +64 -66
  198. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -28
  199. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +29 -31
  200. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +27 -29
  201. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -28
  202. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -28
  203. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -27
  204. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +74 -76
  205. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +29 -31
  206. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -26
  207. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +60 -62
  208. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +49 -51
  209. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -27
  210. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -24
  211. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +40 -42
  212. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
  213. data/vendor/local/share/doc/groonga/en/html/reference/column.html +19 -21
  214. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
  215. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +59 -61
  216. data/vendor/local/share/doc/groonga/en/html/reference/command.html +54 -53
  217. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
  218. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +58 -60
  219. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +173 -0
  220. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +110 -112
  221. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +57 -59
  222. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +59 -61
  223. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +44 -43
  224. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +55 -57
  225. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +90 -92
  226. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +40 -42
  227. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +59 -61
  228. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +55 -57
  229. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +40 -42
  230. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +53 -55
  231. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -40
  232. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +61 -63
  233. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +221 -0
  234. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +42 -44
  235. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +42 -44
  236. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +42 -44
  237. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +81 -83
  238. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +48 -50
  239. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +37 -39
  240. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
  241. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +49 -51
  242. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +276 -0
  243. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
  244. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +53 -55
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +384 -386
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +45 -47
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +81 -83
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +146 -148
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +65 -67
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +101 -103
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +178 -54
  256. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +31 -32
  257. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +224 -0
  258. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +43 -45
  259. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +64 -66
  260. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +111 -113
  261. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +37 -39
  262. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
  263. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +80 -82
  264. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +56 -58
  265. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +81 -83
  266. data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -20
  267. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -42
  268. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +19 -21
  269. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +79 -81
  270. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -32
  271. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +20 -22
  272. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +51 -53
  273. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +39 -41
  274. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +28 -30
  275. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +17 -19
  276. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +17 -19
  277. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -48
  278. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +18 -20
  279. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +42 -44
  280. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
  281. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +24 -26
  282. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +208 -210
  283. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +260 -262
  284. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +19 -21
  285. data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -22
  286. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +46 -65
  287. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -19
  288. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +17 -19
  289. data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -38
  290. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
  291. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +55 -57
  292. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +17 -19
  293. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +17 -19
  294. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +17 -19
  295. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +17 -19
  296. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +17 -19
  297. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
  298. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +58 -58
  299. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
  300. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +27 -29
  301. data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
  302. data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
  303. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  304. data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
  305. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
  306. data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
  307. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +32 -34
  308. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
  309. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
  310. data/vendor/local/share/doc/groonga/en/html/server/package.html +31 -33
  311. data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
  312. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +125 -127
  313. data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
  314. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
  315. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
  316. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  317. data/vendor/local/share/doc/groonga/en/html/tutorial.html +18 -20
  318. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
  319. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
  320. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
  321. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
  322. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
  323. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
  324. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
  325. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -19
  326. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
  327. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
  328. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
  329. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  330. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -12
  331. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  332. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +10 -3
  333. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  334. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  335. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
  336. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  337. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +10 -3
  338. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  339. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
  340. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +75 -1
  341. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +16 -0
  342. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +40 -0
  343. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
  344. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +41 -0
  345. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +3 -0
  346. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +91 -0
  347. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +139 -0
  348. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +39 -14
  349. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +84 -0
  350. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -21
  351. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +16 -7
  352. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
  353. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +5 -67
  354. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +0 -25
  355. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  356. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  357. data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
  358. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +2 -4
  359. data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
  360. data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
  361. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  362. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  363. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
  364. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
  365. data/vendor/local/share/doc/groonga/ja/html/client.html +17 -19
  366. data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
  367. data/vendor/local/share/doc/groonga/ja/html/contribution.html +19 -21
  368. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
  369. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
  370. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
  371. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
  372. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -22
  373. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
  374. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
  375. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
  376. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
  377. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +18 -20
  378. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +35 -37
  379. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
  380. data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
  381. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
  382. data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -18
  383. data/vendor/local/share/doc/groonga/ja/html/index.html +84 -82
  384. data/vendor/local/share/doc/groonga/ja/html/install.html +31 -33
  385. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +37 -39
  386. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +31 -27
  387. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +28 -30
  388. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
  389. data/vendor/local/share/doc/groonga/ja/html/install/others.html +79 -81
  390. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
  391. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +32 -28
  392. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
  393. data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -21
  394. data/vendor/local/share/doc/groonga/ja/html/news.html +226 -136
  395. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
  396. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +18 -20
  397. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
  398. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +33 -35
  399. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
  400. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
  401. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
  402. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
  403. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  404. data/vendor/local/share/doc/groonga/ja/html/reference.html +83 -81
  405. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +37 -39
  406. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +31 -33
  407. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +38 -40
  408. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +87 -59
  409. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -29
  410. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +24 -26
  411. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +55 -57
  412. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +85 -32
  413. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +28 -30
  414. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +50 -52
  415. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -28
  416. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +29 -31
  417. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +27 -29
  418. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -28
  419. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -28
  420. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -27
  421. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +75 -77
  422. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +29 -31
  423. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -26
  424. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +60 -62
  425. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +49 -51
  426. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -27
  427. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +22 -24
  428. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +40 -42
  429. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
  430. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +19 -21
  431. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
  432. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +49 -51
  433. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +54 -53
  434. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
  435. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +48 -50
  436. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +174 -0
  437. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +109 -111
  438. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +54 -56
  439. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +59 -61
  440. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +44 -43
  441. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +55 -57
  442. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +82 -84
  443. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +40 -42
  444. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +56 -58
  445. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +55 -57
  446. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +40 -42
  447. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +52 -54
  448. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -40
  449. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +54 -56
  450. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +224 -0
  451. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +42 -44
  452. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +42 -44
  453. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +42 -44
  454. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +76 -78
  455. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +48 -50
  456. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +37 -39
  457. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
  458. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +46 -48
  459. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +278 -0
  460. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +54 -56
  461. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
  462. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +255 -257
  463. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
  464. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +43 -45
  465. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +79 -81
  466. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +122 -124
  467. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +60 -62
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +86 -88
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +45 -47
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +178 -54
  473. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +31 -32
  474. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +222 -0
  475. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +43 -45
  476. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +64 -66
  477. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +99 -101
  478. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +37 -39
  479. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
  480. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +80 -82
  481. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +56 -58
  482. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +81 -83
  483. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -20
  484. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -42
  485. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +19 -21
  486. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +67 -69
  487. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -32
  488. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +20 -22
  489. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +41 -43
  490. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +30 -32
  491. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +28 -30
  492. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +17 -19
  493. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +17 -19
  494. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -41
  495. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +18 -20
  496. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +28 -30
  497. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -33
  498. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +21 -23
  499. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -117
  500. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +180 -182
  501. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +18 -20
  502. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -22
  503. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +37 -54
  504. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -19
  505. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +17 -19
  506. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -34
  507. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
  508. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -36
  509. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +17 -19
  510. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +17 -19
  511. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +17 -19
  512. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +17 -19
  513. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +17 -19
  514. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
  515. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +55 -55
  516. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
  517. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +27 -29
  518. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +36 -38
  519. data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
  520. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  521. data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
  522. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
  523. data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
  524. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +26 -28
  525. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
  526. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
  527. data/vendor/local/share/doc/groonga/ja/html/server/package.html +32 -34
  528. data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
  529. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +124 -126
  530. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
  531. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
  532. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
  533. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  534. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +18 -20
  535. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -20
  536. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
  537. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
  538. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +18 -20
  539. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
  540. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +24 -26
  541. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
  542. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +18 -20
  543. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
  544. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
  545. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
  546. data/vendor/local/share/groonga/html/admin/index.html +1 -1
  547. data/vendor/local/share/groonga/html/admin/index.ja.html +1 -1
  548. data/vendor/local/share/license/mruby/AUTHORS +11 -0
  549. data/vendor/local/share/license/mruby/README.md +32 -20
  550. data/vendor/local/share/man/ja/man1/groonga.1 +952 -259
  551. data/vendor/local/share/man/man1/groonga.1 +930 -239
  552. metadata +103 -80
  553. data/vendor/local/bin/lz4 +0 -0
  554. data/vendor/local/bin/lz4c +0 -0
  555. data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
  556. data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
  557. data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
  558. data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
  559. data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
Binary file
Binary file
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  #!/bin/sh
2
2
 
3
- prefix=/home/kenhys/work/groonga/groonga.clean/packages/windows/dist-x86
3
+ prefix=/home/kou/work/c/groonga.clean/packages/windows/dist-x86
4
4
  exec_prefix=${prefix}
5
5
  exec_prefix_set=no
6
6
 
@@ -107,7 +107,7 @@ while test $# -gt 0; do
107
107
  ;;
108
108
 
109
109
  --libexecdir)
110
- echo /home/kenhys/work/groonga/groonga.clean/packages/windows/dist-x86/libexec/mecab
110
+ echo /home/kou/work/c/groonga.clean/packages/windows/dist-x86/libexec/mecab
111
111
  ;;
112
112
 
113
113
  --sysconfdir)
Binary file
@@ -27,7 +27,7 @@ if test $# -eq 0; then
27
27
  show_usage
28
28
  fi
29
29
 
30
- prefix=/home/kenhys/work/groonga/groonga.clean/packages/windows/dist-x86
30
+ prefix=/home/kou/work/c/groonga.clean/packages/windows/dist-x86
31
31
  exec_prefix=${prefix}
32
32
  is_set_exec_prefix=no
33
33
 
Binary file
@@ -15,7 +15,7 @@ http {
15
15
  keepalive_timeout 65;
16
16
 
17
17
  # The default groonga database path.
18
- groonga_database /home/kenhys/work/groonga/groonga.clean/packages/windows/dist-x86/var/lib/groonga/db/db;
18
+ groonga_database /home/kou/work/c/groonga.clean/packages/windows/dist-x86/var/lib/groonga/db/db;
19
19
 
20
20
  # Create a groonga database automatically if the groonga database doesn't
21
21
  # exist.
@@ -45,7 +45,7 @@ http {
45
45
  }
46
46
 
47
47
  location / {
48
- root /home/kenhys/work/groonga/groonga.clean/packages/windows/dist-x86/share/groonga/html/admin;
48
+ root /home/kou/work/c/groonga.clean/packages/windows/dist-x86/share/groonga/html/admin;
49
49
  index index.html;
50
50
  }
51
51
 
@@ -22,5 +22,6 @@
22
22
  #include "groonga/ii.h"
23
23
  #include "groonga/expr.h"
24
24
  #include "groonga/util.h"
25
+ #include "groonga/request_canceler.h"
25
26
 
26
27
  #endif /* GROONGA_H */
@@ -335,7 +335,7 @@ typedef unsigned short int grn_obj_flags;
335
335
  #define GRN_VOID (0x00)
336
336
  #define GRN_BULK (0x02)
337
337
  #define GRN_PTR (0x03)
338
- #define GRN_UVECTOR (0x04) /* vector of grn_id */
338
+ #define GRN_UVECTOR (0x04) /* vector of fixed size data especially grn_id */
339
339
  #define GRN_PVECTOR (0x05) /* vector of grn_obj* */
340
340
  #define GRN_VECTOR (0x06) /* vector of arbitrary data */
341
341
  #define GRN_MSG (0x07)
@@ -424,6 +424,7 @@ GRN_API grn_obj *grn_db_create(grn_ctx *ctx, const char *path, grn_db_create_opt
424
424
 
425
425
  GRN_API grn_obj *grn_db_open(grn_ctx *ctx, const char *path);
426
426
  GRN_API void grn_db_touch(grn_ctx *ctx, grn_obj *db);
427
+ GRN_API grn_rc grn_db_recover(grn_ctx *ctx, grn_obj *db);
427
428
 
428
429
  GRN_API grn_rc grn_ctx_use(grn_ctx *ctx, grn_obj *db);
429
430
  GRN_API grn_obj *grn_ctx_db(grn_ctx *ctx);
@@ -761,6 +762,7 @@ GRN_API grn_rc grn_column_index_update(grn_ctx *ctx, grn_obj *column,
761
762
  grn_id id, unsigned int section,
762
763
  grn_obj *oldvalue, grn_obj *newvalue);
763
764
  GRN_API grn_obj *grn_column_table(grn_ctx *ctx, grn_obj *column);
765
+ GRN_API grn_rc grn_column_truncate(grn_ctx *ctx, grn_obj *column);
764
766
 
765
767
  /*-------------------------------------------------------------
766
768
  * API for db, table and/or column
@@ -918,6 +920,7 @@ GRN_API unsigned int grn_vector_get_element(grn_ctx *ctx, grn_obj *vector,
918
920
  */
919
921
 
920
922
  GRN_API unsigned int grn_uvector_size(grn_ctx *ctx, grn_obj *uvector);
923
+ GRN_API unsigned int grn_uvector_element_size(grn_ctx *ctx, grn_obj *uvector);
921
924
 
922
925
  GRN_API grn_rc grn_uvector_add_element(grn_ctx *ctx, grn_obj *vector,
923
926
  grn_id id, unsigned int weight);
@@ -0,0 +1,39 @@
1
+ /*
2
+ Copyright(C) 2014 Brazil
3
+
4
+ This library is free software; you can redistribute it and/or
5
+ modify it under the terms of the GNU Lesser General Public
6
+ License as published by the Free Software Foundation; either
7
+ version 2.1 of the License, or (at your option) any later version.
8
+
9
+ This library is distributed in the hope that it will be useful,
10
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
+ Lesser General Public License for more details.
13
+
14
+ You should have received a copy of the GNU Lesser General Public
15
+ License along with this library; if not, write to the Free Software
16
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
+ */
18
+
19
+ #ifndef GROONGA_REQUEST_CANCELER_H
20
+ #define GROONGA_REQUEST_CANCELER_H
21
+
22
+ #ifdef __cplusplus
23
+ extern "C" {
24
+ #endif
25
+
26
+ GRN_API void grn_request_canceler_register(grn_ctx *ctx,
27
+ const char *request_id,
28
+ unsigned int size);
29
+ GRN_API void grn_request_canceler_unregister(grn_ctx *ctx,
30
+ const char *request_id,
31
+ unsigned int size);
32
+ GRN_API grn_bool grn_request_canceler_cancel(const char *request_id,
33
+ unsigned int size);
34
+
35
+ #ifdef __cplusplus
36
+ }
37
+ #endif
38
+
39
+ #endif /* GROONGA_REQUEST_CANCELER_H */
@@ -46,8 +46,8 @@ extern "C" {
46
46
  /**************************************
47
47
  Version
48
48
  **************************************/
49
- #define LZ4_VERSION_MAJOR 1 /* for major interface/format changes */
50
- #define LZ4_VERSION_MINOR 4 /* for minor interface/format changes */
49
+ #define LZ4_VERSION_MAJOR 1 /* for breaking interface changes */
50
+ #define LZ4_VERSION_MINOR 5 /* for new (non-breaking) interface capabilities */
51
51
  #define LZ4_VERSION_RELEASE 0 /* for tweaks, bug-fixes, or development */
52
52
  #define LZ4_VERSION_NUMBER (LZ4_VERSION_MAJOR *100*100 + LZ4_VERSION_MINOR *100 + LZ4_VERSION_RELEASE)
53
53
  int LZ4_versionNumber (void);
@@ -169,17 +169,19 @@ int LZ4_decompress_safe_partial (const char* source, char* dest, int compressedS
169
169
 
170
170
 
171
171
  /***********************************************
172
- Experimental Streaming Compression Functions
172
+ Streaming Compression Functions
173
173
  ***********************************************/
174
174
 
175
- #define LZ4_STREAMSIZE_U32 ((1 << (LZ4_MEMORY_USAGE-2)) + 8)
176
- #define LZ4_STREAMSIZE (LZ4_STREAMSIZE_U32 * sizeof(unsigned int))
175
+ #define LZ4_STREAMSIZE_U64 ((1 << (LZ4_MEMORY_USAGE-3)) + 4)
176
+ #define LZ4_STREAMSIZE (LZ4_STREAMSIZE_U64 * sizeof(long long))
177
177
  /*
178
178
  * LZ4_stream_t
179
179
  * information structure to track an LZ4 stream.
180
180
  * important : init this structure content before first use !
181
+ * note : only allocated directly the structure if you are statically linking LZ4
182
+ * If you are using liblz4 as a DLL, please use below construction methods instead.
181
183
  */
182
- typedef struct { unsigned int table[LZ4_STREAMSIZE_U32]; } LZ4_stream_t;
184
+ typedef struct { long long table[LZ4_STREAMSIZE_U64]; } LZ4_stream_t;
183
185
 
184
186
  /*
185
187
  * LZ4_resetStream
@@ -188,9 +190,10 @@ typedef struct { unsigned int table[LZ4_STREAMSIZE_U32]; } LZ4_stream_t;
188
190
  void LZ4_resetStream (LZ4_stream_t* LZ4_streamPtr);
189
191
 
190
192
  /*
191
- * If you prefer dynamic allocation methods,
192
193
  * LZ4_createStream will allocate and initialize an LZ4_stream_t structure
193
194
  * LZ4_freeStream releases its memory.
195
+ * In the context of a DLL (liblz4), please use these methods rather than the static struct.
196
+ * They are more future proof, in case of a change of LZ4_stream_t size.
194
197
  */
195
198
  LZ4_stream_t* LZ4_createStream(void);
196
199
  int LZ4_freeStream (LZ4_stream_t* LZ4_streamPtr);
@@ -231,20 +234,19 @@ int LZ4_saveDict (LZ4_stream_t* LZ4_streamPtr, char* safeBuffer, int dictSize);
231
234
 
232
235
 
233
236
  /************************************************
234
- Experimental Streaming Decompression Functions
237
+ Streaming Decompression Functions
235
238
  ************************************************/
236
239
 
237
- #define LZ4_STREAMDECODESIZE_U32 8
238
- #define LZ4_STREAMDECODESIZE (LZ4_STREAMDECODESIZE_U32 * sizeof(unsigned int))
240
+ #define LZ4_STREAMDECODESIZE_U64 4
241
+ #define LZ4_STREAMDECODESIZE (LZ4_STREAMDECODESIZE_U64 * sizeof(unsigned long long))
242
+ typedef struct { unsigned long long table[LZ4_STREAMDECODESIZE_U64]; } LZ4_streamDecode_t;
239
243
  /*
240
244
  * LZ4_streamDecode_t
241
245
  * information structure to track an LZ4 stream.
242
- * important : init this structure content using LZ4_setStreamDecode or memset() before first use !
243
- */
244
- typedef struct { unsigned int table[LZ4_STREAMDECODESIZE_U32]; } LZ4_streamDecode_t;
245
-
246
- /*
247
- * If you prefer dynamic allocation methods,
246
+ * init this structure content using LZ4_setStreamDecode or memset() before first use !
247
+ *
248
+ * In the context of a DLL (liblz4) please prefer usage of construction methods below.
249
+ * They are more future proof, in case of a change of LZ4_streamDecode_t size in the future.
248
250
  * LZ4_createStreamDecode will allocate and initialize an LZ4_streamDecode_t structure
249
251
  * LZ4_freeStreamDecode releases its memory.
250
252
  */
@@ -254,9 +256,7 @@ int LZ4_freeStreamDecode (LZ4_streamDecode_t* LZ4_stream);
254
256
  /*
255
257
  * LZ4_setStreamDecode
256
258
  * Use this function to instruct where to find the dictionary.
257
- * This function can be used to specify a static dictionary,
258
- * or to instruct where to find some previously decoded data saved into a different memory space.
259
- * Setting a size of 0 is allowed (same effect as no dictionary, same effect as reset).
259
+ * Setting a size of 0 is allowed (same effect as reset).
260
260
  * Return : 1 if OK, 0 if error
261
261
  */
262
262
  int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode, const char* dictionary, int dictSize);
@@ -277,7 +277,7 @@ Advanced decoding functions :
277
277
  *_usingDict() :
278
278
  These decoding functions work the same as
279
279
  a combination of LZ4_setDictDecode() followed by LZ4_decompress_x_continue()
280
- They don't use nor update an LZ4_streamDecode_t structure.
280
+ They are stand-alone and don't use nor update an LZ4_streamDecode_t structure.
281
281
  */
282
282
  int LZ4_decompress_safe_usingDict (const char* source, char* dest, int compressedSize, int maxDecompressedSize, const char* dictStart, int dictSize);
283
283
  int LZ4_decompress_fast_usingDict (const char* source, char* dest, int originalSize, const char* dictStart, int dictSize);
@@ -294,18 +294,10 @@ They are only provided here for compatibility with older user programs.
294
294
  - LZ4_uncompress is the same as LZ4_decompress_fast
295
295
  - LZ4_uncompress_unknownOutputSize is the same as LZ4_decompress_safe
296
296
  These function prototypes are now disabled; uncomment them if you really need them.
297
- It is highly recommended to stop using these functions and migrated to newer ones */
297
+ It is highly recommended to stop using these functions and migrate to newer ones */
298
298
  /* int LZ4_uncompress (const char* source, char* dest, int outputSize); */
299
299
  /* int LZ4_uncompress_unknownOutputSize (const char* source, char* dest, int isize, int maxOutputSize); */
300
300
 
301
- /*
302
- * If you prefer dynamic allocation methods,
303
- * LZ4_createStreamDecode()
304
- * provides a pointer (void*) towards an initialized LZ4_streamDecode_t structure.
305
- * LZ4_free just frees it.
306
- */
307
- /* void* LZ4_createStreamDecode(void); */
308
- /*int LZ4_free (void* LZ4_stream); yes, it's the same one as for compression */
309
301
 
310
302
  /* Obsolete streaming functions; use new streaming interface whenever possible */
311
303
  void* LZ4_create (const char* inputBuffer);
@@ -0,0 +1,252 @@
1
+ /*
2
+ LZ4 auto-framing library
3
+ Header File
4
+ Copyright (C) 2011-2015, Yann Collet.
5
+ BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
6
+
7
+ Redistribution and use in source and binary forms, with or without
8
+ modification, are permitted provided that the following conditions are
9
+ met:
10
+
11
+ * Redistributions of source code must retain the above copyright
12
+ notice, this list of conditions and the following disclaimer.
13
+ * Redistributions in binary form must reproduce the above
14
+ copyright notice, this list of conditions and the following disclaimer
15
+ in the documentation and/or other materials provided with the
16
+ distribution.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
+
30
+ You can contact the author at :
31
+ - LZ4 source repository : http://code.google.com/p/lz4/
32
+ - LZ4 source mirror : https://github.com/Cyan4973/lz4
33
+ - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
34
+ */
35
+
36
+ /* LZ4F is a stand-alone API to create LZ4-compressed frames
37
+ * fully conformant to specification v1.4.1.
38
+ * All related operations, including memory management, are handled by the library.
39
+ * You don't need lz4.h when using lz4frame.h.
40
+ * */
41
+
42
+ #pragma once
43
+
44
+ #if defined (__cplusplus)
45
+ extern "C" {
46
+ #endif
47
+
48
+ /**************************************
49
+ Includes
50
+ **************************************/
51
+ #include <stddef.h> /* size_t */
52
+
53
+
54
+ /**************************************
55
+ * Error management
56
+ * ************************************/
57
+ typedef size_t LZ4F_errorCode_t;
58
+
59
+ unsigned LZ4F_isError(LZ4F_errorCode_t code);
60
+ const char* LZ4F_getErrorName(LZ4F_errorCode_t code); /* return error code string; useful for debugging */
61
+
62
+
63
+ /**************************************
64
+ * Frame compression types
65
+ * ************************************/
66
+ typedef enum { LZ4F_default=0, max64KB=4, max256KB=5, max1MB=6, max4MB=7 } blockSizeID_t;
67
+ typedef enum { blockLinked=0, blockIndependent} blockMode_t;
68
+ typedef enum { noContentChecksum=0, contentChecksumEnabled } contentChecksum_t;
69
+
70
+ typedef struct {
71
+ blockSizeID_t blockSizeID; /* max64KB, max256KB, max1MB, max4MB ; 0 == default */
72
+ blockMode_t blockMode; /* blockLinked, blockIndependent ; 0 == default */
73
+ contentChecksum_t contentChecksumFlag; /* noContentChecksum, contentChecksumEnabled ; 0 == default */
74
+ unsigned reserved[5];
75
+ } LZ4F_frameInfo_t;
76
+
77
+ typedef struct {
78
+ LZ4F_frameInfo_t frameInfo;
79
+ unsigned compressionLevel; /* 0 == default (fast mode); values above 16 count as 16 */
80
+ unsigned autoFlush; /* 1 == always flush : reduce need for tmp buffer */
81
+ unsigned reserved[4];
82
+ } LZ4F_preferences_t;
83
+
84
+
85
+ /***********************************
86
+ * Simple compression function
87
+ * *********************************/
88
+ size_t LZ4F_compressFrameBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr);
89
+
90
+ size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_preferences_t* preferencesPtr);
91
+ /* LZ4F_compressFrame()
92
+ * Compress an entire srcBuffer into a valid LZ4 frame, as defined by specification v1.4.1.
93
+ * The most important rule is that dstBuffer MUST be large enough (dstMaxSize) to ensure compression completion even in worst case.
94
+ * You can get the minimum value of dstMaxSize by using LZ4F_compressFrameBound()
95
+ * If this condition is not respected, LZ4F_compressFrame() will fail (result is an errorCode)
96
+ * The LZ4F_preferences_t structure is optional : you can provide NULL as argument. All preferences will be set to default.
97
+ * The result of the function is the number of bytes written into dstBuffer.
98
+ * The function outputs an error code if it fails (can be tested using LZ4F_isError())
99
+ */
100
+
101
+
102
+
103
+ /**********************************
104
+ * Advanced compression functions
105
+ * ********************************/
106
+ typedef void* LZ4F_compressionContext_t;
107
+
108
+ typedef struct {
109
+ unsigned stableSrc; /* 1 == src content will remain available on future calls to LZ4F_compress(); avoid saving src content within tmp buffer as future dictionary */
110
+ unsigned reserved[3];
111
+ } LZ4F_compressOptions_t;
112
+
113
+ /* Resource Management */
114
+
115
+ #define LZ4F_VERSION 100
116
+ LZ4F_errorCode_t LZ4F_createCompressionContext(LZ4F_compressionContext_t* LZ4F_compressionContextPtr, unsigned version);
117
+ LZ4F_errorCode_t LZ4F_freeCompressionContext(LZ4F_compressionContext_t LZ4F_compressionContext);
118
+ /* LZ4F_createCompressionContext() :
119
+ * The first thing to do is to create a compressionContext object, which will be used in all compression operations.
120
+ * This is achieved using LZ4F_createCompressionContext(), which takes as argument a version and an LZ4F_preferences_t structure.
121
+ * The version provided MUST be LZ4F_VERSION. It is intended to track potential version differences between different binaries.
122
+ * The function will provide a pointer to a fully allocated LZ4F_compressionContext_t object.
123
+ * If the result LZ4F_errorCode_t is not zero, there was an error during context creation.
124
+ * Object can release its memory using LZ4F_freeCompressionContext();
125
+ */
126
+
127
+
128
+ /* Compression */
129
+
130
+ size_t LZ4F_compressBegin(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_preferences_t* preferencesPtr);
131
+ /* LZ4F_compressBegin() :
132
+ * will write the frame header into dstBuffer.
133
+ * dstBuffer must be large enough to accommodate a header (dstMaxSize). Maximum header size is 19 bytes.
134
+ * The LZ4F_preferences_t structure is optional : you can provide NULL as argument, all preferences will then be set to default.
135
+ * The result of the function is the number of bytes written into dstBuffer for the header
136
+ * or an error code (can be tested using LZ4F_isError())
137
+ */
138
+
139
+ size_t LZ4F_compressBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr);
140
+ /* LZ4F_compressBound() :
141
+ * Provides the minimum size of Dst buffer given srcSize to handle worst case situations.
142
+ * preferencesPtr is optional : you can provide NULL as argument, all preferences will then be set to default.
143
+ * Note that different preferences will produce in different results.
144
+ */
145
+
146
+ size_t LZ4F_compressUpdate(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_compressOptions_t* compressOptionsPtr);
147
+ /* LZ4F_compressUpdate()
148
+ * LZ4F_compressUpdate() can be called repetitively to compress as much data as necessary.
149
+ * The most important rule is that dstBuffer MUST be large enough (dstMaxSize) to ensure compression completion even in worst case.
150
+ * If this condition is not respected, LZ4F_compress() will fail (result is an errorCode)
151
+ * You can get the minimum value of dstMaxSize by using LZ4F_compressBound()
152
+ * The LZ4F_compressOptions_t structure is optional : you can provide NULL as argument.
153
+ * The result of the function is the number of bytes written into dstBuffer : it can be zero, meaning input data was just buffered.
154
+ * The function outputs an error code if it fails (can be tested using LZ4F_isError())
155
+ */
156
+
157
+ size_t LZ4F_flush(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_compressOptions_t* compressOptionsPtr);
158
+ /* LZ4F_flush()
159
+ * Should you need to create compressed data immediately, without waiting for a block to be filled,
160
+ * you can call LZ4_flush(), which will immediately compress any remaining data buffered within compressionContext.
161
+ * The LZ4F_compressOptions_t structure is optional : you can provide NULL as argument.
162
+ * The result of the function is the number of bytes written into dstBuffer
163
+ * (it can be zero, this means there was no data left within compressionContext)
164
+ * The function outputs an error code if it fails (can be tested using LZ4F_isError())
165
+ */
166
+
167
+ size_t LZ4F_compressEnd(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_compressOptions_t* compressOptionsPtr);
168
+ /* LZ4F_compressEnd()
169
+ * When you want to properly finish the compressed frame, just call LZ4F_compressEnd().
170
+ * It will flush whatever data remained within compressionContext (like LZ4_flush())
171
+ * but also properly finalize the frame, with an endMark and a checksum.
172
+ * The result of the function is the number of bytes written into dstBuffer (necessarily >= 4 (endMark size))
173
+ * The function outputs an error code if it fails (can be tested using LZ4F_isError())
174
+ * The LZ4F_compressOptions_t structure is optional : you can provide NULL as argument.
175
+ * compressionContext can then be used again, starting with LZ4F_compressBegin().
176
+ */
177
+
178
+
179
+ /***********************************
180
+ * Decompression functions
181
+ * *********************************/
182
+
183
+ typedef void* LZ4F_decompressionContext_t;
184
+
185
+ typedef struct {
186
+ unsigned stableDst; /* guarantee that decompressed data will still be there on next function calls (avoid storage into tmp buffers) */
187
+ unsigned reserved[3];
188
+ } LZ4F_decompressOptions_t;
189
+
190
+
191
+ /* Resource management */
192
+
193
+ LZ4F_errorCode_t LZ4F_createDecompressionContext(LZ4F_decompressionContext_t* ctxPtr, unsigned version);
194
+ LZ4F_errorCode_t LZ4F_freeDecompressionContext(LZ4F_decompressionContext_t ctx);
195
+ /* LZ4F_createDecompressionContext() :
196
+ * The first thing to do is to create a decompressionContext object, which will be used in all decompression operations.
197
+ * This is achieved using LZ4F_createDecompressionContext().
198
+ * The version provided MUST be LZ4F_VERSION. It is intended to track potential version differences between different binaries.
199
+ * The function will provide a pointer to a fully allocated and initialized LZ4F_decompressionContext_t object.
200
+ * If the result LZ4F_errorCode_t is not OK_NoError, there was an error during context creation.
201
+ * Object can release its memory using LZ4F_freeDecompressionContext();
202
+ */
203
+
204
+
205
+ /* Decompression */
206
+
207
+ size_t LZ4F_getFrameInfo(LZ4F_decompressionContext_t ctx,
208
+ LZ4F_frameInfo_t* frameInfoPtr,
209
+ const void* srcBuffer, size_t* srcSizePtr);
210
+ /* LZ4F_getFrameInfo()
211
+ * This function decodes frame header information, such as blockSize.
212
+ * It is optional : you could start by calling directly LZ4F_decompress() instead.
213
+ * The objective is to extract header information without starting decompression, typically for allocation purposes.
214
+ * LZ4F_getFrameInfo() can also be used *after* starting decompression, on a valid LZ4F_decompressionContext_t.
215
+ * The number of bytes read from srcBuffer will be provided within *srcSizePtr (necessarily <= original value).
216
+ * You are expected to resume decompression from where it stopped (srcBuffer + *srcSizePtr)
217
+ * The function result is an hint of how many srcSize bytes LZ4F_decompress() expects for next call,
218
+ * or an error code which can be tested using LZ4F_isError().
219
+ */
220
+
221
+ size_t LZ4F_decompress(LZ4F_decompressionContext_t ctx,
222
+ void* dstBuffer, size_t* dstSizePtr,
223
+ const void* srcBuffer, size_t* srcSizePtr,
224
+ const LZ4F_decompressOptions_t* optionsPtr);
225
+ /* LZ4F_decompress()
226
+ * Call this function repetitively to regenerate data compressed within srcBuffer.
227
+ * The function will attempt to decode *srcSizePtr bytes from srcBuffer, into dstBuffer of maximum size *dstSizePtr.
228
+ *
229
+ * The number of bytes regenerated into dstBuffer will be provided within *dstSizePtr (necessarily <= original value).
230
+ *
231
+ * The number of bytes read from srcBuffer will be provided within *srcSizePtr (necessarily <= original value).
232
+ * If number of bytes read is < number of bytes provided, then decompression operation is not completed.
233
+ * It typically happens when dstBuffer is not large enough to contain all decoded data.
234
+ * LZ4F_decompress() must be called again, starting from where it stopped (srcBuffer + *srcSizePtr)
235
+ * The function will check this condition, and refuse to continue if it is not respected.
236
+ *
237
+ * dstBuffer is supposed to be flushed between each call to the function, since its content will be overwritten.
238
+ * dst arguments can be changed at will with each consecutive call to the function.
239
+ *
240
+ * The function result is an hint of how many srcSize bytes LZ4F_decompress() expects for next call.
241
+ * Schematically, it's the size of the current (or remaining) compressed block + header of next block.
242
+ * Respecting the hint provides some boost to performance, since it does skip intermediate buffers.
243
+ * This is just a hint, you can always provide any srcSize you want.
244
+ * When a frame is fully decoded, the function result will be 0. (no more data expected)
245
+ * If decompression failed, function result is an error code, which can be tested using LZ4F_isError().
246
+ */
247
+
248
+
249
+
250
+ #if defined (__cplusplus)
251
+ }
252
+ #endif