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
@@ -51,34 +51,13 @@ GRN_API void *grn_plugin_realloc(grn_ctx *ctx, void *ptr, size_t size,
|
|
51
51
|
GRN_API void grn_plugin_free(grn_ctx *ctx, void *ptr, const char *file,
|
52
52
|
int line, const char *func);
|
53
53
|
|
54
|
-
/*
|
55
|
-
GRN_PLUGIN_MALLOC() allocates `size' bytes and returns a pointer to the
|
56
|
-
allocated memory space. Note that the memory space is associated with `ctx'.
|
57
|
-
*/
|
58
54
|
#define GRN_PLUGIN_MALLOC(ctx, size) \
|
59
55
|
grn_plugin_malloc((ctx), (size), __FILE__, __LINE__, __FUNCTION__)
|
60
|
-
/*
|
61
|
-
GRN_PLUGIN_REALLOC() resizes the memory space pointed to by `ptr' or
|
62
|
-
allocates a new memory space of `size' bytes. GRN_PLUGIN_REALLOC() returns
|
63
|
-
a pointer to the memory space. The contents is unchanged or copied from the
|
64
|
-
old memory space to the new memory space.
|
65
|
-
*/
|
66
56
|
#define GRN_PLUGIN_REALLOC(ctx, ptr, size) \
|
67
57
|
grn_plugin_realloc((ctx), (ptr), (size), __FILE__, __LINE__, __FUNCTION__)
|
68
|
-
/*
|
69
|
-
GRN_PLUGIN_FREE() frees a memory space allocated by GRN_PLUGIN_MALLOC() or
|
70
|
-
GRN_PLUGIN_REALLOC(). This means that `ptr' must be a pointer returned by
|
71
|
-
GRN_PLUGIN_MALLOC() or GRN_PLUGIN_REALLOC().
|
72
|
-
*/
|
73
58
|
#define GRN_PLUGIN_FREE(ctx, ptr) \
|
74
59
|
grn_plugin_free((ctx), (ptr), __FILE__, __LINE__, __FUNCTION__)
|
75
60
|
|
76
|
-
/*
|
77
|
-
GRN_PLUGIN_LOG() reports a log of `level'. Its error message is generated
|
78
|
-
from the varying number of arguments, in which the first one is the format
|
79
|
-
string and the rest are its arguments. See grn_log_level in "groonga.h" for
|
80
|
-
more details of `level'.
|
81
|
-
*/
|
82
61
|
#define GRN_PLUGIN_LOG(ctx, level, ...) \
|
83
62
|
GRN_LOG((ctx), (level), __VA_ARGS__)
|
84
63
|
|
@@ -110,27 +89,11 @@ GRN_API void grn_plugin_logtrace(grn_ctx *ctx, grn_log_level level);
|
|
110
89
|
grn_plugin_logtrace(ctx, level); \
|
111
90
|
} while (0)
|
112
91
|
|
113
|
-
/*
|
114
|
-
GRN_PLUGIN_ERROR() reports an error of `error_code'. Its error message is
|
115
|
-
generated from the varying number of arguments, in which the first one is the
|
116
|
-
format string and the rest are its arguments. See grn_rc in "groonga.h" for
|
117
|
-
more details of `error_code'.
|
118
|
-
*/
|
119
92
|
#define GRN_PLUGIN_ERROR(ctx, error_code, ...) \
|
120
93
|
GRN_PLUGIN_SET_ERROR(ctx, GRN_LOG_ERROR, error_code, __VA_ARGS__)
|
121
94
|
|
122
|
-
/*
|
123
|
-
grn_plugin_mutex is available to make a critical section. See the
|
124
|
-
following functions.
|
125
|
-
*/
|
126
95
|
typedef struct _grn_plugin_mutex grn_plugin_mutex;
|
127
96
|
|
128
|
-
/*
|
129
|
-
grn_plugin_mutex_open() returns a pointer to a new object of
|
130
|
-
grn_plugin_mutex. Memory for the new object is obtained with
|
131
|
-
GRN_PLUGIN_MALLOC(). grn_plugin_mutex_open() returns NULL if sufficient
|
132
|
-
memory is not available.
|
133
|
-
*/
|
134
97
|
GRN_API grn_plugin_mutex *grn_plugin_mutex_open(grn_ctx *ctx);
|
135
98
|
|
136
99
|
/*
|
@@ -139,10 +102,6 @@ GRN_API grn_plugin_mutex *grn_plugin_mutex_open(grn_ctx *ctx);
|
|
139
102
|
*/
|
140
103
|
GRN_API grn_plugin_mutex *grn_plugin_mutex_create(grn_ctx *ctx);
|
141
104
|
|
142
|
-
/*
|
143
|
-
grn_plugin_mutex_close() finalizes an object of grn_plugin_mutex and then
|
144
|
-
frees memory allocated for that object.
|
145
|
-
*/
|
146
105
|
GRN_API void grn_plugin_mutex_close(grn_ctx *ctx, grn_plugin_mutex *mutex);
|
147
106
|
|
148
107
|
/*
|
@@ -151,70 +110,39 @@ GRN_API void grn_plugin_mutex_close(grn_ctx *ctx, grn_plugin_mutex *mutex);
|
|
151
110
|
*/
|
152
111
|
GRN_API void grn_plugin_mutex_destroy(grn_ctx *ctx, grn_plugin_mutex *mutex);
|
153
112
|
|
154
|
-
/*
|
155
|
-
grn_plugin_mutex_lock() locks a mutex object. If the object is already
|
156
|
-
locked, the calling thread waits until the object will be unlocked.
|
157
|
-
*/
|
158
113
|
GRN_API void grn_plugin_mutex_lock(grn_ctx *ctx, grn_plugin_mutex *mutex);
|
159
114
|
|
160
|
-
/*
|
161
|
-
grn_plugin_mutex_unlock() unlocks a mutex object. grn_plugin_mutex_unlock()
|
162
|
-
should not be called for an unlocked object.
|
163
|
-
*/
|
164
115
|
GRN_API void grn_plugin_mutex_unlock(grn_ctx *ctx, grn_plugin_mutex *mutex);
|
165
116
|
|
166
|
-
/*
|
167
|
-
grn_plugin_proc_alloc() allocates a `grn_obj` object.
|
168
|
-
You can use it in function that is registered as GRN_PROC_FUNCTION.
|
169
|
-
*/
|
170
117
|
GRN_API grn_obj *grn_plugin_proc_alloc(grn_ctx *ctx, grn_user_data *user_data,
|
171
118
|
grn_id domain, grn_obj_flags flags);
|
172
119
|
|
173
|
-
/*
|
174
|
-
grn_plugin_proc_get_var() gets a variable from user_data by name.
|
175
|
-
|
176
|
-
If `name_size` is negative, `name` must be
|
177
|
-
NUL-terminated. `name_size` is computed by `strlen(name)` for the case.
|
178
|
-
*/
|
179
|
-
|
180
120
|
GRN_API grn_obj *grn_plugin_proc_get_var(grn_ctx *ctx, grn_user_data *user_data,
|
181
121
|
const char *name, int name_size);
|
182
122
|
|
183
|
-
/*
|
184
|
-
grn_plugin_proc_get_var_by_offset() gets a variable from user_data by offset.
|
185
|
-
*/
|
186
|
-
|
187
123
|
GRN_API grn_obj *grn_plugin_proc_get_var_by_offset(grn_ctx *ctx,
|
188
124
|
grn_user_data *user_data,
|
189
125
|
unsigned int offset);
|
190
126
|
|
191
|
-
/*
|
192
|
-
grn_plugin_win32_base_dir() returns the groonga install directory.
|
193
|
-
The install directory is computed from the directory that has
|
194
|
-
`groonga.dll`. You can use the directory to generate install
|
195
|
-
directory aware path.
|
196
|
-
|
197
|
-
It only works on Windows. It returns `NULL` on other platforms.
|
198
|
-
*/
|
199
127
|
GRN_API const char *grn_plugin_win32_base_dir(void);
|
200
128
|
|
201
|
-
/*
|
202
|
-
grn_plugin_charlen() returns the length (#bytes) of the first character
|
203
|
-
in the string specified by `str_ptr' and `str_length'. If the starting bytes
|
204
|
-
are invalid as a character, grn_plugin_charlen() returns 0. See
|
205
|
-
grn_encoding in "groonga.h" for more details of `encoding'
|
206
|
-
*/
|
207
129
|
GRN_API int grn_plugin_charlen(grn_ctx *ctx, const char *str_ptr,
|
208
130
|
unsigned int str_length, grn_encoding encoding);
|
209
131
|
|
210
|
-
/*
|
211
|
-
grn_plugin_isspace() returns the length (#bytes) of the first character
|
212
|
-
in the string specified by `str_ptr' and `str_length' if it is a space
|
213
|
-
character. Otherwise, grn_plugin_isspace() returns 0.
|
214
|
-
*/
|
215
132
|
GRN_API int grn_plugin_isspace(grn_ctx *ctx, const char *str_ptr,
|
216
133
|
unsigned int str_length, grn_encoding encoding);
|
217
134
|
|
135
|
+
GRN_API grn_rc grn_plugin_expr_var_init(grn_ctx *ctx,
|
136
|
+
grn_expr_var *var,
|
137
|
+
const char *name,
|
138
|
+
int name_size);
|
139
|
+
|
140
|
+
GRN_API grn_obj * grn_plugin_command_create(grn_ctx *ctx,
|
141
|
+
const char *name,
|
142
|
+
int name_size,
|
143
|
+
grn_proc_func func,
|
144
|
+
unsigned int n_vars,
|
145
|
+
grn_expr_var *vars);
|
218
146
|
|
219
147
|
|
220
148
|
#ifdef __cplusplus
|
@@ -84,6 +84,7 @@ struct _grn_tokenizer_query {
|
|
84
84
|
grn_encoding encoding;
|
85
85
|
unsigned int flags;
|
86
86
|
grn_bool have_tokenized_delimiter;
|
87
|
+
unsigned int token_mode;
|
87
88
|
};
|
88
89
|
|
89
90
|
/*
|
@@ -152,15 +153,19 @@ GRN_PLUGIN_EXPORT void grn_tokenizer_token_fin(grn_ctx *ctx, grn_tokenizer_token
|
|
152
153
|
typedef unsigned int grn_tokenizer_status;
|
153
154
|
|
154
155
|
/* GRN_TOKENIZER_TOKEN_CONTINUE means that the next token is not the last one. */
|
155
|
-
#define GRN_TOKENIZER_TOKEN_CONTINUE
|
156
|
+
#define GRN_TOKENIZER_TOKEN_CONTINUE (0)
|
156
157
|
/* GRN_TOKENIZER_TOKEN_LAST means that the next token is the last one. */
|
157
|
-
#define GRN_TOKENIZER_TOKEN_LAST
|
158
|
+
#define GRN_TOKENIZER_TOKEN_LAST (0x01L<<0)
|
158
159
|
/* GRN_TOKENIZER_TOKEN_OVERLAP means that ... */
|
159
|
-
#define GRN_TOKENIZER_TOKEN_OVERLAP
|
160
|
+
#define GRN_TOKENIZER_TOKEN_OVERLAP (0x01L<<1)
|
160
161
|
/* GRN_TOKENIZER_TOKEN_UNMATURED means that ... */
|
161
|
-
#define GRN_TOKENIZER_TOKEN_UNMATURED
|
162
|
+
#define GRN_TOKENIZER_TOKEN_UNMATURED (0x01L<<2)
|
162
163
|
/* GRN_TOKENIZER_TOKEN_REACH_END means that ... */
|
163
|
-
#define GRN_TOKENIZER_TOKEN_REACH_END
|
164
|
+
#define GRN_TOKENIZER_TOKEN_REACH_END (0x01L<<3)
|
165
|
+
/* GRN_TOKENIZER_TOKEN_SKIP means that the token is skipped */
|
166
|
+
#define GRN_TOKENIZER_TOKEN_SKIP (0x01L<<4)
|
167
|
+
/* GRN_TOKENIZER_TOKEN_SKIP_WITH_POSITION means that the token and postion is skipped */
|
168
|
+
#define GRN_TOKENIZER_TOKEN_SKIP_WITH_POSITION (0x01L<<5)
|
164
169
|
|
165
170
|
/*
|
166
171
|
* GRN_TOKENIZER_CONTINUE and GRN_TOKENIZER_LAST are deprecated. They
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/*
|
2
|
+
* MessagePack for C FILE* buffer adaptor
|
3
|
+
*
|
4
|
+
* Copyright (C) 2013 Vladimir Volodko
|
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_FBUFFER_H__
|
19
|
+
#define MSGPACK_FBUFFER_H__
|
20
|
+
|
21
|
+
#include <stdio.h>
|
22
|
+
|
23
|
+
#ifdef __cplusplus
|
24
|
+
extern "C" {
|
25
|
+
#endif
|
26
|
+
|
27
|
+
|
28
|
+
/**
|
29
|
+
* @defgroup msgpack_fbuffer FILE* buffer
|
30
|
+
* @ingroup msgpack_buffer
|
31
|
+
* @{
|
32
|
+
*/
|
33
|
+
|
34
|
+
static inline int msgpack_fbuffer_write(void* data, const char* buf, unsigned int len)
|
35
|
+
{
|
36
|
+
return (1 == fwrite(buf, len, 1, (FILE *)data)) ? 0 : -1;
|
37
|
+
}
|
38
|
+
|
39
|
+
/** @} */
|
40
|
+
|
41
|
+
|
42
|
+
#ifdef __cplusplus
|
43
|
+
}
|
44
|
+
#endif
|
45
|
+
|
46
|
+
#endif /* msgpack/fbuffer.h */
|
47
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
//
|
2
|
+
// MessagePack for C++ FILE* buffer adaptor
|
3
|
+
//
|
4
|
+
// Copyright (C) 2013 Vladimir Volodko
|
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_FBUFFER_HPP__
|
19
|
+
#define MSGPACK_FBUFFER_HPP__
|
20
|
+
|
21
|
+
#include <cstdio>
|
22
|
+
#include <stdexcept>
|
23
|
+
|
24
|
+
namespace msgpack {
|
25
|
+
|
26
|
+
|
27
|
+
class fbuffer {
|
28
|
+
public:
|
29
|
+
explicit fbuffer(FILE* file) : m_file(file) { }
|
30
|
+
|
31
|
+
public:
|
32
|
+
void write(const char* buf, unsigned int len)
|
33
|
+
{
|
34
|
+
if (1 != fwrite(buf, len, 1, m_file)) {
|
35
|
+
throw std::runtime_error("fwrite() failed");
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
FILE* file() const
|
40
|
+
{
|
41
|
+
return m_file;
|
42
|
+
}
|
43
|
+
|
44
|
+
private:
|
45
|
+
fbuffer(const fbuffer&);
|
46
|
+
fbuffer& operator= (const fbuffer&);
|
47
|
+
|
48
|
+
private:
|
49
|
+
FILE* m_file;
|
50
|
+
};
|
51
|
+
|
52
|
+
|
53
|
+
} // namespace msgpack
|
54
|
+
|
55
|
+
#endif /* msgpack/fbuffer.hpp */
|
56
|
+
|
@@ -1,7 +1,7 @@
|
|
1
1
|
//
|
2
2
|
// MessagePack for C++ static resolution routine
|
3
3
|
//
|
4
|
-
// Copyright (C) 2008-
|
4
|
+
// Copyright (C) 2008-2010 FURUHASHI Sadayuki
|
5
5
|
//
|
6
6
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
// you may not use this file except in compliance with the License.
|
@@ -212,11 +212,20 @@ inline T& operator>> (object o, T& v)
|
|
212
212
|
return v;
|
213
213
|
}
|
214
214
|
|
215
|
+
namespace detail {
|
216
|
+
template <typename Stream, typename T>
|
217
|
+
struct packer_serializer {
|
218
|
+
static packer<Stream>& pack(packer<Stream>& o, const T& v) {
|
219
|
+
v.msgpack_pack(o);
|
220
|
+
return o;
|
221
|
+
}
|
222
|
+
};
|
223
|
+
}
|
224
|
+
|
215
225
|
template <typename Stream, typename T>
|
216
226
|
inline packer<Stream>& operator<< (packer<Stream>& o, const T& v)
|
217
227
|
{
|
218
|
-
|
219
|
-
return o;
|
228
|
+
return detail::packer_serializer<Stream, T>::pack(o, v);
|
220
229
|
}
|
221
230
|
|
222
231
|
template <typename T>
|
@@ -40,7 +40,7 @@ extern "C" {
|
|
40
40
|
* @{
|
41
41
|
*/
|
42
42
|
|
43
|
-
typedef int (*msgpack_packer_write)(void* data, const char* buf,
|
43
|
+
typedef int (*msgpack_packer_write)(void* data, const char* buf, size_t len);
|
44
44
|
|
45
45
|
typedef struct msgpack_packer {
|
46
46
|
void* data;
|
@@ -52,10 +52,14 @@ static void msgpack_packer_init(msgpack_packer* pk, void* data, msgpack_packer_w
|
|
52
52
|
static msgpack_packer* msgpack_packer_new(void* data, msgpack_packer_write callback);
|
53
53
|
static void msgpack_packer_free(msgpack_packer* pk);
|
54
54
|
|
55
|
+
static int msgpack_pack_char(msgpack_packer* pk, char d);
|
56
|
+
|
57
|
+
static int msgpack_pack_signed_char(msgpack_packer* pk, signed char d);
|
55
58
|
static int msgpack_pack_short(msgpack_packer* pk, short d);
|
56
59
|
static int msgpack_pack_int(msgpack_packer* pk, int d);
|
57
60
|
static int msgpack_pack_long(msgpack_packer* pk, long d);
|
58
61
|
static int msgpack_pack_long_long(msgpack_packer* pk, long long d);
|
62
|
+
static int msgpack_pack_unsigned_char(msgpack_packer* pk, unsigned char d);
|
59
63
|
static int msgpack_pack_unsigned_short(msgpack_packer* pk, unsigned short d);
|
60
64
|
static int msgpack_pack_unsigned_int(msgpack_packer* pk, unsigned int d);
|
61
65
|
static int msgpack_pack_unsigned_long(msgpack_packer* pk, unsigned long d);
|
@@ -86,9 +90,9 @@ static int msgpack_pack_nil(msgpack_packer* pk);
|
|
86
90
|
static int msgpack_pack_true(msgpack_packer* pk);
|
87
91
|
static int msgpack_pack_false(msgpack_packer* pk);
|
88
92
|
|
89
|
-
static int msgpack_pack_array(msgpack_packer* pk,
|
93
|
+
static int msgpack_pack_array(msgpack_packer* pk, size_t n);
|
90
94
|
|
91
|
-
static int msgpack_pack_map(msgpack_packer* pk,
|
95
|
+
static int msgpack_pack_map(msgpack_packer* pk, size_t n);
|
92
96
|
|
93
97
|
static int msgpack_pack_raw(msgpack_packer* pk, size_t l);
|
94
98
|
static int msgpack_pack_raw_body(msgpack_packer* pk, const void* b, size_t l);
|
@@ -54,10 +54,13 @@ public:
|
|
54
54
|
packer<Stream>& pack_fix_int32(int32_t d);
|
55
55
|
packer<Stream>& pack_fix_int64(int64_t d);
|
56
56
|
|
57
|
+
packer<Stream>& pack_char(char d);
|
58
|
+
packer<Stream>& pack_signed_char(signed char d);
|
57
59
|
packer<Stream>& pack_short(short d);
|
58
60
|
packer<Stream>& pack_int(int d);
|
59
61
|
packer<Stream>& pack_long(long d);
|
60
62
|
packer<Stream>& pack_long_long(long long d);
|
63
|
+
packer<Stream>& pack_unsigned_char(unsigned char d);
|
61
64
|
packer<Stream>& pack_unsigned_short(unsigned short d);
|
62
65
|
packer<Stream>& pack_unsigned_int(unsigned int d);
|
63
66
|
packer<Stream>& pack_unsigned_long(unsigned long d);
|
@@ -70,9 +73,9 @@ public:
|
|
70
73
|
packer<Stream>& pack_true();
|
71
74
|
packer<Stream>& pack_false();
|
72
75
|
|
73
|
-
packer<Stream>& pack_array(
|
76
|
+
packer<Stream>& pack_array(size_t n);
|
74
77
|
|
75
|
-
packer<Stream>& pack_map(
|
78
|
+
packer<Stream>& pack_map(size_t n);
|
76
79
|
|
77
80
|
packer<Stream>& pack_raw(size_t l);
|
78
81
|
packer<Stream>& pack_raw_body(const char* b, size_t l);
|
@@ -96,10 +99,14 @@ private:
|
|
96
99
|
static void _pack_fix_int32(Stream& x, int32_t d);
|
97
100
|
static void _pack_fix_int64(Stream& x, int64_t d);
|
98
101
|
|
102
|
+
static void _pack_char(Stream& x, char d);
|
103
|
+
|
104
|
+
static void _pack_signed_char(Stream& x, signed char d);
|
99
105
|
static void _pack_short(Stream& x, short d);
|
100
106
|
static void _pack_int(Stream& x, int d);
|
101
107
|
static void _pack_long(Stream& x, long d);
|
102
108
|
static void _pack_long_long(Stream& x, long long d);
|
109
|
+
static void _pack_unsigned_char(Stream& x, unsigned char d);
|
103
110
|
static void _pack_unsigned_short(Stream& x, unsigned short d);
|
104
111
|
static void _pack_unsigned_int(Stream& x, unsigned int d);
|
105
112
|
static void _pack_unsigned_long(Stream& x, unsigned long d);
|
@@ -112,14 +119,14 @@ private:
|
|
112
119
|
static void _pack_true(Stream& x);
|
113
120
|
static void _pack_false(Stream& x);
|
114
121
|
|
115
|
-
static void _pack_array(Stream& x,
|
122
|
+
static void _pack_array(Stream& x, size_t n);
|
116
123
|
|
117
|
-
static void _pack_map(Stream& x,
|
124
|
+
static void _pack_map(Stream& x, size_t n);
|
118
125
|
|
119
126
|
static void _pack_raw(Stream& x, size_t l);
|
120
127
|
static void _pack_raw_body(Stream& x, const void* b, size_t l);
|
121
128
|
|
122
|
-
static void append_buffer(Stream& x, const unsigned char* buf,
|
129
|
+
static void append_buffer(Stream& x, const unsigned char* buf, size_t len)
|
123
130
|
{ x.write((const char*)buf, len); }
|
124
131
|
|
125
132
|
private:
|
@@ -238,6 +245,14 @@ inline packer<Stream>& packer<Stream>::pack_fix_int64(int64_t d)
|
|
238
245
|
{ _pack_fix_int64(m_stream, d); return *this;}
|
239
246
|
|
240
247
|
|
248
|
+
template <typename Stream>
|
249
|
+
inline packer<Stream>& packer<Stream>::pack_char(char d)
|
250
|
+
{ _pack_char(m_stream, d); return *this; }
|
251
|
+
|
252
|
+
template <typename Stream>
|
253
|
+
inline packer<Stream>& packer<Stream>::pack_signed_char(signed char d)
|
254
|
+
{ _pack_signed_char(m_stream, d); return *this; }
|
255
|
+
|
241
256
|
template <typename Stream>
|
242
257
|
inline packer<Stream>& packer<Stream>::pack_short(short d)
|
243
258
|
{ _pack_short(m_stream, d); return *this; }
|
@@ -254,6 +269,10 @@ template <typename Stream>
|
|
254
269
|
inline packer<Stream>& packer<Stream>::pack_long_long(long long d)
|
255
270
|
{ _pack_long_long(m_stream, d); return *this; }
|
256
271
|
|
272
|
+
template <typename Stream>
|
273
|
+
inline packer<Stream>& packer<Stream>::pack_unsigned_char(unsigned char d)
|
274
|
+
{ _pack_unsigned_char(m_stream, d); return *this; }
|
275
|
+
|
257
276
|
template <typename Stream>
|
258
277
|
inline packer<Stream>& packer<Stream>::pack_unsigned_short(unsigned short d)
|
259
278
|
{ _pack_unsigned_short(m_stream, d); return *this; }
|
@@ -294,12 +313,12 @@ inline packer<Stream>& packer<Stream>::pack_false()
|
|
294
313
|
|
295
314
|
|
296
315
|
template <typename Stream>
|
297
|
-
inline packer<Stream>& packer<Stream>::pack_array(
|
316
|
+
inline packer<Stream>& packer<Stream>::pack_array(size_t n)
|
298
317
|
{ _pack_array(m_stream, n); return *this; }
|
299
318
|
|
300
319
|
|
301
320
|
template <typename Stream>
|
302
|
-
inline packer<Stream>& packer<Stream>::pack_map(
|
321
|
+
inline packer<Stream>& packer<Stream>::pack_map(size_t n)
|
303
322
|
{ _pack_map(m_stream, n); return *this; }
|
304
323
|
|
305
324
|
|