Takatoshi Kondo
364fc0daf6
Fixed redundant caluclation.
2016-12-14 10:02:49 +09:00
Takatoshi Kondo
f24201f71f
Merge pull request #548 from redboltz/fix_c_error_code
...
Fixed C unpack return code.
2016-12-14 10:00:40 +09:00
Takatoshi Kondo
9a113bb0ca
Fixed C unpack return code.
2016-12-14 00:07:43 +09:00
Takatoshi Kondo
2674e34769
Merge pull request #547 from redboltz/fix_overflow
...
Fixed integer overflow and EXT size problem.
2016-12-13 23:03:19 +09:00
Takatoshi Kondo
c5c3de8f61
Fixed integer overflow and EXT size problem.
2016-12-13 15:47:20 +09:00
Takatoshi Kondo
0b7cabd322
Merge pull request #545 from redboltz/fix_544
...
Fix 544
2016-12-11 17:43:21 +09:00
Takatoshi Kondo
22780a6808
Suppressed maybe uninitialized
warnings.
2016-12-11 15:54:27 +09:00
Takatoshi Kondo
4ec0fdf207
Fixed #544 .
...
Replaced -std=c++03 with -std=c++98.
2016-12-11 15:53:59 +09:00
Takatoshi Kondo
85a0404d8c
Merge branch 'pmalhaire-socket_stream_example'
2016-12-11 15:40:33 +09:00
Takatoshi Kondo
ce67c8ed35
Removed valgrind install from osx.
...
Updated boost.
2016-12-11 14:53:24 +09:00
Takatoshi Kondo
1893a8e31e
Updated valgrind version.
2016-12-11 14:37:44 +09:00
pmalhaire
dc8c253577
fix msvc warning
2016-11-30 10:30:26 +01:00
pmalhaire
9c77a0f24a
Adding an example of sax like parser using buffered content (could be a socket)
2016-11-30 10:28:57 +01:00
Takatoshi Kondo
61c053d37e
Merge pull request #538 from heylouiz/gtest_1_8_0_gcc_5_4_1
...
Fix compilation with Gtest 1.8.0 and GCC 5.4.1
2016-11-16 23:00:19 +09:00
Luiz Silva
04b549a46b
Replace c-Style cast with static_cast
2016-11-16 11:00:28 -02:00
Luiz Silva
4a1db60af8
Fix compilation with Gtest 1.8.0 and GCC 5.4.1
2016-11-10 10:59:26 -02:00
Takatoshi Kondo
55b51c506f
Merge pull request #535 from redboltz/add_map_name
...
Supported any names for MSGPACK_DEFINE_MAP using MSGPACK_NVP.
2016-11-02 13:35:36 +09:00
Takatoshi Kondo
a97c00e463
Added msgpack::object cheking code before covert it.
2016-11-02 08:53:14 +09:00
Takatoshi Kondo
e61cd76310
Supported any names for MSGPACK_DEFINE_MAP using MSGPACK_NVP.
2016-10-30 16:25:19 +09:00
Takatoshi Kondo
c30962da25
Merge branch 'mika-fischer-fix_cmake_cxx_headers'
2016-10-30 14:10:08 +09:00
Takatoshi Kondo
6b7becdef0
Fix typo that caused the C++ headers not to be included in cmake file generating script.
2016-10-30 14:08:56 +09:00
Takatoshi Kondo
cfa1ab38cc
Merge branch 'fix_cmake_cxx_headers' of https://github.com/mika-fischer/msgpack-c into mika-fischer-fix_cmake_cxx_headers
2016-10-30 14:05:57 +09:00
Takatoshi Kondo
2f34d22bf5
Merge pull request #533 from Kronuz/patch-1
...
Save the flags of the stream
2016-10-29 13:28:10 +09:00
Takatoshi Kondo
401460b7d9
Merge pull request #531 from redboltz/fix_521
...
Fixed #521 .
2016-10-29 12:56:49 +09:00
Germán M. Bravo
03b770fdf2
Save the flags of the stream
...
Changing the stream to `std::hex` mode should only affect the current character; otherwise printing some msgpack with a list like this: `[123, "string\\u0003", 123]` (123 decimal) ends up printing `[123, "string\\u0003", 7b]`, as `std::hex` is sticky.
2016-10-28 15:27:03 -05:00
Mika Fischer
d3cd07987b
Fix typo that caused the C++ headers not to be included in CMake project
2016-10-17 17:05:07 +02: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
1df97bc37b
Merge pull request #530 from mbodmer/master
...
Removed MSGPACK_ENABLE_GCC_CXX_ATOMIC macro
2016-10-11 20:52:51 +09:00
Marc Bodmer
8d09b7090d
Removed MSGPACK_ENABLE_GCC_CXX_ATOMIC macro since this does not exist in user code and this code would not be active then.
2016-10-11 10:33:08 +02:00
Takatoshi Kondo
2a7335ae90
Merge pull request #529 from mbodmer/master
...
Fixing building with gcc_atomic.hpp
2016-10-10 19:59:27 +09:00
Marc Bodmer
e7eae65ab7
Fixed path of gcc_atomic.h and gcc_atomic.hpp in definition of _msgpack_atomic_counter_header
2016-10-10 10:42:08 +02:00
Marc Bodmer
4e663609ca
Fixed name of define as evaluated in CMakeLists.txt
2016-10-10 10:40:45 +02:00
Takatoshi Kondo
98820ec6c7
Merge pull request #528 from redboltz/fix_519
...
Fixed #519 .
2016-10-09 13:34:07 +09:00
Takatoshi Kondo
baea172cc9
Fixed #519 .
...
Suppressed maybe unused warnings.
2016-10-09 12:06:35 +09:00
Takatoshi Kondo
e9e31a2899
Merge pull request #526 from redboltz/fix_525
...
Fixed #525 .
2016-10-09 11:42:14 +09:00
Takatoshi Kondo
8ffb619031
Fixed #525 .
...
Set osx version.
2016-10-09 10:17:50 +09:00
Takatoshi Kondo
a3ed6274c2
Merge pull request #524 from starthal/readme-remove-autotools
...
Remove autotools instructions from README
2016-10-08 20:29:50 +09:00
Stephen Albert
f795e5d568
Remove autotools instructions from README
2016-10-05 14:41:01 -04:00
Takatoshi Kondo
87ff7e4ccc
Merge pull request #515 from edsiper/unpacker_size
...
unpack: new msgpack_unpacker_next_with_size() function
2016-09-11 19:32:48 +09:00
Eduardo Silva
da46fb1ef7
test: c: add test for new msgpack_unpacker_next_with_size()
...
Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
2016-09-07 16:24:52 -06:00
Eduardo Silva
b90bcf3c11
unpack: unpacker_next_with_size() update parsed bytes on success or continue
...
This patch makes unpacker_next_with_size(...), update p_bytes when
unpacker_next() returns MSGPACK_UNPACK_SUCCESS or MSGPACK_UNPACK_CONTINUE.
Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
2016-09-06 10:46:30 -06:00
Takatoshi Kondo
c1f19c0e47
Merge pull request #504 from redboltz/fix_503
...
Fixed #503 .
2016-09-06 23:00:17 +09:00
Eduardo Silva
d9a77e220a
unpack: new msgpack_unpacker_next_with_size() function
...
This new function is an extension of the original msgpack_unpacker_next()
where it now adds third argument to store the number of parsed bytes for
the returned buffer upon a MSGPACK_UNPACK_SUCCESS case.
This is useful for cases where the caller needs to optimize memory usage
in the original buffer,s so upon success retrieval of the object, it can
later deprecate the already 'parsed' bytes.
For more details about the origins of this function please refer to the
following issue on github:
https://github.com/msgpack/msgpack-c/issues/514
Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
2016-08-31 16:49:14 -06:00
Takatoshi Kondo
894547582b
Merge branch 'pkrenz-VariadicC11Fix'
2016-08-30 08:47:21 +09:00
Takatoshi Kondo
3a87cc8826
Merge branch 'VariadicC11Fix' of https://github.com/pkrenz/msgpack-c-1 into pkrenz-VariadicC11Fix
2016-08-30 00:04:09 +09:00
Takatoshi Kondo
6177038fcf
Merge branch 'mdrohmann-master'
2016-08-29 23:59:08 +09:00
Takatoshi Kondo
25259dc705
Updated gtest location.
2016-08-29 22:49:12 +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
Philipp
a9caff538e
Fix warning in versioning
2016-08-26 16:56:01 +02:00
Martin C Drohmann
9a2bb0c972
demonstrate the motivation behind the previous patch
2016-08-23 15:09:02 -07:00