Takatoshi Kondo
d431e25257
Fixed #584 .
...
Reset m_cs to MSGPACK_CS_HEADER after visitor called.
2017-04-11 12:29:12 +09:00
Dan L. Stahlke
e58b00016b
Fixed spurious start_map_key/start_array_item calls
2017-03-03 09:00:15 -08:00
Takatoshi Kondo
088ce946b9
Fixed #561
...
Fixed unpacker's buffer expansion logic.
2017-02-03 17:11:51 +09:00
raeraex2
b7543e1386
Fix compilation warnings about possible loss of data
2017-01-17 22:16:05 +01:00
Takatoshi Kondo
c704d4bfab
Added new example.
2017-01-09 16:18:35 +09:00
Takatoshi Kondo
84ad9a2634
Added Spirit.X3 based parse.
...
It uses iterator pair instead of data and size.
2017-01-05 21:24:25 +09:00
Takatoshi Kondo
9b141fa9b6
Separated parse and unpack on v2.
2017-01-04 11:45:51 +09:00
Takatoshi Kondo
7e139125e2
Fixed array and map size overflow.
2016-12-29 12:13:14 +09:00
Takatoshi Kondo
ccc9ac5538
Fixed #521 .
...
Introduced new object type `FLOAT32` and `FLOAT64`.
`FLOAT64` is equivalent to `FLOAT`.
The both internal expressions are f64(double).
2016-10-11 23:23:06 +09:00
Takatoshi Kondo
5d69c22bf9
Use OR instead of AND for all classes that have multiple types.
...
Revert example. Combination of has_as and not has_as are move to tests.
2016-08-29 22:12:01 +09:00
Takatoshi Kondo
2e4de8b65c
Fixed #498 .
...
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38764
2016-07-06 21:52:08 +09:00
Takatoshi Kondo
1b87018a0a
Fixed #390 .
...
Added size_equal_only class template to check converted container size
strictly.
Relaxed std::array size checking by default.
Fixed std::tuple and msgpack::type::tuple size checking problem.
2016-06-20 15:32:24 +09:00
Takatoshi Kondo
0f66e144ab
Support MSVC cli.
...
MSVC CLI defined their own nullptr and provides for __nullptr for standard C++11.
https://msdn.microsoft.com/en-us/library/4ex65770.aspx
msgpack-c introduce MSGPACK_NULLPTR for internal use, it is defined as __nullptr only if compiled on C++ CLI otherwise defined as nullptr.
2016-06-08 18:03:51 +09:00
Takatoshi Kondo
d15d9220ff
Merge pull request #461 from redboltz/add_unpack_visitor_api
...
Added a visitor version of unpack API,
2016-05-22 22:50:44 +09:00
Takatoshi Kondo
cc02da0ccf
Fixed #465
...
Added C-Style array support.
Existing mapping:
convert:
pack:
char[N] => STR
const char[N] => STR
object:
char[N] => STR (v1 only)
const char[N] => STR (v1 only)
object_with_zone:
char[N] => STR
const char[N] => STR
Additional mapping:
convert:
STR => char[N]
ARRAY => T[N]
pack:
T[N] => ARRAY
const T[N] => ARRAY
object:
object_with_zone:
T[N] => ARRAY
const T[N] => ARRAY
2016-05-16 23:00:30 +09:00
Takatoshi Kondo
6593cba284
Fixed end_map_value() calling point.
...
Renamed names that related to a visitor.
Renamed test name from json to json_like because I omit escape.
Added end_map_value() and end_map() implementation.
2016-05-05 18:44:56 +09:00
Takatoshi Kondo
d5b515899c
Added a visitor version of unpack API,
...
The current unpacking APIs are constructed on the visitor mechanism.
(Fixed #418 )
Updated test condition.
2016-05-01 21:44:03 +09:00
Takatoshi Kondo
db90ee4283
Removed obsolete unpack() API.
2016-03-26 11:46:45 +09:00
Takatoshi Kondo
31a06a0682
Removed obsolete APIs form v2.
...
Removed MSGPACK_DISABLE_LEGACY_CONVERT from v2. Those APIs are removed
from v2.
2016-03-25 09:16:27 +09:00
Takatoshi Kondo
8b1632dc1d
Merge pull request #444 from redboltz/nil_for_v2
...
type::nil is defined only if MSGPACK_USE_LEGACY_NIL in v2.
2016-03-21 17:26:08 +09:00
Takatoshi Kondo
5ecb797d8a
type::nil is defined only if MSGPACK_USE_LEGACY_NIL in v2.
...
Note: In v1, type::nil is defined if NOT defined MSGPACK_DISABLE_LEGACY_NIL.
2016-03-18 09:40:34 +09:00
Takatoshi Kondo
455e0190d1
Fixed #442 .
...
Updated msgpack::v1::operator<< and >> implementation.
Those functions refer to current version of convert, pack, object, and object_with_zone.
2016-03-17 08:43:00 +09:00
Takatoshi Kondo
acf4ac01fc
Fixed #417 .
...
Removed object adaptor specialization for std::string from v2.
2016-02-22 10:06:15 +09:00
Takatoshi Kondo
54cb4350b3
Re-organized tree to prepare for version 2.0.0.
...
See https://github.com/msgpack/msgpack-c/wiki/v1_1_cpp_versioning
2016-01-31 19:28:31 +09:00