rroonga 5.0.1-x86-mingw32 → 5.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +1 -1
- data/ext/groonga/rb-grn-logger.c +159 -3
- data/ext/groonga/rb-grn-plugin.c +17 -1
- data/ext/groonga/rb-grn-query-logger.c +129 -3
- data/ext/groonga/rb-grn.h +1 -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/lib/2.2/groonga.so +0 -0
- data/lib/groonga/query-logger.rb +48 -3
- data/lib/groonga/schema.rb +16 -3
- data/rroonga-build.rb +3 -3
- data/test/test-logger.rb +97 -2
- data/test/test-plugin.rb +5 -1
- data/test/test-query-logger.rb +149 -0
- data/test/test-schema.rb +19 -0
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +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-4.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/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +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/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/include/groonga/groonga/groonga.h +12 -6
- data/vendor/local/include/groonga/groonga/portability.h +158 -0
- data/vendor/local/include/msgpack.h +1 -0
- data/vendor/local/include/msgpack.hpp +2 -1
- data/vendor/local/include/msgpack/adaptor/bool.hpp +58 -0
- data/vendor/local/include/msgpack/{type/bool.hpp → adaptor/bool_fwd.hpp} +11 -27
- data/vendor/local/include/msgpack/adaptor/char_ptr.hpp +78 -0
- data/vendor/local/include/msgpack/adaptor/char_ptr_fwd.hpp +43 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size.hpp +61 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array.hpp +76 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char.hpp +84 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char_fwd.hpp +45 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array_fwd.hpp +44 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list.hpp +75 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list_fwd.hpp +44 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple.hpp +152 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple_fwd.hpp +62 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map.hpp +142 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map_fwd.hpp +53 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set.hpp +134 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set_fwd.hpp +52 -0
- data/vendor/local/include/msgpack/adaptor/define.hpp +29 -0
- data/vendor/local/include/msgpack/adaptor/deque.hpp +83 -0
- data/vendor/local/include/msgpack/adaptor/deque_fwd.hpp +40 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_define.hpp +3475 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple.hpp +13918 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple_fwd.hpp +4341 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_define.hpp +184 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp +212 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple_fwd.hpp +84 -0
- data/vendor/local/include/msgpack/adaptor/fixint.hpp +212 -0
- data/vendor/local/include/msgpack/adaptor/fixint_fwd.hpp +100 -0
- data/vendor/local/include/msgpack/adaptor/float.hpp +105 -0
- data/vendor/local/include/msgpack/adaptor/float_fwd.hpp +44 -0
- data/vendor/local/include/msgpack/adaptor/int.hpp +308 -0
- data/vendor/local/include/msgpack/adaptor/int_fwd.hpp +100 -0
- data/vendor/local/include/msgpack/adaptor/list.hpp +83 -0
- data/vendor/local/include/msgpack/adaptor/list_fwd.hpp +40 -0
- data/vendor/local/include/msgpack/adaptor/map.hpp +219 -0
- data/vendor/local/include/msgpack/adaptor/map_fwd.hpp +69 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple.hpp +29 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_fwd.hpp +29 -0
- data/vendor/local/include/msgpack/adaptor/nil.hpp +68 -0
- data/vendor/local/include/msgpack/adaptor/nil_fwd.hpp +51 -0
- data/vendor/local/include/msgpack/adaptor/pair.hpp +63 -0
- data/vendor/local/include/msgpack/{type/pair.hpp → adaptor/pair_fwd.hpp} +10 -29
- data/vendor/local/include/msgpack/adaptor/raw.hpp +98 -0
- data/vendor/local/include/msgpack/{type/nil.hpp → adaptor/raw_fwd.hpp} +15 -30
- data/vendor/local/include/msgpack/adaptor/set.hpp +134 -0
- data/vendor/local/include/msgpack/adaptor/set_fwd.hpp +52 -0
- data/vendor/local/include/msgpack/adaptor/string.hpp +78 -0
- data/vendor/local/include/msgpack/adaptor/string_fwd.hpp +42 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +164 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map_fwd.hpp +75 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +157 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set_fwd.hpp +75 -0
- data/vendor/local/include/msgpack/adaptor/vector.hpp +87 -0
- data/vendor/local/include/msgpack/adaptor/vector_bool.hpp +80 -0
- data/vendor/local/include/msgpack/adaptor/vector_bool_fwd.hpp +40 -0
- data/vendor/local/include/msgpack/adaptor/vector_char.hpp +81 -0
- data/vendor/local/include/msgpack/adaptor/vector_char_fwd.hpp +42 -0
- data/vendor/local/include/msgpack/adaptor/vector_fwd.hpp +42 -0
- data/vendor/local/include/msgpack/cpp_config.hpp +109 -0
- data/vendor/local/include/msgpack/detail/cpp03_zone.hpp +662 -0
- data/vendor/local/include/msgpack/detail/cpp11_zone.hpp +368 -0
- data/vendor/local/include/msgpack/fbuffer.h +3 -4
- data/vendor/local/include/msgpack/fbuffer.hpp +24 -16
- data/vendor/local/include/msgpack/gcc_atomic.h +33 -0
- data/vendor/local/include/msgpack/iterator.hpp +42 -0
- data/vendor/local/include/msgpack/object.h +51 -30
- data/vendor/local/include/msgpack/object.hpp +564 -273
- data/vendor/local/include/msgpack/object_fwd.hpp +182 -0
- data/vendor/local/include/msgpack/pack.h +23 -17
- data/vendor/local/include/msgpack/pack.hpp +889 -164
- data/vendor/local/include/msgpack/pack_define.h +2 -2
- data/vendor/local/include/msgpack/pack_template.h +452 -356
- data/vendor/local/include/msgpack/sbuffer.h +43 -37
- data/vendor/local/include/msgpack/sbuffer.hpp +98 -76
- data/vendor/local/include/msgpack/sysdep.h +48 -53
- data/vendor/local/include/msgpack/type.hpp +35 -17
- data/vendor/local/include/msgpack/unpack.h +62 -44
- data/vendor/local/include/msgpack/unpack.hpp +1578 -217
- data/vendor/local/include/msgpack/unpack_define.h +49 -47
- data/vendor/local/include/msgpack/unpack_template.h +344 -284
- data/vendor/local/include/msgpack/util.h +23 -0
- data/vendor/local/include/msgpack/version.h +12 -6
- data/vendor/local/include/msgpack/version.hpp +44 -0
- data/vendor/local/include/msgpack/version_master.h +3 -0
- data/vendor/local/include/msgpack/versioning.hpp +77 -0
- data/vendor/local/include/msgpack/vrefbuffer.h +40 -34
- data/vendor/local/include/msgpack/vrefbuffer.hpp +261 -64
- data/vendor/local/include/msgpack/zbuffer.h +79 -79
- data/vendor/local/include/msgpack/zbuffer.hpp +136 -67
- data/vendor/local/include/msgpack/zone.h +65 -42
- data/vendor/local/include/msgpack/zone.hpp +10 -445
- data/vendor/local/include/msgpack_fwd.hpp +28 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +41 -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 +2 -2
- 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 +2 -2
- 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 +2 -2
- data/vendor/local/lib/groonga/plugins/sharding.rb +1 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +17 -45
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +15 -6
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +63 -75
- data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +65 -0
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +38 -41
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +3 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- 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.5.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 +2 -2
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +4 -4
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- 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 +5 -5
- data/vendor/local/lib/pkgconfig/msgpack.pc +2 -2
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- 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 +69 -52
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +56 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
- 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 -7
- 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 +6 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +14 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +93 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news/0.x.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +10 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +13 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +13 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news/senna.txt +13 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/dump.txt +135 -27
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +148 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_size.txt +76 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/server/gqtp.txt +38 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +6 -4
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/client.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution.html +14 -13
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +58 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/index.html +15 -9
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +70 -13
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/install/others.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +12 -11
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news.html +200 -103
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +141 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +146 -14
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +7 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +248 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +11 -7
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +53 -8
- data/vendor/local/share/doc/groonga/en/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/package.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/spec.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +10 -7
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +15 -11
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +69 -52
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +56 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
- 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 -7
- 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 +6 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +14 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +93 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/0.x.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +10 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +13 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +13 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/senna.txt +13 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/dump.txt +135 -27
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +148 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_size.txt +76 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/gqtp.txt +38 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +6 -4
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/client.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +14 -13
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +58 -42
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +15 -9
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +63 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -18
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +10 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +234 -106
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +141 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +25 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +146 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +249 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +11 -7
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +53 -8
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/spec.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +10 -7
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +15 -11
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/groonga-admin.css +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/jquery-ui-1.8.18.custom.css +0 -0
- data/vendor/local/share/groonga/html/admin.old/favicon.ico +0 -0
- data/vendor/local/share/groonga/html/admin.old/favicon.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/favicon.svg +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/images/groonga.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/images/groonga.svg +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/images/loading.gif +0 -0
- data/vendor/local/share/groonga/html/admin.old/index.html +297 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/index.ja.html +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/groonga-admin.ja.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/groonga-admin.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery-1.7.2.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery-ui-1.8.18.custom.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery.flot-0.7.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery.flot.license.txt +0 -0
- data/vendor/local/share/groonga/html/admin/.htaccess +543 -0
- data/vendor/local/share/groonga/html/admin/404.html +133 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +229 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/vendor/local/share/groonga/html/admin/images/yeoman.d2754b85.png +0 -0
- data/vendor/local/share/groonga/html/admin/index.html +9 -297
- data/vendor/local/share/groonga/html/admin/robots.txt +3 -0
- data/vendor/local/share/groonga/html/admin/scripts/oldieshim.a466b7b1.js +1 -0
- data/vendor/local/share/groonga/html/admin/scripts/scripts.87083bfd.js +1 -0
- data/vendor/local/share/groonga/html/admin/scripts/vendor.fa48c0ac.js +13 -0
- data/vendor/local/share/groonga/html/admin/styles/main.0390285b.css +1 -0
- data/vendor/local/share/groonga/html/admin/styles/vendor.f4ae649a.css +10 -0
- data/vendor/local/share/groonga/html/admin/views/columns/new.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/columns/show.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/tables/index.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/tables/new.html +29 -0
- data/vendor/local/share/groonga/html/admin/views/tables/search.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/tables/show.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/top.html +1 -0
- data/vendor/local/share/license/groonga-admin/LICENSE +502 -0
- data/vendor/local/share/license/groonga-admin/README.md +79 -0
- data/vendor/local/share/license/msgpack/AUTHORS +0 -1
- data/vendor/local/share/man/ja/man1/groonga.1 +826 -147
- data/vendor/local/share/man/man1/groonga.1 +812 -99
- metadata +138 -55
- data/doc/text/install.textile +0 -145
- data/doc/text/tutorial.textile +0 -510
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/include/msgpack/type/define.hpp +0 -3465
- data/vendor/local/include/msgpack/type/deque.hpp +0 -77
- data/vendor/local/include/msgpack/type/fixint.hpp +0 -172
- data/vendor/local/include/msgpack/type/float.hpp +0 -102
- data/vendor/local/include/msgpack/type/int.hpp +0 -276
- data/vendor/local/include/msgpack/type/list.hpp +0 -77
- data/vendor/local/include/msgpack/type/map.hpp +0 -205
- data/vendor/local/include/msgpack/type/raw.hpp +0 -94
- data/vendor/local/include/msgpack/type/set.hpp +0 -122
- data/vendor/local/include/msgpack/type/string.hpp +0 -62
- data/vendor/local/include/msgpack/type/tr1/unordered_map.hpp +0 -150
- data/vendor/local/include/msgpack/type/tr1/unordered_set.hpp +0 -142
- data/vendor/local/include/msgpack/type/tuple.hpp +0 -13691
- data/vendor/local/include/msgpack/type/vector.hpp +0 -81
- data/vendor/local/share/doc/groonga/en/html/_static/jp.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/us.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jp.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/us.png +0 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* MessagePack for C utilities
|
3
|
+
*
|
4
|
+
* Copyright (C) 2014 FURUHASHI Sadayuki
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
* you may not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*/
|
18
|
+
#ifndef MSGPACK_UTIL_H
|
19
|
+
#define MSGPACK_UTIL_H
|
20
|
+
|
21
|
+
#define MSGPACK_UNUSED(a) (void)(a)
|
22
|
+
|
23
|
+
#endif /* MSGPACK_UTIL_H */
|
@@ -15,22 +15,28 @@
|
|
15
15
|
* See the License for the specific language governing permissions and
|
16
16
|
* limitations under the License.
|
17
17
|
*/
|
18
|
-
#ifndef
|
19
|
-
#define
|
18
|
+
#ifndef MSGPACK_VERSION_H
|
19
|
+
#define MSGPACK_VERSION_H
|
20
20
|
|
21
21
|
#ifdef __cplusplus
|
22
22
|
extern "C" {
|
23
23
|
#endif
|
24
24
|
|
25
|
-
|
25
|
+
MSGPACK_DLLEXPORT
|
26
26
|
const char* msgpack_version(void);
|
27
|
+
MSGPACK_DLLEXPORT
|
27
28
|
int msgpack_version_major(void);
|
29
|
+
MSGPACK_DLLEXPORT
|
28
30
|
int msgpack_version_minor(void);
|
31
|
+
MSGPACK_DLLEXPORT
|
32
|
+
int msgpack_version_revision(void);
|
33
|
+
|
34
|
+
#include "version_master.h"
|
29
35
|
|
30
|
-
#define
|
31
|
-
#define
|
32
|
-
#define MSGPACK_VERSION_MINOR 5
|
36
|
+
#define MSGPACK_STR(v) #v
|
37
|
+
#define MSGPACK_VERSION_I(maj, min, rev) MSGPACK_STR(maj) "." MSGPACK_STR(min) "." MSGPACK_STR(rev)
|
33
38
|
|
39
|
+
#define MSGPACK_VERSION MSGPACK_VERSION_I(MSGPACK_VERSION_MAJOR, MSGPACK_VERSION_MINOR, MSGPACK_VERSION_REVISION)
|
34
40
|
|
35
41
|
#ifdef __cplusplus
|
36
42
|
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/*
|
2
|
+
* MessagePack for C++ version information
|
3
|
+
*
|
4
|
+
* Copyright (C) 2008-2013 FURUHASHI Sadayuki and Takatoshi Kondo
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
* you may not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*/
|
18
|
+
#ifndef MSGPACK_VERSION_HPP
|
19
|
+
#define MSGPACK_VERSION_HPP
|
20
|
+
|
21
|
+
#include "version_master.h"
|
22
|
+
|
23
|
+
#define MSGPACK_STR(v) #v
|
24
|
+
#define MSGPACK_VERSION_I(maj, min, rev) MSGPACK_STR(maj) "." MSGPACK_STR(min) "." MSGPACK_STR(rev)
|
25
|
+
|
26
|
+
#define MSGPACK_VERSION MSGPACK_VERSION_I(MSGPACK_VERSION_MAJOR, MSGPACK_VERSION_MINOR, MSGPACK_VERSION_REVISION)
|
27
|
+
|
28
|
+
inline const char* msgpack_version(void) {
|
29
|
+
return MSGPACK_VERSION;
|
30
|
+
}
|
31
|
+
|
32
|
+
inline int msgpack_version_major(void) {
|
33
|
+
return MSGPACK_VERSION_MAJOR;
|
34
|
+
}
|
35
|
+
|
36
|
+
inline int msgpack_version_minor(void) {
|
37
|
+
return MSGPACK_VERSION_MINOR;
|
38
|
+
}
|
39
|
+
|
40
|
+
inline int msgpack_version_revision(void) {
|
41
|
+
return MSGPACK_VERSION_REVISION;
|
42
|
+
}
|
43
|
+
|
44
|
+
#endif /* msgpack/version.hpp */
|
@@ -0,0 +1,77 @@
|
|
1
|
+
/*
|
2
|
+
* MessagePack for C++ version switcher
|
3
|
+
*
|
4
|
+
* Copyright (C) 2014 KONDO Takatoshi
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
* you may not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*/
|
18
|
+
#ifndef MSGPACK_VERSIONING_HPP
|
19
|
+
#define MSGPACK_VERSIONING_HPP
|
20
|
+
|
21
|
+
#if !defined(MSGPACK_DEFAULT_API_VERSION)
|
22
|
+
#define MSGPACK_DEFAULT_API_VERSION 1
|
23
|
+
#endif
|
24
|
+
|
25
|
+
#define MSGPACK_DEFAULT_API_NS MSGPACK_PP_CAT(v, MSGPACK_DEFAULT_API_VERSION)
|
26
|
+
|
27
|
+
#if MSGPACK_DEFAULT_API_VERSION == 1
|
28
|
+
#define MSGPACK_PP_ENABLE_NS_v1 ()
|
29
|
+
//#elif MSGPACK_DEFAULT_API_VERSION == 2
|
30
|
+
//#define MSGPACK_PP_ENABLE_NS_v2 ()
|
31
|
+
#else
|
32
|
+
#error
|
33
|
+
#endif
|
34
|
+
|
35
|
+
#define MSGPACK_PP_CAT(a, ...) MSGPACK_PP_PRIMITIVE_CAT(a, __VA_ARGS__)
|
36
|
+
#define MSGPACK_PP_PRIMITIVE_CAT(a, ...) a ## __VA_ARGS__
|
37
|
+
|
38
|
+
#define MSGPACK_PP_IIF(c) MSGPACK_PP_PRIMITIVE_CAT(MSGPACK_PP_IIF_, c)
|
39
|
+
#define MSGPACK_PP_IIF_0(t, ...) __VA_ARGS__
|
40
|
+
#define MSGPACK_PP_IIF_1(t, ...) t
|
41
|
+
|
42
|
+
#define MSGPACK_PP_PROBE(x) x, 1
|
43
|
+
|
44
|
+
#if defined(_MSC_VER)
|
45
|
+
|
46
|
+
#define MSGPACK_PP_MSVC_VA_ARGS_WORKAROUND(define, args) define args
|
47
|
+
#define MSGPACK_PP_CHECK(...) MSGPACK_PP_MSVC_VA_ARGS_WORKAROUND(MSGPACK_PP_CHECK_N, (__VA_ARGS__, 0))
|
48
|
+
#define MSGPACK_PP_CHECK_N(x, n, ...) n
|
49
|
+
|
50
|
+
#else // defined(__MSC_VER)
|
51
|
+
|
52
|
+
#define MSGPACK_PP_CHECK(...) MSGPACK_PP_CHECK_N(__VA_ARGS__, 0)
|
53
|
+
#define MSGPACK_PP_CHECK_N(x, n, ...) n
|
54
|
+
|
55
|
+
#endif // defined(__MSC_VER)
|
56
|
+
|
57
|
+
|
58
|
+
#define MSGPACK_PP_NS_ENABLED_PROBE(ns) MSGPACK_PP_NS_ENABLED_PROBE_PROXY( MSGPACK_PP_ENABLE_NS_##ns )
|
59
|
+
#define MSGPACK_PP_NS_ENABLED_PROBE_PROXY(...) MSGPACK_PP_NS_ENABLED_PROBE_PRIMIVIE(__VA_ARGS__)
|
60
|
+
#define MSGPACK_PP_NS_ENABLED_PROBE_PRIMIVIE(x) MSGPACK_PP_NS_ENABLED_PROBE_COMBINE_ x
|
61
|
+
#define MSGPACK_PP_NS_ENABLED_PROBE_COMBINE_(...) MSGPACK_PP_PROBE(~)
|
62
|
+
|
63
|
+
#define MSGPACK_PP_IS_NS_ENABLED(ns) MSGPACK_PP_CHECK(MSGPACK_PP_NS_ENABLED_PROBE(ns))
|
64
|
+
|
65
|
+
#if __cplusplus < 201103
|
66
|
+
#define MSGPACK_API_VERSION_NAMESPACE(ns) MSGPACK_PP_IIF(MSGPACK_PP_IS_NS_ENABLED(ns)) \
|
67
|
+
(namespace ns{}; using namespace ns; namespace ns, \
|
68
|
+
namespace ns)
|
69
|
+
|
70
|
+
#else // __cplusplus < 201103
|
71
|
+
|
72
|
+
#define MSGPACK_API_VERSION_NAMESPACE(ns) MSGPACK_PP_IIF(MSGPACK_PP_IS_NS_ENABLED(ns)) \
|
73
|
+
(inline namespace ns, namespace ns)
|
74
|
+
|
75
|
+
#endif // __cplusplus < 201103
|
76
|
+
|
77
|
+
#endif // MSGPACK_VERSIONING_HPP
|
@@ -15,8 +15,8 @@
|
|
15
15
|
* See the License for the specific language governing permissions and
|
16
16
|
* limitations under the License.
|
17
17
|
*/
|
18
|
-
#ifndef
|
19
|
-
#define
|
18
|
+
#ifndef MSGPACK_VREFBUFFER_H
|
19
|
+
#define MSGPACK_VREFBUFFER_H
|
20
20
|
|
21
21
|
#include "zone.h"
|
22
22
|
#include <stdlib.h>
|
@@ -25,8 +25,8 @@
|
|
25
25
|
#include <sys/uio.h>
|
26
26
|
#else
|
27
27
|
struct iovec {
|
28
|
-
|
29
|
-
|
28
|
+
void *iov_base;
|
29
|
+
size_t iov_len;
|
30
30
|
};
|
31
31
|
#endif
|
32
32
|
|
@@ -45,20 +45,20 @@ struct msgpack_vrefbuffer_chunk;
|
|
45
45
|
typedef struct msgpack_vrefbuffer_chunk msgpack_vrefbuffer_chunk;
|
46
46
|
|
47
47
|
typedef struct msgpack_vrefbuffer_inner_buffer {
|
48
|
-
|
49
|
-
|
50
|
-
|
48
|
+
size_t free;
|
49
|
+
char* ptr;
|
50
|
+
msgpack_vrefbuffer_chunk* head;
|
51
51
|
} msgpack_vrefbuffer_inner_buffer;
|
52
52
|
|
53
53
|
typedef struct msgpack_vrefbuffer {
|
54
|
-
|
55
|
-
|
56
|
-
|
54
|
+
struct iovec* tail;
|
55
|
+
struct iovec* end;
|
56
|
+
struct iovec* array;
|
57
57
|
|
58
|
-
|
59
|
-
|
58
|
+
size_t chunk_size;
|
59
|
+
size_t ref_size;
|
60
60
|
|
61
|
-
|
61
|
+
msgpack_vrefbuffer_inner_buffer inner_buffer;
|
62
62
|
} msgpack_vrefbuffer;
|
63
63
|
|
64
64
|
|
@@ -70,8 +70,10 @@ typedef struct msgpack_vrefbuffer {
|
|
70
70
|
#define MSGPACK_VREFBUFFER_CHUNK_SIZE 8192
|
71
71
|
#endif
|
72
72
|
|
73
|
+
MSGPACK_DLLEXPORT
|
73
74
|
bool msgpack_vrefbuffer_init(msgpack_vrefbuffer* vbuf,
|
74
|
-
|
75
|
+
size_t ref_size, size_t chunk_size);
|
76
|
+
MSGPACK_DLLEXPORT
|
75
77
|
void msgpack_vrefbuffer_destroy(msgpack_vrefbuffer* vbuf);
|
76
78
|
|
77
79
|
static inline msgpack_vrefbuffer* msgpack_vrefbuffer_new(size_t ref_size, size_t chunk_size);
|
@@ -82,14 +84,18 @@ static inline int msgpack_vrefbuffer_write(void* data, const char* buf, size_t l
|
|
82
84
|
static inline const struct iovec* msgpack_vrefbuffer_vec(const msgpack_vrefbuffer* vref);
|
83
85
|
static inline size_t msgpack_vrefbuffer_veclen(const msgpack_vrefbuffer* vref);
|
84
86
|
|
87
|
+
MSGPACK_DLLEXPORT
|
85
88
|
int msgpack_vrefbuffer_append_copy(msgpack_vrefbuffer* vbuf,
|
86
|
-
|
89
|
+
const char* buf, size_t len);
|
87
90
|
|
91
|
+
MSGPACK_DLLEXPORT
|
88
92
|
int msgpack_vrefbuffer_append_ref(msgpack_vrefbuffer* vbuf,
|
89
|
-
|
93
|
+
const char* buf, size_t len);
|
90
94
|
|
95
|
+
MSGPACK_DLLEXPORT
|
91
96
|
int msgpack_vrefbuffer_migrate(msgpack_vrefbuffer* vbuf, msgpack_vrefbuffer* to);
|
92
97
|
|
98
|
+
MSGPACK_DLLEXPORT
|
93
99
|
void msgpack_vrefbuffer_clear(msgpack_vrefbuffer* vref);
|
94
100
|
|
95
101
|
/** @} */
|
@@ -97,41 +103,41 @@ void msgpack_vrefbuffer_clear(msgpack_vrefbuffer* vref);
|
|
97
103
|
|
98
104
|
static inline msgpack_vrefbuffer* msgpack_vrefbuffer_new(size_t ref_size, size_t chunk_size)
|
99
105
|
{
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
106
|
+
msgpack_vrefbuffer* vbuf = (msgpack_vrefbuffer*)malloc(sizeof(msgpack_vrefbuffer));
|
107
|
+
if (vbuf == NULL) return NULL;
|
108
|
+
if(!msgpack_vrefbuffer_init(vbuf, ref_size, chunk_size)) {
|
109
|
+
free(vbuf);
|
110
|
+
return NULL;
|
111
|
+
}
|
112
|
+
return vbuf;
|
107
113
|
}
|
108
114
|
|
109
115
|
static inline void msgpack_vrefbuffer_free(msgpack_vrefbuffer* vbuf)
|
110
116
|
{
|
111
|
-
|
112
|
-
|
113
|
-
|
117
|
+
if(vbuf == NULL) { return; }
|
118
|
+
msgpack_vrefbuffer_destroy(vbuf);
|
119
|
+
free(vbuf);
|
114
120
|
}
|
115
121
|
|
116
122
|
static inline int msgpack_vrefbuffer_write(void* data, const char* buf, size_t len)
|
117
123
|
{
|
118
|
-
|
124
|
+
msgpack_vrefbuffer* vbuf = (msgpack_vrefbuffer*)data;
|
119
125
|
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
126
|
+
if(len < vbuf->ref_size) {
|
127
|
+
return msgpack_vrefbuffer_append_copy(vbuf, buf, len);
|
128
|
+
} else {
|
129
|
+
return msgpack_vrefbuffer_append_ref(vbuf, buf, len);
|
130
|
+
}
|
125
131
|
}
|
126
132
|
|
127
133
|
static inline const struct iovec* msgpack_vrefbuffer_vec(const msgpack_vrefbuffer* vref)
|
128
134
|
{
|
129
|
-
|
135
|
+
return vref->array;
|
130
136
|
}
|
131
137
|
|
132
138
|
static inline size_t msgpack_vrefbuffer_veclen(const msgpack_vrefbuffer* vref)
|
133
139
|
{
|
134
|
-
|
140
|
+
return (size_t)(vref->tail - vref->array);
|
135
141
|
}
|
136
142
|
|
137
143
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
//
|
2
2
|
// MessagePack for C++ zero-copy buffer implementation
|
3
3
|
//
|
4
|
-
// Copyright (C) 2008-
|
4
|
+
// Copyright (C) 2008-2013 FURUHASHI Sadayuki and KONDO Takatoshi
|
5
5
|
//
|
6
6
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
// you may not use this file except in compliance with the License.
|
@@ -15,85 +15,282 @@
|
|
15
15
|
// See the License for the specific language governing permissions and
|
16
16
|
// limitations under the License.
|
17
17
|
//
|
18
|
-
#ifndef
|
19
|
-
#define
|
18
|
+
#ifndef MSGPACK_VREFBUFFER_HPP
|
19
|
+
#define MSGPACK_VREFBUFFER_HPP
|
20
|
+
|
21
|
+
#include "msgpack/versioning.hpp"
|
20
22
|
|
21
|
-
#include "vrefbuffer.h"
|
22
23
|
#include <stdexcept>
|
23
24
|
|
25
|
+
#ifndef MSGPACK_VREFBUFFER_REF_SIZE
|
26
|
+
#define MSGPACK_VREFBUFFER_REF_SIZE 32
|
27
|
+
#endif
|
28
|
+
|
29
|
+
#ifndef MSGPACK_VREFBUFFER_CHUNK_SIZE
|
30
|
+
#define MSGPACK_VREFBUFFER_CHUNK_SIZE 8192
|
31
|
+
#endif
|
32
|
+
|
33
|
+
#ifndef _WIN32
|
34
|
+
#include <sys/uio.h>
|
35
|
+
#else
|
36
|
+
struct iovec {
|
37
|
+
void *iov_base;
|
38
|
+
size_t iov_len;
|
39
|
+
};
|
40
|
+
#endif
|
41
|
+
|
24
42
|
namespace msgpack {
|
25
43
|
|
44
|
+
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
45
|
+
|
46
|
+
namespace detail {
|
47
|
+
// int64, uint64, double
|
48
|
+
std::size_t const packer_max_buffer_size = 9;
|
49
|
+
} // detail
|
26
50
|
|
27
|
-
class vrefbuffer
|
51
|
+
class vrefbuffer {
|
52
|
+
private:
|
53
|
+
struct chunk {
|
54
|
+
chunk* next;
|
55
|
+
};
|
56
|
+
struct inner_buffer {
|
57
|
+
size_t free;
|
58
|
+
char* ptr;
|
59
|
+
chunk* head;
|
60
|
+
};
|
28
61
|
public:
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
62
|
+
vrefbuffer(size_t ref_size = MSGPACK_VREFBUFFER_REF_SIZE,
|
63
|
+
size_t chunk_size = MSGPACK_VREFBUFFER_CHUNK_SIZE)
|
64
|
+
:m_ref_size(std::max(ref_size, detail::packer_max_buffer_size + 1)),
|
65
|
+
m_chunk_size(chunk_size)
|
66
|
+
{
|
67
|
+
size_t nfirst = (sizeof(iovec) < 72/2) ?
|
68
|
+
72 / sizeof(iovec) : 8;
|
69
|
+
|
70
|
+
iovec* array = static_cast<iovec*>(::malloc(
|
71
|
+
sizeof(iovec) * nfirst));
|
72
|
+
if(!array) {
|
73
|
+
throw std::bad_alloc();
|
74
|
+
}
|
75
|
+
|
76
|
+
m_tail = array;
|
77
|
+
m_end = array + nfirst;
|
78
|
+
m_array = array;
|
79
|
+
|
80
|
+
chunk* c = static_cast<chunk*>(::malloc(sizeof(chunk) + chunk_size));
|
81
|
+
if(!c) {
|
82
|
+
::free(array);
|
83
|
+
throw std::bad_alloc();
|
84
|
+
}
|
85
|
+
inner_buffer* const ib = &m_inner_buffer;
|
86
|
+
|
87
|
+
ib->free = chunk_size;
|
88
|
+
ib->ptr = reinterpret_cast<char*>(c) + sizeof(chunk);
|
89
|
+
ib->head = c;
|
90
|
+
c->next = nullptr;
|
91
|
+
|
92
|
+
}
|
93
|
+
|
94
|
+
~vrefbuffer()
|
95
|
+
{
|
96
|
+
chunk* c = m_inner_buffer.head;
|
97
|
+
while(true) {
|
98
|
+
chunk* n = c->next;
|
99
|
+
::free(c);
|
100
|
+
if(n != NULL) {
|
101
|
+
c = n;
|
102
|
+
} else {
|
103
|
+
break;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
::free(m_array);
|
107
|
+
}
|
41
108
|
|
42
109
|
public:
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
110
|
+
void write(const char* buf, size_t len)
|
111
|
+
{
|
112
|
+
if(len < m_ref_size) {
|
113
|
+
append_copy(buf, len);
|
114
|
+
} else {
|
115
|
+
append_ref(buf, len);
|
116
|
+
}
|
117
|
+
}
|
118
|
+
|
119
|
+
void append_ref(const char* buf, size_t len)
|
120
|
+
{
|
121
|
+
if(m_tail == m_end) {
|
122
|
+
const size_t nused = m_tail - m_array;
|
123
|
+
const size_t nnext = nused * 2;
|
124
|
+
|
125
|
+
iovec* nvec = static_cast<iovec*>(::realloc(
|
126
|
+
m_array, sizeof(iovec)*nnext));
|
127
|
+
if(!nvec) {
|
128
|
+
throw std::bad_alloc();
|
129
|
+
}
|
130
|
+
|
131
|
+
m_array = nvec;
|
132
|
+
m_end = nvec + nnext;
|
133
|
+
m_tail = nvec + nused;
|
134
|
+
}
|
135
|
+
|
136
|
+
m_tail->iov_base = const_cast<char*>(buf);
|
137
|
+
m_tail->iov_len = len;
|
138
|
+
++m_tail;
|
139
|
+
}
|
140
|
+
|
141
|
+
void append_copy(const char* buf, size_t len)
|
142
|
+
{
|
143
|
+
inner_buffer* const ib = &m_inner_buffer;
|
144
|
+
|
145
|
+
if(ib->free < len) {
|
146
|
+
size_t sz = m_chunk_size;
|
147
|
+
if(sz < len) {
|
148
|
+
sz = len;
|
149
|
+
}
|
150
|
+
|
151
|
+
chunk* c = static_cast<chunk*>(::malloc(sizeof(chunk) + sz));
|
152
|
+
if(!c) {
|
153
|
+
throw std::bad_alloc();
|
154
|
+
}
|
155
|
+
|
156
|
+
c->next = ib->head;
|
157
|
+
ib->head = c;
|
158
|
+
ib->free = sz;
|
159
|
+
ib->ptr = reinterpret_cast<char*>(c) + sizeof(chunk);
|
160
|
+
}
|
161
|
+
|
162
|
+
char* m = ib->ptr;
|
163
|
+
std::memcpy(m, buf, len);
|
164
|
+
ib->free -= len;
|
165
|
+
ib->ptr += len;
|
166
|
+
|
167
|
+
if(m_tail != m_array && m ==
|
168
|
+
static_cast<const char*>(
|
169
|
+
const_cast<const void *>((m_tail - 1)->iov_base)
|
170
|
+
) + (m_tail - 1)->iov_len) {
|
171
|
+
(m_tail - 1)->iov_len += len;
|
172
|
+
return;
|
173
|
+
} else {
|
174
|
+
append_ref( m, len);
|
175
|
+
}
|
176
|
+
}
|
87
177
|
|
178
|
+
const struct iovec* vector() const
|
179
|
+
{
|
180
|
+
return m_array;
|
181
|
+
}
|
182
|
+
|
183
|
+
size_t vector_size() const
|
184
|
+
{
|
185
|
+
return m_tail - m_array;
|
186
|
+
}
|
187
|
+
|
188
|
+
void migrate(vrefbuffer* to)
|
189
|
+
{
|
190
|
+
size_t sz = m_chunk_size;
|
191
|
+
|
192
|
+
chunk* empty = static_cast<chunk*>(::malloc(sizeof(chunk) + sz));
|
193
|
+
if(!empty) {
|
194
|
+
throw std::bad_alloc();
|
195
|
+
}
|
196
|
+
|
197
|
+
empty->next = nullptr;
|
198
|
+
|
199
|
+
const size_t nused = m_tail - m_array;
|
200
|
+
if(to->m_tail + nused < m_end) {
|
201
|
+
const size_t tosize = to->m_tail - to->m_array;
|
202
|
+
const size_t reqsize = nused + tosize;
|
203
|
+
size_t nnext = (to->m_end - to->m_array) * 2;
|
204
|
+
while(nnext < reqsize) {
|
205
|
+
size_t tmp_nnext = nnext * 2;
|
206
|
+
if (tmp_nnext <= nnext) {
|
207
|
+
nnext = reqsize;
|
208
|
+
break;
|
209
|
+
}
|
210
|
+
nnext = tmp_nnext;
|
211
|
+
}
|
212
|
+
|
213
|
+
iovec* nvec = static_cast<iovec*>(::realloc(
|
214
|
+
to->m_array, sizeof(iovec)*nnext));
|
215
|
+
if(!nvec) {
|
216
|
+
::free(empty);
|
217
|
+
throw std::bad_alloc();
|
218
|
+
}
|
219
|
+
|
220
|
+
to->m_array = nvec;
|
221
|
+
to->m_end = nvec + nnext;
|
222
|
+
to->m_tail = nvec + tosize;
|
223
|
+
}
|
224
|
+
|
225
|
+
std::memcpy(to->m_tail, m_array, sizeof(iovec)*nused);
|
226
|
+
|
227
|
+
to->m_tail += nused;
|
228
|
+
m_tail = m_array;
|
229
|
+
|
230
|
+
|
231
|
+
inner_buffer* const ib = &m_inner_buffer;
|
232
|
+
inner_buffer* const toib = &to->m_inner_buffer;
|
233
|
+
|
234
|
+
chunk* last = ib->head;
|
235
|
+
while(last->next) {
|
236
|
+
last = last->next;
|
237
|
+
}
|
238
|
+
last->next = toib->head;
|
239
|
+
toib->head = ib->head;
|
240
|
+
|
241
|
+
if(toib->free < ib->free) {
|
242
|
+
toib->free = ib->free;
|
243
|
+
toib->ptr = ib->ptr;
|
244
|
+
}
|
245
|
+
|
246
|
+
ib->head = empty;
|
247
|
+
ib->free = sz;
|
248
|
+
ib->ptr = reinterpret_cast<char*>(empty) + sizeof(chunk);
|
249
|
+
|
250
|
+
}
|
251
|
+
|
252
|
+
void clear()
|
253
|
+
{
|
254
|
+
chunk* c = m_inner_buffer.head->next;
|
255
|
+
chunk* n;
|
256
|
+
while(c) {
|
257
|
+
n = c->next;
|
258
|
+
::free(c);
|
259
|
+
c = n;
|
260
|
+
}
|
261
|
+
|
262
|
+
inner_buffer* const ib = &m_inner_buffer;
|
263
|
+
c = ib->head;
|
264
|
+
c->next = nullptr;
|
265
|
+
ib->free = m_chunk_size;
|
266
|
+
ib->ptr = reinterpret_cast<char*>(c) + sizeof(chunk);
|
267
|
+
|
268
|
+
m_tail = m_array;
|
269
|
+
}
|
270
|
+
|
271
|
+
#if defined(MSGPACK_USE_CPP03)
|
88
272
|
private:
|
89
|
-
|
273
|
+
vrefbuffer(const vrefbuffer&);
|
274
|
+
vrefbuffer& operator=(const vrefbuffer&);
|
275
|
+
#else // defined(MSGPACK_USE_CPP03)
|
276
|
+
vrefbuffer(const vrefbuffer&) = delete;
|
277
|
+
vrefbuffer& operator=(const vrefbuffer&) = delete;
|
278
|
+
#endif // defined(MSGPACK_USE_CPP03)
|
90
279
|
|
91
280
|
private:
|
92
|
-
|
281
|
+
iovec* m_tail;
|
282
|
+
iovec* m_end;
|
283
|
+
iovec* m_array;
|
284
|
+
|
285
|
+
size_t m_ref_size;
|
286
|
+
size_t m_chunk_size;
|
287
|
+
|
288
|
+
inner_buffer m_inner_buffer;
|
289
|
+
|
93
290
|
};
|
94
291
|
|
292
|
+
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
95
293
|
|
96
294
|
} // namespace msgpack
|
97
295
|
|
98
296
|
#endif /* msgpack/vrefbuffer.hpp */
|
99
|
-
|