Takatoshi Kondo
b6018f3d57
Fixed an unused parameter warning.
2015-05-20 12:38:10 +09:00
Takatoshi Kondo
e37f14fd6a
Replaced 201103 with 201103L.
2015-05-19 15:44:47 +09:00
Takatoshi Kondo
432c9cc542
Merge pull request #279 from jpetso/master
...
Use std::move (C++11) in map and set adaptors where possible.
2015-05-19 08:53:35 +09:00
David Chappelle
9d4da1ad2e
Object conversions return the specific type that was converted.
...
This allows us to easily make function calls that have parameters that are dependent
upon converting from msgpack objects to concrete types. For example:
void process_args(std::tuple<int,std::string>& args)
{
...
}
process_args(obj.convert(std::make_tuple(100,"hello")))
You can get similar behavior by using obj.as<...>() but its performance is highly
dependent upon the specific compiler and whether or not r-value references are
supported.
2015-05-15 16:21:54 -04:00
Jakob Petsovits
9725bac5c4
Use std::move (C++11) in map and set adaptors where possible.
...
In the std::map adaptor, remove the complicated iterator/insert
code and go with the cpp11/unordered_map.hpp approach instead.
Makes the code more consistent, avoids an extra copy, and the
previous complexity was unnecessary since std::map only maps to
a single element per key, unlike std::multimap.
2015-05-12 23:51:33 -04:00
Nobuyuki Kubota
68e270b029
Merge pull request #278 from redboltz/add_string_ref
...
Added Boost.StringRef support.
2015-05-08 15:29:41 -07:00
Takatoshi Kondo
70fbae3c5f
Added Boost.StringRef support.
2015-05-02 11:02:57 +09:00
Takatoshi Kondo
7cd77292fc
Refined base class pack/unpack support.
...
Not only C++11 but also C++03 supported.
2015-05-01 22:05:23 +09:00
Nobuyuki Kubota
83ee2c82df
Merge pull request #274 from redboltz/fix_issue_273
...
Fixed #273
2015-04-27 23:47:43 -07:00
Nobuyuki Kubota
a112ebb4df
Merge pull request #265 from redboltz/add_base_class_support
...
Base classes packing/converting/creating object::with_zone support in C+...
2015-04-27 23:06:53 -07:00
Takatoshi Kondo
993d007c4b
Changed the type of msgpack::object str index from int to uint32_t.
2015-04-23 08:33:08 +09:00
Takatoshi Kondo
92a7f3f794
Fixed #273
...
msgpack::object stream outputs became JSON format.
2015-04-22 14:59:02 +09:00
Takatoshi Kondo
2919033f3c
Merge pull request #270 from makeroo/master
...
Inhibited wrong occurrence of ad-hoc encoding of 64bit doubles on iOS
2015-04-20 16:58:15 +09:00
Simone Pierazzini
2f9912a012
Inhibited wrong occurrence of ad-hoc encoding of 64bit doubles on iOS
2015-04-16 16:02:17 +02:00
Takatoshi Kondo
ef09252dff
Added the Boost.Optional adaptor.
...
It is enables when MSGPACK_USE_BOOST is defined.
2015-04-09 14:46:06 +09:00
Takatoshi Kondo
d3e6f017be
Base classes packing/converting/creating object::with_zone support in C++11.
2015-04-06 17:14:17 +09:00
Takatoshi Kondo
a277ea7c64
Updated version to 1.1.0. Updated CHANGELOG.md.
2015-04-03 15:28:05 +09:00
Takatoshi Kondo
10a315e00e
Added @cond - @endcond to adaptor_base.hpp.
2015-04-03 14:58:41 +09:00
Takatoshi Kondo
904dd65965
Merge branch 'fix_doxygen_support' of https://github.com/redboltz/msgpack-c into redboltz-fix_doxygen_support
...
# Conflicts:
# erb/cpp03_define.hpp.erb
# erb/cpp03_msgpack_tuple.hpp.erb
# erb/cpp03_msgpack_tuple_fwd.hpp.erb
# include/msgpack/adaptor/bool_fwd.hpp
# include/msgpack/adaptor/char_ptr_fwd.hpp
# include/msgpack/adaptor/cpp11/array.hpp
# include/msgpack/adaptor/cpp11/array_char.hpp
# include/msgpack/adaptor/cpp11/array_char_fwd.hpp
# include/msgpack/adaptor/cpp11/array_fwd.hpp
# include/msgpack/adaptor/cpp11/forward_list.hpp
# include/msgpack/adaptor/cpp11/forward_list_fwd.hpp
# include/msgpack/adaptor/cpp11/tuple_fwd.hpp
# include/msgpack/adaptor/cpp11/unordered_map.hpp
# include/msgpack/adaptor/cpp11/unordered_map_fwd.hpp
# include/msgpack/adaptor/cpp11/unordered_set.hpp
# include/msgpack/adaptor/cpp11/unordered_set_fwd.hpp
# include/msgpack/adaptor/deque_fwd.hpp
# include/msgpack/adaptor/detail/cpp03_define.hpp
# include/msgpack/adaptor/detail/cpp03_msgpack_tuple.hpp
# include/msgpack/adaptor/detail/cpp03_msgpack_tuple_fwd.hpp
# include/msgpack/adaptor/detail/cpp11_define.hpp
# include/msgpack/adaptor/detail/cpp11_msgpack_tuple_fwd.hpp
# include/msgpack/adaptor/fixint_fwd.hpp
# include/msgpack/adaptor/float_fwd.hpp
# include/msgpack/adaptor/int_fwd.hpp
# include/msgpack/adaptor/list_fwd.hpp
# include/msgpack/adaptor/map_fwd.hpp
# include/msgpack/adaptor/nil.hpp
# include/msgpack/adaptor/nil_fwd.hpp
# include/msgpack/adaptor/pair_fwd.hpp
# include/msgpack/adaptor/raw.hpp
# include/msgpack/adaptor/raw_fwd.hpp
# include/msgpack/adaptor/set_fwd.hpp
# include/msgpack/adaptor/string_fwd.hpp
# include/msgpack/adaptor/tr1/unordered_map.hpp
# include/msgpack/adaptor/tr1/unordered_map_fwd.hpp
# include/msgpack/adaptor/tr1/unordered_set.hpp
# include/msgpack/adaptor/tr1/unordered_set_fwd.hpp
# include/msgpack/adaptor/vector.hpp
# include/msgpack/adaptor/vector_bool_fwd.hpp
# include/msgpack/adaptor/vector_char.hpp
# include/msgpack/adaptor/vector_char_fwd.hpp
# include/msgpack/adaptor/vector_fwd.hpp
2015-04-03 14:54:55 +09:00
Takatoshi Kondo
ed91c18af8
Merge branch 'added_vector_bool_size_check' of https://github.com/redboltz/msgpack-c into redboltz-added_vector_bool_size_check
...
# Conflicts:
# include/msgpack/adaptor/vector_bool.hpp
2015-04-03 14:28:00 +09:00
Takatoshi Kondo
07a509a53a
Added const char array class template specialization.
2015-04-02 19:29:27 +09:00
Takatoshi Kondo
e8d3c8d6c5
Re-designed user types dispatching mechanism.
...
msgpakc-c 0.5.9 or older uses ADL.
msgpack-c 1.0.x uses overloading with header files ordering.
msgpack-c 1.1.x uses functor with class template specialization.
2015-04-02 18:23:37 +09:00
Takatoshi Kondo
ae5734e8d1
Recovered a minimal support for Doxygen.
...
Removed MSGPACK_API_VERSION_NAMESPACE(v1) from doxygen build.
It seems that Doxygen cannot parse a complicated macro such as MSGPACK_API_VERSION_NAMESPACE.
Added EXTRACT_ALL=YES to Doxyfle.
Added INPUT configuration variable that is point to include directory to Doxyfile.
2015-03-31 16:26:27 +09:00
tbeu
8921f9dcfc
Do not interleave code and declarations in C files
...
Avoid C99 style to interleave code and declarations in order to compile msgpackc with Visual Studion < 2013
2015-03-26 21:48:03 +01:00
Takatoshi Kondo
1911513acb
Added a container size checking to vector<bool>.
...
All other containers have already been added it.
2015-03-26 11:35:47 +09:00
Nobuyuki Kubota
5568abb6ab
verion 1.0.1
2015-03-22 11:49:09 -07:00
Takatoshi Kondo
e416b534b8
Fixed #244
...
Fixed an inheriting constructor.
2015-03-21 16:34:35 +09:00
Takatoshi Kondo
7cfd4bb1d8
Updated version to 1.0.0
2015-03-10 21:25:34 +09:00
Nobuyuki Kubota
037a108c49
Merge pull request #238 from redboltz/move_serialize_operator
...
Moved serialize operator.
2015-03-10 21:14:24 +09:00
Takatoshi Kondo
79a127a8b6
Moved serialize operator.
2015-03-10 21:14:20 +09:00
Nobuyuki Kubota
ace27f6238
Merge pull request #237 from redboltz/add_version_revision
...
Added version revision prototype declaration.
2015-03-10 21:08:37 +09:00
Nobuyuki Kubota
cc2ded6338
Merge pull request #236 from redboltz/add_depth_limit2
...
Added depth limit on unpack.
2015-03-10 21:08:01 +09:00
Takatoshi Kondo
13a746f6fa
Added msgpack prefix.
2015-03-10 21:08:22 +09:00
Nobuyuki Kubota
b0ff2802d2
Add msgpack prefix to type_errors
2015-03-10 20:59:34 +09:00
Nobuyuki Kubota
4b0c90fc90
Merge branch 'add_msgpack_prefix'
...
Conflicts:
include/msgpack/adaptor/char_ptr.hpp
include/msgpack/adaptor/cpp11/array.hpp
include/msgpack/adaptor/cpp11/array_char.hpp
include/msgpack/adaptor/cpp11/tuple.hpp
include/msgpack/adaptor/cpp11/unordered_map.hpp
include/msgpack/adaptor/cpp11/unordered_set.hpp
include/msgpack/adaptor/deque.hpp
include/msgpack/adaptor/list.hpp
include/msgpack/adaptor/map.hpp
include/msgpack/adaptor/set.hpp
include/msgpack/adaptor/string.hpp
include/msgpack/adaptor/tr1/unordered_map.hpp
include/msgpack/adaptor/tr1/unordered_set.hpp
include/msgpack/adaptor/vector.hpp
include/msgpack/adaptor/vector_char.hpp
include/msgpack/object.hpp
include/msgpack/unpack.hpp
2015-03-10 20:57:55 +09:00
Takatoshi Kondo
4b11fb32cd
Added version revision prototype declaration.
2015-03-10 20:41:59 +09:00
Nobuyuki Kubota
f707c6b47c
Add missing msgpack prefix
2015-03-10 20:38:58 +09:00
Takatoshi Kondo
081ee0e99a
Added depth limit on unpack.
2015-03-10 20:30:22 +09:00
Nobuyuki Kubota
8eaa2e9e74
Merge pull request #199 from redboltz/fix_issue_198
...
Fix issue 198
2015-03-10 19:31:09 +09:00
Nobuyuki Kubota
343ceabe9a
Fix msgpack_object to be passed by reference
2015-03-10 19:12:25 +09:00
Takatoshi Kondo
2d5c68055c
Added explicit cast to vector<bool> internal type.
2015-03-10 19:04:23 +09:00
Nobuyuki Kubota
de68fbd6d0
Merge branch 'support_cpp11_atomic'
2015-03-10 18:53:14 +09:00
Takatoshi Kondo
118cf7270c
Fixed a compile error on clang++ 3.4.1 on FreeBSD and Yosemite.
2015-03-10 18:37:36 +09:00
Nobuyuki Kubota
cf1487f8ba
Merge branch 'fix_decrement_typo'
...
Conflicts:
include/msgpack/unpack.hpp
2015-03-10 18:25:38 +09:00
Nobuyuki Kubota
e4cd479bf3
Merge branch 'master' of github.com:msgpack/msgpack-c
2015-03-10 17:35:39 +09:00
Nobuyuki Kubota
8dae63e4c1
Merge branch 'add_std_prefix'
...
Conflicts:
include/msgpack/adaptor/char_ptr.hpp
include/msgpack/adaptor/string.hpp
2015-03-10 17:34:36 +09:00
Nobuyuki Kubota
a3f350842c
Merge pull request #231 from redboltz/remove_double_underscore
...
Removed double underscore.
2015-03-10 17:23:15 +09:00
Nobuyuki Kubota
c1e9f92d7f
Merge branch 'fix_issue_226_author_fixed'
...
Conflicts:
include/msgpack/unpack.hpp
2015-03-10 17:21:58 +09:00
Nobuyuki Kubota
582fe38e78
Merge branch 'fix_issue_167'
2015-03-10 16:55:46 +09:00
Nobuyuki Kubota
45eb2ad0c7
Merge branch 'redboltz_fix_issue_220'
...
Conflicts:
include/msgpack/unpack.hpp
2015-03-10 00:48:32 -07:00