rroonga 9.0.3-x86-mingw32 → 9.0.7-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/doc/text/news.md +30 -0
 - data/ext/groonga/rb-grn-context.c +27 -0
 - data/ext/groonga/rb-grn-flushable.c +7 -0
 - data/ext/groonga/rb-grn-index-column.c +28 -0
 - data/ext/groonga/rb-grn-index-cursor.c +19 -0
 - data/ext/groonga/rb-grn-logger.c +17 -3
 - data/ext/groonga/rb-grn-object.c +236 -22
 - data/ext/groonga/rb-grn-table.c +68 -42
 - data/ext/groonga/rb-grn.h +1 -1
 - data/lib/2.3/groonga.so +0 -0
 - data/lib/2.4/groonga.so +0 -0
 - data/lib/2.5/groonga.so +0 -0
 - data/lib/2.6/groonga.so +0 -0
 - data/lib/groonga/dumper.rb +3 -0
 - data/lib/groonga/record.rb +2 -2
 - data/test/groonga-test-utils.rb +28 -5
 - data/test/run-test.rb +0 -2
 - data/test/test-accessor.rb +63 -7
 - data/test/test-context.rb +25 -0
 - data/test/test-exception.rb +5 -0
 - data/test/test-flushable.rb +51 -6
 - data/test/test-index-column.rb +67 -6
 - data/test/test-index-cursor.rb +26 -0
 - data/test/test-logger.rb +56 -11
 - data/test/test-plugin.rb +1 -0
 - data/test/test-query-logger.rb +4 -3
 - data/test/test-record.rb +2 -1
 - data/test/test-remote.rb +40 -10
 - data/test/test-schema-dumper.rb +13 -0
 - data/test/test-table.rb +21 -1
 - data/test/test-variable.rb +23 -7
 - data/vendor/local/bin/generate-pdb.bat +21 -21
 - data/vendor/local/bin/grndb.exe +0 -0
 - data/vendor/local/bin/groonga-benchmark.exe +0 -0
 - data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
 - data/vendor/local/bin/groonga.exe +0 -0
 - data/vendor/local/bin/libgroonga-0.dll +0 -0
 - data/vendor/local/bin/libmecab-2.dll +0 -0
 - data/vendor/local/bin/libmsgpackc.dll +0 -0
 - data/vendor/local/bin/libonigmo-6.dll +0 -0
 - data/vendor/local/bin/libpcre-1.dll +0 -0
 - data/vendor/local/bin/libpcrecpp-0.dll +0 -0
 - data/vendor/local/bin/libpcreposix-0.dll +0 -0
 - data/vendor/local/bin/lz4.exe +0 -0
 - data/vendor/local/bin/lz4c.exe +0 -0
 - data/vendor/local/bin/lz4cat.exe +0 -0
 - data/vendor/local/bin/mecab.exe +0 -0
 - data/vendor/local/bin/pcregrep.exe +0 -0
 - data/vendor/local/bin/pcretest.exe +0 -0
 - data/vendor/local/bin/unlz4.exe +0 -0
 - data/vendor/local/bin/zlib1.dll +0 -0
 - data/vendor/local/cmake/RapidJSONConfig.cmake +3 -0
 - data/vendor/local/cmake/RapidJSONConfigVersion.cmake +10 -0
 - data/vendor/local/include/groonga/groonga/expr.h +16 -0
 - data/vendor/local/include/groonga/groonga/obj.h +8 -0
 - data/vendor/local/include/groonga/groonga/output.h +5 -0
 - data/vendor/local/include/groonga/groonga/version.h +2 -2
 - data/vendor/local/include/rapidjson/allocators.h +271 -0
 - data/vendor/local/include/rapidjson/document.h +2575 -0
 - data/vendor/local/include/rapidjson/encodedstream.h +299 -0
 - data/vendor/local/include/rapidjson/encodings.h +716 -0
 - data/vendor/local/include/rapidjson/error/en.h +74 -0
 - data/vendor/local/include/rapidjson/error/error.h +155 -0
 - data/vendor/local/include/rapidjson/filereadstream.h +99 -0
 - data/vendor/local/include/rapidjson/filewritestream.h +104 -0
 - data/vendor/local/include/rapidjson/fwd.h +151 -0
 - data/vendor/local/include/rapidjson/internal/biginteger.h +290 -0
 - data/vendor/local/include/rapidjson/internal/diyfp.h +258 -0
 - data/vendor/local/include/rapidjson/internal/dtoa.h +245 -0
 - data/vendor/local/include/rapidjson/internal/ieee754.h +78 -0
 - data/vendor/local/include/rapidjson/internal/itoa.h +304 -0
 - data/vendor/local/include/rapidjson/internal/meta.h +181 -0
 - data/vendor/local/include/rapidjson/internal/pow10.h +55 -0
 - data/vendor/local/include/rapidjson/internal/regex.h +701 -0
 - data/vendor/local/include/rapidjson/internal/stack.h +230 -0
 - data/vendor/local/include/rapidjson/internal/strfunc.h +55 -0
 - data/vendor/local/include/rapidjson/internal/strtod.h +269 -0
 - data/vendor/local/include/rapidjson/internal/swap.h +46 -0
 - data/vendor/local/include/rapidjson/istreamwrapper.h +115 -0
 - data/vendor/local/include/rapidjson/memorybuffer.h +70 -0
 - data/vendor/local/include/rapidjson/memorystream.h +71 -0
 - data/vendor/local/include/rapidjson/msinttypes/inttypes.h +316 -0
 - data/vendor/local/include/rapidjson/msinttypes/stdint.h +300 -0
 - data/vendor/local/include/rapidjson/ostreamwrapper.h +81 -0
 - data/vendor/local/include/rapidjson/pointer.h +1358 -0
 - data/vendor/local/include/rapidjson/prettywriter.h +255 -0
 - data/vendor/local/include/rapidjson/rapidjson.h +615 -0
 - data/vendor/local/include/rapidjson/reader.h +1879 -0
 - data/vendor/local/include/rapidjson/schema.h +2006 -0
 - data/vendor/local/include/rapidjson/stream.h +179 -0
 - data/vendor/local/include/rapidjson/stringbuffer.h +117 -0
 - data/vendor/local/include/rapidjson/writer.h +610 -0
 - data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
 - data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/math.la +1 -1
 - data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
 - data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
 - data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
 - data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
 - data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
 - data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
 - data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +44 -18
 - data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +9 -8
 - data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +48 -15
 - data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +84 -58
 - data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +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/token_filters/stop_word.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +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 +1 -1
 - data/vendor/local/lib/groonga/scripts/ruby/command.rb +3 -4
 - data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +267 -77
 - data/vendor/local/lib/groonga/scripts/ruby/command_line_parser.rb +96 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +1 -1
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +30 -7
 - data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +5 -0
 - data/vendor/local/lib/groonga/scripts/ruby/loggable.rb +8 -0
 - data/vendor/local/lib/groonga/scripts/ruby/logger/flags.rb +70 -0
 - data/vendor/local/lib/groonga/scripts/ruby/query_loggable.rb +8 -0
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +1 -1
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +2 -2
 - data/vendor/local/lib/groonga/scripts/ruby/time.rb +9 -0
 - 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/liblz4.dll +0 -0
 - data/vendor/local/lib/liblz4.dll.1 +0 -0
 - data/vendor/local/lib/liblz4.dll.1.8.2 +0 -0
 - data/vendor/local/lib/libmecab.dll.a +0 -0
 - data/vendor/local/lib/libmsgpackc.dll.a +0 -0
 - data/vendor/local/lib/libonigmo.a +0 -0
 - data/vendor/local/lib/libonigmo.dll.a +0 -0
 - data/vendor/local/lib/libonigmo.la +1 -1
 - data/vendor/local/lib/libpcre.dll.a +0 -0
 - data/vendor/local/lib/libpcrecpp.dll.a +0 -0
 - data/vendor/local/lib/libpcreposix.dll.a +0 -0
 - data/vendor/local/lib/libz.dll.a +0 -0
 - data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
 - data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
 - data/vendor/local/share/doc/RapidJSON/examples/CMakeLists.txt +42 -0
 - data/vendor/local/share/doc/RapidJSON/examples/capitalize/capitalize.cpp +67 -0
 - data/vendor/local/share/doc/RapidJSON/examples/condense/condense.cpp +32 -0
 - data/vendor/local/share/doc/RapidJSON/examples/filterkey/filterkey.cpp +135 -0
 - data/vendor/local/share/doc/RapidJSON/examples/filterkeydom/filterkeydom.cpp +170 -0
 - data/vendor/local/share/doc/RapidJSON/examples/jsonx/jsonx.cpp +207 -0
 - data/vendor/local/share/doc/RapidJSON/examples/messagereader/messagereader.cpp +105 -0
 - data/vendor/local/share/doc/RapidJSON/examples/parsebyparts/parsebyparts.cpp +173 -0
 - data/vendor/local/share/doc/RapidJSON/examples/pretty/pretty.cpp +30 -0
 - data/vendor/local/share/doc/RapidJSON/examples/prettyauto/prettyauto.cpp +56 -0
 - data/vendor/local/share/doc/RapidJSON/examples/schemavalidator/schemavalidator.cpp +72 -0
 - data/vendor/local/share/doc/RapidJSON/examples/serialize/serialize.cpp +173 -0
 - data/vendor/local/share/doc/RapidJSON/examples/simpledom/simpledom.cpp +29 -0
 - data/vendor/local/share/doc/RapidJSON/examples/simplereader/simplereader.cpp +42 -0
 - data/vendor/local/share/doc/RapidJSON/examples/simplewriter/simplewriter.cpp +36 -0
 - data/vendor/local/share/doc/RapidJSON/examples/tutorial/tutorial.cpp +151 -0
 - data/vendor/local/share/doc/RapidJSON/readme.md +160 -0
 - data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/client.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/community.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/development.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/index.html +11 -7
 - data/vendor/local/share/doc/groonga/en/html/install.html +5 -4
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +79 -8
 - data/vendor/local/share/doc/groonga/en/html/install/docker.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +12 -12
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news.html +498 -206
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/2.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/3.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/4.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/5.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/6.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.html +9 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/alias.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +77 -4
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +78 -54
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +58 -4
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +11 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +9 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_ngram.html +1005 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_pattern.html +240 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +21 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_table.html +246 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +20 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +15 -15
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/memcached.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/spec.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +68 -6
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +37 -4
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/client.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/community.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/development.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/index.html +11 -7
 - data/vendor/local/share/doc/groonga/ja/html/install.html +5 -4
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +69 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/docker.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +12 -12
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news.html +494 -206
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +9 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +75 -4
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +73 -54
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +57 -4
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +11 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +9 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_ngram.html +998 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_pattern.html +240 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +21 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_table.html +242 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +20 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +15 -15
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +64 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +37 -4
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +3 -3
 - data/vendor/local/share/groonga/COPYING +502 -0
 - data/vendor/local/share/groonga/mruby/LEGAL +58 -54
 - data/vendor/local/share/license/mruby/AUTHORS +6 -2
 - data/vendor/local/share/license/mruby/LEGAL +1 -1
 - data/vendor/local/share/license/mruby/{MITL → LICENSE} +1 -1
 - data/vendor/local/share/license/mruby/README.md +3 -3
 - data/vendor/local/share/license/rapidjson/license.txt +57 -0
 - metadata +126 -60
 
| 
         @@ -0,0 +1,74 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            // Tencent is pleased to support the open source community by making RapidJSON available.
         
     | 
| 
      
 2 
     | 
    
         
            +
            // 
         
     | 
| 
      
 3 
     | 
    
         
            +
            // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
         
     | 
| 
      
 4 
     | 
    
         
            +
            //
         
     | 
| 
      
 5 
     | 
    
         
            +
            // Licensed under the MIT License (the "License"); you may not use this file except
         
     | 
| 
      
 6 
     | 
    
         
            +
            // in compliance with the License. You may obtain a copy of the License at
         
     | 
| 
      
 7 
     | 
    
         
            +
            //
         
     | 
| 
      
 8 
     | 
    
         
            +
            // http://opensource.org/licenses/MIT
         
     | 
| 
      
 9 
     | 
    
         
            +
            //
         
     | 
| 
      
 10 
     | 
    
         
            +
            // Unless required by applicable law or agreed to in writing, software distributed 
         
     | 
| 
      
 11 
     | 
    
         
            +
            // under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
         
     | 
| 
      
 12 
     | 
    
         
            +
            // CONDITIONS OF ANY KIND, either express or implied. See the License for the 
         
     | 
| 
      
 13 
     | 
    
         
            +
            // specific language governing permissions and limitations under the License.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            #ifndef RAPIDJSON_ERROR_EN_H_
         
     | 
| 
      
 16 
     | 
    
         
            +
            #define RAPIDJSON_ERROR_EN_H_
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            #include "error.h"
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            #ifdef __clang__
         
     | 
| 
      
 21 
     | 
    
         
            +
            RAPIDJSON_DIAG_PUSH
         
     | 
| 
      
 22 
     | 
    
         
            +
            RAPIDJSON_DIAG_OFF(switch-enum)
         
     | 
| 
      
 23 
     | 
    
         
            +
            RAPIDJSON_DIAG_OFF(covered-switch-default)
         
     | 
| 
      
 24 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
            RAPIDJSON_NAMESPACE_BEGIN
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            //! Maps error code of parsing into error message.
         
     | 
| 
      
 29 
     | 
    
         
            +
            /*!
         
     | 
| 
      
 30 
     | 
    
         
            +
                \ingroup RAPIDJSON_ERRORS
         
     | 
| 
      
 31 
     | 
    
         
            +
                \param parseErrorCode Error code obtained in parsing.
         
     | 
| 
      
 32 
     | 
    
         
            +
                \return the error message.
         
     | 
| 
      
 33 
     | 
    
         
            +
                \note User can make a copy of this function for localization.
         
     | 
| 
      
 34 
     | 
    
         
            +
                    Using switch-case is safer for future modification of error codes.
         
     | 
| 
      
 35 
     | 
    
         
            +
            */
         
     | 
| 
      
 36 
     | 
    
         
            +
            inline const RAPIDJSON_ERROR_CHARTYPE* GetParseError_En(ParseErrorCode parseErrorCode) {
         
     | 
| 
      
 37 
     | 
    
         
            +
                switch (parseErrorCode) {
         
     | 
| 
      
 38 
     | 
    
         
            +
                    case kParseErrorNone:                           return RAPIDJSON_ERROR_STRING("No error.");
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
                    case kParseErrorDocumentEmpty:                  return RAPIDJSON_ERROR_STRING("The document is empty.");
         
     | 
| 
      
 41 
     | 
    
         
            +
                    case kParseErrorDocumentRootNotSingular:        return RAPIDJSON_ERROR_STRING("The document root must not be followed by other values.");
         
     | 
| 
      
 42 
     | 
    
         
            +
                
         
     | 
| 
      
 43 
     | 
    
         
            +
                    case kParseErrorValueInvalid:                   return RAPIDJSON_ERROR_STRING("Invalid value.");
         
     | 
| 
      
 44 
     | 
    
         
            +
                
         
     | 
| 
      
 45 
     | 
    
         
            +
                    case kParseErrorObjectMissName:                 return RAPIDJSON_ERROR_STRING("Missing a name for object member.");
         
     | 
| 
      
 46 
     | 
    
         
            +
                    case kParseErrorObjectMissColon:                return RAPIDJSON_ERROR_STRING("Missing a colon after a name of object member.");
         
     | 
| 
      
 47 
     | 
    
         
            +
                    case kParseErrorObjectMissCommaOrCurlyBracket:  return RAPIDJSON_ERROR_STRING("Missing a comma or '}' after an object member.");
         
     | 
| 
      
 48 
     | 
    
         
            +
                
         
     | 
| 
      
 49 
     | 
    
         
            +
                    case kParseErrorArrayMissCommaOrSquareBracket:  return RAPIDJSON_ERROR_STRING("Missing a comma or ']' after an array element.");
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
                    case kParseErrorStringUnicodeEscapeInvalidHex:  return RAPIDJSON_ERROR_STRING("Incorrect hex digit after \\u escape in string.");
         
     | 
| 
      
 52 
     | 
    
         
            +
                    case kParseErrorStringUnicodeSurrogateInvalid:  return RAPIDJSON_ERROR_STRING("The surrogate pair in string is invalid.");
         
     | 
| 
      
 53 
     | 
    
         
            +
                    case kParseErrorStringEscapeInvalid:            return RAPIDJSON_ERROR_STRING("Invalid escape character in string.");
         
     | 
| 
      
 54 
     | 
    
         
            +
                    case kParseErrorStringMissQuotationMark:        return RAPIDJSON_ERROR_STRING("Missing a closing quotation mark in string.");
         
     | 
| 
      
 55 
     | 
    
         
            +
                    case kParseErrorStringInvalidEncoding:          return RAPIDJSON_ERROR_STRING("Invalid encoding in string.");
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
                    case kParseErrorNumberTooBig:                   return RAPIDJSON_ERROR_STRING("Number too big to be stored in double.");
         
     | 
| 
      
 58 
     | 
    
         
            +
                    case kParseErrorNumberMissFraction:             return RAPIDJSON_ERROR_STRING("Miss fraction part in number.");
         
     | 
| 
      
 59 
     | 
    
         
            +
                    case kParseErrorNumberMissExponent:             return RAPIDJSON_ERROR_STRING("Miss exponent in number.");
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
                    case kParseErrorTermination:                    return RAPIDJSON_ERROR_STRING("Terminate parsing due to Handler error.");
         
     | 
| 
      
 62 
     | 
    
         
            +
                    case kParseErrorUnspecificSyntaxError:          return RAPIDJSON_ERROR_STRING("Unspecific syntax error.");
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
                    default:                                        return RAPIDJSON_ERROR_STRING("Unknown error.");
         
     | 
| 
      
 65 
     | 
    
         
            +
                }
         
     | 
| 
      
 66 
     | 
    
         
            +
            }
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
            RAPIDJSON_NAMESPACE_END
         
     | 
| 
      
 69 
     | 
    
         
            +
             
     | 
| 
      
 70 
     | 
    
         
            +
            #ifdef __clang__
         
     | 
| 
      
 71 
     | 
    
         
            +
            RAPIDJSON_DIAG_POP
         
     | 
| 
      
 72 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 73 
     | 
    
         
            +
             
     | 
| 
      
 74 
     | 
    
         
            +
            #endif // RAPIDJSON_ERROR_EN_H_
         
     | 
| 
         @@ -0,0 +1,155 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            // Tencent is pleased to support the open source community by making RapidJSON available.
         
     | 
| 
      
 2 
     | 
    
         
            +
            // 
         
     | 
| 
      
 3 
     | 
    
         
            +
            // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
         
     | 
| 
      
 4 
     | 
    
         
            +
            //
         
     | 
| 
      
 5 
     | 
    
         
            +
            // Licensed under the MIT License (the "License"); you may not use this file except
         
     | 
| 
      
 6 
     | 
    
         
            +
            // in compliance with the License. You may obtain a copy of the License at
         
     | 
| 
      
 7 
     | 
    
         
            +
            //
         
     | 
| 
      
 8 
     | 
    
         
            +
            // http://opensource.org/licenses/MIT
         
     | 
| 
      
 9 
     | 
    
         
            +
            //
         
     | 
| 
      
 10 
     | 
    
         
            +
            // Unless required by applicable law or agreed to in writing, software distributed 
         
     | 
| 
      
 11 
     | 
    
         
            +
            // under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
         
     | 
| 
      
 12 
     | 
    
         
            +
            // CONDITIONS OF ANY KIND, either express or implied. See the License for the 
         
     | 
| 
      
 13 
     | 
    
         
            +
            // specific language governing permissions and limitations under the License.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            #ifndef RAPIDJSON_ERROR_ERROR_H_
         
     | 
| 
      
 16 
     | 
    
         
            +
            #define RAPIDJSON_ERROR_ERROR_H_
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            #include "../rapidjson.h"
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            #ifdef __clang__
         
     | 
| 
      
 21 
     | 
    
         
            +
            RAPIDJSON_DIAG_PUSH
         
     | 
| 
      
 22 
     | 
    
         
            +
            RAPIDJSON_DIAG_OFF(padded)
         
     | 
| 
      
 23 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            /*! \file error.h */
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            /*! \defgroup RAPIDJSON_ERRORS RapidJSON error handling */
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
            ///////////////////////////////////////////////////////////////////////////////
         
     | 
| 
      
 30 
     | 
    
         
            +
            // RAPIDJSON_ERROR_CHARTYPE
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            //! Character type of error messages.
         
     | 
| 
      
 33 
     | 
    
         
            +
            /*! \ingroup RAPIDJSON_ERRORS
         
     | 
| 
      
 34 
     | 
    
         
            +
                The default character type is \c char.
         
     | 
| 
      
 35 
     | 
    
         
            +
                On Windows, user can define this macro as \c TCHAR for supporting both
         
     | 
| 
      
 36 
     | 
    
         
            +
                unicode/non-unicode settings.
         
     | 
| 
      
 37 
     | 
    
         
            +
            */
         
     | 
| 
      
 38 
     | 
    
         
            +
            #ifndef RAPIDJSON_ERROR_CHARTYPE
         
     | 
| 
      
 39 
     | 
    
         
            +
            #define RAPIDJSON_ERROR_CHARTYPE char
         
     | 
| 
      
 40 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
            ///////////////////////////////////////////////////////////////////////////////
         
     | 
| 
      
 43 
     | 
    
         
            +
            // RAPIDJSON_ERROR_STRING
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
            //! Macro for converting string literial to \ref RAPIDJSON_ERROR_CHARTYPE[].
         
     | 
| 
      
 46 
     | 
    
         
            +
            /*! \ingroup RAPIDJSON_ERRORS
         
     | 
| 
      
 47 
     | 
    
         
            +
                By default this conversion macro does nothing.
         
     | 
| 
      
 48 
     | 
    
         
            +
                On Windows, user can define this macro as \c _T(x) for supporting both
         
     | 
| 
      
 49 
     | 
    
         
            +
                unicode/non-unicode settings.
         
     | 
| 
      
 50 
     | 
    
         
            +
            */
         
     | 
| 
      
 51 
     | 
    
         
            +
            #ifndef RAPIDJSON_ERROR_STRING
         
     | 
| 
      
 52 
     | 
    
         
            +
            #define RAPIDJSON_ERROR_STRING(x) x
         
     | 
| 
      
 53 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
            RAPIDJSON_NAMESPACE_BEGIN
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
            ///////////////////////////////////////////////////////////////////////////////
         
     | 
| 
      
 58 
     | 
    
         
            +
            // ParseErrorCode
         
     | 
| 
      
 59 
     | 
    
         
            +
             
     | 
| 
      
 60 
     | 
    
         
            +
            //! Error code of parsing.
         
     | 
| 
      
 61 
     | 
    
         
            +
            /*! \ingroup RAPIDJSON_ERRORS
         
     | 
| 
      
 62 
     | 
    
         
            +
                \see GenericReader::Parse, GenericReader::GetParseErrorCode
         
     | 
| 
      
 63 
     | 
    
         
            +
            */
         
     | 
| 
      
 64 
     | 
    
         
            +
            enum ParseErrorCode {
         
     | 
| 
      
 65 
     | 
    
         
            +
                kParseErrorNone = 0,                        //!< No error.
         
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
      
 67 
     | 
    
         
            +
                kParseErrorDocumentEmpty,                   //!< The document is empty.
         
     | 
| 
      
 68 
     | 
    
         
            +
                kParseErrorDocumentRootNotSingular,         //!< The document root must not follow by other values.
         
     | 
| 
      
 69 
     | 
    
         
            +
             
     | 
| 
      
 70 
     | 
    
         
            +
                kParseErrorValueInvalid,                    //!< Invalid value.
         
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
      
 72 
     | 
    
         
            +
                kParseErrorObjectMissName,                  //!< Missing a name for object member.
         
     | 
| 
      
 73 
     | 
    
         
            +
                kParseErrorObjectMissColon,                 //!< Missing a colon after a name of object member.
         
     | 
| 
      
 74 
     | 
    
         
            +
                kParseErrorObjectMissCommaOrCurlyBracket,   //!< Missing a comma or '}' after an object member.
         
     | 
| 
      
 75 
     | 
    
         
            +
             
     | 
| 
      
 76 
     | 
    
         
            +
                kParseErrorArrayMissCommaOrSquareBracket,   //!< Missing a comma or ']' after an array element.
         
     | 
| 
      
 77 
     | 
    
         
            +
             
     | 
| 
      
 78 
     | 
    
         
            +
                kParseErrorStringUnicodeEscapeInvalidHex,   //!< Incorrect hex digit after \\u escape in string.
         
     | 
| 
      
 79 
     | 
    
         
            +
                kParseErrorStringUnicodeSurrogateInvalid,   //!< The surrogate pair in string is invalid.
         
     | 
| 
      
 80 
     | 
    
         
            +
                kParseErrorStringEscapeInvalid,             //!< Invalid escape character in string.
         
     | 
| 
      
 81 
     | 
    
         
            +
                kParseErrorStringMissQuotationMark,         //!< Missing a closing quotation mark in string.
         
     | 
| 
      
 82 
     | 
    
         
            +
                kParseErrorStringInvalidEncoding,           //!< Invalid encoding in string.
         
     | 
| 
      
 83 
     | 
    
         
            +
             
     | 
| 
      
 84 
     | 
    
         
            +
                kParseErrorNumberTooBig,                    //!< Number too big to be stored in double.
         
     | 
| 
      
 85 
     | 
    
         
            +
                kParseErrorNumberMissFraction,              //!< Miss fraction part in number.
         
     | 
| 
      
 86 
     | 
    
         
            +
                kParseErrorNumberMissExponent,              //!< Miss exponent in number.
         
     | 
| 
      
 87 
     | 
    
         
            +
             
     | 
| 
      
 88 
     | 
    
         
            +
                kParseErrorTermination,                     //!< Parsing was terminated.
         
     | 
| 
      
 89 
     | 
    
         
            +
                kParseErrorUnspecificSyntaxError            //!< Unspecific syntax error.
         
     | 
| 
      
 90 
     | 
    
         
            +
            };
         
     | 
| 
      
 91 
     | 
    
         
            +
             
     | 
| 
      
 92 
     | 
    
         
            +
            //! Result of parsing (wraps ParseErrorCode)
         
     | 
| 
      
 93 
     | 
    
         
            +
            /*!
         
     | 
| 
      
 94 
     | 
    
         
            +
                \ingroup RAPIDJSON_ERRORS
         
     | 
| 
      
 95 
     | 
    
         
            +
                \code
         
     | 
| 
      
 96 
     | 
    
         
            +
                    Document doc;
         
     | 
| 
      
 97 
     | 
    
         
            +
                    ParseResult ok = doc.Parse("[42]");
         
     | 
| 
      
 98 
     | 
    
         
            +
                    if (!ok) {
         
     | 
| 
      
 99 
     | 
    
         
            +
                        fprintf(stderr, "JSON parse error: %s (%u)",
         
     | 
| 
      
 100 
     | 
    
         
            +
                                GetParseError_En(ok.Code()), ok.Offset());
         
     | 
| 
      
 101 
     | 
    
         
            +
                        exit(EXIT_FAILURE);
         
     | 
| 
      
 102 
     | 
    
         
            +
                    }
         
     | 
| 
      
 103 
     | 
    
         
            +
                \endcode
         
     | 
| 
      
 104 
     | 
    
         
            +
                \see GenericReader::Parse, GenericDocument::Parse
         
     | 
| 
      
 105 
     | 
    
         
            +
            */
         
     | 
| 
      
 106 
     | 
    
         
            +
            struct ParseResult {
         
     | 
| 
      
 107 
     | 
    
         
            +
            public:
         
     | 
| 
      
 108 
     | 
    
         
            +
                //! Default constructor, no error.
         
     | 
| 
      
 109 
     | 
    
         
            +
                ParseResult() : code_(kParseErrorNone), offset_(0) {}
         
     | 
| 
      
 110 
     | 
    
         
            +
                //! Constructor to set an error.
         
     | 
| 
      
 111 
     | 
    
         
            +
                ParseResult(ParseErrorCode code, size_t offset) : code_(code), offset_(offset) {}
         
     | 
| 
      
 112 
     | 
    
         
            +
             
     | 
| 
      
 113 
     | 
    
         
            +
                //! Get the error code.
         
     | 
| 
      
 114 
     | 
    
         
            +
                ParseErrorCode Code() const { return code_; }
         
     | 
| 
      
 115 
     | 
    
         
            +
                //! Get the error offset, if \ref IsError(), 0 otherwise.
         
     | 
| 
      
 116 
     | 
    
         
            +
                size_t Offset() const { return offset_; }
         
     | 
| 
      
 117 
     | 
    
         
            +
             
     | 
| 
      
 118 
     | 
    
         
            +
                //! Conversion to \c bool, returns \c true, iff !\ref IsError().
         
     | 
| 
      
 119 
     | 
    
         
            +
                operator bool() const { return !IsError(); }
         
     | 
| 
      
 120 
     | 
    
         
            +
                //! Whether the result is an error.
         
     | 
| 
      
 121 
     | 
    
         
            +
                bool IsError() const { return code_ != kParseErrorNone; }
         
     | 
| 
      
 122 
     | 
    
         
            +
             
     | 
| 
      
 123 
     | 
    
         
            +
                bool operator==(const ParseResult& that) const { return code_ == that.code_; }
         
     | 
| 
      
 124 
     | 
    
         
            +
                bool operator==(ParseErrorCode code) const { return code_ == code; }
         
     | 
| 
      
 125 
     | 
    
         
            +
                friend bool operator==(ParseErrorCode code, const ParseResult & err) { return code == err.code_; }
         
     | 
| 
      
 126 
     | 
    
         
            +
             
     | 
| 
      
 127 
     | 
    
         
            +
                //! Reset error code.
         
     | 
| 
      
 128 
     | 
    
         
            +
                void Clear() { Set(kParseErrorNone); }
         
     | 
| 
      
 129 
     | 
    
         
            +
                //! Update error code and offset.
         
     | 
| 
      
 130 
     | 
    
         
            +
                void Set(ParseErrorCode code, size_t offset = 0) { code_ = code; offset_ = offset; }
         
     | 
| 
      
 131 
     | 
    
         
            +
             
     | 
| 
      
 132 
     | 
    
         
            +
            private:
         
     | 
| 
      
 133 
     | 
    
         
            +
                ParseErrorCode code_;
         
     | 
| 
      
 134 
     | 
    
         
            +
                size_t offset_;
         
     | 
| 
      
 135 
     | 
    
         
            +
            };
         
     | 
| 
      
 136 
     | 
    
         
            +
             
     | 
| 
      
 137 
     | 
    
         
            +
            //! Function pointer type of GetParseError().
         
     | 
| 
      
 138 
     | 
    
         
            +
            /*! \ingroup RAPIDJSON_ERRORS
         
     | 
| 
      
 139 
     | 
    
         
            +
             
     | 
| 
      
 140 
     | 
    
         
            +
                This is the prototype for \c GetParseError_X(), where \c X is a locale.
         
     | 
| 
      
 141 
     | 
    
         
            +
                User can dynamically change locale in runtime, e.g.:
         
     | 
| 
      
 142 
     | 
    
         
            +
            \code
         
     | 
| 
      
 143 
     | 
    
         
            +
                GetParseErrorFunc GetParseError = GetParseError_En; // or whatever
         
     | 
| 
      
 144 
     | 
    
         
            +
                const RAPIDJSON_ERROR_CHARTYPE* s = GetParseError(document.GetParseErrorCode());
         
     | 
| 
      
 145 
     | 
    
         
            +
            \endcode
         
     | 
| 
      
 146 
     | 
    
         
            +
            */
         
     | 
| 
      
 147 
     | 
    
         
            +
            typedef const RAPIDJSON_ERROR_CHARTYPE* (*GetParseErrorFunc)(ParseErrorCode);
         
     | 
| 
      
 148 
     | 
    
         
            +
             
     | 
| 
      
 149 
     | 
    
         
            +
            RAPIDJSON_NAMESPACE_END
         
     | 
| 
      
 150 
     | 
    
         
            +
             
     | 
| 
      
 151 
     | 
    
         
            +
            #ifdef __clang__
         
     | 
| 
      
 152 
     | 
    
         
            +
            RAPIDJSON_DIAG_POP
         
     | 
| 
      
 153 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 154 
     | 
    
         
            +
             
     | 
| 
      
 155 
     | 
    
         
            +
            #endif // RAPIDJSON_ERROR_ERROR_H_
         
     | 
| 
         @@ -0,0 +1,99 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            // Tencent is pleased to support the open source community by making RapidJSON available.
         
     | 
| 
      
 2 
     | 
    
         
            +
            // 
         
     | 
| 
      
 3 
     | 
    
         
            +
            // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
         
     | 
| 
      
 4 
     | 
    
         
            +
            //
         
     | 
| 
      
 5 
     | 
    
         
            +
            // Licensed under the MIT License (the "License"); you may not use this file except
         
     | 
| 
      
 6 
     | 
    
         
            +
            // in compliance with the License. You may obtain a copy of the License at
         
     | 
| 
      
 7 
     | 
    
         
            +
            //
         
     | 
| 
      
 8 
     | 
    
         
            +
            // http://opensource.org/licenses/MIT
         
     | 
| 
      
 9 
     | 
    
         
            +
            //
         
     | 
| 
      
 10 
     | 
    
         
            +
            // Unless required by applicable law or agreed to in writing, software distributed 
         
     | 
| 
      
 11 
     | 
    
         
            +
            // under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
         
     | 
| 
      
 12 
     | 
    
         
            +
            // CONDITIONS OF ANY KIND, either express or implied. See the License for the 
         
     | 
| 
      
 13 
     | 
    
         
            +
            // specific language governing permissions and limitations under the License.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            #ifndef RAPIDJSON_FILEREADSTREAM_H_
         
     | 
| 
      
 16 
     | 
    
         
            +
            #define RAPIDJSON_FILEREADSTREAM_H_
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            #include "stream.h"
         
     | 
| 
      
 19 
     | 
    
         
            +
            #include <cstdio>
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            #ifdef __clang__
         
     | 
| 
      
 22 
     | 
    
         
            +
            RAPIDJSON_DIAG_PUSH
         
     | 
| 
      
 23 
     | 
    
         
            +
            RAPIDJSON_DIAG_OFF(padded)
         
     | 
| 
      
 24 
     | 
    
         
            +
            RAPIDJSON_DIAG_OFF(unreachable-code)
         
     | 
| 
      
 25 
     | 
    
         
            +
            RAPIDJSON_DIAG_OFF(missing-noreturn)
         
     | 
| 
      
 26 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            RAPIDJSON_NAMESPACE_BEGIN
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            //! File byte stream for input using fread().
         
     | 
| 
      
 31 
     | 
    
         
            +
            /*!
         
     | 
| 
      
 32 
     | 
    
         
            +
                \note implements Stream concept
         
     | 
| 
      
 33 
     | 
    
         
            +
            */
         
     | 
| 
      
 34 
     | 
    
         
            +
            class FileReadStream {
         
     | 
| 
      
 35 
     | 
    
         
            +
            public:
         
     | 
| 
      
 36 
     | 
    
         
            +
                typedef char Ch;    //!< Character type (byte).
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
                //! Constructor.
         
     | 
| 
      
 39 
     | 
    
         
            +
                /*!
         
     | 
| 
      
 40 
     | 
    
         
            +
                    \param fp File pointer opened for read.
         
     | 
| 
      
 41 
     | 
    
         
            +
                    \param buffer user-supplied buffer.
         
     | 
| 
      
 42 
     | 
    
         
            +
                    \param bufferSize size of buffer in bytes. Must >=4 bytes.
         
     | 
| 
      
 43 
     | 
    
         
            +
                */
         
     | 
| 
      
 44 
     | 
    
         
            +
                FileReadStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferSize_(bufferSize), bufferLast_(0), current_(buffer_), readCount_(0), count_(0), eof_(false) { 
         
     | 
| 
      
 45 
     | 
    
         
            +
                    RAPIDJSON_ASSERT(fp_ != 0);
         
     | 
| 
      
 46 
     | 
    
         
            +
                    RAPIDJSON_ASSERT(bufferSize >= 4);
         
     | 
| 
      
 47 
     | 
    
         
            +
                    Read();
         
     | 
| 
      
 48 
     | 
    
         
            +
                }
         
     | 
| 
      
 49 
     | 
    
         
            +
             
     | 
| 
      
 50 
     | 
    
         
            +
                Ch Peek() const { return *current_; }
         
     | 
| 
      
 51 
     | 
    
         
            +
                Ch Take() { Ch c = *current_; Read(); return c; }
         
     | 
| 
      
 52 
     | 
    
         
            +
                size_t Tell() const { return count_ + static_cast<size_t>(current_ - buffer_); }
         
     | 
| 
      
 53 
     | 
    
         
            +
             
     | 
| 
      
 54 
     | 
    
         
            +
                // Not implemented
         
     | 
| 
      
 55 
     | 
    
         
            +
                void Put(Ch) { RAPIDJSON_ASSERT(false); }
         
     | 
| 
      
 56 
     | 
    
         
            +
                void Flush() { RAPIDJSON_ASSERT(false); } 
         
     | 
| 
      
 57 
     | 
    
         
            +
                Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; }
         
     | 
| 
      
 58 
     | 
    
         
            +
                size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; }
         
     | 
| 
      
 59 
     | 
    
         
            +
             
     | 
| 
      
 60 
     | 
    
         
            +
                // For encoding detection only.
         
     | 
| 
      
 61 
     | 
    
         
            +
                const Ch* Peek4() const {
         
     | 
| 
      
 62 
     | 
    
         
            +
                    return (current_ + 4 <= bufferLast_) ? current_ : 0;
         
     | 
| 
      
 63 
     | 
    
         
            +
                }
         
     | 
| 
      
 64 
     | 
    
         
            +
             
     | 
| 
      
 65 
     | 
    
         
            +
            private:
         
     | 
| 
      
 66 
     | 
    
         
            +
                void Read() {
         
     | 
| 
      
 67 
     | 
    
         
            +
                    if (current_ < bufferLast_)
         
     | 
| 
      
 68 
     | 
    
         
            +
                        ++current_;
         
     | 
| 
      
 69 
     | 
    
         
            +
                    else if (!eof_) {
         
     | 
| 
      
 70 
     | 
    
         
            +
                        count_ += readCount_;
         
     | 
| 
      
 71 
     | 
    
         
            +
                        readCount_ = fread(buffer_, 1, bufferSize_, fp_);
         
     | 
| 
      
 72 
     | 
    
         
            +
                        bufferLast_ = buffer_ + readCount_ - 1;
         
     | 
| 
      
 73 
     | 
    
         
            +
                        current_ = buffer_;
         
     | 
| 
      
 74 
     | 
    
         
            +
             
     | 
| 
      
 75 
     | 
    
         
            +
                        if (readCount_ < bufferSize_) {
         
     | 
| 
      
 76 
     | 
    
         
            +
                            buffer_[readCount_] = '\0';
         
     | 
| 
      
 77 
     | 
    
         
            +
                            ++bufferLast_;
         
     | 
| 
      
 78 
     | 
    
         
            +
                            eof_ = true;
         
     | 
| 
      
 79 
     | 
    
         
            +
                        }
         
     | 
| 
      
 80 
     | 
    
         
            +
                    }
         
     | 
| 
      
 81 
     | 
    
         
            +
                }
         
     | 
| 
      
 82 
     | 
    
         
            +
             
     | 
| 
      
 83 
     | 
    
         
            +
                std::FILE* fp_;
         
     | 
| 
      
 84 
     | 
    
         
            +
                Ch *buffer_;
         
     | 
| 
      
 85 
     | 
    
         
            +
                size_t bufferSize_;
         
     | 
| 
      
 86 
     | 
    
         
            +
                Ch *bufferLast_;
         
     | 
| 
      
 87 
     | 
    
         
            +
                Ch *current_;
         
     | 
| 
      
 88 
     | 
    
         
            +
                size_t readCount_;
         
     | 
| 
      
 89 
     | 
    
         
            +
                size_t count_;  //!< Number of characters read
         
     | 
| 
      
 90 
     | 
    
         
            +
                bool eof_;
         
     | 
| 
      
 91 
     | 
    
         
            +
            };
         
     | 
| 
      
 92 
     | 
    
         
            +
             
     | 
| 
      
 93 
     | 
    
         
            +
            RAPIDJSON_NAMESPACE_END
         
     | 
| 
      
 94 
     | 
    
         
            +
             
     | 
| 
      
 95 
     | 
    
         
            +
            #ifdef __clang__
         
     | 
| 
      
 96 
     | 
    
         
            +
            RAPIDJSON_DIAG_POP
         
     | 
| 
      
 97 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 98 
     | 
    
         
            +
             
     | 
| 
      
 99 
     | 
    
         
            +
            #endif // RAPIDJSON_FILESTREAM_H_
         
     | 
| 
         @@ -0,0 +1,104 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            // Tencent is pleased to support the open source community by making RapidJSON available.
         
     | 
| 
      
 2 
     | 
    
         
            +
            // 
         
     | 
| 
      
 3 
     | 
    
         
            +
            // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
         
     | 
| 
      
 4 
     | 
    
         
            +
            //
         
     | 
| 
      
 5 
     | 
    
         
            +
            // Licensed under the MIT License (the "License"); you may not use this file except
         
     | 
| 
      
 6 
     | 
    
         
            +
            // in compliance with the License. You may obtain a copy of the License at
         
     | 
| 
      
 7 
     | 
    
         
            +
            //
         
     | 
| 
      
 8 
     | 
    
         
            +
            // http://opensource.org/licenses/MIT
         
     | 
| 
      
 9 
     | 
    
         
            +
            //
         
     | 
| 
      
 10 
     | 
    
         
            +
            // Unless required by applicable law or agreed to in writing, software distributed 
         
     | 
| 
      
 11 
     | 
    
         
            +
            // under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
         
     | 
| 
      
 12 
     | 
    
         
            +
            // CONDITIONS OF ANY KIND, either express or implied. See the License for the 
         
     | 
| 
      
 13 
     | 
    
         
            +
            // specific language governing permissions and limitations under the License.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            #ifndef RAPIDJSON_FILEWRITESTREAM_H_
         
     | 
| 
      
 16 
     | 
    
         
            +
            #define RAPIDJSON_FILEWRITESTREAM_H_
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            #include "stream.h"
         
     | 
| 
      
 19 
     | 
    
         
            +
            #include <cstdio>
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            #ifdef __clang__
         
     | 
| 
      
 22 
     | 
    
         
            +
            RAPIDJSON_DIAG_PUSH
         
     | 
| 
      
 23 
     | 
    
         
            +
            RAPIDJSON_DIAG_OFF(unreachable-code)
         
     | 
| 
      
 24 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
            RAPIDJSON_NAMESPACE_BEGIN
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            //! Wrapper of C file stream for input using fread().
         
     | 
| 
      
 29 
     | 
    
         
            +
            /*!
         
     | 
| 
      
 30 
     | 
    
         
            +
                \note implements Stream concept
         
     | 
| 
      
 31 
     | 
    
         
            +
            */
         
     | 
| 
      
 32 
     | 
    
         
            +
            class FileWriteStream {
         
     | 
| 
      
 33 
     | 
    
         
            +
            public:
         
     | 
| 
      
 34 
     | 
    
         
            +
                typedef char Ch;    //!< Character type. Only support char.
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
                FileWriteStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferEnd_(buffer + bufferSize), current_(buffer_) { 
         
     | 
| 
      
 37 
     | 
    
         
            +
                    RAPIDJSON_ASSERT(fp_ != 0);
         
     | 
| 
      
 38 
     | 
    
         
            +
                }
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
                void Put(char c) { 
         
     | 
| 
      
 41 
     | 
    
         
            +
                    if (current_ >= bufferEnd_)
         
     | 
| 
      
 42 
     | 
    
         
            +
                        Flush();
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
                    *current_++ = c;
         
     | 
| 
      
 45 
     | 
    
         
            +
                }
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
                void PutN(char c, size_t n) {
         
     | 
| 
      
 48 
     | 
    
         
            +
                    size_t avail = static_cast<size_t>(bufferEnd_ - current_);
         
     | 
| 
      
 49 
     | 
    
         
            +
                    while (n > avail) {
         
     | 
| 
      
 50 
     | 
    
         
            +
                        std::memset(current_, c, avail);
         
     | 
| 
      
 51 
     | 
    
         
            +
                        current_ += avail;
         
     | 
| 
      
 52 
     | 
    
         
            +
                        Flush();
         
     | 
| 
      
 53 
     | 
    
         
            +
                        n -= avail;
         
     | 
| 
      
 54 
     | 
    
         
            +
                        avail = static_cast<size_t>(bufferEnd_ - current_);
         
     | 
| 
      
 55 
     | 
    
         
            +
                    }
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
                    if (n > 0) {
         
     | 
| 
      
 58 
     | 
    
         
            +
                        std::memset(current_, c, n);
         
     | 
| 
      
 59 
     | 
    
         
            +
                        current_ += n;
         
     | 
| 
      
 60 
     | 
    
         
            +
                    }
         
     | 
| 
      
 61 
     | 
    
         
            +
                }
         
     | 
| 
      
 62 
     | 
    
         
            +
             
     | 
| 
      
 63 
     | 
    
         
            +
                void Flush() {
         
     | 
| 
      
 64 
     | 
    
         
            +
                    if (current_ != buffer_) {
         
     | 
| 
      
 65 
     | 
    
         
            +
                        size_t result = fwrite(buffer_, 1, static_cast<size_t>(current_ - buffer_), fp_);
         
     | 
| 
      
 66 
     | 
    
         
            +
                        if (result < static_cast<size_t>(current_ - buffer_)) {
         
     | 
| 
      
 67 
     | 
    
         
            +
                            // failure deliberately ignored at this time
         
     | 
| 
      
 68 
     | 
    
         
            +
                            // added to avoid warn_unused_result build errors
         
     | 
| 
      
 69 
     | 
    
         
            +
                        }
         
     | 
| 
      
 70 
     | 
    
         
            +
                        current_ = buffer_;
         
     | 
| 
      
 71 
     | 
    
         
            +
                    }
         
     | 
| 
      
 72 
     | 
    
         
            +
                }
         
     | 
| 
      
 73 
     | 
    
         
            +
             
     | 
| 
      
 74 
     | 
    
         
            +
                // Not implemented
         
     | 
| 
      
 75 
     | 
    
         
            +
                char Peek() const { RAPIDJSON_ASSERT(false); return 0; }
         
     | 
| 
      
 76 
     | 
    
         
            +
                char Take() { RAPIDJSON_ASSERT(false); return 0; }
         
     | 
| 
      
 77 
     | 
    
         
            +
                size_t Tell() const { RAPIDJSON_ASSERT(false); return 0; }
         
     | 
| 
      
 78 
     | 
    
         
            +
                char* PutBegin() { RAPIDJSON_ASSERT(false); return 0; }
         
     | 
| 
      
 79 
     | 
    
         
            +
                size_t PutEnd(char*) { RAPIDJSON_ASSERT(false); return 0; }
         
     | 
| 
      
 80 
     | 
    
         
            +
             
     | 
| 
      
 81 
     | 
    
         
            +
            private:
         
     | 
| 
      
 82 
     | 
    
         
            +
                // Prohibit copy constructor & assignment operator.
         
     | 
| 
      
 83 
     | 
    
         
            +
                FileWriteStream(const FileWriteStream&);
         
     | 
| 
      
 84 
     | 
    
         
            +
                FileWriteStream& operator=(const FileWriteStream&);
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
                std::FILE* fp_;
         
     | 
| 
      
 87 
     | 
    
         
            +
                char *buffer_;
         
     | 
| 
      
 88 
     | 
    
         
            +
                char *bufferEnd_;
         
     | 
| 
      
 89 
     | 
    
         
            +
                char *current_;
         
     | 
| 
      
 90 
     | 
    
         
            +
            };
         
     | 
| 
      
 91 
     | 
    
         
            +
             
     | 
| 
      
 92 
     | 
    
         
            +
            //! Implement specialized version of PutN() with memset() for better performance.
         
     | 
| 
      
 93 
     | 
    
         
            +
            template<>
         
     | 
| 
      
 94 
     | 
    
         
            +
            inline void PutN(FileWriteStream& stream, char c, size_t n) {
         
     | 
| 
      
 95 
     | 
    
         
            +
                stream.PutN(c, n);
         
     | 
| 
      
 96 
     | 
    
         
            +
            }
         
     | 
| 
      
 97 
     | 
    
         
            +
             
     | 
| 
      
 98 
     | 
    
         
            +
            RAPIDJSON_NAMESPACE_END
         
     | 
| 
      
 99 
     | 
    
         
            +
             
     | 
| 
      
 100 
     | 
    
         
            +
            #ifdef __clang__
         
     | 
| 
      
 101 
     | 
    
         
            +
            RAPIDJSON_DIAG_POP
         
     | 
| 
      
 102 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 103 
     | 
    
         
            +
             
     | 
| 
      
 104 
     | 
    
         
            +
            #endif // RAPIDJSON_FILESTREAM_H_
         
     | 
| 
         @@ -0,0 +1,151 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            // Tencent is pleased to support the open source community by making RapidJSON available.
         
     | 
| 
      
 2 
     | 
    
         
            +
            // 
         
     | 
| 
      
 3 
     | 
    
         
            +
            // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
         
     | 
| 
      
 4 
     | 
    
         
            +
            //
         
     | 
| 
      
 5 
     | 
    
         
            +
            // Licensed under the MIT License (the "License"); you may not use this file except
         
     | 
| 
      
 6 
     | 
    
         
            +
            // in compliance with the License. You may obtain a copy of the License at
         
     | 
| 
      
 7 
     | 
    
         
            +
            //
         
     | 
| 
      
 8 
     | 
    
         
            +
            // http://opensource.org/licenses/MIT
         
     | 
| 
      
 9 
     | 
    
         
            +
            //
         
     | 
| 
      
 10 
     | 
    
         
            +
            // Unless required by applicable law or agreed to in writing, software distributed 
         
     | 
| 
      
 11 
     | 
    
         
            +
            // under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
         
     | 
| 
      
 12 
     | 
    
         
            +
            // CONDITIONS OF ANY KIND, either express or implied. See the License for the 
         
     | 
| 
      
 13 
     | 
    
         
            +
            // specific language governing permissions and limitations under the License.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            #ifndef RAPIDJSON_FWD_H_
         
     | 
| 
      
 16 
     | 
    
         
            +
            #define RAPIDJSON_FWD_H_
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            #include "rapidjson.h"
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            RAPIDJSON_NAMESPACE_BEGIN
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            // encodings.h
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
            template<typename CharType> struct UTF8;
         
     | 
| 
      
 25 
     | 
    
         
            +
            template<typename CharType> struct UTF16;
         
     | 
| 
      
 26 
     | 
    
         
            +
            template<typename CharType> struct UTF16BE;
         
     | 
| 
      
 27 
     | 
    
         
            +
            template<typename CharType> struct UTF16LE;
         
     | 
| 
      
 28 
     | 
    
         
            +
            template<typename CharType> struct UTF32;
         
     | 
| 
      
 29 
     | 
    
         
            +
            template<typename CharType> struct UTF32BE;
         
     | 
| 
      
 30 
     | 
    
         
            +
            template<typename CharType> struct UTF32LE;
         
     | 
| 
      
 31 
     | 
    
         
            +
            template<typename CharType> struct ASCII;
         
     | 
| 
      
 32 
     | 
    
         
            +
            template<typename CharType> struct AutoUTF;
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
            template<typename SourceEncoding, typename TargetEncoding>
         
     | 
| 
      
 35 
     | 
    
         
            +
            struct Transcoder;
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
            // allocators.h
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
            class CrtAllocator;
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
            template <typename BaseAllocator>
         
     | 
| 
      
 42 
     | 
    
         
            +
            class MemoryPoolAllocator;
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
            // stream.h
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
            template <typename Encoding>
         
     | 
| 
      
 47 
     | 
    
         
            +
            struct GenericStringStream;
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
            typedef GenericStringStream<UTF8<char> > StringStream;
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
            template <typename Encoding>
         
     | 
| 
      
 52 
     | 
    
         
            +
            struct GenericInsituStringStream;
         
     | 
| 
      
 53 
     | 
    
         
            +
             
     | 
| 
      
 54 
     | 
    
         
            +
            typedef GenericInsituStringStream<UTF8<char> > InsituStringStream;
         
     | 
| 
      
 55 
     | 
    
         
            +
             
     | 
| 
      
 56 
     | 
    
         
            +
            // stringbuffer.h
         
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
      
 58 
     | 
    
         
            +
            template <typename Encoding, typename Allocator>
         
     | 
| 
      
 59 
     | 
    
         
            +
            class GenericStringBuffer;
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
            typedef GenericStringBuffer<UTF8<char>, CrtAllocator> StringBuffer;
         
     | 
| 
      
 62 
     | 
    
         
            +
             
     | 
| 
      
 63 
     | 
    
         
            +
            // filereadstream.h
         
     | 
| 
      
 64 
     | 
    
         
            +
             
     | 
| 
      
 65 
     | 
    
         
            +
            class FileReadStream;
         
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
      
 67 
     | 
    
         
            +
            // filewritestream.h
         
     | 
| 
      
 68 
     | 
    
         
            +
             
     | 
| 
      
 69 
     | 
    
         
            +
            class FileWriteStream;
         
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
      
 71 
     | 
    
         
            +
            // memorybuffer.h
         
     | 
| 
      
 72 
     | 
    
         
            +
             
     | 
| 
      
 73 
     | 
    
         
            +
            template <typename Allocator>
         
     | 
| 
      
 74 
     | 
    
         
            +
            struct GenericMemoryBuffer;
         
     | 
| 
      
 75 
     | 
    
         
            +
             
     | 
| 
      
 76 
     | 
    
         
            +
            typedef GenericMemoryBuffer<CrtAllocator> MemoryBuffer;
         
     | 
| 
      
 77 
     | 
    
         
            +
             
     | 
| 
      
 78 
     | 
    
         
            +
            // memorystream.h
         
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
      
 80 
     | 
    
         
            +
            struct MemoryStream;
         
     | 
| 
      
 81 
     | 
    
         
            +
             
     | 
| 
      
 82 
     | 
    
         
            +
            // reader.h
         
     | 
| 
      
 83 
     | 
    
         
            +
             
     | 
| 
      
 84 
     | 
    
         
            +
            template<typename Encoding, typename Derived>
         
     | 
| 
      
 85 
     | 
    
         
            +
            struct BaseReaderHandler;
         
     | 
| 
      
 86 
     | 
    
         
            +
             
     | 
| 
      
 87 
     | 
    
         
            +
            template <typename SourceEncoding, typename TargetEncoding, typename StackAllocator>
         
     | 
| 
      
 88 
     | 
    
         
            +
            class GenericReader;
         
     | 
| 
      
 89 
     | 
    
         
            +
             
     | 
| 
      
 90 
     | 
    
         
            +
            typedef GenericReader<UTF8<char>, UTF8<char>, CrtAllocator> Reader;
         
     | 
| 
      
 91 
     | 
    
         
            +
             
     | 
| 
      
 92 
     | 
    
         
            +
            // writer.h
         
     | 
| 
      
 93 
     | 
    
         
            +
             
     | 
| 
      
 94 
     | 
    
         
            +
            template<typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator, unsigned writeFlags>
         
     | 
| 
      
 95 
     | 
    
         
            +
            class Writer;
         
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
            // prettywriter.h
         
     | 
| 
      
 98 
     | 
    
         
            +
             
     | 
| 
      
 99 
     | 
    
         
            +
            template<typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator, unsigned writeFlags>
         
     | 
| 
      
 100 
     | 
    
         
            +
            class PrettyWriter;
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
            // document.h
         
     | 
| 
      
 103 
     | 
    
         
            +
             
     | 
| 
      
 104 
     | 
    
         
            +
            template <typename Encoding, typename Allocator> 
         
     | 
| 
      
 105 
     | 
    
         
            +
            struct GenericMember;
         
     | 
| 
      
 106 
     | 
    
         
            +
             
     | 
| 
      
 107 
     | 
    
         
            +
            template <bool Const, typename Encoding, typename Allocator>
         
     | 
| 
      
 108 
     | 
    
         
            +
            class GenericMemberIterator;
         
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
            template<typename CharType>
         
     | 
| 
      
 111 
     | 
    
         
            +
            struct GenericStringRef;
         
     | 
| 
      
 112 
     | 
    
         
            +
             
     | 
| 
      
 113 
     | 
    
         
            +
            template <typename Encoding, typename Allocator> 
         
     | 
| 
      
 114 
     | 
    
         
            +
            class GenericValue;
         
     | 
| 
      
 115 
     | 
    
         
            +
             
     | 
| 
      
 116 
     | 
    
         
            +
            typedef GenericValue<UTF8<char>, MemoryPoolAllocator<CrtAllocator> > Value;
         
     | 
| 
      
 117 
     | 
    
         
            +
             
     | 
| 
      
 118 
     | 
    
         
            +
            template <typename Encoding, typename Allocator, typename StackAllocator>
         
     | 
| 
      
 119 
     | 
    
         
            +
            class GenericDocument;
         
     | 
| 
      
 120 
     | 
    
         
            +
             
     | 
| 
      
 121 
     | 
    
         
            +
            typedef GenericDocument<UTF8<char>, MemoryPoolAllocator<CrtAllocator>, CrtAllocator> Document;
         
     | 
| 
      
 122 
     | 
    
         
            +
             
     | 
| 
      
 123 
     | 
    
         
            +
            // pointer.h
         
     | 
| 
      
 124 
     | 
    
         
            +
             
     | 
| 
      
 125 
     | 
    
         
            +
            template <typename ValueType, typename Allocator>
         
     | 
| 
      
 126 
     | 
    
         
            +
            class GenericPointer;
         
     | 
| 
      
 127 
     | 
    
         
            +
             
     | 
| 
      
 128 
     | 
    
         
            +
            typedef GenericPointer<Value, CrtAllocator> Pointer;
         
     | 
| 
      
 129 
     | 
    
         
            +
             
     | 
| 
      
 130 
     | 
    
         
            +
            // schema.h
         
     | 
| 
      
 131 
     | 
    
         
            +
             
     | 
| 
      
 132 
     | 
    
         
            +
            template <typename SchemaDocumentType>
         
     | 
| 
      
 133 
     | 
    
         
            +
            class IGenericRemoteSchemaDocumentProvider;
         
     | 
| 
      
 134 
     | 
    
         
            +
             
     | 
| 
      
 135 
     | 
    
         
            +
            template <typename ValueT, typename Allocator>
         
     | 
| 
      
 136 
     | 
    
         
            +
            class GenericSchemaDocument;
         
     | 
| 
      
 137 
     | 
    
         
            +
             
     | 
| 
      
 138 
     | 
    
         
            +
            typedef GenericSchemaDocument<Value, CrtAllocator> SchemaDocument;
         
     | 
| 
      
 139 
     | 
    
         
            +
            typedef IGenericRemoteSchemaDocumentProvider<SchemaDocument> IRemoteSchemaDocumentProvider;
         
     | 
| 
      
 140 
     | 
    
         
            +
             
     | 
| 
      
 141 
     | 
    
         
            +
            template <
         
     | 
| 
      
 142 
     | 
    
         
            +
                typename SchemaDocumentType,
         
     | 
| 
      
 143 
     | 
    
         
            +
                typename OutputHandler,
         
     | 
| 
      
 144 
     | 
    
         
            +
                typename StateAllocator>
         
     | 
| 
      
 145 
     | 
    
         
            +
            class GenericSchemaValidator;
         
     | 
| 
      
 146 
     | 
    
         
            +
             
     | 
| 
      
 147 
     | 
    
         
            +
            typedef GenericSchemaValidator<SchemaDocument, BaseReaderHandler<UTF8<char>, void>, CrtAllocator> SchemaValidator;
         
     | 
| 
      
 148 
     | 
    
         
            +
             
     | 
| 
      
 149 
     | 
    
         
            +
            RAPIDJSON_NAMESPACE_END
         
     | 
| 
      
 150 
     | 
    
         
            +
             
     | 
| 
      
 151 
     | 
    
         
            +
            #endif // RAPIDJSON_RAPIDJSONFWD_H_
         
     |