rroonga 1.3.1-x86-mingw32 → 2.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Rakefile +2 -7
- data/ext/groonga/rb-grn-column.c +34 -37
- data/ext/groonga/rb-grn-context.c +63 -2
- data/ext/groonga/rb-grn-expression.c +21 -13
- data/ext/groonga/rb-grn-object.c +2 -0
- data/ext/groonga/rb-grn-table.c +57 -51
- data/ext/groonga/rb-grn.h +10 -4
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/schema.rb +75 -46
- data/lib/groonga.rb +9 -6
- data/rroonga-build.rb +2 -2
- data/test/run-test.rb +1 -2
- data/test/test-table-select.rb +0 -5
- data/test/test-type.rb +2 -2
- data/test/test-version.rb +40 -10
- data/vendor/local/bin/grntest.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/libstdc++-6.dll +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga/plugin.h +113 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +146 -0
- data/vendor/local/include/groonga/groonga.h +18 -18
- data/vendor/local/include/msgpack/object.h +98 -0
- data/vendor/local/include/msgpack/object.hpp +412 -0
- data/vendor/local/include/msgpack/pack.h +143 -0
- data/vendor/local/include/msgpack/pack.hpp +318 -0
- data/vendor/local/include/msgpack/pack_define.h +26 -0
- data/vendor/local/include/msgpack/pack_template.h +766 -0
- data/vendor/local/include/msgpack/sbuffer.h +111 -0
- data/vendor/local/include/msgpack/sbuffer.hpp +112 -0
- data/vendor/local/include/msgpack/sysdep.h +195 -0
- data/vendor/local/include/msgpack/type/bool.hpp +55 -0
- data/vendor/local/include/msgpack/type/define.hpp +3279 -0
- data/vendor/local/include/msgpack/type/deque.hpp +77 -0
- data/vendor/local/include/msgpack/type/fixint.hpp +172 -0
- data/vendor/local/include/msgpack/type/float.hpp +82 -0
- data/vendor/local/include/msgpack/type/int.hpp +211 -0
- data/vendor/local/include/msgpack/type/list.hpp +77 -0
- data/vendor/local/include/msgpack/type/map.hpp +205 -0
- data/vendor/local/include/msgpack/type/nil.hpp +65 -0
- data/vendor/local/include/msgpack/type/pair.hpp +61 -0
- data/vendor/local/include/msgpack/type/raw.hpp +94 -0
- data/vendor/local/include/msgpack/type/set.hpp +122 -0
- data/vendor/local/include/msgpack/type/string.hpp +62 -0
- data/vendor/local/include/msgpack/type/tr1/unordered_map.hpp +129 -0
- data/vendor/local/include/msgpack/type/tr1/unordered_set.hpp +122 -0
- data/vendor/local/include/msgpack/type/tuple.hpp +13691 -0
- data/vendor/local/include/msgpack/type/vector.hpp +81 -0
- data/vendor/local/include/msgpack/type.hpp +16 -0
- data/vendor/local/include/msgpack/unpack.h +260 -0
- data/vendor/local/include/msgpack/unpack.hpp +374 -0
- data/vendor/local/include/msgpack/unpack_define.h +93 -0
- data/vendor/local/include/msgpack/unpack_template.h +409 -0
- data/vendor/local/include/msgpack/version.h +40 -0
- data/vendor/local/include/msgpack/vrefbuffer.h +142 -0
- data/vendor/local/include/msgpack/vrefbuffer.hpp +97 -0
- data/vendor/local/include/msgpack/zbuffer.h +207 -0
- data/vendor/local/include/msgpack/zbuffer.hpp +100 -0
- data/vendor/local/include/msgpack/zone.h +147 -0
- data/vendor/local/include/msgpack/zone.hpp +455 -0
- data/vendor/local/include/msgpack.h +30 -0
- data/vendor/local/include/msgpack.hpp +24 -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/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/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/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +41 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +41 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +4 -4
- 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/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/commands/suggest.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +6 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/indexing.txt +108 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +386 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +51 -385
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/select.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/rand.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/functions.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +14 -8
- data/vendor/local/share/doc/groonga/en/html/indexing.html +237 -0
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/log.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +566 -0
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +65 -464
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference.html +14 -8
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/suggest.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +6 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/indexing.txt +108 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +386 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +51 -385
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/select.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/functions.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +14 -8
- data/vendor/local/share/doc/groonga/ja/html/indexing.html +215 -0
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/log.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +528 -0
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +62 -425
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference.html +14 -8
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/type.html +5 -5
- data/vendor/local/share/doc/groonga/source/commands/suggest.txt +1 -1
- data/vendor/local/share/doc/groonga/source/contribution/report.txt +6 -7
- data/vendor/local/share/doc/groonga/source/indexing.txt +108 -0
- data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +386 -0
- data/vendor/local/share/doc/groonga/source/news.txt +51 -385
- data/vendor/local/share/doc/groonga/source/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/source/spec/search.txt +4 -4
- data/vendor/local/share/license/groonga/COPYING +10 -12
- data/vendor/local/share/license/msgpack/AUTHORS +1 -0
- data/vendor/local/share/license/msgpack/COPYING +14 -0
- data/vendor/local/share/license/msgpack/LICENSE +202 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +113 -5
- data/vendor/local/share/man/man1/groonga.1 +142 -11
- metadata +66 -3
- data/vendor/local/share/doc/groonga/source/update_execution_example.py +0 -141
@@ -0,0 +1,318 @@
|
|
1
|
+
//
|
2
|
+
// MessagePack for C++ serializing routine
|
3
|
+
//
|
4
|
+
// Copyright (C) 2008-2010 FURUHASHI Sadayuki
|
5
|
+
//
|
6
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
// you may not use this file except in compliance with the License.
|
8
|
+
// You may obtain a copy of the License at
|
9
|
+
//
|
10
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
//
|
12
|
+
// Unless required by applicable law or agreed to in writing, software
|
13
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
// See the License for the specific language governing permissions and
|
16
|
+
// limitations under the License.
|
17
|
+
//
|
18
|
+
#ifndef MSGPACK_PACK_HPP__
|
19
|
+
#define MSGPACK_PACK_HPP__
|
20
|
+
|
21
|
+
#include "pack_define.h"
|
22
|
+
#include <stdexcept>
|
23
|
+
#include <limits.h>
|
24
|
+
|
25
|
+
namespace msgpack {
|
26
|
+
|
27
|
+
|
28
|
+
template <typename Stream>
|
29
|
+
class packer {
|
30
|
+
public:
|
31
|
+
packer(Stream* s);
|
32
|
+
packer(Stream& s);
|
33
|
+
~packer();
|
34
|
+
|
35
|
+
public:
|
36
|
+
template <typename T>
|
37
|
+
packer<Stream>& pack(const T& v);
|
38
|
+
|
39
|
+
packer<Stream>& pack_uint8(uint8_t d);
|
40
|
+
packer<Stream>& pack_uint16(uint16_t d);
|
41
|
+
packer<Stream>& pack_uint32(uint32_t d);
|
42
|
+
packer<Stream>& pack_uint64(uint64_t d);
|
43
|
+
packer<Stream>& pack_int8(int8_t d);
|
44
|
+
packer<Stream>& pack_int16(int16_t d);
|
45
|
+
packer<Stream>& pack_int32(int32_t d);
|
46
|
+
packer<Stream>& pack_int64(int64_t d);
|
47
|
+
|
48
|
+
packer<Stream>& pack_fix_uint8(uint8_t d);
|
49
|
+
packer<Stream>& pack_fix_uint16(uint16_t d);
|
50
|
+
packer<Stream>& pack_fix_uint32(uint32_t d);
|
51
|
+
packer<Stream>& pack_fix_uint64(uint64_t d);
|
52
|
+
packer<Stream>& pack_fix_int8(int8_t d);
|
53
|
+
packer<Stream>& pack_fix_int16(int16_t d);
|
54
|
+
packer<Stream>& pack_fix_int32(int32_t d);
|
55
|
+
packer<Stream>& pack_fix_int64(int64_t d);
|
56
|
+
|
57
|
+
packer<Stream>& pack_short(short d);
|
58
|
+
packer<Stream>& pack_int(int d);
|
59
|
+
packer<Stream>& pack_long(long d);
|
60
|
+
packer<Stream>& pack_long_long(long long d);
|
61
|
+
packer<Stream>& pack_unsigned_short(unsigned short d);
|
62
|
+
packer<Stream>& pack_unsigned_int(unsigned int d);
|
63
|
+
packer<Stream>& pack_unsigned_long(unsigned long d);
|
64
|
+
packer<Stream>& pack_unsigned_long_long(unsigned long long d);
|
65
|
+
|
66
|
+
packer<Stream>& pack_float(float d);
|
67
|
+
packer<Stream>& pack_double(double d);
|
68
|
+
|
69
|
+
packer<Stream>& pack_nil();
|
70
|
+
packer<Stream>& pack_true();
|
71
|
+
packer<Stream>& pack_false();
|
72
|
+
|
73
|
+
packer<Stream>& pack_array(unsigned int n);
|
74
|
+
|
75
|
+
packer<Stream>& pack_map(unsigned int n);
|
76
|
+
|
77
|
+
packer<Stream>& pack_raw(size_t l);
|
78
|
+
packer<Stream>& pack_raw_body(const char* b, size_t l);
|
79
|
+
|
80
|
+
private:
|
81
|
+
static void _pack_uint8(Stream& x, uint8_t d);
|
82
|
+
static void _pack_uint16(Stream& x, uint16_t d);
|
83
|
+
static void _pack_uint32(Stream& x, uint32_t d);
|
84
|
+
static void _pack_uint64(Stream& x, uint64_t d);
|
85
|
+
static void _pack_int8(Stream& x, int8_t d);
|
86
|
+
static void _pack_int16(Stream& x, int16_t d);
|
87
|
+
static void _pack_int32(Stream& x, int32_t d);
|
88
|
+
static void _pack_int64(Stream& x, int64_t d);
|
89
|
+
|
90
|
+
static void _pack_fix_uint8(Stream& x, uint8_t d);
|
91
|
+
static void _pack_fix_uint16(Stream& x, uint16_t d);
|
92
|
+
static void _pack_fix_uint32(Stream& x, uint32_t d);
|
93
|
+
static void _pack_fix_uint64(Stream& x, uint64_t d);
|
94
|
+
static void _pack_fix_int8(Stream& x, int8_t d);
|
95
|
+
static void _pack_fix_int16(Stream& x, int16_t d);
|
96
|
+
static void _pack_fix_int32(Stream& x, int32_t d);
|
97
|
+
static void _pack_fix_int64(Stream& x, int64_t d);
|
98
|
+
|
99
|
+
static void _pack_short(Stream& x, short d);
|
100
|
+
static void _pack_int(Stream& x, int d);
|
101
|
+
static void _pack_long(Stream& x, long d);
|
102
|
+
static void _pack_long_long(Stream& x, long long d);
|
103
|
+
static void _pack_unsigned_short(Stream& x, unsigned short d);
|
104
|
+
static void _pack_unsigned_int(Stream& x, unsigned int d);
|
105
|
+
static void _pack_unsigned_long(Stream& x, unsigned long d);
|
106
|
+
static void _pack_unsigned_long_long(Stream& x, unsigned long long d);
|
107
|
+
|
108
|
+
static void _pack_float(Stream& x, float d);
|
109
|
+
static void _pack_double(Stream& x, double d);
|
110
|
+
|
111
|
+
static void _pack_nil(Stream& x);
|
112
|
+
static void _pack_true(Stream& x);
|
113
|
+
static void _pack_false(Stream& x);
|
114
|
+
|
115
|
+
static void _pack_array(Stream& x, unsigned int n);
|
116
|
+
|
117
|
+
static void _pack_map(Stream& x, unsigned int n);
|
118
|
+
|
119
|
+
static void _pack_raw(Stream& x, size_t l);
|
120
|
+
static void _pack_raw_body(Stream& x, const void* b, size_t l);
|
121
|
+
|
122
|
+
static void append_buffer(Stream& x, const unsigned char* buf, unsigned int len)
|
123
|
+
{ x.write((const char*)buf, len); }
|
124
|
+
|
125
|
+
private:
|
126
|
+
Stream& m_stream;
|
127
|
+
|
128
|
+
private:
|
129
|
+
packer();
|
130
|
+
};
|
131
|
+
|
132
|
+
|
133
|
+
template <typename Stream, typename T>
|
134
|
+
inline void pack(Stream* s, const T& v)
|
135
|
+
{
|
136
|
+
packer<Stream>(s).pack(v);
|
137
|
+
}
|
138
|
+
|
139
|
+
template <typename Stream, typename T>
|
140
|
+
inline void pack(Stream& s, const T& v)
|
141
|
+
{
|
142
|
+
packer<Stream>(s).pack(v);
|
143
|
+
}
|
144
|
+
|
145
|
+
|
146
|
+
#define msgpack_pack_inline_func(name) \
|
147
|
+
template <typename Stream> \
|
148
|
+
inline void packer<Stream>::_pack ## name
|
149
|
+
|
150
|
+
#define msgpack_pack_inline_func_cint(name) \
|
151
|
+
template <typename Stream> \
|
152
|
+
inline void packer<Stream>::_pack ## name
|
153
|
+
|
154
|
+
#define msgpack_pack_inline_func_fixint(name) \
|
155
|
+
template <typename Stream> \
|
156
|
+
inline void packer<Stream>::_pack_fix ## name
|
157
|
+
|
158
|
+
#define msgpack_pack_user Stream&
|
159
|
+
|
160
|
+
#define msgpack_pack_append_buffer append_buffer
|
161
|
+
|
162
|
+
#include "pack_template.h"
|
163
|
+
|
164
|
+
|
165
|
+
template <typename Stream>
|
166
|
+
packer<Stream>::packer(Stream* s) : m_stream(*s) { }
|
167
|
+
|
168
|
+
template <typename Stream>
|
169
|
+
packer<Stream>::packer(Stream& s) : m_stream(s) { }
|
170
|
+
|
171
|
+
template <typename Stream>
|
172
|
+
packer<Stream>::~packer() { }
|
173
|
+
|
174
|
+
|
175
|
+
template <typename Stream>
|
176
|
+
inline packer<Stream>& packer<Stream>::pack_uint8(uint8_t d)
|
177
|
+
{ _pack_uint8(m_stream, d); return *this; }
|
178
|
+
|
179
|
+
template <typename Stream>
|
180
|
+
inline packer<Stream>& packer<Stream>::pack_uint16(uint16_t d)
|
181
|
+
{ _pack_uint16(m_stream, d); return *this; }
|
182
|
+
|
183
|
+
template <typename Stream>
|
184
|
+
inline packer<Stream>& packer<Stream>::pack_uint32(uint32_t d)
|
185
|
+
{ _pack_uint32(m_stream, d); return *this; }
|
186
|
+
|
187
|
+
template <typename Stream>
|
188
|
+
inline packer<Stream>& packer<Stream>::pack_uint64(uint64_t d)
|
189
|
+
{ _pack_uint64(m_stream, d); return *this; }
|
190
|
+
|
191
|
+
template <typename Stream>
|
192
|
+
inline packer<Stream>& packer<Stream>::pack_int8(int8_t d)
|
193
|
+
{ _pack_int8(m_stream, d); return *this; }
|
194
|
+
|
195
|
+
template <typename Stream>
|
196
|
+
inline packer<Stream>& packer<Stream>::pack_int16(int16_t d)
|
197
|
+
{ _pack_int16(m_stream, d); return *this; }
|
198
|
+
|
199
|
+
template <typename Stream>
|
200
|
+
inline packer<Stream>& packer<Stream>::pack_int32(int32_t d)
|
201
|
+
{ _pack_int32(m_stream, d); return *this; }
|
202
|
+
|
203
|
+
template <typename Stream>
|
204
|
+
inline packer<Stream>& packer<Stream>::pack_int64(int64_t d)
|
205
|
+
{ _pack_int64(m_stream, d); return *this;}
|
206
|
+
|
207
|
+
|
208
|
+
template <typename Stream>
|
209
|
+
inline packer<Stream>& packer<Stream>::pack_fix_uint8(uint8_t d)
|
210
|
+
{ _pack_fix_uint8(m_stream, d); return *this; }
|
211
|
+
|
212
|
+
template <typename Stream>
|
213
|
+
inline packer<Stream>& packer<Stream>::pack_fix_uint16(uint16_t d)
|
214
|
+
{ _pack_fix_uint16(m_stream, d); return *this; }
|
215
|
+
|
216
|
+
template <typename Stream>
|
217
|
+
inline packer<Stream>& packer<Stream>::pack_fix_uint32(uint32_t d)
|
218
|
+
{ _pack_fix_uint32(m_stream, d); return *this; }
|
219
|
+
|
220
|
+
template <typename Stream>
|
221
|
+
inline packer<Stream>& packer<Stream>::pack_fix_uint64(uint64_t d)
|
222
|
+
{ _pack_fix_uint64(m_stream, d); return *this; }
|
223
|
+
|
224
|
+
template <typename Stream>
|
225
|
+
inline packer<Stream>& packer<Stream>::pack_fix_int8(int8_t d)
|
226
|
+
{ _pack_fix_int8(m_stream, d); return *this; }
|
227
|
+
|
228
|
+
template <typename Stream>
|
229
|
+
inline packer<Stream>& packer<Stream>::pack_fix_int16(int16_t d)
|
230
|
+
{ _pack_fix_int16(m_stream, d); return *this; }
|
231
|
+
|
232
|
+
template <typename Stream>
|
233
|
+
inline packer<Stream>& packer<Stream>::pack_fix_int32(int32_t d)
|
234
|
+
{ _pack_fix_int32(m_stream, d); return *this; }
|
235
|
+
|
236
|
+
template <typename Stream>
|
237
|
+
inline packer<Stream>& packer<Stream>::pack_fix_int64(int64_t d)
|
238
|
+
{ _pack_fix_int64(m_stream, d); return *this;}
|
239
|
+
|
240
|
+
|
241
|
+
template <typename Stream>
|
242
|
+
inline packer<Stream>& packer<Stream>::pack_short(short d)
|
243
|
+
{ _pack_short(m_stream, d); return *this; }
|
244
|
+
|
245
|
+
template <typename Stream>
|
246
|
+
inline packer<Stream>& packer<Stream>::pack_int(int d)
|
247
|
+
{ _pack_int(m_stream, d); return *this; }
|
248
|
+
|
249
|
+
template <typename Stream>
|
250
|
+
inline packer<Stream>& packer<Stream>::pack_long(long d)
|
251
|
+
{ _pack_long(m_stream, d); return *this; }
|
252
|
+
|
253
|
+
template <typename Stream>
|
254
|
+
inline packer<Stream>& packer<Stream>::pack_long_long(long long d)
|
255
|
+
{ _pack_long_long(m_stream, d); return *this; }
|
256
|
+
|
257
|
+
template <typename Stream>
|
258
|
+
inline packer<Stream>& packer<Stream>::pack_unsigned_short(unsigned short d)
|
259
|
+
{ _pack_unsigned_short(m_stream, d); return *this; }
|
260
|
+
|
261
|
+
template <typename Stream>
|
262
|
+
inline packer<Stream>& packer<Stream>::pack_unsigned_int(unsigned int d)
|
263
|
+
{ _pack_unsigned_int(m_stream, d); return *this; }
|
264
|
+
|
265
|
+
template <typename Stream>
|
266
|
+
inline packer<Stream>& packer<Stream>::pack_unsigned_long(unsigned long d)
|
267
|
+
{ _pack_unsigned_long(m_stream, d); return *this; }
|
268
|
+
|
269
|
+
template <typename Stream>
|
270
|
+
inline packer<Stream>& packer<Stream>::pack_unsigned_long_long(unsigned long long d)
|
271
|
+
{ _pack_unsigned_long_long(m_stream, d); return *this; }
|
272
|
+
|
273
|
+
|
274
|
+
template <typename Stream>
|
275
|
+
inline packer<Stream>& packer<Stream>::pack_float(float d)
|
276
|
+
{ _pack_float(m_stream, d); return *this; }
|
277
|
+
|
278
|
+
template <typename Stream>
|
279
|
+
inline packer<Stream>& packer<Stream>::pack_double(double d)
|
280
|
+
{ _pack_double(m_stream, d); return *this; }
|
281
|
+
|
282
|
+
|
283
|
+
template <typename Stream>
|
284
|
+
inline packer<Stream>& packer<Stream>::pack_nil()
|
285
|
+
{ _pack_nil(m_stream); return *this; }
|
286
|
+
|
287
|
+
template <typename Stream>
|
288
|
+
inline packer<Stream>& packer<Stream>::pack_true()
|
289
|
+
{ _pack_true(m_stream); return *this; }
|
290
|
+
|
291
|
+
template <typename Stream>
|
292
|
+
inline packer<Stream>& packer<Stream>::pack_false()
|
293
|
+
{ _pack_false(m_stream); return *this; }
|
294
|
+
|
295
|
+
|
296
|
+
template <typename Stream>
|
297
|
+
inline packer<Stream>& packer<Stream>::pack_array(unsigned int n)
|
298
|
+
{ _pack_array(m_stream, n); return *this; }
|
299
|
+
|
300
|
+
|
301
|
+
template <typename Stream>
|
302
|
+
inline packer<Stream>& packer<Stream>::pack_map(unsigned int n)
|
303
|
+
{ _pack_map(m_stream, n); return *this; }
|
304
|
+
|
305
|
+
|
306
|
+
template <typename Stream>
|
307
|
+
inline packer<Stream>& packer<Stream>::pack_raw(size_t l)
|
308
|
+
{ _pack_raw(m_stream, l); return *this; }
|
309
|
+
|
310
|
+
template <typename Stream>
|
311
|
+
inline packer<Stream>& packer<Stream>::pack_raw_body(const char* b, size_t l)
|
312
|
+
{ _pack_raw_body(m_stream, b, l); return *this; }
|
313
|
+
|
314
|
+
|
315
|
+
} // namespace msgpack
|
316
|
+
|
317
|
+
#endif /* msgpack/pack.hpp */
|
318
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/*
|
2
|
+
* MessagePack unpacking routine template
|
3
|
+
*
|
4
|
+
* Copyright (C) 2008-2010 FURUHASHI Sadayuki
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
* you may not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
*/
|
18
|
+
#ifndef MSGPACK_PACK_DEFINE_H__
|
19
|
+
#define MSGPACK_PACK_DEFINE_H__
|
20
|
+
|
21
|
+
#include "msgpack/sysdep.h"
|
22
|
+
#include <limits.h>
|
23
|
+
#include <string.h>
|
24
|
+
|
25
|
+
#endif /* msgpack/pack_define.h */
|
26
|
+
|