rroonga 4.0.6-x86-mingw32 → 4.0.7-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (598) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/doc/text/news.textile +14 -2
  4. data/ext/groonga/extconf.rb +0 -3
  5. data/ext/groonga/rb-grn-expression.c +1 -6
  6. data/ext/groonga/rb-grn-index-column.c +96 -0
  7. data/ext/groonga/rb-grn-index-cursor.c +32 -8
  8. data/ext/groonga/rb-grn-posting.c +26 -6
  9. data/ext/groonga/rb-grn-utils.c +27 -0
  10. data/ext/groonga/rb-grn.h +4 -1
  11. data/lib/1.9/groonga.so +0 -0
  12. data/lib/2.0/groonga.so +0 -0
  13. data/lib/2.1/groonga.so +0 -0
  14. data/rroonga-build.rb +3 -3
  15. data/test/test-column.rb +50 -12
  16. data/test/test-expression-builder.rb +1 -1
  17. data/test/test-expression.rb +80 -25
  18. data/test/test-index-column.rb +41 -0
  19. data/test/test-index-cursor.rb +21 -1
  20. data/test/test-table-key-support.rb +59 -1
  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 +0 -0
  32. data/vendor/local/bin/lz4c +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/groonga.conf +1 -1
  39. data/vendor/local/etc/groonga/httpd/fastcgi.conf +25 -0
  40. data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +25 -0
  41. data/vendor/local/etc/groonga/httpd/fastcgi_params +24 -0
  42. data/vendor/local/etc/groonga/httpd/fastcgi_params.default +24 -0
  43. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  44. data/vendor/local/etc/groonga/httpd/html/50x.html +21 -0
  45. data/vendor/local/etc/groonga/httpd/html/index.html +25 -0
  46. data/vendor/local/etc/groonga/httpd/koi-utf +109 -0
  47. data/vendor/local/etc/groonga/httpd/koi-win +103 -0
  48. data/vendor/local/etc/groonga/httpd/mime.types +89 -0
  49. data/vendor/local/etc/groonga/httpd/mime.types.default +89 -0
  50. data/vendor/local/etc/groonga/httpd/nginx.conf.default +117 -0
  51. data/vendor/local/etc/groonga/httpd/scgi_params +16 -0
  52. data/vendor/local/etc/groonga/httpd/scgi_params.default +16 -0
  53. data/vendor/local/etc/groonga/httpd/uwsgi_params +16 -0
  54. data/vendor/local/etc/groonga/httpd/uwsgi_params.default +16 -0
  55. data/vendor/local/etc/groonga/httpd/win-utf +126 -0
  56. data/vendor/local/include/groonga/groonga/expr.h +108 -0
  57. data/vendor/local/include/groonga/groonga/groonga.h +2031 -0
  58. data/vendor/local/include/groonga/groonga/ii.h +46 -0
  59. data/vendor/local/include/groonga/groonga/nfkc.h +3 -3
  60. data/vendor/local/include/groonga/groonga/plugin.h +5 -3
  61. data/vendor/local/include/groonga/groonga/token.h +136 -0
  62. data/vendor/local/include/groonga/groonga/token_filter.h +4 -6
  63. data/vendor/local/include/groonga/groonga/tokenizer.h +60 -55
  64. data/vendor/local/include/groonga/groonga/util.h +40 -0
  65. data/vendor/local/include/groonga/groonga.h +5 -2095
  66. data/vendor/local/include/lz4.h +323 -0
  67. data/vendor/local/include/lz4hc.h +223 -0
  68. data/vendor/local/include/zconf.h +511 -0
  69. data/vendor/local/include/zlib.h +1768 -0
  70. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  71. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  72. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  73. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  74. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  75. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  76. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  77. data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
  78. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  79. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  80. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  81. data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
  82. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  83. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  84. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  85. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  86. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  87. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  88. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  89. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  90. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  91. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  92. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  93. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
  94. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  95. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  96. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  97. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  98. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +22 -0
  99. data/vendor/local/lib/libgroonga.a +0 -0
  100. data/vendor/local/lib/libgroonga.dll.a +0 -0
  101. data/vendor/local/lib/libgroonga.la +3 -3
  102. data/vendor/local/lib/liblz4.a +0 -0
  103. data/vendor/local/lib/liblz4.dll +0 -0
  104. data/vendor/local/lib/liblz4.dll.1 +0 -0
  105. data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
  106. data/vendor/local/lib/libmecab.a +0 -0
  107. data/vendor/local/lib/libmecab.dll.a +0 -0
  108. data/vendor/local/lib/libmecab.la +3 -3
  109. data/vendor/local/lib/libmsgpack.a +0 -0
  110. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  111. data/vendor/local/lib/libmsgpack.la +3 -3
  112. data/vendor/local/lib/libmsgpackc.a +0 -0
  113. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  114. data/vendor/local/lib/libmsgpackc.la +3 -3
  115. data/vendor/local/lib/libonig.a +0 -0
  116. data/vendor/local/lib/libonig.dll.a +0 -0
  117. data/vendor/local/lib/libonig.la +2 -2
  118. data/vendor/local/lib/libz.a +0 -0
  119. data/vendor/local/lib/libz.dll.a +0 -0
  120. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  121. data/vendor/local/lib/pkgconfig/liblz4.pc +14 -0
  122. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  123. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  124. data/vendor/local/lib/pkgconfig/zlib.pc +13 -0
  125. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  126. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  127. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  128. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  129. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  130. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  131. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  132. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  133. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +3 -24
  134. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +3 -3
  135. data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
  136. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  137. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  138. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  139. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  140. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +7 -19
  141. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  142. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -4
  143. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  144. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
  145. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +88 -3
  146. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_content_type.txt +39 -0
  147. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/range_filter.txt +28 -0
  148. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
  149. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +109 -0
  150. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +30 -0
  151. data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +111 -0
  152. data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +0 -4
  153. data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +54 -50
  154. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
  155. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
  156. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +1 -1
  157. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
  158. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +1 -1
  159. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +67 -5
  160. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -0
  161. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  162. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  163. data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
  164. data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
  165. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
  166. data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
  167. data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
  168. data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
  169. data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
  170. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  171. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  172. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
  173. data/vendor/local/share/doc/groonga/en/html/characteristic.html +19 -17
  174. data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
  175. data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
  176. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +19 -17
  177. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -17
  178. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +19 -17
  179. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +40 -58
  180. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +19 -17
  181. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +19 -17
  182. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +19 -17
  183. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -17
  184. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +19 -17
  185. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
  186. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -17
  187. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +19 -17
  188. data/vendor/local/share/doc/groonga/en/html/contribution.html +24 -23
  189. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
  190. data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
  191. data/vendor/local/share/doc/groonga/en/html/genindex.html +12 -12
  192. data/vendor/local/share/doc/groonga/en/html/index.html +81 -77
  193. data/vendor/local/share/doc/groonga/en/html/install/centos.html +33 -34
  194. data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -25
  195. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -27
  196. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +24 -22
  197. data/vendor/local/share/doc/groonga/en/html/install/others.html +93 -103
  198. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
  199. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -27
  200. data/vendor/local/share/doc/groonga/en/html/install/windows.html +32 -30
  201. data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
  202. data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
  203. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
  204. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
  205. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
  206. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
  207. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
  208. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +99 -97
  209. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +71 -69
  210. data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
  211. data/vendor/local/share/doc/groonga/en/html/news.html +210 -116
  212. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  213. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +33 -31
  214. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +45 -43
  215. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +65 -63
  216. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +29 -27
  217. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +174 -0
  218. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +63 -61
  219. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +33 -31
  220. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +30 -28
  221. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +66 -64
  222. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +28 -26
  223. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +31 -29
  224. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +29 -27
  225. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +28 -26
  226. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +28 -26
  227. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +27 -25
  228. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +76 -74
  229. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +31 -29
  230. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -24
  231. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +62 -60
  232. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +51 -49
  233. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +27 -25
  234. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +24 -22
  235. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +42 -40
  236. data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -37
  237. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
  238. data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
  239. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +24 -22
  240. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +61 -59
  241. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +19 -17
  242. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +55 -53
  243. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +96 -94
  244. data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -49
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +40 -38
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +45 -43
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +25 -23
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +41 -39
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +72 -70
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -24
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +43 -41
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +39 -37
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -24
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -33
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +24 -22
  256. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +42 -40
  257. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +25 -23
  258. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +26 -24
  259. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +24 -22
  260. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +61 -59
  261. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +31 -29
  262. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -25
  263. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +166 -0
  264. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +51 -49
  265. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +55 -53
  266. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +55 -53
  267. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +385 -383
  268. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +39 -37
  269. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +42 -40
  270. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +83 -81
  271. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +149 -147
  272. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +51 -49
  273. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +41 -39
  274. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +276 -0
  275. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -101
  276. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +47 -45
  277. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +48 -46
  278. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +22 -20
  279. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +28 -26
  280. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -73
  281. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +19 -17
  282. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
  283. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +44 -42
  284. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +36 -34
  285. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +57 -55
  286. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -17
  287. data/vendor/local/share/doc/groonga/en/html/reference/function.html +26 -23
  288. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +42 -40
  289. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
  290. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +81 -79
  291. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -30
  292. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -20
  293. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +53 -51
  294. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +41 -39
  295. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
  296. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +164 -0
  297. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -38
  298. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +76 -74
  299. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +42 -40
  300. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +66 -64
  301. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +59 -57
  302. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +210 -208
  303. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +262 -260
  304. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +26 -24
  305. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -19
  306. data/vendor/local/share/doc/groonga/en/html/reference/log.html +22 -20
  307. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +54 -52
  308. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +19 -17
  309. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +23 -21
  310. data/vendor/local/share/doc/groonga/en/html/reference/output.html +34 -32
  311. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +57 -55
  312. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -17
  313. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +19 -17
  314. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +19 -17
  315. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +19 -17
  316. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +19 -17
  317. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +19 -17
  318. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +54 -52
  319. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +323 -0
  320. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +19 -17
  321. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +29 -27
  322. data/vendor/local/share/doc/groonga/en/html/reference/types.html +40 -38
  323. data/vendor/local/share/doc/groonga/en/html/reference.html +78 -74
  324. data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
  325. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  326. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +19 -17
  327. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +33 -31
  328. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +19 -17
  329. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -17
  330. data/vendor/local/share/doc/groonga/en/html/server/http.html +19 -21
  331. data/vendor/local/share/doc/groonga/en/html/server/package.html +92 -85
  332. data/vendor/local/share/doc/groonga/en/html/server.html +21 -19
  333. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +127 -125
  334. data/vendor/local/share/doc/groonga/en/html/spec/search.html +19 -17
  335. data/vendor/local/share/doc/groonga/en/html/spec.html +19 -17
  336. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
  337. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  338. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
  339. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -17
  340. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +33 -31
  341. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +22 -20
  342. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +19 -17
  343. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -17
  344. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +23 -21
  345. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +52 -50
  346. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +19 -17
  347. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
  348. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +22 -20
  349. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +35 -33
  350. data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
  351. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  352. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +3 -24
  353. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +3 -3
  354. data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
  355. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  356. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  357. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  358. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  359. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +7 -19
  360. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  361. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -4
  362. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  363. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
  364. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +88 -3
  365. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_content_type.txt +39 -0
  366. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/range_filter.txt +28 -0
  367. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
  368. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +109 -0
  369. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +30 -0
  370. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +111 -0
  371. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +0 -4
  372. data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +54 -50
  373. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
  374. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
  375. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +1 -1
  376. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
  377. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +1 -1
  378. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +67 -5
  379. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -0
  380. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  381. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  382. data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
  383. data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
  384. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
  385. data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
  386. data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
  387. data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
  388. data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
  389. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  390. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  391. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
  392. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +19 -17
  393. data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
  394. data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
  395. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +19 -17
  396. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +19 -17
  397. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +19 -17
  398. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +40 -58
  399. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +19 -17
  400. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +19 -17
  401. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +19 -17
  402. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -17
  403. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -17
  404. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
  405. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -17
  406. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +19 -17
  407. data/vendor/local/share/doc/groonga/ja/html/contribution.html +24 -23
  408. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +22 -20
  409. data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
  410. data/vendor/local/share/doc/groonga/ja/html/genindex.html +12 -12
  411. data/vendor/local/share/doc/groonga/ja/html/index.html +82 -78
  412. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +36 -40
  413. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +27 -27
  414. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -29
  415. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +24 -22
  416. data/vendor/local/share/doc/groonga/ja/html/install/others.html +84 -90
  417. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
  418. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +29 -29
  419. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +31 -29
  420. data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
  421. data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -19
  422. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
  423. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
  424. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
  425. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
  426. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
  427. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +93 -91
  428. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +61 -59
  429. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
  430. data/vendor/local/share/doc/groonga/ja/html/news.html +233 -147
  431. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  432. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +33 -31
  433. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +39 -37
  434. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +59 -57
  435. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +29 -27
  436. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +176 -0
  437. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +61 -59
  438. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +32 -30
  439. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +30 -28
  440. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +53 -51
  441. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +28 -26
  442. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +31 -29
  443. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +29 -27
  444. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +28 -26
  445. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +28 -26
  446. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +27 -25
  447. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +76 -74
  448. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +31 -29
  449. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -24
  450. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +62 -60
  451. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +51 -49
  452. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +27 -25
  453. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +24 -22
  454. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +42 -40
  455. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -37
  456. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
  457. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
  458. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +24 -22
  459. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +51 -49
  460. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +19 -17
  461. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +45 -43
  462. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +95 -93
  463. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -49
  464. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +37 -35
  465. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +45 -43
  466. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +25 -23
  467. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +41 -39
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +64 -62
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -24
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +40 -38
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +39 -37
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -24
  473. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -32
  474. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +24 -22
  475. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +35 -33
  476. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +25 -23
  477. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +26 -24
  478. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +24 -22
  479. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +56 -54
  480. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +31 -29
  481. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -25
  482. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +167 -0
  483. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +47 -45
  484. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +55 -53
  485. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +55 -53
  486. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +256 -254
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +39 -37
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +40 -38
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +80 -78
  490. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +125 -123
  491. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +51 -49
  492. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +41 -39
  493. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +268 -0
  494. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -87
  495. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +47 -45
  496. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +48 -46
  497. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +22 -20
  498. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +28 -26
  499. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +63 -61
  500. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +19 -17
  501. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
  502. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +44 -42
  503. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +36 -34
  504. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +57 -55
  505. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -17
  506. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +26 -23
  507. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +42 -40
  508. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
  509. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +65 -63
  510. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -30
  511. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -20
  512. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +43 -41
  513. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +32 -30
  514. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +35 -33
  515. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +165 -0
  516. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -38
  517. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +69 -67
  518. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +42 -40
  519. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +52 -50
  520. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +51 -49
  521. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -113
  522. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +179 -177
  523. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -21
  524. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +20 -18
  525. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +22 -20
  526. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +43 -41
  527. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +19 -17
  528. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +23 -21
  529. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +30 -28
  530. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -34
  531. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +23 -21
  532. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +19 -17
  533. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +19 -17
  534. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +19 -17
  535. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +21 -19
  536. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +20 -18
  537. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +44 -42
  538. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +316 -0
  539. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +23 -21
  540. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +29 -27
  541. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
  542. data/vendor/local/share/doc/groonga/ja/html/reference.html +79 -75
  543. data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
  544. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  545. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +19 -17
  546. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +27 -25
  547. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +19 -17
  548. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -17
  549. data/vendor/local/share/doc/groonga/ja/html/server/http.html +19 -21
  550. data/vendor/local/share/doc/groonga/ja/html/server/package.html +91 -82
  551. data/vendor/local/share/doc/groonga/ja/html/server.html +21 -19
  552. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +126 -124
  553. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +19 -17
  554. data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -17
  555. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
  556. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  557. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
  558. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +19 -17
  559. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +32 -30
  560. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +19 -17
  561. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +19 -17
  562. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +19 -17
  563. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +25 -23
  564. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +49 -47
  565. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +19 -17
  566. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
  567. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +22 -20
  568. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +33 -31
  569. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
  570. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  571. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
  572. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  573. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
  574. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  575. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
  576. data/vendor/local/share/groonga/examples/dictionary/html/index.html +1 -1
  577. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.js +9404 -0
  578. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js +11802 -0
  579. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  580. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
  581. data/vendor/local/share/groonga/html/admin/index.html +2 -2
  582. data/vendor/local/share/groonga/html/admin/index.ja.html +2 -2
  583. data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.js +9404 -0
  584. data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.js +11802 -0
  585. data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.js +2599 -0
  586. data/vendor/local/share/license/lz4/LICENSE +24 -0
  587. data/vendor/local/share/license/zlib/README +115 -0
  588. data/vendor/local/share/man/ja/man1/groonga.1 +183 -215
  589. data/vendor/local/share/man/man1/groonga.1 +188 -227
  590. data/vendor/local/share/man/man1/lz4.1 +88 -0
  591. data/vendor/local/share/man/man1/lz4c.1 +33 -0
  592. data/vendor/local/share/man/man1/lz4cat.1 +32 -0
  593. metadata +117 -50
  594. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +0 -4
  595. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +0 -356
  596. data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +0 -4
  597. data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +0 -356
  598. data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.min.js +0 -6
@@ -0,0 +1,323 @@
1
+ /*
2
+ LZ4 - Fast LZ compression algorithm
3
+ Header File
4
+ Copyright (C) 2011-2014, 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 public forum : https://groups.google.com/forum/#!forum/lz4c
33
+ */
34
+ #pragma once
35
+
36
+ #if defined (__cplusplus)
37
+ extern "C" {
38
+ #endif
39
+
40
+ /*
41
+ * lz4.h provides raw compression format functions, for optimal performance and integration into programs.
42
+ * If you need to generate data using an inter-operable format (respecting the framing specification),
43
+ * please use lz4frame.h instead.
44
+ */
45
+
46
+ /**************************************
47
+ Version
48
+ **************************************/
49
+ #define LZ4_VERSION_MAJOR 1 /* for major interface/format changes */
50
+ #define LZ4_VERSION_MINOR 4 /* for minor interface/format changes */
51
+ #define LZ4_VERSION_RELEASE 0 /* for tweaks, bug-fixes, or development */
52
+ #define LZ4_VERSION_NUMBER (LZ4_VERSION_MAJOR *100*100 + LZ4_VERSION_MINOR *100 + LZ4_VERSION_RELEASE)
53
+ int LZ4_versionNumber (void);
54
+
55
+ /**************************************
56
+ Tuning parameter
57
+ **************************************/
58
+ /*
59
+ * LZ4_MEMORY_USAGE :
60
+ * Memory usage formula : N->2^N Bytes (examples : 10 -> 1KB; 12 -> 4KB ; 16 -> 64KB; 20 -> 1MB; etc.)
61
+ * Increasing memory usage improves compression ratio
62
+ * Reduced memory usage can improve speed, due to cache effect
63
+ * Default value is 14, for 16KB, which nicely fits into Intel x86 L1 cache
64
+ */
65
+ #define LZ4_MEMORY_USAGE 14
66
+
67
+
68
+ /**************************************
69
+ Simple Functions
70
+ **************************************/
71
+
72
+ int LZ4_compress (const char* source, char* dest, int sourceSize);
73
+ int LZ4_decompress_safe (const char* source, char* dest, int compressedSize, int maxDecompressedSize);
74
+
75
+ /*
76
+ LZ4_compress() :
77
+ Compresses 'sourceSize' bytes from 'source' into 'dest'.
78
+ Destination buffer must be already allocated,
79
+ and must be sized to handle worst cases situations (input data not compressible)
80
+ Worst case size evaluation is provided by function LZ4_compressBound()
81
+ inputSize : Max supported value is LZ4_MAX_INPUT_SIZE
82
+ return : the number of bytes written in buffer dest
83
+ or 0 if the compression fails
84
+
85
+ LZ4_decompress_safe() :
86
+ compressedSize : is obviously the source size
87
+ maxDecompressedSize : is the size of the destination buffer, which must be already allocated.
88
+ return : the number of bytes decompressed into the destination buffer (necessarily <= maxDecompressedSize)
89
+ If the destination buffer is not large enough, decoding will stop and output an error code (<0).
90
+ If the source stream is detected malformed, the function will stop decoding and return a negative result.
91
+ This function is protected against buffer overflow exploits,
92
+ and never writes outside of output buffer, nor reads outside of input buffer.
93
+ It is also protected against malicious data packets.
94
+ */
95
+
96
+
97
+ /**************************************
98
+ Advanced Functions
99
+ **************************************/
100
+ #define LZ4_MAX_INPUT_SIZE 0x7E000000 /* 2 113 929 216 bytes */
101
+ #define LZ4_COMPRESSBOUND(isize) ((unsigned int)(isize) > (unsigned int)LZ4_MAX_INPUT_SIZE ? 0 : (isize) + ((isize)/255) + 16)
102
+
103
+ /*
104
+ LZ4_compressBound() :
105
+ Provides the maximum size that LZ4 compression may output in a "worst case" scenario (input data not compressible)
106
+ This function is primarily useful for memory allocation purposes (output buffer size).
107
+ Macro LZ4_COMPRESSBOUND() is also provided for compilation-time evaluation (stack memory allocation for example).
108
+
109
+ isize : is the input size. Max supported value is LZ4_MAX_INPUT_SIZE
110
+ return : maximum output size in a "worst case" scenario
111
+ or 0, if input size is too large ( > LZ4_MAX_INPUT_SIZE)
112
+ */
113
+ int LZ4_compressBound(int isize);
114
+
115
+
116
+ /*
117
+ LZ4_compress_limitedOutput() :
118
+ Compress 'sourceSize' bytes from 'source' into an output buffer 'dest' of maximum size 'maxOutputSize'.
119
+ If it cannot achieve it, compression will stop, and result of the function will be zero.
120
+ This saves time and memory on detecting non-compressible (or barely compressible) data.
121
+ This function never writes outside of provided output buffer.
122
+
123
+ sourceSize : Max supported value is LZ4_MAX_INPUT_VALUE
124
+ maxOutputSize : is the size of the destination buffer (which must be already allocated)
125
+ return : the number of bytes written in buffer 'dest'
126
+ or 0 if compression fails
127
+ */
128
+ int LZ4_compress_limitedOutput (const char* source, char* dest, int sourceSize, int maxOutputSize);
129
+
130
+
131
+ /*
132
+ LZ4_compress_withState() :
133
+ Same compression functions, but using an externally allocated memory space to store compression state.
134
+ Use LZ4_sizeofState() to know how much memory must be allocated,
135
+ and then, provide it as 'void* state' to compression functions.
136
+ */
137
+ int LZ4_sizeofState(void);
138
+ int LZ4_compress_withState (void* state, const char* source, char* dest, int inputSize);
139
+ int LZ4_compress_limitedOutput_withState (void* state, const char* source, char* dest, int inputSize, int maxOutputSize);
140
+
141
+
142
+ /*
143
+ LZ4_decompress_fast() :
144
+ originalSize : is the original and therefore uncompressed size
145
+ return : the number of bytes read from the source buffer (in other words, the compressed size)
146
+ If the source stream is detected malformed, the function will stop decoding and return a negative result.
147
+ Destination buffer must be already allocated. Its size must be a minimum of 'originalSize' bytes.
148
+ note : This function fully respect memory boundaries for properly formed compressed data.
149
+ It is a bit faster than LZ4_decompress_safe().
150
+ However, it does not provide any protection against intentionally modified data stream (malicious input).
151
+ Use this function in trusted environment only (data to decode comes from a trusted source).
152
+ */
153
+ int LZ4_decompress_fast (const char* source, char* dest, int originalSize);
154
+
155
+
156
+ /*
157
+ LZ4_decompress_safe_partial() :
158
+ This function decompress a compressed block of size 'compressedSize' at position 'source'
159
+ into destination buffer 'dest' of size 'maxDecompressedSize'.
160
+ The function tries to stop decompressing operation as soon as 'targetOutputSize' has been reached,
161
+ reducing decompression time.
162
+ return : the number of bytes decoded in the destination buffer (necessarily <= maxDecompressedSize)
163
+ Note : this number can be < 'targetOutputSize' should the compressed block to decode be smaller.
164
+ Always control how many bytes were decoded.
165
+ If the source stream is detected malformed, the function will stop decoding and return a negative result.
166
+ This function never writes outside of output buffer, and never reads outside of input buffer. It is therefore protected against malicious data packets
167
+ */
168
+ int LZ4_decompress_safe_partial (const char* source, char* dest, int compressedSize, int targetOutputSize, int maxDecompressedSize);
169
+
170
+
171
+ /***********************************************
172
+ Experimental Streaming Compression Functions
173
+ ***********************************************/
174
+
175
+ #define LZ4_STREAMSIZE_U32 ((1 << (LZ4_MEMORY_USAGE-2)) + 8)
176
+ #define LZ4_STREAMSIZE (LZ4_STREAMSIZE_U32 * sizeof(unsigned int))
177
+ /*
178
+ * LZ4_stream_t
179
+ * information structure to track an LZ4 stream.
180
+ * important : init this structure content before first use !
181
+ */
182
+ typedef struct { unsigned int table[LZ4_STREAMSIZE_U32]; } LZ4_stream_t;
183
+
184
+ /*
185
+ * LZ4_resetStream
186
+ * Use this function to init an allocated LZ4_stream_t structure
187
+ */
188
+ void LZ4_resetStream (LZ4_stream_t* LZ4_streamPtr);
189
+
190
+ /*
191
+ * If you prefer dynamic allocation methods,
192
+ * LZ4_createStream will allocate and initialize an LZ4_stream_t structure
193
+ * LZ4_freeStream releases its memory.
194
+ */
195
+ LZ4_stream_t* LZ4_createStream(void);
196
+ int LZ4_freeStream (LZ4_stream_t* LZ4_streamPtr);
197
+
198
+ /*
199
+ * LZ4_loadDict
200
+ * Use this function to load a static dictionary into LZ4_stream.
201
+ * Any previous data will be forgotten, only 'dictionary' will remain in memory.
202
+ * Loading a size of 0 is allowed.
203
+ * Return : dictionary size, in bytes (necessarily <= 64 KB)
204
+ */
205
+ int LZ4_loadDict (LZ4_stream_t* LZ4_streamPtr, const char* dictionary, int dictSize);
206
+
207
+ /*
208
+ * LZ4_compress_continue
209
+ * Compress data block 'source', using blocks compressed before as dictionary to improve compression ratio
210
+ * Previous data blocks are assumed to still be present at their previous location.
211
+ */
212
+ int LZ4_compress_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize);
213
+
214
+ /*
215
+ * LZ4_compress_limitedOutput_continue
216
+ * Same as before, but also specify a maximum target compressed size (maxOutputSize)
217
+ * If objective cannot be met, compression exits, and returns a zero.
218
+ */
219
+ int LZ4_compress_limitedOutput_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize, int maxOutputSize);
220
+
221
+ /*
222
+ * LZ4_saveDict
223
+ * If previously compressed data block is not guaranteed to remain available at its memory location
224
+ * save it into a safer place (char* safeBuffer)
225
+ * Note : you don't need to call LZ4_loadDict() afterwards,
226
+ * dictionary is immediately usable, you can therefore call again LZ4_compress_continue()
227
+ * Return : dictionary size in bytes, or 0 if error
228
+ * Note : any dictSize > 64 KB will be interpreted as 64KB.
229
+ */
230
+ int LZ4_saveDict (LZ4_stream_t* LZ4_streamPtr, char* safeBuffer, int dictSize);
231
+
232
+
233
+ /************************************************
234
+ Experimental Streaming Decompression Functions
235
+ ************************************************/
236
+
237
+ #define LZ4_STREAMDECODESIZE_U32 8
238
+ #define LZ4_STREAMDECODESIZE (LZ4_STREAMDECODESIZE_U32 * sizeof(unsigned int))
239
+ /*
240
+ * LZ4_streamDecode_t
241
+ * 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,
248
+ * LZ4_createStreamDecode will allocate and initialize an LZ4_streamDecode_t structure
249
+ * LZ4_freeStreamDecode releases its memory.
250
+ */
251
+ LZ4_streamDecode_t* LZ4_createStreamDecode(void);
252
+ int LZ4_freeStreamDecode (LZ4_streamDecode_t* LZ4_stream);
253
+
254
+ /*
255
+ * LZ4_setStreamDecode
256
+ * 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).
260
+ * Return : 1 if OK, 0 if error
261
+ */
262
+ int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode, const char* dictionary, int dictSize);
263
+
264
+ /*
265
+ *_continue() :
266
+ These decoding functions allow decompression of multiple blocks in "streaming" mode.
267
+ Previously decoded blocks *must* remain available at the memory position where they were decoded (up to 64 KB)
268
+ If this condition is not possible, save the relevant part of decoded data into a safe buffer,
269
+ and indicate where is its new address using LZ4_setStreamDecode()
270
+ */
271
+ int LZ4_decompress_safe_continue (LZ4_streamDecode_t* LZ4_streamDecode, const char* source, char* dest, int compressedSize, int maxDecompressedSize);
272
+ int LZ4_decompress_fast_continue (LZ4_streamDecode_t* LZ4_streamDecode, const char* source, char* dest, int originalSize);
273
+
274
+
275
+ /*
276
+ Advanced decoding functions :
277
+ *_usingDict() :
278
+ These decoding functions work the same as
279
+ a combination of LZ4_setDictDecode() followed by LZ4_decompress_x_continue()
280
+ They don't use nor update an LZ4_streamDecode_t structure.
281
+ */
282
+ int LZ4_decompress_safe_usingDict (const char* source, char* dest, int compressedSize, int maxDecompressedSize, const char* dictStart, int dictSize);
283
+ int LZ4_decompress_fast_usingDict (const char* source, char* dest, int originalSize, const char* dictStart, int dictSize);
284
+
285
+
286
+
287
+ /**************************************
288
+ Obsolete Functions
289
+ **************************************/
290
+ /*
291
+ Obsolete decompression functions
292
+ These function names are deprecated and should no longer be used.
293
+ They are only provided here for compatibility with older user programs.
294
+ - LZ4_uncompress is the same as LZ4_decompress_fast
295
+ - LZ4_uncompress_unknownOutputSize is the same as LZ4_decompress_safe
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 */
298
+ /* int LZ4_uncompress (const char* source, char* dest, int outputSize); */
299
+ /* int LZ4_uncompress_unknownOutputSize (const char* source, char* dest, int isize, int maxOutputSize); */
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
+
310
+ /* Obsolete streaming functions; use new streaming interface whenever possible */
311
+ void* LZ4_create (const char* inputBuffer);
312
+ int LZ4_sizeofStreamState(void);
313
+ int LZ4_resetStreamState(void* state, const char* inputBuffer);
314
+ char* LZ4_slideInputBuffer (void* state);
315
+
316
+ /* Obsolete streaming decoding functions */
317
+ int LZ4_decompress_safe_withPrefix64k (const char* source, char* dest, int compressedSize, int maxOutputSize);
318
+ int LZ4_decompress_fast_withPrefix64k (const char* source, char* dest, int originalSize);
319
+
320
+
321
+ #if defined (__cplusplus)
322
+ }
323
+ #endif
@@ -0,0 +1,223 @@
1
+ /*
2
+ LZ4 HC - High Compression Mode of LZ4
3
+ Header File
4
+ Copyright (C) 2011-2014, 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 homepage : http://fastcompression.blogspot.com/p/lz4.html
32
+ - LZ4 source repository : http://code.google.com/p/lz4/
33
+ */
34
+ #pragma once
35
+
36
+
37
+ #if defined (__cplusplus)
38
+ extern "C" {
39
+ #endif
40
+
41
+
42
+ int LZ4_compressHC (const char* source, char* dest, int inputSize);
43
+ /*
44
+ LZ4_compressHC :
45
+ return : the number of bytes in compressed buffer dest
46
+ or 0 if compression fails.
47
+ note : destination buffer must be already allocated.
48
+ To avoid any problem, size it to handle worst cases situations (input data not compressible)
49
+ Worst case size evaluation is provided by function LZ4_compressBound() (see "lz4.h")
50
+ */
51
+
52
+ int LZ4_compressHC_limitedOutput (const char* source, char* dest, int inputSize, int maxOutputSize);
53
+ /*
54
+ LZ4_compress_limitedOutput() :
55
+ Compress 'inputSize' bytes from 'source' into an output buffer 'dest' of maximum size 'maxOutputSize'.
56
+ If it cannot achieve it, compression will stop, and result of the function will be zero.
57
+ This function never writes outside of provided output buffer.
58
+
59
+ inputSize : Max supported value is 1 GB
60
+ maxOutputSize : is maximum allowed size into the destination buffer (which must be already allocated)
61
+ return : the number of output bytes written in buffer 'dest'
62
+ or 0 if compression fails.
63
+ */
64
+
65
+
66
+ int LZ4_compressHC2 (const char* source, char* dest, int inputSize, int compressionLevel);
67
+ int LZ4_compressHC2_limitedOutput (const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel);
68
+ /*
69
+ Same functions as above, but with programmable 'compressionLevel'.
70
+ Recommended values are between 4 and 9, although any value between 0 and 16 will work.
71
+ 'compressionLevel'==0 means use default 'compressionLevel' value.
72
+ Values above 16 behave the same as 16.
73
+ Equivalent variants exist for all other compression functions below.
74
+ */
75
+
76
+ /* Note :
77
+ Decompression functions are provided within LZ4 source code (see "lz4.h") (BSD license)
78
+ */
79
+
80
+
81
+ /**************************************
82
+ Using an external allocation
83
+ **************************************/
84
+ int LZ4_sizeofStateHC(void);
85
+ int LZ4_compressHC_withStateHC (void* state, const char* source, char* dest, int inputSize);
86
+ int LZ4_compressHC_limitedOutput_withStateHC (void* state, const char* source, char* dest, int inputSize, int maxOutputSize);
87
+
88
+ int LZ4_compressHC2_withStateHC (void* state, const char* source, char* dest, int inputSize, int compressionLevel);
89
+ int LZ4_compressHC2_limitedOutput_withStateHC(void* state, const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel);
90
+
91
+ /*
92
+ These functions are provided should you prefer to allocate memory for compression tables with your own allocation methods.
93
+ To know how much memory must be allocated for the compression tables, use :
94
+ int LZ4_sizeofStateHC();
95
+
96
+ Note that tables must be aligned for pointer (32 or 64 bits), otherwise compression will fail (return code 0).
97
+
98
+ The allocated memory can be provided to the compression functions using 'void* state' parameter.
99
+ LZ4_compress_withStateHC() and LZ4_compress_limitedOutput_withStateHC() are equivalent to previously described functions.
100
+ They just use the externally allocated memory for state instead of allocating their own (on stack, or on heap).
101
+ */
102
+
103
+
104
+
105
+ /**************************************
106
+ Experimental Streaming Functions
107
+ **************************************/
108
+ #define LZ4_STREAMHCSIZE_U32 65548
109
+ #define LZ4_STREAMHCSIZE (LZ4_STREAMHCSIZE_U32 * sizeof(unsigned int))
110
+ typedef struct { unsigned int table[LZ4_STREAMHCSIZE_U32]; } LZ4_streamHC_t;
111
+
112
+ /*
113
+ This structure allows static allocation of LZ4 HC streaming state.
114
+ State must then be initialized using LZ4_resetStreamHC() before first use.
115
+
116
+ If you prefer dynamic allocation, please refer to functions below.
117
+ */
118
+
119
+ LZ4_streamHC_t* LZ4_createStreamHC(void);
120
+ int LZ4_freeStreamHC (LZ4_streamHC_t* LZ4_streamHCPtr);
121
+
122
+ /*
123
+ These functions create and release memory for LZ4 HC streaming state.
124
+ Newly created states are already initialized.
125
+ Existing state space can be re-used anytime using LZ4_resetStreamHC().
126
+ */
127
+
128
+ void LZ4_resetStreamHC (LZ4_streamHC_t* LZ4_streamHCPtr, int compressionLevel);
129
+ int LZ4_loadDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, const char* dictionary, int dictSize);
130
+
131
+ int LZ4_compressHC_continue (LZ4_streamHC_t* LZ4_streamHCPtr, const char* source, char* dest, int inputSize);
132
+ int LZ4_compressHC_limitedOutput_continue (LZ4_streamHC_t* LZ4_streamHCPtr, const char* source, char* dest, int inputSize, int maxOutputSize);
133
+
134
+ int LZ4_saveDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, char* safeBuffer, int maxDictSize);
135
+
136
+ /*
137
+ These functions compress data in successive blocks of any size, using previous blocks as dictionary.
138
+ One key assumption is that each previous block will remain read-accessible while compressing next block.
139
+
140
+ Before starting compression, state must be properly initialized, using LZ4_resetStreamHC().
141
+ A first "fictional block" can then be designated as initial dictionary, using LZ4_loadDictHC() (Optional).
142
+
143
+ Then, use LZ4_compressHC_continue() or LZ4_compressHC_limitedOutput_continue() to compress each successive block.
144
+ They work like usual LZ4_compressHC() or LZ4_compressHC_limitedOutput(), but use previous memory blocks to improve compression.
145
+ Previous memory blocks (including initial dictionary when present) must remain accessible and unmodified during compression.
146
+
147
+ If, for any reason, previous data block can't be preserved in memory during next compression block,
148
+ you must save it to a safer memory space,
149
+ using LZ4_saveDictHC().
150
+ */
151
+
152
+
153
+
154
+ /**************************************
155
+ Deprecated Streaming Functions
156
+ **************************************/
157
+ /* Note : these streaming functions still follows the older model */
158
+ void* LZ4_createHC (const char* inputBuffer);
159
+ //int LZ4_compressHC_continue (void* LZ4HC_Data, const char* source, char* dest, int inputSize);
160
+ //int LZ4_compressHC_limitedOutput_continue (void* LZ4HC_Data, const char* source, char* dest, int inputSize, int maxOutputSize);
161
+ char* LZ4_slideInputBufferHC (void* LZ4HC_Data);
162
+ int LZ4_freeHC (void* LZ4HC_Data);
163
+
164
+ int LZ4_compressHC2_continue (void* LZ4HC_Data, const char* source, char* dest, int inputSize, int compressionLevel);
165
+ int LZ4_compressHC2_limitedOutput_continue (void* LZ4HC_Data, const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel);
166
+
167
+ /*
168
+ These functions allow the compression of dependent blocks, where each block benefits from prior 64 KB within preceding blocks.
169
+ In order to achieve this, it is necessary to start creating the LZ4HC Data Structure, thanks to the function :
170
+
171
+ void* LZ4_createHC (const char* inputBuffer);
172
+ The result of the function is the (void*) pointer on the LZ4HC Data Structure.
173
+ This pointer will be needed in all other functions.
174
+ If the pointer returned is NULL, then the allocation has failed, and compression must be aborted.
175
+ The only parameter 'const char* inputBuffer' must, obviously, point at the beginning of input buffer.
176
+ The input buffer must be already allocated, and size at least 192KB.
177
+ 'inputBuffer' will also be the 'const char* source' of the first block.
178
+
179
+ All blocks are expected to lay next to each other within the input buffer, starting from 'inputBuffer'.
180
+ To compress each block, use either LZ4_compressHC_continue() or LZ4_compressHC_limitedOutput_continue().
181
+ Their behavior are identical to LZ4_compressHC() or LZ4_compressHC_limitedOutput(),
182
+ but require the LZ4HC Data Structure as their first argument, and check that each block starts right after the previous one.
183
+ If next block does not begin immediately after the previous one, the compression will fail (return 0).
184
+
185
+ When it's no longer possible to lay the next block after the previous one (not enough space left into input buffer), a call to :
186
+ char* LZ4_slideInputBufferHC(void* LZ4HC_Data);
187
+ must be performed. It will typically copy the latest 64KB of input at the beginning of input buffer.
188
+ Note that, for this function to work properly, minimum size of an input buffer must be 192KB.
189
+ ==> The memory position where the next input data block must start is provided as the result of the function.
190
+
191
+ Compression can then resume, using LZ4_compressHC_continue() or LZ4_compressHC_limitedOutput_continue(), as usual.
192
+
193
+ When compression is completed, a call to LZ4_freeHC() will release the memory used by the LZ4HC Data Structure.
194
+ */
195
+
196
+ int LZ4_sizeofStreamStateHC(void);
197
+ int LZ4_resetStreamStateHC(void* state, const char* inputBuffer);
198
+
199
+ /*
200
+ These functions achieve the same result as :
201
+ void* LZ4_createHC (const char* inputBuffer);
202
+
203
+ They are provided here to allow the user program to allocate memory using its own routines.
204
+
205
+ To know how much space must be allocated, use LZ4_sizeofStreamStateHC();
206
+ Note also that space must be aligned for pointers (32 or 64 bits).
207
+
208
+ Once space is allocated, you must initialize it using : LZ4_resetStreamStateHC(void* state, const char* inputBuffer);
209
+ void* state is a pointer to the space allocated.
210
+ It must be aligned for pointers (32 or 64 bits), and be large enough.
211
+ The parameter 'const char* inputBuffer' must, obviously, point at the beginning of input buffer.
212
+ The input buffer must be already allocated, and size at least 192KB.
213
+ 'inputBuffer' will also be the 'const char* source' of the first block.
214
+
215
+ The same space can be re-used multiple times, just by initializing it each time with LZ4_resetStreamState().
216
+ return value of LZ4_resetStreamStateHC() must be 0 is OK.
217
+ Any other value means there was an error (typically, state is not aligned for pointers (32 or 64 bits)).
218
+ */
219
+
220
+
221
+ #if defined (__cplusplus)
222
+ }
223
+ #endif