Takatoshi Kondo
20104301f3
Added convert adaptor support.
2015-10-11 12:16:34 +09:00
Takatoshi Kondo
428780db53
Added std::reference_wrapper packing and making object and object_with_zone support.
...
Fixed #370 .
2015-10-09 15:45:29 +09:00
Takatoshi Kondo
6bf5160bf2
Merge branch 'spatz-patch-4'
2015-09-10 22:12:11 +09:00
Takatoshi Kondo
ef45359d81
Fix warning with -Wconversion at pack_v4raw().
2015-09-10 22:11:52 +09:00
Dror Levin
3202bb6a2e
Fix warning with -Wconversion
2015-09-06 13:07:40 +03:00
Nobuyuki Kubota
63971da5a4
Merge pull request #364 from redboltz/1_2_0_rel
...
Updated version. Appended CHANGELOG.
cpp-1.2.0
2015-09-04 19:34:00 +09:00
Takatoshi Kondo
8a17e7f647
Updated version in README.md
2015-09-04 19:36:46 +09:00
Takatoshi Kondo
69607f4117
Updated version. Appended CHANGELOG.
2015-09-04 19:32:01 +09:00
Takatoshi Kondo
e5948a3450
Merge pull request #363 from nobu-k/add-missing-files
...
Add missing files to Makefile.am
2015-09-04 19:27:04 +09:00
Nobuyuki Kubota
3fc061b5fd
Add unsigned adaptors to CMakeLists.txt
2015-09-04 19:26:08 +09:00
Nobuyuki Kubota
2b38389f68
Add missing files to Makefile.am
2015-09-04 19:18:23 +09:00
Takatoshi Kondo
9e4dfb2484
Merge pull request #362 from nobu-k/osx-warning-fix
...
Fix some warnings on OS X
2015-09-04 19:07:32 +09:00
Nobuyuki Kubota
356a5ea42d
Fix some warnings on OS X
2015-09-04 18:51:53 +09:00
Nobuyuki Kubota
93142323f0
Merge pull request #349 from redboltz/variant
...
Variant
2015-09-04 18:42:47 +09:00
Nobuyuki Kubota
3352b2f029
Merge pull request #359 from redboltz/fix_243
...
Fixed #243 .
2015-09-04 18:34:19 +09:00
Takatoshi Kondo
364658ea99
Merge pull request #360 from redboltz/fixed_warnings_on_release_build
...
Fixed warnings on build with CMAKE_BUILD_TYPE=Release.
2015-09-04 18:21:39 +09:00
Takatoshi Kondo
50088365df
Merge pull request #361 from redboltz/fix_make_dist
...
Fixed 'make dist'.
2015-09-04 17:21:12 +09:00
Takatoshi Kondo
d640395765
Fixed 'make dist'.
2015-09-04 15:42:13 +09:00
Takatoshi Kondo
be0f8c280a
Fixed warnings on build with CMAKE_BUILD_TYPE=Release.
...
Added stream outputs to suppress warnings and to help understanding.
2015-09-01 11:06:29 +09:00
Takatoshi Kondo
9b156823ff
Merge pull request #358 from redboltz/fix_357
...
Fixed #357 .
2015-09-01 08:35:11 +09:00
Takatoshi Kondo
dc2e1a4ead
Fixed indent style.
2015-08-31 16:45:01 +09:00
Takatoshi Kondo
96f145812f
Fixed #243 .
...
std::vector<unsigned char> and std::array<unsigned char> are mapped to BIN.
std::vector<uint8_t> and std::array<uint8_t> are mapped to BIN if uint8_t is the same type of unsigned char, otherwise mapped to ARRAY.
Added array_ref. When client wraps BIN mapped types above with array_ref as msgpack::type::array_ref<std::vector<char> >, the type is mapped to ARRAY.
2015-08-31 14:06:39 +09:00
Takatoshi Kondo
33de24239a
Fixed #357 .
...
Added a conversion member function to msgpack::object.
If msgpack::object is nil then returns false else returns true and sets a value.
2015-08-31 09:05:09 +09:00
Takatoshi Kondo
d17c70cbb0
Added whitespaces at inheritance.
2015-08-30 19:17:19 +09:00
Takatoshi Kondo
88ab7b6349
Unified variant and variant_ref to basic_variant.
...
Added is_* and as_* member functions to basic_variant.
Added tests.
2015-08-30 17:05:04 +09:00
Takatoshi Kondo
df5f84d49d
Added totally ordered.
2015-08-30 13:08:00 +09:00
Takatoshi Kondo
0609347d82
Fixed typo.
...
Removed function stype casts for strings.
2015-08-30 12:28:53 +09:00
Takatoshi Kondo
61eb4b1f6e
Replaced boost::variant typedef with a class inheriting boost::variant.
...
Added char const* to std::string conversion constructor.
Added integer familiy constructor. int64_t is only used when an actual value is negative.
Clients no longer need to use casts for std::string and ingeter family.
2015-08-30 12:28:30 +09:00
Takatoshi Kondo
9ee1168cc4
Merge pull request #354 from redboltz/fix_348
...
Fixed #348 .
2015-08-26 16:14:55 +09:00
Takatoshi Kondo
95e0fc5cef
Merge pull request #344 from n1tehawk/contrib
...
refactor example/c/lib_buffer_unpack.c
2015-08-26 16:14:23 +09:00
Takatoshi Kondo
a0b7e7cc27
Merge pull request #353 from jonitis/feature_sbuffer_move_semantics
...
Add move semantics to sbuffer in c++11 mode
2015-08-19 18:15:17 +09:00
Takatoshi Kondo
92822996e2
Fixed #348 .
...
The parameter 'offset' of unpack() function family, not unpacker family, updates only when the function successfully finished.
The parameter 'offset' used to update even if a caller passes insufficient bytes to the unpack() function family.
2015-08-19 10:52:08 +09:00
Dainis Jonitis
e9eac32238
Fix member initialization order
2015-08-18 17:32:45 +03:00
Dainis Jonitis
c61446b988
operator = should return reference to self
2015-08-18 16:56:35 +03:00
Takatoshi Kondo
294aa52c3a
Merge pull request #350 from redboltz/fix_compile_option
...
-std=c++11 and -std=c++03 flags shouldn't be given in indivitual CMak…
2015-08-18 21:41:42 +09:00
Dainis Jonitis
90f7b9c732
Add move semantics to sbuffer
2015-08-18 14:50:47 +03:00
NiteHawk
720c18bcf8
add missing msgpack_unpacker_free(), and a "clean" assertion avoiding side effects
2015-08-18 12:24:16 +02:00
Takatoshi Kondo
23a040f2e5
Fixed std::map::erase is ambiguous problem in osx, clang, libc++ combination.
2015-08-18 18:15:10 +09:00
Takatoshi Kondo
cd9d6c5940
Added msgpack::type::variant and msgpack::type::variant_ref that is based on boost::variant.
...
You can convert to those types from any msgpack objects.
2015-08-18 17:47:27 +09:00
Takatoshi Kondo
8cae20ffc4
-std=c++11 and -std=c++03 flags shouldn't be given in indivitual CMakeLists.txt.
...
cpp03 examples should be compiled both -std=c++03 and -std=c++11.
2015-08-18 13:52:02 +09:00
NiteHawk
1788d6ce01
amend pull request ( #344 ) following the related discussion
...
There's a small problem remaining if assertions are disabled (with -DNDEBUG).
2015-08-17 21:49:03 +02:00
Nobuyuki Kubota
722143c0de
Merge pull request #345 from redboltz/added_has_as_to_pair
...
Added has_as SFINAE.
2015-08-17 12:21:25 -07:00
Nobuyuki Kubota
57b030a6dd
Merge pull request #347 from redboltz/update_comment
...
Updated comments to describe #if !define(_MSC_VER) reason.
2015-08-17 12:11:04 -07:00
Nobuyuki Kubota
9c0f629c68
Merge pull request #346 from aberaud/master
...
Make example build optional with cmake
2015-08-17 12:08:31 -07:00
Takatoshi Kondo
018c6c819e
Updated comments to describe #if !define(_MSC_VER) reason.
2015-08-18 00:06:36 +09:00
Adrien Béraud
8d3673e7ee
Make example build optional with cmake
2015-08-17 10:55:30 -04:00
NiteHawk
871a796037
fix: remove unused variable introduced by previous commit
2015-08-17 16:23:11 +02:00
NiteHawk
4e65bc35ed
refactor example/c/lib_buffer_unpack.c
...
The example has some duplicated code that somewhat distracts from
the main processing loop. I think placing this into a separate
function improves readability of the code.
2015-08-17 15:59:19 +02:00
Takatoshi Kondo
062864a6b7
Added has_as SFINAE.
2015-08-17 22:33:15 +09:00
Takatoshi Kondo
767099a0eb
Merge branch 'jonitis-feature_vs2015_support'
2015-08-15 21:15:41 +09:00