rroonga 6.0.5-x64-mingw32 → 6.0.7-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +15 -0
- data/ext/groonga/rb-grn-column.c +23 -17
- data/ext/groonga/rb-grn-context.c +24 -22
- data/ext/groonga/rb-grn-exception.c +2 -256
- data/ext/groonga/rb-grn-index-column.c +21 -9
- data/ext/groonga/rb-grn-object.c +98 -62
- data/ext/groonga/rb-grn-table-sort-keys.c +1 -1
- data/ext/groonga/rb-grn-table.c +2 -2
- data/ext/groonga/rb-grn-variable-size-column.c +13 -7
- data/ext/groonga/rb-grn.h +1 -2
- data/ext/groonga/rb-groonga.c +3 -2
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/rroonga-build.rb +3 -3
- data/test/test-fix-size-column.rb +1 -1
- data/test/test-schema.rb +1 -1
- data/test/test-variable-size-column.rb +1 -1
- 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/{libmsgpack-4.dll → libmsgpackc.dll} +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +2 -0
- data/vendor/local/include/groonga/groonga/column.h +29 -0
- data/vendor/local/include/groonga/groonga/dump.h +1 -1
- data/vendor/local/include/groonga/groonga/error.h +29 -0
- data/vendor/local/include/groonga/groonga/groonga.h +6 -1
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +4 -70
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/array_ref.hpp +4 -161
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/bool.hpp +2 -53
- data/vendor/local/include/msgpack/adaptor/boost/fusion.hpp +1 -146
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant.hpp +4 -416
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/boost/optional.hpp +2 -83
- data/vendor/local/include/msgpack/adaptor/boost/string_ref.hpp +2 -74
- data/vendor/local/include/msgpack/adaptor/carray.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/char_ptr.hpp +2 -144
- data/vendor/local/include/msgpack/adaptor/check_container_size.hpp +3 -53
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array.hpp +5 -127
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char.hpp +5 -78
- data/vendor/local/include/msgpack/adaptor/cpp11/array_unsigned_char.hpp +5 -78
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list.hpp +5 -83
- data/vendor/local/include/msgpack/adaptor/cpp11/reference_wrapper.hpp +5 -57
- data/vendor/local/include/msgpack/adaptor/cpp11/shared_ptr.hpp +5 -71
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple.hpp +5 -165
- data/vendor/local/include/msgpack/adaptor/cpp11/unique_ptr.hpp +5 -71
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map.hpp +5 -171
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set.hpp +5 -161
- data/vendor/local/include/msgpack/adaptor/define.hpp +3 -17
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +142 -0
- data/vendor/local/include/msgpack/adaptor/deque.hpp +3 -96
- data/vendor/local/include/msgpack/adaptor/ext.hpp +3 -223
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/fixint.hpp +4 -285
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/float.hpp +2 -110
- data/vendor/local/include/msgpack/adaptor/int.hpp +4 -415
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/list.hpp +2 -93
- data/vendor/local/include/msgpack/adaptor/map.hpp +3 -291
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple.hpp +2 -6
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/nil.hpp +3 -70
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/pair.hpp +2 -70
- data/vendor/local/include/msgpack/adaptor/raw.hpp +3 -92
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/set.hpp +2 -175
- data/vendor/local/include/msgpack/adaptor/size_equal_only.hpp +17 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/string.hpp +2 -73
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/v4raw.hpp +3 -92
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/vector.hpp +2 -108
- data/vendor/local/include/msgpack/adaptor/vector_bool.hpp +2 -75
- data/vendor/local/include/msgpack/adaptor/vector_char.hpp +2 -76
- data/vendor/local/include/msgpack/adaptor/vector_unsigned_char.hpp +2 -76
- data/vendor/local/include/msgpack/cpp_config.hpp +4 -111
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer.hpp +5 -48
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +16 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +33 -0
- data/vendor/local/include/msgpack/iterator.hpp +3 -23
- data/vendor/local/include/msgpack/iterator_decl.hpp +17 -0
- data/vendor/local/include/msgpack/meta.hpp +3 -36
- data/vendor/local/include/msgpack/meta_decl.hpp +17 -0
- data/vendor/local/include/msgpack/object.hpp +5 -799
- data/vendor/local/include/msgpack/object_decl.hpp +17 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +4 -180
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +17 -0
- data/vendor/local/include/msgpack/pack.hpp +4 -1077
- data/vendor/local/include/msgpack/pack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/predef.h +6 -1
- data/vendor/local/include/msgpack/predef/architecture.h +3 -1
- data/vendor/local/include/msgpack/predef/architecture/alpha.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/arm.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/blackfin.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/convex.h +3 -5
- data/vendor/local/include/msgpack/predef/architecture/ia64.h +3 -3
- data/vendor/local/include/msgpack/predef/architecture/m68k.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/mips.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/parisc.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/ppc.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/pyramid.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/rs6k.h +4 -4
- data/vendor/local/include/msgpack/predef/architecture/sparc.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/superh.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/sys370.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/sys390.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/x86.h +6 -6
- data/vendor/local/include/msgpack/predef/architecture/x86/32.h +4 -4
- data/vendor/local/include/msgpack/predef/architecture/x86/64.h +4 -4
- data/vendor/local/include/msgpack/predef/architecture/z.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler.h +3 -1
- data/vendor/local/include/msgpack/predef/compiler/borland.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/clang.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/comeau.h +4 -5
- data/vendor/local/include/msgpack/predef/compiler/compaq.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/diab.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/digitalmars.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/dignus.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/edg.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/ekopath.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/gcc.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/gcc_xml.h +3 -3
- data/vendor/local/include/msgpack/predef/compiler/greenhills.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/hp_acc.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/iar.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/ibm.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/intel.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/kai.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/llvm.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/metaware.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/metrowerks.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/microtec.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/mpw.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/palm.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/pgi.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/sgi_mipspro.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/sunpro.h +17 -8
- data/vendor/local/include/msgpack/predef/compiler/tendra.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/visualc.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/watcom.h +3 -4
- data/vendor/local/include/msgpack/predef/detail/_cassert.h +1 -1
- data/vendor/local/include/msgpack/predef/detail/_exception.h +1 -1
- data/vendor/local/include/msgpack/predef/detail/test_def.h +71 -0
- data/vendor/local/include/msgpack/predef/hardware.h +16 -0
- data/vendor/local/include/msgpack/predef/hardware/simd.h +119 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/arm.h +57 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/arm/versions.h +32 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/ppc.h +69 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/ppc/versions.h +51 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86.h +123 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86/versions.h +129 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86_amd.h +87 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86_amd/versions.h +51 -0
- data/vendor/local/include/msgpack/predef/language.h +3 -1
- data/vendor/local/include/msgpack/predef/language/objc.h +3 -4
- data/vendor/local/include/msgpack/predef/language/stdc.h +3 -4
- data/vendor/local/include/msgpack/predef/language/stdcpp.h +8 -11
- data/vendor/local/include/msgpack/predef/library.h +3 -1
- data/vendor/local/include/msgpack/predef/library/c.h +3 -1
- data/vendor/local/include/msgpack/predef/library/c/gnu.h +3 -4
- data/vendor/local/include/msgpack/predef/library/c/uc.h +3 -4
- data/vendor/local/include/msgpack/predef/library/c/vms.h +3 -4
- data/vendor/local/include/msgpack/predef/library/c/zos.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std.h +3 -1
- data/vendor/local/include/msgpack/predef/library/std/cxx.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/dinkumware.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/libcomo.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/modena.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/msl.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/roguewave.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/sgi.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/stdcpp3.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/stlport.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/vacpp.h +3 -4
- data/vendor/local/include/msgpack/predef/make.h +2 -2
- data/vendor/local/include/msgpack/predef/os.h +3 -1
- data/vendor/local/include/msgpack/predef/os/aix.h +3 -4
- data/vendor/local/include/msgpack/predef/os/amigaos.h +3 -4
- data/vendor/local/include/msgpack/predef/os/android.h +3 -4
- data/vendor/local/include/msgpack/predef/os/beos.h +3 -4
- data/vendor/local/include/msgpack/predef/os/bsd.h +11 -3
- data/vendor/local/include/msgpack/predef/os/bsd/bsdi.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/dragonfly.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/free.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/net.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/open.h +3 -3
- data/vendor/local/include/msgpack/predef/os/cygwin.h +4 -5
- data/vendor/local/include/msgpack/predef/os/haiku.h +3 -4
- data/vendor/local/include/msgpack/predef/os/hpux.h +3 -4
- data/vendor/local/include/msgpack/predef/os/ios.h +3 -3
- data/vendor/local/include/msgpack/predef/os/irix.h +3 -4
- data/vendor/local/include/msgpack/predef/os/linux.h +3 -4
- data/vendor/local/include/msgpack/predef/os/macos.h +3 -4
- data/vendor/local/include/msgpack/predef/os/os400.h +3 -4
- data/vendor/local/include/msgpack/predef/os/qnxnto.h +3 -4
- data/vendor/local/include/msgpack/predef/os/solaris.h +3 -4
- data/vendor/local/include/msgpack/predef/os/unix.h +3 -3
- data/vendor/local/include/msgpack/predef/os/vms.h +3 -4
- data/vendor/local/include/msgpack/predef/os/windows.h +3 -3
- data/vendor/local/include/msgpack/predef/other.h +3 -1
- data/vendor/local/include/msgpack/predef/other/endian.h +4 -5
- data/vendor/local/include/msgpack/predef/platform.h +3 -1
- data/vendor/local/include/msgpack/predef/platform/mingw.h +3 -4
- data/vendor/local/include/msgpack/predef/platform/windows_desktop.h +4 -3
- data/vendor/local/include/msgpack/predef/platform/windows_phone.h +4 -3
- data/vendor/local/include/msgpack/predef/platform/windows_runtime.h +4 -3
- data/vendor/local/include/msgpack/predef/platform/windows_store.h +4 -3
- data/vendor/local/include/msgpack/predef/version.h +2 -2
- data/vendor/local/include/msgpack/predef/version_number.h +1 -2
- data/vendor/local/include/msgpack/preprocessor/arithmetic/dec.hpp +1 -0
- data/vendor/local/include/msgpack/preprocessor/config/config.hpp +5 -2
- data/vendor/local/include/msgpack/preprocessor/facilities/identity.hpp +4 -0
- data/vendor/local/include/msgpack/preprocessor/library.hpp +1 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/for.hpp +19 -1
- data/vendor/local/include/msgpack/preprocessor/seq/detail/is_empty.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/seq/for_each.hpp +57 -10
- data/vendor/local/include/msgpack/preprocessor/seq/for_each_i.hpp +58 -10
- data/vendor/local/include/msgpack/preprocessor/seq/replace.hpp +18 -2
- data/vendor/local/include/msgpack/preprocessor/seq/rest_n.hpp +18 -2
- data/vendor/local/include/msgpack/preprocessor/seq/size.hpp +1 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/eat.hpp +10 -1
- data/vendor/local/include/msgpack/sbuffer.hpp +4 -139
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +17 -0
- data/vendor/local/include/msgpack/sysdep.h +9 -5
- data/vendor/local/include/msgpack/type.hpp +2 -0
- data/vendor/local/include/msgpack/unpack.hpp +5 -1698
- data/vendor/local/include/msgpack/unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/v1/adaptor/adaptor_base.hpp +116 -0
- data/vendor/local/include/msgpack/v1/adaptor/adaptor_base_decl.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +305 -0
- data/vendor/local/include/msgpack/v1/adaptor/array_ref_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v1/adaptor/bool.hpp +66 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +160 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +441 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant_decl.hpp +62 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/optional.hpp +96 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_ref.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +253 -0
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +92 -0
- data/vendor/local/include/msgpack/v1/adaptor/check_container_size.hpp +67 -0
- data/vendor/local/include/msgpack/v1/adaptor/check_container_size_decl.hpp +44 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +138 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +94 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/reference_wrapper.hpp +68 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/shared_ptr.hpp +82 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +175 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unique_ptr.hpp +82 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +182 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +172 -0
- data/vendor/local/include/msgpack/v1/adaptor/define.hpp +21 -0
- data/vendor/local/include/msgpack/v1/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +108 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_define_array.hpp +6 -71
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array_decl.hpp +135 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_define_map.hpp +7 -61
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map_decl.hpp +135 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_msgpack_tuple.hpp +1095 -579
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +317 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_define_array.hpp +5 -71
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array_decl.hpp +39 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_define_map.hpp +7 -62
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map_decl.hpp +37 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_msgpack_tuple.hpp +30 -85
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +120 -0
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +236 -0
- data/vendor/local/include/msgpack/v1/adaptor/ext_decl.hpp +38 -0
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +283 -0
- data/vendor/local/include/msgpack/v1/adaptor/fixint_decl.hpp +46 -0
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +123 -0
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +426 -0
- data/vendor/local/include/msgpack/v1/adaptor/int_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +106 -0
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +314 -0
- data/vendor/local/include/msgpack/v1/adaptor/map_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v1/adaptor/msgpack_tuple.hpp +21 -0
- data/vendor/local/include/msgpack/v1/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v1/adaptor/nil.hpp +76 -0
- data/vendor/local/include/msgpack/v1/adaptor/nil_decl.hpp +44 -0
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +83 -0
- data/vendor/local/include/msgpack/v1/adaptor/raw.hpp +106 -0
- data/vendor/local/include/msgpack/v1/adaptor/raw_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +188 -0
- data/vendor/local/include/msgpack/v1/adaptor/size_equal_only.hpp +118 -0
- data/vendor/local/include/msgpack/v1/adaptor/size_equal_only_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +171 -0
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +165 -0
- data/vendor/local/include/msgpack/v1/adaptor/v4raw.hpp +105 -0
- data/vendor/local/include/msgpack/v1/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +121 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +114 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +114 -0
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +129 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +131 -0
- data/vendor/local/include/msgpack/{detail → v1/detail}/cpp03_zone.hpp +10 -21
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +46 -0
- data/vendor/local/include/msgpack/{detail → v1/detail}/cpp11_zone.hpp +10 -18
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +47 -0
- data/vendor/local/include/msgpack/v1/fbuffer.hpp +60 -0
- data/vendor/local/include/msgpack/v1/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v1/iterator.hpp +40 -0
- data/vendor/local/include/msgpack/v1/iterator_decl.hpp +40 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +47 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v1/object.hpp +865 -0
- data/vendor/local/include/msgpack/v1/object_decl.hpp +112 -0
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +252 -0
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +76 -0
- data/vendor/local/include/msgpack/v1/pack.hpp +1602 -0
- data/vendor/local/include/msgpack/v1/pack_decl.hpp +91 -0
- data/vendor/local/include/msgpack/v1/preprocessor.hpp +19 -0
- data/vendor/local/include/msgpack/v1/sbuffer.hpp +149 -0
- data/vendor/local/include/msgpack/v1/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +1672 -0
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +461 -0
- data/vendor/local/include/msgpack/v1/version.hpp +36 -0
- data/vendor/local/include/msgpack/v1/versioning.hpp +69 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +292 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v1/zbuffer.hpp +159 -0
- data/vendor/local/include/msgpack/v1/zbuffer_decl.hpp +37 -0
- data/vendor/local/include/msgpack/v1/zone.hpp +21 -0
- data/vendor/local/include/msgpack/v1/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v2/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v2/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v2/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v2/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v2/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v2/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v2/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v2/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v2/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v2/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v2/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v2/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v2/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v2/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v2/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +46 -0
- data/vendor/local/include/msgpack/v2/object.hpp +33 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +109 -0
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +73 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v2/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +1625 -0
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +348 -0
- data/vendor/local/include/msgpack/v2/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +3 -3
- data/vendor/local/include/msgpack/vrefbuffer.hpp +4 -279
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer.hpp +3 -153
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zone.hpp +3 -7
- data/vendor/local/include/msgpack/zone_decl.hpp +16 -0
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- 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 +3 -3
- 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 +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +10 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/msgpack.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/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +82 -1244
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/5.x.txt +1250 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_list.txt +393 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_substring.txt +27 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_slice.txt +27 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/client.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/community.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +7 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/development.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +44 -41
- data/vendor/local/share/doc/groonga/en/html/install.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/others.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +10 -11
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/limitations.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news.html +257 -1703
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +54 -48
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +18 -12
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +65 -59
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +64 -58
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +61 -55
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +1426 -0
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +44 -41
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +33 -32
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +991 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +69 -69
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +113 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +53 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +45 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -16
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/record_number.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/package.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/spec.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +82 -1244
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/5.x.txt +1250 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_list.txt +393 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_substring.txt +27 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_slice.txt +27 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/client.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/community.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +7 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/development.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/index.html +44 -41
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +10 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news.html +248 -1638
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +54 -48
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +18 -12
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +65 -59
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +64 -58
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +61 -55
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +1368 -0
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +44 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +33 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +7 -7
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +1014 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +69 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +113 -113
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +53 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +45 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/record_number.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +163 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +163 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/spec.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +7 -7
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +7 -1
- data/vendor/local/share/groonga/examples/dictionary/html/index.html +1 -1
- data/vendor/local/share/license/msgpack/README.md +6 -7
- metadata +200 -16
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +0 -41
- data/vendor/local/lib/libmsgpackc.la +0 -41
@@ -0,0 +1,865 @@
|
|
1
|
+
//
|
2
|
+
// MessagePack for C++ static resolution routine
|
3
|
+
//
|
4
|
+
// Copyright (C) 2008-2014 FURUHASHI Sadayuki and KONDO Takatoshi
|
5
|
+
//
|
6
|
+
// Distributed under the Boost Software License, Version 1.0.
|
7
|
+
// (See accompanying file LICENSE_1_0.txt or copy at
|
8
|
+
// http://www.boost.org/LICENSE_1_0.txt)
|
9
|
+
//
|
10
|
+
#ifndef MSGPACK_V1_OBJECT_HPP
|
11
|
+
#define MSGPACK_V1_OBJECT_HPP
|
12
|
+
|
13
|
+
#include "msgpack/object_decl.hpp"
|
14
|
+
|
15
|
+
#include <cstring>
|
16
|
+
#include <stdexcept>
|
17
|
+
#include <typeinfo>
|
18
|
+
#include <limits>
|
19
|
+
#include <ostream>
|
20
|
+
#include <typeinfo>
|
21
|
+
#include <iomanip>
|
22
|
+
|
23
|
+
namespace msgpack {
|
24
|
+
|
25
|
+
/// @cond
|
26
|
+
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
27
|
+
/// @endcond
|
28
|
+
|
29
|
+
struct object_kv {
|
30
|
+
msgpack::object key;
|
31
|
+
msgpack::object val;
|
32
|
+
};
|
33
|
+
|
34
|
+
struct object::with_zone : msgpack::object {
|
35
|
+
with_zone(msgpack::zone& z) : zone(z) { }
|
36
|
+
msgpack::zone& zone;
|
37
|
+
private:
|
38
|
+
with_zone();
|
39
|
+
};
|
40
|
+
|
41
|
+
|
42
|
+
/// The class holds object and zone
|
43
|
+
class object_handle {
|
44
|
+
public:
|
45
|
+
/// Constructor that creates nil object and null zone.
|
46
|
+
object_handle() {}
|
47
|
+
|
48
|
+
/// Constructor that creates an object_handle holding object `obj` and zone `z`.
|
49
|
+
/**
|
50
|
+
* @param obj object
|
51
|
+
* @param z zone
|
52
|
+
*/
|
53
|
+
object_handle(
|
54
|
+
msgpack::object const& obj,
|
55
|
+
#if defined(MSGPACK_USE_CPP03)
|
56
|
+
msgpack::unique_ptr<msgpack::zone> z
|
57
|
+
#else // defined(MSGPACK_USE_CPP03)
|
58
|
+
msgpack::unique_ptr<msgpack::zone>&& z
|
59
|
+
#endif // defined(MSGPACK_USE_CPP03)
|
60
|
+
) :
|
61
|
+
m_obj(obj), m_zone(msgpack::move(z)) { }
|
62
|
+
|
63
|
+
// obsolete
|
64
|
+
void set(msgpack::object const& obj)
|
65
|
+
{ m_obj = obj; }
|
66
|
+
|
67
|
+
/// Get object reference
|
68
|
+
/**
|
69
|
+
* @return object
|
70
|
+
*/
|
71
|
+
const msgpack::object& get() const
|
72
|
+
{ return m_obj; }
|
73
|
+
|
74
|
+
/// Get unique_ptr reference of zone.
|
75
|
+
/**
|
76
|
+
* @return unique_ptr reference of zone
|
77
|
+
*/
|
78
|
+
msgpack::unique_ptr<msgpack::zone>& zone()
|
79
|
+
{ return m_zone; }
|
80
|
+
|
81
|
+
/// Get unique_ptr const reference of zone.
|
82
|
+
/**
|
83
|
+
* @return unique_ptr const reference of zone
|
84
|
+
*/
|
85
|
+
const msgpack::unique_ptr<msgpack::zone>& zone() const
|
86
|
+
{ return m_zone; }
|
87
|
+
|
88
|
+
#if defined(MSGPACK_USE_CPP03)
|
89
|
+
struct object_handle_ref {
|
90
|
+
object_handle_ref(object_handle* oh):m_oh(oh) {}
|
91
|
+
object_handle* m_oh;
|
92
|
+
};
|
93
|
+
|
94
|
+
object_handle(object_handle& other):
|
95
|
+
m_obj(other.m_obj),
|
96
|
+
m_zone(msgpack::move(other.m_zone)) {
|
97
|
+
}
|
98
|
+
|
99
|
+
object_handle(object_handle_ref ref):
|
100
|
+
m_obj(ref.m_oh->m_obj),
|
101
|
+
m_zone(msgpack::move(ref.m_oh->m_zone)) {
|
102
|
+
}
|
103
|
+
|
104
|
+
object_handle& operator=(object_handle& other) {
|
105
|
+
m_obj = other.m_obj;
|
106
|
+
m_zone = msgpack::move(other.m_zone);
|
107
|
+
return *this;
|
108
|
+
}
|
109
|
+
|
110
|
+
object_handle& operator=(object_handle_ref ref) {
|
111
|
+
m_obj = ref.m_oh->m_obj;
|
112
|
+
m_zone = msgpack::move(ref.m_oh->m_zone);
|
113
|
+
return *this;
|
114
|
+
}
|
115
|
+
|
116
|
+
operator object_handle_ref() {
|
117
|
+
return object_handle_ref(this);
|
118
|
+
}
|
119
|
+
#endif // defined(MSGPACK_USE_CPP03)
|
120
|
+
|
121
|
+
private:
|
122
|
+
msgpack::object m_obj;
|
123
|
+
msgpack::unique_ptr<msgpack::zone> m_zone;
|
124
|
+
};
|
125
|
+
|
126
|
+
namespace detail {
|
127
|
+
|
128
|
+
template <std::size_t N>
|
129
|
+
inline std::size_t add_ext_type_size(std::size_t size) {
|
130
|
+
return size + 1;
|
131
|
+
}
|
132
|
+
|
133
|
+
template <>
|
134
|
+
inline std::size_t add_ext_type_size<4>(std::size_t size) {
|
135
|
+
return size == 0xffffffff ? size : size + 1;
|
136
|
+
}
|
137
|
+
|
138
|
+
} // namespace detail
|
139
|
+
|
140
|
+
inline std::size_t aligned_zone_size(msgpack::object const& obj) {
|
141
|
+
std::size_t s = 0;
|
142
|
+
switch (obj.type) {
|
143
|
+
case msgpack::type::ARRAY:
|
144
|
+
s += sizeof(msgpack::object) * obj.via.array.size;
|
145
|
+
for (uint32_t i = 0; i < obj.via.array.size; ++i) {
|
146
|
+
s += msgpack::aligned_zone_size(obj.via.array.ptr[i]);
|
147
|
+
}
|
148
|
+
break;
|
149
|
+
case msgpack::type::MAP:
|
150
|
+
s += sizeof(msgpack::object_kv) * obj.via.map.size;
|
151
|
+
for (uint32_t i = 0; i < obj.via.map.size; ++i) {
|
152
|
+
s += msgpack::aligned_zone_size(obj.via.map.ptr[i].key);
|
153
|
+
s += msgpack::aligned_zone_size(obj.via.map.ptr[i].val);
|
154
|
+
}
|
155
|
+
break;
|
156
|
+
case msgpack::type::EXT:
|
157
|
+
s += msgpack::aligned_size(
|
158
|
+
detail::add_ext_type_size<sizeof(std::size_t)>(obj.via.ext.size));
|
159
|
+
break;
|
160
|
+
case msgpack::type::STR:
|
161
|
+
s += msgpack::aligned_size(obj.via.str.size);
|
162
|
+
break;
|
163
|
+
case msgpack::type::BIN:
|
164
|
+
s += msgpack::aligned_size(obj.via.bin.size);
|
165
|
+
break;
|
166
|
+
default:
|
167
|
+
break;
|
168
|
+
}
|
169
|
+
return s;
|
170
|
+
}
|
171
|
+
|
172
|
+
/// clone object
|
173
|
+
/**
|
174
|
+
* Clone (deep copy) object.
|
175
|
+
* The copied object is located on newly allocated zone.
|
176
|
+
* @param obj copy source object
|
177
|
+
*
|
178
|
+
* @return object_handle that holds deep copied object and zone.
|
179
|
+
*/
|
180
|
+
inline object_handle clone(msgpack::object const& obj) {
|
181
|
+
std::size_t size = msgpack::aligned_zone_size(obj);
|
182
|
+
msgpack::unique_ptr<msgpack::zone> z(size == 0 ? MSGPACK_NULLPTR : new msgpack::zone(size));
|
183
|
+
msgpack::object newobj = z.get() ? msgpack::object(obj, *z) : obj;
|
184
|
+
return object_handle(newobj, msgpack::move(z));
|
185
|
+
}
|
186
|
+
|
187
|
+
template <typename T>
|
188
|
+
inline object::implicit_type::operator T() { return obj.as<T>(); }
|
189
|
+
|
190
|
+
namespace detail {
|
191
|
+
template <typename Stream, typename T>
|
192
|
+
struct packer_serializer {
|
193
|
+
static msgpack::packer<Stream>& pack(msgpack::packer<Stream>& o, const T& v) {
|
194
|
+
v.msgpack_pack(o);
|
195
|
+
return o;
|
196
|
+
}
|
197
|
+
};
|
198
|
+
} // namespace detail
|
199
|
+
|
200
|
+
// Adaptor functors' member functions definitions.
|
201
|
+
template <typename T, typename Enabler>
|
202
|
+
inline
|
203
|
+
msgpack::object const&
|
204
|
+
adaptor::convert<T, Enabler>::operator()(msgpack::object const& o, T& v) const {
|
205
|
+
v.msgpack_unpack(o.convert());
|
206
|
+
return o;
|
207
|
+
}
|
208
|
+
|
209
|
+
template <typename T, typename Enabler>
|
210
|
+
template <typename Stream>
|
211
|
+
inline
|
212
|
+
msgpack::packer<Stream>&
|
213
|
+
adaptor::pack<T, Enabler>::operator()(msgpack::packer<Stream>& o, T const& v) const {
|
214
|
+
return msgpack::detail::packer_serializer<Stream, T>::pack(o, v);
|
215
|
+
}
|
216
|
+
|
217
|
+
template <typename T, typename Enabler>
|
218
|
+
inline
|
219
|
+
void
|
220
|
+
adaptor::object_with_zone<T, Enabler>::operator()(msgpack::object::with_zone& o, T const& v) const {
|
221
|
+
v.msgpack_object(static_cast<msgpack::object*>(&o), o.zone);
|
222
|
+
}
|
223
|
+
|
224
|
+
// Adaptor functor specialization to object
|
225
|
+
namespace adaptor {
|
226
|
+
|
227
|
+
template <>
|
228
|
+
struct convert<msgpack::object> {
|
229
|
+
msgpack::object const& operator()(msgpack::object const& o, msgpack::object& v) const {
|
230
|
+
v = o;
|
231
|
+
return o;
|
232
|
+
}
|
233
|
+
};
|
234
|
+
|
235
|
+
template <>
|
236
|
+
struct pack<msgpack::object> {
|
237
|
+
template <typename Stream>
|
238
|
+
msgpack::packer<Stream>& operator()(msgpack::packer<Stream>& o, msgpack::object const& v) const {
|
239
|
+
switch(v.type) {
|
240
|
+
case msgpack::type::NIL:
|
241
|
+
o.pack_nil();
|
242
|
+
return o;
|
243
|
+
|
244
|
+
case msgpack::type::BOOLEAN:
|
245
|
+
if(v.via.boolean) {
|
246
|
+
o.pack_true();
|
247
|
+
} else {
|
248
|
+
o.pack_false();
|
249
|
+
}
|
250
|
+
return o;
|
251
|
+
|
252
|
+
case msgpack::type::POSITIVE_INTEGER:
|
253
|
+
o.pack_uint64(v.via.u64);
|
254
|
+
return o;
|
255
|
+
|
256
|
+
case msgpack::type::NEGATIVE_INTEGER:
|
257
|
+
o.pack_int64(v.via.i64);
|
258
|
+
return o;
|
259
|
+
|
260
|
+
case msgpack::type::FLOAT:
|
261
|
+
o.pack_double(v.via.f64);
|
262
|
+
return o;
|
263
|
+
|
264
|
+
case msgpack::type::STR:
|
265
|
+
o.pack_str(v.via.str.size);
|
266
|
+
o.pack_str_body(v.via.str.ptr, v.via.str.size);
|
267
|
+
return o;
|
268
|
+
|
269
|
+
case msgpack::type::BIN:
|
270
|
+
o.pack_bin(v.via.bin.size);
|
271
|
+
o.pack_bin_body(v.via.bin.ptr, v.via.bin.size);
|
272
|
+
return o;
|
273
|
+
|
274
|
+
case msgpack::type::EXT:
|
275
|
+
o.pack_ext(v.via.ext.size, v.via.ext.type());
|
276
|
+
o.pack_ext_body(v.via.ext.data(), v.via.ext.size);
|
277
|
+
return o;
|
278
|
+
|
279
|
+
case msgpack::type::ARRAY:
|
280
|
+
o.pack_array(v.via.array.size);
|
281
|
+
for(msgpack::object* p(v.via.array.ptr),
|
282
|
+
* const pend(v.via.array.ptr + v.via.array.size);
|
283
|
+
p < pend; ++p) {
|
284
|
+
msgpack::operator<<(o, *p);
|
285
|
+
}
|
286
|
+
return o;
|
287
|
+
|
288
|
+
case msgpack::type::MAP:
|
289
|
+
o.pack_map(v.via.map.size);
|
290
|
+
for(msgpack::object_kv* p(v.via.map.ptr),
|
291
|
+
* const pend(v.via.map.ptr + v.via.map.size);
|
292
|
+
p < pend; ++p) {
|
293
|
+
msgpack::operator<<(o, p->key);
|
294
|
+
msgpack::operator<<(o, p->val);
|
295
|
+
}
|
296
|
+
return o;
|
297
|
+
|
298
|
+
default:
|
299
|
+
throw msgpack::type_error();
|
300
|
+
}
|
301
|
+
}
|
302
|
+
};
|
303
|
+
|
304
|
+
template <>
|
305
|
+
struct object_with_zone<msgpack::object> {
|
306
|
+
void operator()(msgpack::object::with_zone& o, msgpack::object const& v) const {
|
307
|
+
o.type = v.type;
|
308
|
+
|
309
|
+
switch(v.type) {
|
310
|
+
case msgpack::type::NIL:
|
311
|
+
case msgpack::type::BOOLEAN:
|
312
|
+
case msgpack::type::POSITIVE_INTEGER:
|
313
|
+
case msgpack::type::NEGATIVE_INTEGER:
|
314
|
+
case msgpack::type::FLOAT:
|
315
|
+
std::memcpy(&o.via, &v.via, sizeof(v.via));
|
316
|
+
return;
|
317
|
+
|
318
|
+
case msgpack::type::STR: {
|
319
|
+
char* ptr = static_cast<char*>(o.zone.allocate_align(v.via.str.size));
|
320
|
+
o.via.str.ptr = ptr;
|
321
|
+
o.via.str.size = v.via.str.size;
|
322
|
+
std::memcpy(ptr, v.via.str.ptr, v.via.str.size);
|
323
|
+
return;
|
324
|
+
}
|
325
|
+
|
326
|
+
case msgpack::type::BIN: {
|
327
|
+
char* ptr = static_cast<char*>(o.zone.allocate_align(v.via.bin.size));
|
328
|
+
o.via.bin.ptr = ptr;
|
329
|
+
o.via.bin.size = v.via.bin.size;
|
330
|
+
std::memcpy(ptr, v.via.bin.ptr, v.via.bin.size);
|
331
|
+
return;
|
332
|
+
}
|
333
|
+
|
334
|
+
case msgpack::type::EXT: {
|
335
|
+
char* ptr = static_cast<char*>(o.zone.allocate_align(v.via.ext.size + 1));
|
336
|
+
o.via.ext.ptr = ptr;
|
337
|
+
o.via.ext.size = v.via.ext.size;
|
338
|
+
std::memcpy(ptr, v.via.ext.ptr, v.via.ext.size + 1);
|
339
|
+
return;
|
340
|
+
}
|
341
|
+
|
342
|
+
case msgpack::type::ARRAY:
|
343
|
+
o.via.array.ptr = static_cast<msgpack::object*>(o.zone.allocate_align(sizeof(msgpack::object) * v.via.array.size));
|
344
|
+
o.via.array.size = v.via.array.size;
|
345
|
+
for (msgpack::object
|
346
|
+
* po(o.via.array.ptr),
|
347
|
+
* pv(v.via.array.ptr),
|
348
|
+
* const pvend(v.via.array.ptr + v.via.array.size);
|
349
|
+
pv < pvend;
|
350
|
+
++po, ++pv) {
|
351
|
+
new (po) msgpack::object(*pv, o.zone);
|
352
|
+
}
|
353
|
+
return;
|
354
|
+
|
355
|
+
case msgpack::type::MAP:
|
356
|
+
o.via.map.ptr = (msgpack::object_kv*)o.zone.allocate_align(sizeof(msgpack::object_kv) * v.via.map.size);
|
357
|
+
o.via.map.size = v.via.map.size;
|
358
|
+
for(msgpack::object_kv
|
359
|
+
* po(o.via.map.ptr),
|
360
|
+
* pv(v.via.map.ptr),
|
361
|
+
* const pvend(v.via.map.ptr + v.via.map.size);
|
362
|
+
pv < pvend;
|
363
|
+
++po, ++pv) {
|
364
|
+
msgpack::object_kv* kv = new (po) msgpack::object_kv;
|
365
|
+
new (&kv->key) msgpack::object(pv->key, o.zone);
|
366
|
+
new (&kv->val) msgpack::object(pv->val, o.zone);
|
367
|
+
}
|
368
|
+
return;
|
369
|
+
|
370
|
+
default:
|
371
|
+
throw msgpack::type_error();
|
372
|
+
}
|
373
|
+
|
374
|
+
}
|
375
|
+
};
|
376
|
+
|
377
|
+
// Adaptor functor specialization to object::with_zone
|
378
|
+
|
379
|
+
template <>
|
380
|
+
struct object_with_zone<msgpack::object::with_zone> {
|
381
|
+
void operator()(
|
382
|
+
msgpack::object::with_zone& o,
|
383
|
+
msgpack::object::with_zone const& v) const {
|
384
|
+
o << static_cast<msgpack::object const&>(v);
|
385
|
+
}
|
386
|
+
};
|
387
|
+
|
388
|
+
|
389
|
+
} // namespace adaptor
|
390
|
+
|
391
|
+
|
392
|
+
// obsolete
|
393
|
+
template <typename Type>
|
394
|
+
class define : public Type {
|
395
|
+
public:
|
396
|
+
typedef Type msgpack_type;
|
397
|
+
typedef define<Type> define_type;
|
398
|
+
|
399
|
+
define() {}
|
400
|
+
define(const msgpack_type& v) : msgpack_type(v) {}
|
401
|
+
|
402
|
+
template <typename Packer>
|
403
|
+
void msgpack_pack(Packer& o) const
|
404
|
+
{
|
405
|
+
msgpack::operator<<(o, static_cast<const msgpack_type&>(*this));
|
406
|
+
}
|
407
|
+
|
408
|
+
void msgpack_unpack(object const& o)
|
409
|
+
{
|
410
|
+
msgpack::operator>>(o, static_cast<msgpack_type&>(*this));
|
411
|
+
}
|
412
|
+
};
|
413
|
+
|
414
|
+
// deconvert operator
|
415
|
+
|
416
|
+
template <typename Stream>
|
417
|
+
template <typename T>
|
418
|
+
inline msgpack::packer<Stream>& packer<Stream>::pack(const T& v)
|
419
|
+
{
|
420
|
+
msgpack::operator<<(*this, v);
|
421
|
+
return *this;
|
422
|
+
}
|
423
|
+
|
424
|
+
inline bool operator==(const msgpack::object& x, const msgpack::object& y)
|
425
|
+
{
|
426
|
+
if(x.type != y.type) { return false; }
|
427
|
+
|
428
|
+
switch(x.type) {
|
429
|
+
case msgpack::type::NIL:
|
430
|
+
return true;
|
431
|
+
|
432
|
+
case msgpack::type::BOOLEAN:
|
433
|
+
return x.via.boolean == y.via.boolean;
|
434
|
+
|
435
|
+
case msgpack::type::POSITIVE_INTEGER:
|
436
|
+
return x.via.u64 == y.via.u64;
|
437
|
+
|
438
|
+
case msgpack::type::NEGATIVE_INTEGER:
|
439
|
+
return x.via.i64 == y.via.i64;
|
440
|
+
|
441
|
+
case msgpack::type::FLOAT:
|
442
|
+
return x.via.f64 == y.via.f64;
|
443
|
+
|
444
|
+
case msgpack::type::STR:
|
445
|
+
return x.via.str.size == y.via.str.size &&
|
446
|
+
std::memcmp(x.via.str.ptr, y.via.str.ptr, x.via.str.size) == 0;
|
447
|
+
|
448
|
+
case msgpack::type::BIN:
|
449
|
+
return x.via.bin.size == y.via.bin.size &&
|
450
|
+
std::memcmp(x.via.bin.ptr, y.via.bin.ptr, x.via.bin.size) == 0;
|
451
|
+
|
452
|
+
case msgpack::type::EXT:
|
453
|
+
return x.via.ext.size == y.via.ext.size &&
|
454
|
+
std::memcmp(x.via.ext.ptr, y.via.ext.ptr, x.via.ext.size) == 0;
|
455
|
+
|
456
|
+
case msgpack::type::ARRAY:
|
457
|
+
if(x.via.array.size != y.via.array.size) {
|
458
|
+
return false;
|
459
|
+
} else if(x.via.array.size == 0) {
|
460
|
+
return true;
|
461
|
+
} else {
|
462
|
+
msgpack::object* px = x.via.array.ptr;
|
463
|
+
msgpack::object* const pxend = x.via.array.ptr + x.via.array.size;
|
464
|
+
msgpack::object* py = y.via.array.ptr;
|
465
|
+
do {
|
466
|
+
if(!(*px == *py)) {
|
467
|
+
return false;
|
468
|
+
}
|
469
|
+
++px;
|
470
|
+
++py;
|
471
|
+
} while(px < pxend);
|
472
|
+
return true;
|
473
|
+
}
|
474
|
+
|
475
|
+
case msgpack::type::MAP:
|
476
|
+
if(x.via.map.size != y.via.map.size) {
|
477
|
+
return false;
|
478
|
+
} else if(x.via.map.size == 0) {
|
479
|
+
return true;
|
480
|
+
} else {
|
481
|
+
msgpack::object_kv* px = x.via.map.ptr;
|
482
|
+
msgpack::object_kv* const pxend = x.via.map.ptr + x.via.map.size;
|
483
|
+
msgpack::object_kv* py = y.via.map.ptr;
|
484
|
+
do {
|
485
|
+
if(!(px->key == py->key) || !(px->val == py->val)) {
|
486
|
+
return false;
|
487
|
+
}
|
488
|
+
++px;
|
489
|
+
++py;
|
490
|
+
} while(px < pxend);
|
491
|
+
return true;
|
492
|
+
}
|
493
|
+
|
494
|
+
default:
|
495
|
+
return false;
|
496
|
+
}
|
497
|
+
}
|
498
|
+
|
499
|
+
template <typename T>
|
500
|
+
inline bool operator==(const msgpack::object& x, const T& y)
|
501
|
+
try {
|
502
|
+
return x == msgpack::object(y);
|
503
|
+
} catch (msgpack::type_error&) {
|
504
|
+
return false;
|
505
|
+
}
|
506
|
+
|
507
|
+
inline bool operator!=(const msgpack::object& x, const msgpack::object& y)
|
508
|
+
{ return !(x == y); }
|
509
|
+
|
510
|
+
template <typename T>
|
511
|
+
inline bool operator==(const T& y, const msgpack::object& x)
|
512
|
+
{ return x == y; }
|
513
|
+
|
514
|
+
template <typename T>
|
515
|
+
inline bool operator!=(const msgpack::object& x, const T& y)
|
516
|
+
{ return !(x == y); }
|
517
|
+
|
518
|
+
template <typename T>
|
519
|
+
inline bool operator!=(const T& y, const msgpack::object& x)
|
520
|
+
{ return x != y; }
|
521
|
+
|
522
|
+
|
523
|
+
inline object::implicit_type object::convert() const
|
524
|
+
{
|
525
|
+
return object::implicit_type(*this);
|
526
|
+
}
|
527
|
+
|
528
|
+
template <typename T>
|
529
|
+
inline
|
530
|
+
typename msgpack::enable_if<
|
531
|
+
!msgpack::is_array<T>::value && !msgpack::is_pointer<T>::value,
|
532
|
+
T&
|
533
|
+
>::type
|
534
|
+
object::convert(T& v) const
|
535
|
+
{
|
536
|
+
msgpack::operator>>(*this, v);
|
537
|
+
return v;
|
538
|
+
}
|
539
|
+
|
540
|
+
template <typename T, std::size_t N>
|
541
|
+
inline T(&object::convert(T(&v)[N]) const)[N]
|
542
|
+
{
|
543
|
+
msgpack::operator>>(*this, v);
|
544
|
+
return v;
|
545
|
+
}
|
546
|
+
|
547
|
+
#if !defined(MSGPACK_DISABLE_LEGACY_CONVERT)
|
548
|
+
template <typename T>
|
549
|
+
inline
|
550
|
+
typename msgpack::enable_if<
|
551
|
+
msgpack::is_pointer<T>::value,
|
552
|
+
T
|
553
|
+
>::type
|
554
|
+
object::convert(T v) const
|
555
|
+
{
|
556
|
+
convert(*v);
|
557
|
+
return v;
|
558
|
+
}
|
559
|
+
#endif // !defined(MSGPACK_DISABLE_LEGACY_CONVERT)
|
560
|
+
|
561
|
+
template <typename T>
|
562
|
+
inline bool object::convert_if_not_nil(T& v) const
|
563
|
+
{
|
564
|
+
if (is_nil()) {
|
565
|
+
return false;
|
566
|
+
}
|
567
|
+
convert(v);
|
568
|
+
return true;
|
569
|
+
}
|
570
|
+
|
571
|
+
#if defined(MSGPACK_USE_CPP03)
|
572
|
+
|
573
|
+
template <typename T>
|
574
|
+
inline T object::as() const
|
575
|
+
{
|
576
|
+
T v;
|
577
|
+
convert(v);
|
578
|
+
return v;
|
579
|
+
}
|
580
|
+
|
581
|
+
#else // defined(MSGPACK_USE_CPP03)
|
582
|
+
|
583
|
+
template <typename T>
|
584
|
+
inline typename std::enable_if<msgpack::has_as<T>::value, T>::type object::as() const {
|
585
|
+
return msgpack::adaptor::as<T>()(*this);
|
586
|
+
}
|
587
|
+
|
588
|
+
template <typename T>
|
589
|
+
inline typename std::enable_if<!msgpack::has_as<T>::value, T>::type object::as() const {
|
590
|
+
T v;
|
591
|
+
convert(v);
|
592
|
+
return v;
|
593
|
+
}
|
594
|
+
|
595
|
+
#endif // defined(MSGPACK_USE_CPP03)
|
596
|
+
|
597
|
+
inline object::object()
|
598
|
+
{
|
599
|
+
type = msgpack::type::NIL;
|
600
|
+
}
|
601
|
+
|
602
|
+
template <typename T>
|
603
|
+
inline object::object(const T& v)
|
604
|
+
{
|
605
|
+
*this << v;
|
606
|
+
}
|
607
|
+
|
608
|
+
template <typename T>
|
609
|
+
inline object& object::operator=(const T& v)
|
610
|
+
{
|
611
|
+
*this = object(v);
|
612
|
+
return *this;
|
613
|
+
}
|
614
|
+
|
615
|
+
template <typename T>
|
616
|
+
inline object::object(const T& v, msgpack::zone& z)
|
617
|
+
{
|
618
|
+
with_zone oz(z);
|
619
|
+
msgpack::operator<<(oz, v);
|
620
|
+
type = oz.type;
|
621
|
+
via = oz.via;
|
622
|
+
}
|
623
|
+
|
624
|
+
template <typename T>
|
625
|
+
inline object::object(const T& v, msgpack::zone* z)
|
626
|
+
{
|
627
|
+
with_zone oz(*z);
|
628
|
+
msgpack::operator<<(oz, v);
|
629
|
+
type = oz.type;
|
630
|
+
via = oz.via;
|
631
|
+
}
|
632
|
+
|
633
|
+
|
634
|
+
inline object::object(const msgpack_object& o)
|
635
|
+
{
|
636
|
+
// FIXME beter way?
|
637
|
+
std::memcpy(this, &o, sizeof(o));
|
638
|
+
}
|
639
|
+
|
640
|
+
inline void operator<< (msgpack::object& o, const msgpack_object& v)
|
641
|
+
{
|
642
|
+
// FIXME beter way?
|
643
|
+
std::memcpy(&o, &v, sizeof(v));
|
644
|
+
}
|
645
|
+
|
646
|
+
inline object::operator msgpack_object() const
|
647
|
+
{
|
648
|
+
// FIXME beter way?
|
649
|
+
msgpack_object obj;
|
650
|
+
std::memcpy(&obj, this, sizeof(obj));
|
651
|
+
return obj;
|
652
|
+
}
|
653
|
+
|
654
|
+
|
655
|
+
// obsolete
|
656
|
+
template <typename T>
|
657
|
+
inline void convert(T& v, msgpack::object const& o)
|
658
|
+
{
|
659
|
+
o.convert(v);
|
660
|
+
}
|
661
|
+
|
662
|
+
// obsolete
|
663
|
+
template <typename Stream, typename T>
|
664
|
+
inline void pack(msgpack::packer<Stream>& o, const T& v)
|
665
|
+
{
|
666
|
+
o.pack(v);
|
667
|
+
}
|
668
|
+
|
669
|
+
// obsolete
|
670
|
+
template <typename Stream, typename T>
|
671
|
+
inline void pack_copy(msgpack::packer<Stream>& o, T v)
|
672
|
+
{
|
673
|
+
pack(o, v);
|
674
|
+
}
|
675
|
+
|
676
|
+
|
677
|
+
template <typename Stream>
|
678
|
+
inline msgpack::packer<Stream>& operator<< (msgpack::packer<Stream>& o, const msgpack::object& v)
|
679
|
+
{
|
680
|
+
switch(v.type) {
|
681
|
+
case msgpack::type::NIL:
|
682
|
+
o.pack_nil();
|
683
|
+
return o;
|
684
|
+
|
685
|
+
case msgpack::type::BOOLEAN:
|
686
|
+
if(v.via.boolean) {
|
687
|
+
o.pack_true();
|
688
|
+
} else {
|
689
|
+
o.pack_false();
|
690
|
+
}
|
691
|
+
return o;
|
692
|
+
|
693
|
+
case msgpack::type::POSITIVE_INTEGER:
|
694
|
+
o.pack_uint64(v.via.u64);
|
695
|
+
return o;
|
696
|
+
|
697
|
+
case msgpack::type::NEGATIVE_INTEGER:
|
698
|
+
o.pack_int64(v.via.i64);
|
699
|
+
return o;
|
700
|
+
|
701
|
+
case msgpack::type::FLOAT:
|
702
|
+
o.pack_double(v.via.f64);
|
703
|
+
return o;
|
704
|
+
|
705
|
+
case msgpack::type::STR:
|
706
|
+
o.pack_str(v.via.str.size);
|
707
|
+
o.pack_str_body(v.via.str.ptr, v.via.str.size);
|
708
|
+
return o;
|
709
|
+
|
710
|
+
case msgpack::type::BIN:
|
711
|
+
o.pack_bin(v.via.bin.size);
|
712
|
+
o.pack_bin_body(v.via.bin.ptr, v.via.bin.size);
|
713
|
+
return o;
|
714
|
+
|
715
|
+
case msgpack::type::EXT:
|
716
|
+
o.pack_ext(v.via.ext.size, v.via.ext.type());
|
717
|
+
o.pack_ext_body(v.via.ext.data(), v.via.ext.size);
|
718
|
+
return o;
|
719
|
+
|
720
|
+
case msgpack::type::ARRAY:
|
721
|
+
o.pack_array(v.via.array.size);
|
722
|
+
for(msgpack::object* p(v.via.array.ptr),
|
723
|
+
* const pend(v.via.array.ptr + v.via.array.size);
|
724
|
+
p < pend; ++p) {
|
725
|
+
msgpack::operator<<(o, *p);
|
726
|
+
}
|
727
|
+
return o;
|
728
|
+
|
729
|
+
case msgpack::type::MAP:
|
730
|
+
o.pack_map(v.via.map.size);
|
731
|
+
for(msgpack::object_kv* p(v.via.map.ptr),
|
732
|
+
* const pend(v.via.map.ptr + v.via.map.size);
|
733
|
+
p < pend; ++p) {
|
734
|
+
msgpack::operator<<(o, p->key);
|
735
|
+
msgpack::operator<<(o, p->val);
|
736
|
+
}
|
737
|
+
return o;
|
738
|
+
|
739
|
+
default:
|
740
|
+
throw msgpack::type_error();
|
741
|
+
}
|
742
|
+
}
|
743
|
+
|
744
|
+
template <typename Stream>
|
745
|
+
inline msgpack::packer<Stream>& operator<< (msgpack::packer<Stream>& o, const msgpack::object::with_zone& v)
|
746
|
+
{
|
747
|
+
return o << static_cast<msgpack::object>(v);
|
748
|
+
}
|
749
|
+
|
750
|
+
inline std::ostream& operator<< (std::ostream& s, const msgpack::object& o)
|
751
|
+
{
|
752
|
+
switch(o.type) {
|
753
|
+
case msgpack::type::NIL:
|
754
|
+
s << "null";
|
755
|
+
break;
|
756
|
+
|
757
|
+
case msgpack::type::BOOLEAN:
|
758
|
+
s << (o.via.boolean ? "true" : "false");
|
759
|
+
break;
|
760
|
+
|
761
|
+
case msgpack::type::POSITIVE_INTEGER:
|
762
|
+
s << o.via.u64;
|
763
|
+
break;
|
764
|
+
|
765
|
+
case msgpack::type::NEGATIVE_INTEGER:
|
766
|
+
s << o.via.i64;
|
767
|
+
break;
|
768
|
+
|
769
|
+
case msgpack::type::FLOAT:
|
770
|
+
s << o.via.f64;
|
771
|
+
break;
|
772
|
+
|
773
|
+
case msgpack::type::STR:
|
774
|
+
s << '"';
|
775
|
+
for (uint32_t i = 0; i < o.via.str.size; ++i) {
|
776
|
+
char c = o.via.str.ptr[i];
|
777
|
+
switch (c) {
|
778
|
+
case '\\':
|
779
|
+
s << "\\\\";
|
780
|
+
break;
|
781
|
+
case '"':
|
782
|
+
s << "\\\"";
|
783
|
+
break;
|
784
|
+
case '/':
|
785
|
+
s << "\\/";
|
786
|
+
break;
|
787
|
+
case '\b':
|
788
|
+
s << "\\b";
|
789
|
+
break;
|
790
|
+
case '\f':
|
791
|
+
s << "\\f";
|
792
|
+
break;
|
793
|
+
case '\n':
|
794
|
+
s << "\\n";
|
795
|
+
break;
|
796
|
+
case '\r':
|
797
|
+
s << "\\r";
|
798
|
+
break;
|
799
|
+
case '\t':
|
800
|
+
s << "\\t";
|
801
|
+
break;
|
802
|
+
default: {
|
803
|
+
unsigned int code = static_cast<unsigned int>(c);
|
804
|
+
if (code < 0x20 || code == 0x7f) {
|
805
|
+
s << "\\u" << std::hex << std::setw(4) << std::setfill('0') << (code & 0xff);
|
806
|
+
}
|
807
|
+
else {
|
808
|
+
s << c;
|
809
|
+
}
|
810
|
+
} break;
|
811
|
+
}
|
812
|
+
}
|
813
|
+
s << '"';
|
814
|
+
break;
|
815
|
+
|
816
|
+
case msgpack::type::BIN:
|
817
|
+
(s << '"').write(o.via.bin.ptr, o.via.bin.size) << '"';
|
818
|
+
break;
|
819
|
+
|
820
|
+
case msgpack::type::EXT:
|
821
|
+
s << "EXT";
|
822
|
+
break;
|
823
|
+
|
824
|
+
case msgpack::type::ARRAY:
|
825
|
+
s << "[";
|
826
|
+
if(o.via.array.size != 0) {
|
827
|
+
msgpack::object* p(o.via.array.ptr);
|
828
|
+
s << *p;
|
829
|
+
++p;
|
830
|
+
for(msgpack::object* const pend(o.via.array.ptr + o.via.array.size);
|
831
|
+
p < pend; ++p) {
|
832
|
+
s << ", " << *p;
|
833
|
+
}
|
834
|
+
}
|
835
|
+
s << "]";
|
836
|
+
break;
|
837
|
+
|
838
|
+
case msgpack::type::MAP:
|
839
|
+
s << "{";
|
840
|
+
if(o.via.map.size != 0) {
|
841
|
+
msgpack::object_kv* p(o.via.map.ptr);
|
842
|
+
s << p->key << ':' << p->val;
|
843
|
+
++p;
|
844
|
+
for(msgpack::object_kv* const pend(o.via.map.ptr + o.via.map.size);
|
845
|
+
p < pend; ++p) {
|
846
|
+
s << ", " << p->key << ':' << p->val;
|
847
|
+
}
|
848
|
+
}
|
849
|
+
s << "}";
|
850
|
+
break;
|
851
|
+
|
852
|
+
default:
|
853
|
+
// FIXME
|
854
|
+
s << "#<UNKNOWN " << static_cast<uint16_t>(o.type) << ">";
|
855
|
+
}
|
856
|
+
return s;
|
857
|
+
}
|
858
|
+
|
859
|
+
/// @cond
|
860
|
+
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
861
|
+
/// @endcond
|
862
|
+
|
863
|
+
} // namespace msgpack
|
864
|
+
|
865
|
+
#endif // MSGPACK_V1_OBJECT_HPP
|