rroonga 4.0.6-x64-mingw32 → 4.0.7-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/doc/text/news.textile +14 -2
- data/ext/groonga/extconf.rb +0 -3
- data/ext/groonga/rb-grn-expression.c +1 -6
- data/ext/groonga/rb-grn-index-column.c +96 -0
- data/ext/groonga/rb-grn-index-cursor.c +32 -8
- data/ext/groonga/rb-grn-posting.c +26 -6
- data/ext/groonga/rb-grn-utils.c +27 -0
- data/ext/groonga/rb-grn.h +4 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/rroonga-build.rb +3 -3
- data/test/test-column.rb +50 -12
- data/test/test-expression-builder.rb +1 -1
- data/test/test-expression.rb +80 -25
- data/test/test-index-column.rb +41 -0
- data/test/test-index-cursor.rb +21 -1
- data/test/test-table-key-support.rb +59 -1
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/lz4 +0 -0
- data/vendor/local/bin/lz4c +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/groonga.conf +1 -1
- data/vendor/local/etc/groonga/httpd/fastcgi.conf +25 -0
- data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +25 -0
- data/vendor/local/etc/groonga/httpd/fastcgi_params +24 -0
- data/vendor/local/etc/groonga/httpd/fastcgi_params.default +24 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/etc/groonga/httpd/html/50x.html +21 -0
- data/vendor/local/etc/groonga/httpd/html/index.html +25 -0
- data/vendor/local/etc/groonga/httpd/koi-utf +109 -0
- data/vendor/local/etc/groonga/httpd/koi-win +103 -0
- data/vendor/local/etc/groonga/httpd/mime.types +89 -0
- data/vendor/local/etc/groonga/httpd/mime.types.default +89 -0
- data/vendor/local/etc/groonga/httpd/nginx.conf.default +117 -0
- data/vendor/local/etc/groonga/httpd/scgi_params +16 -0
- data/vendor/local/etc/groonga/httpd/scgi_params.default +16 -0
- data/vendor/local/etc/groonga/httpd/uwsgi_params +16 -0
- data/vendor/local/etc/groonga/httpd/uwsgi_params.default +16 -0
- data/vendor/local/etc/groonga/httpd/win-utf +126 -0
- data/vendor/local/include/groonga/groonga.h +5 -2095
- data/vendor/local/include/groonga/groonga/expr.h +108 -0
- data/vendor/local/include/groonga/groonga/groonga.h +2031 -0
- data/vendor/local/include/groonga/groonga/ii.h +46 -0
- data/vendor/local/include/groonga/groonga/nfkc.h +3 -3
- data/vendor/local/include/groonga/groonga/plugin.h +5 -3
- data/vendor/local/include/groonga/groonga/token.h +136 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +4 -6
- data/vendor/local/include/groonga/groonga/tokenizer.h +60 -55
- data/vendor/local/include/groonga/groonga/util.h +40 -0
- data/vendor/local/include/lz4.h +323 -0
- data/vendor/local/include/lz4hc.h +223 -0
- data/vendor/local/include/zconf.h +511 -0
- data/vendor/local/include/zlib.h +1768 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +22 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +3 -3
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +3 -3
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +3 -3
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +14 -0
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +13 -0
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +3 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +7 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +88 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_content_type.txt +39 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/range_filter.txt +28 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +109 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +30 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +111 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +0 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +54 -50
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +67 -5
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
- data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution.html +24 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +40 -58
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/genindex.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/index.html +81 -77
- data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +33 -34
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -27
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/install/others.html +93 -103
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -27
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news.html +210 -116
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +99 -97
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +71 -69
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +78 -74
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +65 -63
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +174 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +63 -61
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +76 -74
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +61 -59
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -49
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +96 -94
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +72 -70
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +61 -59
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +166 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +385 -383
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +149 -147
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +276 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -101
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +47 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -73
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +57 -55
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +26 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +81 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +53 -51
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +164 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +76 -74
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +59 -57
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +210 -208
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +262 -260
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +57 -55
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +323 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/server/http.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/server/package.html +92 -85
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +127 -125
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +3 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +7 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +88 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_content_type.txt +39 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/range_filter.txt +28 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +109 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +30 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +111 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +0 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +54 -50
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +67 -5
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
- data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +24 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +40 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/index.html +82 -78
- data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +36 -40
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +84 -90
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/news.html +233 -147
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +93 -91
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +61 -59
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +79 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +176 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +61 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +53 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +76 -74
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +95 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +64 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +56 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +167 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +47 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +55 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +55 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +256 -254
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +80 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +125 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +268 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -87
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +47 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +63 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +57 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +26 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +65 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +165 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +69 -67
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -113
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +179 -177
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +316 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +91 -82
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +126 -124
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +49 -47
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +33 -31
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/html/index.html +1 -1
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.js +9404 -0
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js +11802 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/groonga/html/admin/index.html +2 -2
- data/vendor/local/share/groonga/html/admin/index.ja.html +2 -2
- data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.js +9404 -0
- data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.js +11802 -0
- data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.js +2599 -0
- data/vendor/local/share/license/lz4/LICENSE +24 -0
- data/vendor/local/share/license/zlib/README +115 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +183 -215
- data/vendor/local/share/man/man1/groonga.1 +188 -227
- data/vendor/local/share/man/man1/lz4.1 +88 -0
- data/vendor/local/share/man/man1/lz4c.1 +33 -0
- data/vendor/local/share/man/man1/lz4cat.1 +32 -0
- metadata +118 -51
- data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +0 -4
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +0 -356
- data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +0 -4
- data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +0 -356
- 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
|