rroonga 4.0.3-x86-mingw32 → 4.0.4-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/Gemfile +1 -1
- data/README.textile +1 -1
- data/Rakefile +8 -1
- data/bin/grndump +1 -1
- data/bin/grntest-log-analyze +1 -1
- data/bin/groonga-database-inspect +1 -1
- data/bin/groonga-index-dump +1 -1
- data/doc/text/news.textile +28 -0
- data/ext/groonga/extconf.rb +12 -2
- data/ext/groonga/rb-grn-accessor.c +2 -1
- data/ext/groonga/rb-grn-array-cursor.c +1 -1
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-context.c +7 -5
- data/ext/groonga/rb-grn-database.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-encoding-support.c +1 -1
- data/ext/groonga/rb-grn-encoding.c +1 -1
- data/ext/groonga/rb-grn-exception.c +1 -1
- data/ext/groonga/rb-grn-expression-builder.c +1 -1
- data/ext/groonga/rb-grn-expression.c +1 -1
- data/ext/groonga/rb-grn-fix-size-column.c +1 -1
- data/ext/groonga/rb-grn-geo-point.c +1 -1
- data/ext/groonga/rb-grn-hash-cursor.c +1 -1
- data/ext/groonga/rb-grn-hash.c +1 -1
- data/ext/groonga/rb-grn-index-column.c +1 -1
- data/ext/groonga/rb-grn-index-cursor.c +1 -1
- data/ext/groonga/rb-grn-logger.c +1 -1
- data/ext/groonga/rb-grn-normalizer.c +1 -1
- data/ext/groonga/rb-grn-object.c +71 -45
- data/ext/groonga/rb-grn-operator.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-plugin.c +1 -1
- data/ext/groonga/rb-grn-posting.c +1 -1
- data/ext/groonga/rb-grn-procedure-type.c +40 -0
- data/ext/groonga/rb-grn-procedure.c +17 -4
- data/ext/groonga/rb-grn-query-logger.c +1 -1
- data/ext/groonga/rb-grn-record.c +1 -1
- data/ext/groonga/rb-grn-snippet.c +1 -1
- data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
- data/ext/groonga/rb-grn-table-cursor.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +1 -1
- data/ext/groonga/rb-grn-table.c +3 -2
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +1 -1
- data/ext/groonga/rb-grn-variable-size-column.c +55 -27
- data/ext/groonga/rb-grn-variable.c +1 -1
- data/ext/groonga/rb-grn.h +4 -2
- data/ext/groonga/rb-groonga.c +3 -2
- data/extconf.rb +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/groonga.rb +1 -1
- data/lib/groonga/column.rb +1 -1
- data/lib/groonga/context.rb +1 -1
- data/lib/groonga/context/command-executor.rb +1 -1
- data/lib/groonga/database-inspector.rb +1 -1
- data/lib/groonga/database.rb +1 -1
- data/lib/groonga/dumper.rb +1 -1
- data/lib/groonga/expression-builder-19.rb +1 -1
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/geo-point.rb +1 -1
- data/lib/groonga/grntest-log.rb +1 -1
- data/lib/groonga/index-column.rb +1 -1
- data/lib/groonga/logger.rb +1 -1
- data/lib/groonga/memory-pool.rb +1 -2
- data/lib/groonga/pagination.rb +1 -1
- data/lib/groonga/patricia-trie.rb +1 -1
- data/lib/groonga/posting.rb +1 -1
- data/lib/groonga/query-logger.rb +1 -1
- data/lib/groonga/record.rb +6 -2
- data/lib/groonga/schema.rb +1 -1
- data/lib/groonga/statistic-measurer.rb +1 -1
- data/lib/groonga/sub-records.rb +1 -1
- data/lib/groonga/table.rb +1 -1
- data/misc/grnop2ruby.rb +1 -1
- data/rroonga-build.rb +4 -4
- data/rroonga.gemspec +3 -3
- data/test/groonga-test-utils.rb +4 -4
- data/test/run-test.rb +1 -1
- data/test/test-accessor.rb +1 -1
- data/test/test-array.rb +1 -1
- data/test/test-column.rb +1 -1
- data/test/test-command-select.rb +1 -1
- data/test/test-context.rb +21 -16
- data/test/test-convert.rb +1 -1
- data/test/test-database-dumper.rb +1 -1
- data/test/test-database-inspector.rb +1 -1
- data/test/test-database.rb +38 -25
- data/test/test-double-array-trie.rb +1 -1
- data/test/test-encoding.rb +1 -1
- data/test/test-exception.rb +12 -7
- data/test/test-expression-builder.rb +1 -1
- data/test/test-expression.rb +1 -1
- data/test/test-fix-size-column.rb +1 -1
- data/test/test-geo-point.rb +1 -1
- data/test/test-gqtp.rb +1 -1
- data/test/test-hash.rb +1 -1
- data/test/test-index-column.rb +1 -1
- data/test/test-index-cursor.rb +1 -1
- data/test/test-lock-timeout.rb +1 -1
- data/test/test-logger.rb +1 -1
- data/test/test-memory-pool.rb +1 -1
- data/test/test-normalizer.rb +1 -1
- data/test/test-pagination.rb +1 -1
- data/test/test-patricia-trie.rb +1 -1
- data/test/test-plugin.rb +1 -1
- data/test/test-procedure.rb +9 -2
- data/test/test-record.rb +1 -1
- data/test/test-remote.rb +1 -1
- data/test/test-schema-create-table.rb +1 -1
- data/test/test-schema-dumper.rb +1 -1
- data/test/test-schema-type.rb +1 -1
- data/test/test-schema.rb +1 -1
- data/test/test-snippet.rb +1 -1
- data/test/test-statistic-measurer.rb +1 -1
- data/test/test-sub-records.rb +1 -1
- data/test/test-table-dumper.rb +1 -1
- data/test/test-table-key-support.rb +1 -1
- data/test/test-table-offset-and-limit.rb +1 -1
- data/test/test-table-select-mecab.rb +1 -1
- data/test/test-table-select-normalize.rb +1 -1
- data/test/test-table-select-weight.rb +1 -1
- data/test/test-table-select.rb +1 -1
- data/test/test-table-traverse.rb +1 -1
- data/test/test-table.rb +1 -1
- data/test/test-type.rb +1 -1
- data/test/test-variable-size-column.rb +136 -67
- data/test/test-variable.rb +1 -1
- data/test/test-vector-column.rb +1 -1
- data/test/test-version.rb +1 -1
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +38 -5
- data/vendor/local/include/groonga/groonga/plugin.h +11 -83
- data/vendor/local/include/groonga/groonga/tokenizer.h +10 -5
- data/vendor/local/include/msgpack.h +1 -0
- data/vendor/local/include/msgpack/fbuffer.h +47 -0
- data/vendor/local/include/msgpack/fbuffer.hpp +56 -0
- data/vendor/local/include/msgpack/object.hpp +12 -3
- data/vendor/local/include/msgpack/pack.h +7 -3
- data/vendor/local/include/msgpack/pack.hpp +26 -7
- data/vendor/local/include/msgpack/pack_template.h +34 -7
- data/vendor/local/include/msgpack/sbuffer.h +3 -2
- data/vendor/local/include/msgpack/sbuffer.hpp +1 -1
- data/vendor/local/include/msgpack/sysdep.h +27 -14
- data/vendor/local/include/msgpack/type.hpp +2 -1
- data/vendor/local/include/msgpack/type/define.hpp +747 -561
- data/vendor/local/include/msgpack/type/float.hpp +24 -4
- data/vendor/local/include/msgpack/type/int.hpp +78 -13
- data/vendor/local/include/msgpack/type/tr1/unordered_map.hpp +31 -10
- data/vendor/local/include/msgpack/type/tr1/unordered_set.hpp +30 -10
- data/vendor/local/include/msgpack/unpack.h +9 -9
- data/vendor/local/include/msgpack/unpack_define.h +16 -14
- data/vendor/local/include/msgpack/unpack_template.h +19 -8
- data/vendor/local/include/msgpack/version.h +1 -1
- data/vendor/local/include/msgpack/vrefbuffer.h +10 -9
- data/vendor/local/include/msgpack/vrefbuffer.hpp +4 -2
- data/vendor/local/include/msgpack/zbuffer.h +3 -2
- data/vendor/local/include/msgpack/zbuffer.hpp +4 -2
- data/vendor/local/include/msgpack/zone.h +5 -4
- data/vendor/local/include/msgpack/zone.hpp +10 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/msgpack.pc +10 -0
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +2 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +9 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +13 -15
- 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 +4 -4
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +149 -1194
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +49 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +617 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +536 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +122 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +50 -55
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +25 -31
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +26 -29
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +20 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +26 -29
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/dump.txt +28 -28
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +20 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +20 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +29 -34
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt +20 -20
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +19 -20
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +19 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +78 -87
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +20 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +19 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +27 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +17 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +17 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +132 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +100 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +6 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +28 -25
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +26 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +17 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +44 -42
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -18
- data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +2 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/genindex.html +136 -26
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/index.html +56 -56
- data/vendor/local/share/doc/groonga/en/html/install.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -50
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +59 -35
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +40 -44
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/install/others.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +33 -35
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news.html +320 -1367
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +160 -0
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +804 -0
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +727 -0
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +23 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +23 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +35 -37
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +226 -24
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +17 -20
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +33 -35
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +73 -85
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +50 -62
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +53 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +45 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +49 -59
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +47 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +44 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +45 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +54 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +42 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +41 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +52 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +201 -213
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +74 -81
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +42 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +174 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +31 -24
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +311 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +28 -29
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +52 -52
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +57 -56
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +71 -69
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +2 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +9 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +13 -15
- 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 +4 -4
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +149 -1194
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +49 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +617 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +536 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +122 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +50 -55
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +25 -31
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +26 -29
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +20 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +26 -29
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/dump.txt +28 -28
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +20 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +20 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +29 -34
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt +20 -20
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +19 -20
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +19 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +78 -87
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +20 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +19 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +27 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +17 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +17 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +132 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +100 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +6 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +28 -25
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +26 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +17 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +44 -42
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -18
- data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +2 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +136 -26
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/index.html +53 -53
- data/vendor/local/share/doc/groonga/ja/html/install.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -50
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +62 -36
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news.html +354 -1643
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +180 -0
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +950 -0
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +831 -0
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +23 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +226 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +17 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +73 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +50 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +42 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +53 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +45 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +49 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +45 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +54 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +42 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +41 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +52 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +195 -207
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +74 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +172 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +31 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +294 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +266 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +55 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +39 -38
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +68 -64
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +2 -2
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/html/index.html +2 -2
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +4 -0
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +356 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/groonga/html/admin/css/groonga-admin.css +11 -0
- data/vendor/local/share/groonga/html/admin/index.html +75 -75
- data/vendor/local/share/groonga/html/admin/index.ja.html +301 -0
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.ja.js +1372 -0
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +28 -28
- data/vendor/local/share/license/groonga/README.md +49 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +1934 -1247
- data/vendor/local/share/man/man1/groonga.1 +2008 -1240
- metadata +111 -83
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.6.0.min.js +0 -16
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.12.min.js +0 -406
- data/vendor/local/share/license/groonga/AUTHORS +0 -17
@@ -29,8 +29,18 @@ namespace msgpack {
|
|
29
29
|
|
30
30
|
inline float& operator>> (object o, float& v)
|
31
31
|
{
|
32
|
-
if(o.type
|
33
|
-
|
32
|
+
if(o.type == type::DOUBLE) {
|
33
|
+
v = (float)o.via.dec;
|
34
|
+
}
|
35
|
+
else if (o.type == type::POSITIVE_INTEGER) {
|
36
|
+
v = (float)o.via.u64;
|
37
|
+
}
|
38
|
+
else if (o.type == type::NEGATIVE_INTEGER) {
|
39
|
+
v = (float)o.via.i64;
|
40
|
+
}
|
41
|
+
else {
|
42
|
+
throw type_error();
|
43
|
+
}
|
34
44
|
return v;
|
35
45
|
}
|
36
46
|
|
@@ -44,8 +54,18 @@ inline packer<Stream>& operator<< (packer<Stream>& o, const float& v)
|
|
44
54
|
|
45
55
|
inline double& operator>> (object o, double& v)
|
46
56
|
{
|
47
|
-
if(o.type
|
48
|
-
|
57
|
+
if(o.type == type::DOUBLE) {
|
58
|
+
v = o.via.dec;
|
59
|
+
}
|
60
|
+
else if (o.type == type::POSITIVE_INTEGER) {
|
61
|
+
v = (double)o.via.u64;
|
62
|
+
}
|
63
|
+
else if (o.type == type::NEGATIVE_INTEGER) {
|
64
|
+
v = (double)o.via.i64;
|
65
|
+
}
|
66
|
+
else {
|
67
|
+
throw type_error();
|
68
|
+
}
|
49
69
|
return v;
|
50
70
|
}
|
51
71
|
|
@@ -57,15 +57,69 @@ namespace detail {
|
|
57
57
|
}
|
58
58
|
};
|
59
59
|
|
60
|
+
template <typename T>
|
61
|
+
struct is_signed {
|
62
|
+
static const bool value = std::numeric_limits<T>::is_signed;
|
63
|
+
};
|
64
|
+
|
60
65
|
template <typename T>
|
61
66
|
static inline T convert_integer(object o)
|
62
67
|
{
|
63
|
-
return detail::convert_integer_sign<T,
|
68
|
+
return detail::convert_integer_sign<T, is_signed<T>::value>::convert(o);
|
69
|
+
}
|
70
|
+
|
71
|
+
template <bool Signed>
|
72
|
+
struct pack_char_sign;
|
73
|
+
|
74
|
+
template <>
|
75
|
+
struct pack_char_sign<true> {
|
76
|
+
template <typename Stream>
|
77
|
+
static inline packer<Stream>& pack(packer<Stream>& o, char v) {
|
78
|
+
o.pack_int8(v); return o;
|
79
|
+
}
|
80
|
+
};
|
81
|
+
|
82
|
+
template <>
|
83
|
+
struct pack_char_sign<false> {
|
84
|
+
template <typename Stream>
|
85
|
+
static inline packer<Stream>& pack(packer<Stream>& o, char v) {
|
86
|
+
o.pack_uint8(v); return o;
|
87
|
+
}
|
88
|
+
};
|
89
|
+
|
90
|
+
template <typename Stream>
|
91
|
+
static inline packer<Stream>& pack_char(packer<Stream>& o, char v) {
|
92
|
+
return pack_char_sign<is_signed<char>::value>::pack(o, v);
|
93
|
+
}
|
94
|
+
|
95
|
+
template <bool Signed>
|
96
|
+
struct object_char_sign;
|
97
|
+
|
98
|
+
template <>
|
99
|
+
struct object_char_sign<true> {
|
100
|
+
static inline void make(object& o, char v) {
|
101
|
+
v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v
|
102
|
+
: o.type = type::POSITIVE_INTEGER, o.via.u64 = v;
|
103
|
+
}
|
104
|
+
};
|
105
|
+
|
106
|
+
template <>
|
107
|
+
struct object_char_sign<false> {
|
108
|
+
static inline void make(object& o, char v) {
|
109
|
+
o.type = type::POSITIVE_INTEGER, o.via.u64 = v;
|
110
|
+
}
|
111
|
+
};
|
112
|
+
|
113
|
+
static inline void object_char(object& o, char v) {
|
114
|
+
return object_char_sign<is_signed<char>::value>::make(o, v);
|
64
115
|
}
|
65
116
|
|
66
117
|
} // namespace detail
|
67
118
|
} // namespace type
|
68
119
|
|
120
|
+
inline char& operator>> (object const& o, char& v)
|
121
|
+
{ v = type::detail::convert_integer<char>(o); return v; }
|
122
|
+
|
69
123
|
|
70
124
|
inline signed char& operator>> (object o, signed char& v)
|
71
125
|
{ v = type::detail::convert_integer<signed char>(o); return v; }
|
@@ -98,49 +152,56 @@ inline unsigned long& operator>> (object o, unsigned long& v)
|
|
98
152
|
inline unsigned long long& operator>> (object o, unsigned long long& v)
|
99
153
|
{ v = type::detail::convert_integer<unsigned long long>(o); return v; }
|
100
154
|
|
155
|
+
template <typename Stream>
|
156
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, char v)
|
157
|
+
{ return type::detail::pack_char(o, v); }
|
101
158
|
|
102
159
|
template <typename Stream>
|
103
|
-
inline packer<Stream>& operator<< (packer<Stream>& o,
|
160
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, signed char v)
|
104
161
|
{ o.pack_int8(v); return o; }
|
105
162
|
|
106
163
|
template <typename Stream>
|
107
|
-
inline packer<Stream>& operator<< (packer<Stream>& o,
|
164
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, signed short v)
|
108
165
|
{ o.pack_short(v); return o; }
|
109
166
|
|
110
167
|
template <typename Stream>
|
111
|
-
inline packer<Stream>& operator<< (packer<Stream>& o,
|
168
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, signed int v)
|
112
169
|
{ o.pack_int(v); return o; }
|
113
170
|
|
114
171
|
template <typename Stream>
|
115
|
-
inline packer<Stream>& operator<< (packer<Stream>& o,
|
172
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, signed long v)
|
116
173
|
{ o.pack_long(v); return o; }
|
117
174
|
|
118
175
|
template <typename Stream>
|
119
|
-
inline packer<Stream>& operator<< (packer<Stream>& o,
|
176
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, signed long long v)
|
120
177
|
{ o.pack_long_long(v); return o; }
|
121
178
|
|
122
179
|
|
123
180
|
template <typename Stream>
|
124
|
-
inline packer<Stream>& operator<< (packer<Stream>& o,
|
181
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, unsigned char v)
|
125
182
|
{ o.pack_uint8(v); return o; }
|
126
183
|
|
127
184
|
template <typename Stream>
|
128
|
-
inline packer<Stream>& operator<< (packer<Stream>& o,
|
185
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, unsigned short v)
|
129
186
|
{ o.pack_unsigned_short(v); return o; }
|
130
187
|
|
131
188
|
template <typename Stream>
|
132
|
-
inline packer<Stream>& operator<< (packer<Stream>& o,
|
189
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, unsigned int v)
|
133
190
|
{ o.pack_unsigned_int(v); return o; }
|
134
191
|
|
135
192
|
template <typename Stream>
|
136
|
-
inline packer<Stream>& operator<< (packer<Stream>& o,
|
193
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, unsigned long v)
|
137
194
|
{ o.pack_unsigned_long(v); return o; }
|
138
195
|
|
139
196
|
template <typename Stream>
|
140
|
-
inline packer<Stream>& operator<< (packer<Stream>& o,
|
197
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, unsigned long long v)
|
141
198
|
{ o.pack_unsigned_long_long(v); return o; }
|
142
199
|
|
143
200
|
|
201
|
+
inline void operator<< (object& o, char v)
|
202
|
+
{ type::detail::object_char(o, v); }
|
203
|
+
|
204
|
+
|
144
205
|
inline void operator<< (object& o, signed char v)
|
145
206
|
{ v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v : o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
|
146
207
|
|
@@ -173,6 +234,10 @@ inline void operator<< (object& o, unsigned long long v)
|
|
173
234
|
{ o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
|
174
235
|
|
175
236
|
|
237
|
+
inline void operator<< (object::with_zone& o, char v)
|
238
|
+
{ static_cast<object&>(o) << v; }
|
239
|
+
|
240
|
+
|
176
241
|
inline void operator<< (object::with_zone& o, signed char v)
|
177
242
|
{ static_cast<object&>(o) << v; }
|
178
243
|
|
@@ -185,7 +250,7 @@ inline void operator<< (object::with_zone& o, signed int v)
|
|
185
250
|
inline void operator<< (object::with_zone& o, signed long v)
|
186
251
|
{ static_cast<object&>(o) << v; }
|
187
252
|
|
188
|
-
inline void operator<< (object::with_zone& o, signed long long v)
|
253
|
+
inline void operator<< (object::with_zone& o, const signed long long& v)
|
189
254
|
{ static_cast<object&>(o) << v; }
|
190
255
|
|
191
256
|
|
@@ -201,7 +266,7 @@ inline void operator<< (object::with_zone& o, unsigned int v)
|
|
201
266
|
inline void operator<< (object::with_zone& o, unsigned long v)
|
202
267
|
{ static_cast<object&>(o) << v; }
|
203
268
|
|
204
|
-
inline void operator<< (object::with_zone& o, unsigned long long v)
|
269
|
+
inline void operator<< (object::with_zone& o, const unsigned long long& v)
|
205
270
|
{ static_cast<object&>(o) << v; }
|
206
271
|
|
207
272
|
|
@@ -19,13 +19,32 @@
|
|
19
19
|
#define MSGPACK_TYPE_TR1_UNORDERED_MAP_HPP__
|
20
20
|
|
21
21
|
#include "msgpack/object.hpp"
|
22
|
+
|
23
|
+
#if defined(_LIBCPP_VERSION) || (_MSC_VER >= 1700)
|
24
|
+
|
25
|
+
#define MSGPACK_HAS_STD_UNOURDERED_MAP
|
26
|
+
#include <unordered_map>
|
27
|
+
#define MSGPACK_STD_TR1 std
|
28
|
+
|
29
|
+
#else // defined(_LIBCPP_VERSION) || (_MSC_VER >= 1700)
|
30
|
+
|
31
|
+
#if __GNUC__ >= 4
|
32
|
+
|
33
|
+
#define MSGPACK_HAS_STD_TR1_UNOURDERED_MAP
|
34
|
+
|
22
35
|
#include <tr1/unordered_map>
|
36
|
+
#define MSGPACK_STD_TR1 std::tr1
|
37
|
+
|
38
|
+
#endif // __GNUC__ >= 4
|
39
|
+
|
40
|
+
#endif // defined(_LIBCPP_VERSION) || (_MSC_VER >= 1700)
|
41
|
+
|
23
42
|
|
24
43
|
namespace msgpack {
|
25
44
|
|
26
45
|
|
27
46
|
template <typename K, typename V>
|
28
|
-
inline
|
47
|
+
inline MSGPACK_STD_TR1::unordered_map<K, V> operator>> (object o, MSGPACK_STD_TR1::unordered_map<K, V>& v)
|
29
48
|
{
|
30
49
|
if(o.type != type::MAP) { throw type_error(); }
|
31
50
|
object_kv* p(o.via.map.ptr);
|
@@ -39,10 +58,10 @@ inline std::tr1::unordered_map<K, V> operator>> (object o, std::tr1::unordered_m
|
|
39
58
|
}
|
40
59
|
|
41
60
|
template <typename Stream, typename K, typename V>
|
42
|
-
inline packer<Stream>& operator<< (packer<Stream>& o, const
|
61
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, const MSGPACK_STD_TR1::unordered_map<K,V>& v)
|
43
62
|
{
|
44
63
|
o.pack_map(v.size());
|
45
|
-
for(typename
|
64
|
+
for(typename MSGPACK_STD_TR1::unordered_map<K,V>::const_iterator it(v.begin()), it_end(v.end());
|
46
65
|
it != it_end; ++it) {
|
47
66
|
o.pack(it->first);
|
48
67
|
o.pack(it->second);
|
@@ -51,7 +70,7 @@ inline packer<Stream>& operator<< (packer<Stream>& o, const std::tr1::unordered_
|
|
51
70
|
}
|
52
71
|
|
53
72
|
template <typename K, typename V>
|
54
|
-
inline void operator<< (object::with_zone& o, const
|
73
|
+
inline void operator<< (object::with_zone& o, const MSGPACK_STD_TR1::unordered_map<K,V>& v)
|
55
74
|
{
|
56
75
|
o.type = type::MAP;
|
57
76
|
if(v.empty()) {
|
@@ -62,7 +81,7 @@ inline void operator<< (object::with_zone& o, const std::tr1::unordered_map<K,V>
|
|
62
81
|
object_kv* const pend = p + v.size();
|
63
82
|
o.via.map.ptr = p;
|
64
83
|
o.via.map.size = v.size();
|
65
|
-
typename
|
84
|
+
typename MSGPACK_STD_TR1::unordered_map<K,V>::const_iterator it(v.begin());
|
66
85
|
do {
|
67
86
|
p->key = object(it->first, o.zone);
|
68
87
|
p->val = object(it->second, o.zone);
|
@@ -74,7 +93,7 @@ inline void operator<< (object::with_zone& o, const std::tr1::unordered_map<K,V>
|
|
74
93
|
|
75
94
|
|
76
95
|
template <typename K, typename V>
|
77
|
-
inline
|
96
|
+
inline MSGPACK_STD_TR1::unordered_multimap<K, V> operator>> (object o, MSGPACK_STD_TR1::unordered_multimap<K, V>& v)
|
78
97
|
{
|
79
98
|
if(o.type != type::MAP) { throw type_error(); }
|
80
99
|
object_kv* p(o.via.map.ptr);
|
@@ -89,10 +108,10 @@ inline std::tr1::unordered_multimap<K, V> operator>> (object o, std::tr1::unorde
|
|
89
108
|
}
|
90
109
|
|
91
110
|
template <typename Stream, typename K, typename V>
|
92
|
-
inline packer<Stream>& operator<< (packer<Stream>& o, const
|
111
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, const MSGPACK_STD_TR1::unordered_multimap<K,V>& v)
|
93
112
|
{
|
94
113
|
o.pack_map(v.size());
|
95
|
-
for(typename
|
114
|
+
for(typename MSGPACK_STD_TR1::unordered_multimap<K,V>::const_iterator it(v.begin()), it_end(v.end());
|
96
115
|
it != it_end; ++it) {
|
97
116
|
o.pack(it->first);
|
98
117
|
o.pack(it->second);
|
@@ -101,7 +120,7 @@ inline packer<Stream>& operator<< (packer<Stream>& o, const std::tr1::unordered_
|
|
101
120
|
}
|
102
121
|
|
103
122
|
template <typename K, typename V>
|
104
|
-
inline void operator<< (object::with_zone& o, const
|
123
|
+
inline void operator<< (object::with_zone& o, const MSGPACK_STD_TR1::unordered_multimap<K,V>& v)
|
105
124
|
{
|
106
125
|
o.type = type::MAP;
|
107
126
|
if(v.empty()) {
|
@@ -112,7 +131,7 @@ inline void operator<< (object::with_zone& o, const std::tr1::unordered_multimap
|
|
112
131
|
object_kv* const pend = p + v.size();
|
113
132
|
o.via.map.ptr = p;
|
114
133
|
o.via.map.size = v.size();
|
115
|
-
typename
|
134
|
+
typename MSGPACK_STD_TR1::unordered_multimap<K,V>::const_iterator it(v.begin());
|
116
135
|
do {
|
117
136
|
p->key = object(it->first, o.zone);
|
118
137
|
p->val = object(it->second, o.zone);
|
@@ -125,5 +144,7 @@ inline void operator<< (object::with_zone& o, const std::tr1::unordered_multimap
|
|
125
144
|
|
126
145
|
} // namespace msgpack
|
127
146
|
|
147
|
+
#undef MSGPACK_STD_TR1
|
148
|
+
|
128
149
|
#endif /* msgpack/type/map.hpp */
|
129
150
|
|
@@ -19,13 +19,31 @@
|
|
19
19
|
#define MSGPACK_TYPE_TR1_UNORDERED_SET_HPP__
|
20
20
|
|
21
21
|
#include "msgpack/object.hpp"
|
22
|
+
|
23
|
+
#if defined(_LIBCPP_VERSION) || (_MSC_VER >= 1700)
|
24
|
+
|
25
|
+
#define MSGPACK_HAS_STD_UNOURDERED_SET
|
26
|
+
#include <unordered_set>
|
27
|
+
#define MSGPACK_STD_TR1 std
|
28
|
+
|
29
|
+
#else // defined(_LIBCPP_VERSION) || (_MSC_VER >= 1700)
|
30
|
+
|
31
|
+
#if __GNUC__ >= 4
|
32
|
+
|
33
|
+
#define MSGPACK_HAS_STD_TR1_UNOURDERED_SET
|
34
|
+
|
22
35
|
#include <tr1/unordered_set>
|
36
|
+
#define MSGPACK_STD_TR1 std::tr1
|
37
|
+
|
38
|
+
#endif // __GNUC__ >= 4
|
39
|
+
|
40
|
+
#endif // defined(_LIBCPP_VERSION) || (_MSC_VER >= 1700)
|
23
41
|
|
24
42
|
namespace msgpack {
|
25
43
|
|
26
44
|
|
27
45
|
template <typename T>
|
28
|
-
inline
|
46
|
+
inline MSGPACK_STD_TR1::unordered_set<T>& operator>> (object o, MSGPACK_STD_TR1::unordered_set<T>& v)
|
29
47
|
{
|
30
48
|
if(o.type != type::ARRAY) { throw type_error(); }
|
31
49
|
object* p = o.via.array.ptr + o.via.array.size;
|
@@ -38,10 +56,10 @@ inline std::tr1::unordered_set<T>& operator>> (object o, std::tr1::unordered_set
|
|
38
56
|
}
|
39
57
|
|
40
58
|
template <typename Stream, typename T>
|
41
|
-
inline packer<Stream>& operator<< (packer<Stream>& o, const
|
59
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, const MSGPACK_STD_TR1::unordered_set<T>& v)
|
42
60
|
{
|
43
61
|
o.pack_array(v.size());
|
44
|
-
for(typename
|
62
|
+
for(typename MSGPACK_STD_TR1::unordered_set<T>::const_iterator it(v.begin()), it_end(v.end());
|
45
63
|
it != it_end; ++it) {
|
46
64
|
o.pack(*it);
|
47
65
|
}
|
@@ -49,7 +67,7 @@ inline packer<Stream>& operator<< (packer<Stream>& o, const std::tr1::unordered_
|
|
49
67
|
}
|
50
68
|
|
51
69
|
template <typename T>
|
52
|
-
inline void operator<< (object::with_zone& o, const
|
70
|
+
inline void operator<< (object::with_zone& o, const MSGPACK_STD_TR1::unordered_set<T>& v)
|
53
71
|
{
|
54
72
|
o.type = type::ARRAY;
|
55
73
|
if(v.empty()) {
|
@@ -60,7 +78,7 @@ inline void operator<< (object::with_zone& o, const std::tr1::unordered_set<T>&
|
|
60
78
|
object* const pend = p + v.size();
|
61
79
|
o.via.array.ptr = p;
|
62
80
|
o.via.array.size = v.size();
|
63
|
-
typename
|
81
|
+
typename MSGPACK_STD_TR1::unordered_set<T>::const_iterator it(v.begin());
|
64
82
|
do {
|
65
83
|
*p = object(*it, o.zone);
|
66
84
|
++p;
|
@@ -71,7 +89,7 @@ inline void operator<< (object::with_zone& o, const std::tr1::unordered_set<T>&
|
|
71
89
|
|
72
90
|
|
73
91
|
template <typename T>
|
74
|
-
inline
|
92
|
+
inline MSGPACK_STD_TR1::unordered_multiset<T>& operator>> (object o, MSGPACK_STD_TR1::unordered_multiset<T>& v)
|
75
93
|
{
|
76
94
|
if(o.type != type::ARRAY) { throw type_error(); }
|
77
95
|
object* p = o.via.array.ptr + o.via.array.size;
|
@@ -84,10 +102,10 @@ inline std::tr1::unordered_multiset<T>& operator>> (object o, std::tr1::unordere
|
|
84
102
|
}
|
85
103
|
|
86
104
|
template <typename Stream, typename T>
|
87
|
-
inline packer<Stream>& operator<< (packer<Stream>& o, const
|
105
|
+
inline packer<Stream>& operator<< (packer<Stream>& o, const MSGPACK_STD_TR1::unordered_multiset<T>& v)
|
88
106
|
{
|
89
107
|
o.pack_array(v.size());
|
90
|
-
for(typename
|
108
|
+
for(typename MSGPACK_STD_TR1::unordered_multiset<T>::const_iterator it(v.begin()), it_end(v.end());
|
91
109
|
it != it_end; ++it) {
|
92
110
|
o.pack(*it);
|
93
111
|
}
|
@@ -95,7 +113,7 @@ inline packer<Stream>& operator<< (packer<Stream>& o, const std::tr1::unordered_
|
|
95
113
|
}
|
96
114
|
|
97
115
|
template <typename T>
|
98
|
-
inline void operator<< (object::with_zone& o, const
|
116
|
+
inline void operator<< (object::with_zone& o, const MSGPACK_STD_TR1::unordered_multiset<T>& v)
|
99
117
|
{
|
100
118
|
o.type = type::ARRAY;
|
101
119
|
if(v.empty()) {
|
@@ -106,7 +124,7 @@ inline void operator<< (object::with_zone& o, const std::tr1::unordered_multiset
|
|
106
124
|
object* const pend = p + v.size();
|
107
125
|
o.via.array.ptr = p;
|
108
126
|
o.via.array.size = v.size();
|
109
|
-
typename
|
127
|
+
typename MSGPACK_STD_TR1::unordered_multiset<T>::const_iterator it(v.begin());
|
110
128
|
do {
|
111
129
|
*p = object(*it, o.zone);
|
112
130
|
++p;
|
@@ -118,5 +136,7 @@ inline void operator<< (object::with_zone& o, const std::tr1::unordered_multiset
|
|
118
136
|
|
119
137
|
} // namespace msgpack
|
120
138
|
|
139
|
+
#undef MSGPACK_STD_TR1
|
140
|
+
|
121
141
|
#endif /* msgpack/type/set.hpp */
|
122
142
|
|
@@ -194,45 +194,45 @@ bool msgpack_unpacker_flush_zone(msgpack_unpacker* mpac);
|
|
194
194
|
|
195
195
|
bool msgpack_unpacker_expand_buffer(msgpack_unpacker* mpac, size_t size);
|
196
196
|
|
197
|
-
bool msgpack_unpacker_reserve_buffer(msgpack_unpacker* mpac, size_t size)
|
197
|
+
static inline bool msgpack_unpacker_reserve_buffer(msgpack_unpacker* mpac, size_t size)
|
198
198
|
{
|
199
199
|
if(mpac->free >= size) { return true; }
|
200
200
|
return msgpack_unpacker_expand_buffer(mpac, size);
|
201
201
|
}
|
202
202
|
|
203
|
-
char* msgpack_unpacker_buffer(msgpack_unpacker* mpac)
|
203
|
+
static inline char* msgpack_unpacker_buffer(msgpack_unpacker* mpac)
|
204
204
|
{
|
205
205
|
return mpac->buffer + mpac->used;
|
206
206
|
}
|
207
207
|
|
208
|
-
size_t msgpack_unpacker_buffer_capacity(const msgpack_unpacker* mpac)
|
208
|
+
static inline size_t msgpack_unpacker_buffer_capacity(const msgpack_unpacker* mpac)
|
209
209
|
{
|
210
210
|
return mpac->free;
|
211
211
|
}
|
212
212
|
|
213
|
-
void msgpack_unpacker_buffer_consumed(msgpack_unpacker* mpac, size_t size)
|
213
|
+
static inline void msgpack_unpacker_buffer_consumed(msgpack_unpacker* mpac, size_t size)
|
214
214
|
{
|
215
215
|
mpac->used += size;
|
216
216
|
mpac->free -= size;
|
217
217
|
}
|
218
218
|
|
219
|
-
size_t msgpack_unpacker_message_size(const msgpack_unpacker* mpac)
|
219
|
+
static inline size_t msgpack_unpacker_message_size(const msgpack_unpacker* mpac)
|
220
220
|
{
|
221
221
|
return mpac->parsed - mpac->off + mpac->used;
|
222
222
|
}
|
223
223
|
|
224
|
-
size_t msgpack_unpacker_parsed_size(const msgpack_unpacker* mpac)
|
224
|
+
static inline size_t msgpack_unpacker_parsed_size(const msgpack_unpacker* mpac)
|
225
225
|
{
|
226
226
|
return mpac->parsed;
|
227
227
|
}
|
228
228
|
|
229
229
|
|
230
|
-
void msgpack_unpacked_init(msgpack_unpacked* result)
|
230
|
+
static inline void msgpack_unpacked_init(msgpack_unpacked* result)
|
231
231
|
{
|
232
232
|
memset(result, 0, sizeof(msgpack_unpacked));
|
233
233
|
}
|
234
234
|
|
235
|
-
void msgpack_unpacked_destroy(msgpack_unpacked* result)
|
235
|
+
static inline void msgpack_unpacked_destroy(msgpack_unpacked* result)
|
236
236
|
{
|
237
237
|
if(result->zone != NULL) {
|
238
238
|
msgpack_zone_free(result->zone);
|
@@ -241,7 +241,7 @@ void msgpack_unpacked_destroy(msgpack_unpacked* result)
|
|
241
241
|
}
|
242
242
|
}
|
243
243
|
|
244
|
-
msgpack_zone* msgpack_unpacked_release_zone(msgpack_unpacked* result)
|
244
|
+
static inline msgpack_zone* msgpack_unpacked_release_zone(msgpack_unpacked* result)
|
245
245
|
{
|
246
246
|
if(result->zone != NULL) {
|
247
247
|
msgpack_zone* z = result->zone;
|