Takatoshi Kondo
9e7564c9d7
Merge pull request #304 from redboltz/add_old_raw_pack_support
...
Added v4(old) raw packing support.
2015-07-05 10:22:08 +09:00
Takatoshi Kondo
777e5f13f3
Added map-based class pack/convert support.
2015-07-05 09:23:43 +09:00
Takatoshi Kondo
6131e3d747
Fixed double comparison in tests.
2015-07-04 22:49:47 +09:00
Takatoshi Kondo
e0a2c2a4bf
Merge pull request #301 from redboltz/json_escape
...
Added JSON escape for values between 0x00 and 0x1f, and 0x7f.
2015-07-04 17:55:51 +09:00
Takatoshi Kondo
57ba93a2b2
Added Boost.Fusion support.
...
Fusion sequences can be serialized.
2015-07-01 15:07:45 +09:00
Takatoshi Kondo
34a42415be
Added v4(old) raw packing support.
2015-06-30 15:11:51 +09:00
Lawrence Chan
89f117fcd9
Destroy zbuffer in C unit test
2015-06-22 15:36:37 -05:00
Lawrence Chan
9a50cc4345
Add zbuffer empty string write tests
2015-06-22 13:00:19 -05:00
Takatoshi Kondo
45b57c292c
Added no default constructible classes support.
2015-06-18 16:15:20 +09:00
Takatoshi Kondo
860a5ae06e
Added JSON escape for values between 0x00 and 0x1f, and 0x7f.
2015-06-18 14:01:51 +09:00
Takatoshi Kondo
d6c5682ef5
Merge pull request #288 from redboltz/work/add_deep_copy
...
Added a clone function for msgpack::object.
2015-06-01 17:45:46 +09:00
Takatoshi Kondo
de721af166
Updated: msgpack::unpacked is the typedef of the msgpack::object_handle now.
...
See the following discussion:
https://github.com/msgpack/msgpack-c/pull/288
2015-05-31 20:40:05 +09:00
Takatoshi Kondo
846016b8b7
Tests added.
2015-05-27 21:19:39 +09:00
Takatoshi Kondo
ff14be8fdb
Added EXT type supporting classes.
2015-05-27 13:12:26 +09:00
Takatoshi Kondo
f75da23e1d
Separated unpacked from object_handle to preserve the original ABI.
2015-05-26 09:53:55 +09:00
Nobuyuki Kubota
072f0cd183
Merge pull request #284 from redboltz/fixed_unused_parameter
...
Fixed unused parameter
2015-05-25 11:59:40 -07:00
Takatoshi Kondo
9cb2c91d58
Fixed the lack of msgpack::move() on the self substituion test codes.
2015-05-22 09:36:21 +09:00
Takatoshi Kondo
9e18ac5d2d
Reverted msgpack::move() on the C++03. Const-correntness isn't broken now.
...
Implemented msgpack::object_handle using the same design pattern as std::auto_ptr and std::auto_ptr_ref.
Minimized the uses of #if defined(MSGPACK_USE_CPP03) conditional macro.
2015-05-22 09:21:58 +09:00
Takatoshi Kondo
e18f5b2d52
Added a clone function for msgpack::object.
...
The function prepares zone's chunk that has minimal size to deep copy.
2015-05-21 14:44:40 +09:00
Takatoshi Kondo
aee537099d
Added -Wextra and -Werror option for gcc and clang.
...
Reformatted and untabified configure.in.
2015-05-19 16:03:58 +09:00
Takatoshi Kondo
e37f14fd6a
Replaced 201103 with 201103L.
2015-05-19 15:44:47 +09: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
92a7f3f794
Fixed #273
...
msgpack::object stream outputs became JSON format.
2015-04-22 14:59:02 +09: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
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
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
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
Takatoshi Kondo
eb765d21f2
Fixed MSVC++ warning about int to bool conversion.
2015-03-10 19:04:51 +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
6443738f66
Add serialization test of non-const char*
2015-03-10 16:54:45 +09:00
Takatoshi Kondo
8ad9ce059b
Fixed #226 .
...
Suppressed warnings on MSVC++ 64bit environment.
Added container size limit check.
2015-03-05 07:36:56 +09:00
Takatoshi Kondo
ff86d61799
Replaced auto& with auto const& for msgpack::object.
...
Replaced auto with auto const& for msgpack::object.
Avoided msgpack::object conversion in EXPECT_EQ.
2015-02-02 15:27:15 +09:00
Mizuki Hirata
97886c50e7
Fixed iterator test case.
2015-02-02 15:27:15 +09:00
Mizuki Hirata
327b0db626
Added versioning namespace and test case to iterator.
2015-02-02 15:27:15 +09:00
Takatoshi Kondo
fa231139d7
Merge pull request #205 from redboltz/fix_issue_204
...
Fixed #204 , #202 .
2015-02-01 21:20:31 +09:00
Takatoshi Kondo
c4fb47c00d
Fixed #204 , #202 .
...
enum support had been incomplete.
This fix made enum support complete.
Replaced int with auto on c++11 scoped enum.
Replaced template specializations with function overloads on operator<< and operator>> for enum.
enum can convert to object with and without zone.
When you want to adapt enum, you need to write as follows:
// NOT msgpack.hpp
enum yourenum {
elem
};
MSGPACK_ADD_ENUM(yourenum);
// msgpack.hpp should be included after MSGPACK_ADD_ENUM(...)
int main() {
msgpack::object obj(yourenum::elem);
}
2015-01-31 22:19:31 +09:00
Takatoshi Kondo
70e50d9679
Added unpack function using existing zone.
...
Removed redundant inline keyword form declarations.
2015-01-30 22:57:27 +09:00
Takatoshi Kondo
64ac09c492
Fixed #198 .
...
Added a conversion support from msgpack::object to std::vector<bool>.
2015-01-25 21:59:39 +09:00
Nobuyuki Kubota
6c59e5195a
Merge branch 'fix_issue_191'
...
Conflicts:
test/streaming_c.cpp
2015-01-16 21:47:13 +09:00
Takatoshi Kondo
737e6703df
Fixed #191 .
...
The names of float format family are changed.
old new
dec -> f64
MSGPACK_OBJECT_DOUBLE -> MSGPACK_OBJECT_FLOAT
msgpack::type::DOUBLE -> msgpack::type::FLOAT
Client codes could have compile errors when it use dec, MSGPACK_OBJECT_DOUBLE or msgpack::type::DOUBLE.
The best way to fix such errors, update client code. If it can't, set MSGPACK_USE_LEGACY_NAME_AS_FLOAT macro.
Then both old names and new names are available.
2015-01-16 00:20:43 +09:00
Takatoshi Kondo
7f48ddc85e
Fixed #190 .
...
Supressed warnings on MSVC.
2015-01-15 20:42:33 +09:00
Nobuyuki Kubota
ce96ca8bfc
Merge pull request #175 from redboltz/add_limit
...
- Added unpack limit.
2015-01-02 12:22:03 -08:00
Nobuyuki Kubota
57732f0c1b
Merge pull request #171 from redboltz/fixed_zone_alignment
...
Fixed zone alignment
2015-01-02 11:37:01 -08:00