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
Takatoshi Kondo
1c810bcb74
Removed the tests that contain std::tuple with non default constructible class on MSVC2015.
...
It seems that MSVC2015 requires tuple elements' default constructor during 'as' process.
I don't know why.
2015-08-15 21:01:12 +09:00
Takatoshi Kondo
0fafa7a4b3
Updated boost path.
2015-08-15 14:27:39 +09:00
Takatoshi Kondo
c75009d513
Added explicit MSGPACK_USE_CPP03 on MSVC2015 and leter.
2015-08-15 10:37:00 +09:00
Takatoshi Kondo
a1ca382b2d
Added msgpack:: qualifier.
2015-08-14 23:31:51 +09:00
Takatoshi Kondo
8eadc04d37
Merge remote-tracking branch 'boltz/msvc2015_cpp11' into jonitis-feature_vs2015_support
2015-08-14 21:29:31 +09:00
Takatoshi Kondo
849ba867d6
Merge branch 'feature_vs2015_support' of https://github.com/jonitis/msgpack-c into jonitis-feature_vs2015_support
2015-08-14 20:43:50 +09:00
Takatoshi Kondo
11f2f333c6
Supported C++11 mode on MSVC2015.
2015-08-14 17:02:43 +09:00
Takatoshi Kondo
94ddf1ac5d
Merge pull request #342 from redboltz/fix_examles
...
Fix examles
2015-08-13 15:52:45 +09:00
Takatoshi Kondo
5da1abb1ce
Added byte stream dump.
2015-08-13 13:23:23 +09:00
Takatoshi Kondo
efc27e8eb4
Fixed the bug that map examples don't use MSGPACK_DEFINE_MAP.
...
Removed MSGPACK_USE_BOOST requirement from map based serialization.
2015-08-13 13:23:09 +09:00
Takatoshi Kondo
51dd7cbf22
Merge branch 'jen20-cmake-enable-shared'
2015-08-13 12:07:38 +09:00
Takatoshi Kondo
866e73acc3
Merge branch 'cmake-enable-shared' of https://github.com/jen20/msgpack-c into jen20-cmake-enable-shared
2015-08-13 11:13:10 +09:00
Takatoshi Kondo
a1fc7863e9
Merge pull request #341 from redboltz/refine_examples
...
Refine examples
2015-08-13 10:27:56 +09:00
Takatoshi Kondo
12b5a6235a
Added examples to cmake building process.
...
Set /WX flas that is warnings as errors on MSVC build.
Updated linux, osx, msvc build to refer to appropriate boost libraries.
2015-08-12 17:49:33 +09:00
Takatoshi Kondo
e50cc5d79f
Fixed warnings on MSVC.
2015-08-12 13:55:51 +09:00
Takatoshi Kondo
4501551267
Merge pull request #340 from redboltz/add_boost_preprocessor
...
Added Boost.Preprocessor as a submodule.
2015-08-12 13:50:55 +09:00
Takatoshi Kondo
e719cbbb7a
Removed 7zip installation from appveyor. It is pre-installed now.
2015-08-11 20:00:48 +09:00
Takatoshi Kondo
5adea26044
Added install files.
2015-08-11 19:58:54 +09:00
Takatoshi Kondo
4b2b3a18df
Added Boost.Preprocessor as a submodule.
...
Replaced boost/ with msgpack/ and BOOST with MSGPACK in Boost.Preprocessor files.
Renamed existing macron in versioning.hpp to avoid confict with MSGPACK_PP_*.
Removed MSGPACK_USE_BOOST requirement from MSGPACK_DEFINE_MAP.
2015-08-11 16:32:24 +09:00
Dainis Jonitis
8f8d1800bd
Add Visual Studio 2015 support
2015-08-11 09:46:17 +03:00
Dainis Jonitis
091715671c
Use version from HEAD
2015-08-11 09:39:41 +03:00
Nobuyuki Kubota
41bff7b96d
Merge branch 'add_boost_predef'
2015-08-10 11:30:29 -07:00
Nobuyuki Kubota
b13cb13efc
Fix compile errors on OS X due to signed-unsigned comparison in tests
2015-08-10 11:29:57 -07:00
Takatoshi Kondo
38f946d2cf
Merge pull request #338 from redboltz/fix_travis
...
Fixed typo.
2015-08-10 12:16:44 +09:00
Takatoshi Kondo
6007f4ea05
Fixed typo.
2015-08-10 10:32:43 +09:00
Takatoshi Kondo
078eb3a436
Merge pull request #335 from redboltz/fix_266
...
Fixed #266 .
2015-08-08 09:32:45 +09:00
Takatoshi Kondo
22b6bb9f78
Fixed #266 .
2015-08-06 14:46:41 +09:00
Takatoshi Kondo
4dcd162879
Merge branch 'makiolo-master'
2015-08-05 18:51:07 +09:00
Takatoshi Kondo
cd54ba99fc
Removed SET_SOURCE_FILES_PROPERTIES because msgpack-c source files compile as C now.
...
Added missing header files for installation.
2015-08-05 18:38:25 +09:00
Ricardo Marmolejo García
d437961546
* Changes for compile msgpack with Visual Studio 2012
2015-08-05 17:34:03 +09:00