Takatoshi Kondo
084db3fcf1
Merge pull request #755 from redboltz/fix_754
...
Fixed #754 .
2019-01-08 22:42:00 +09:00
Takatoshi Kondo
709d6f4fdd
Fixed #754 .
...
Fixed `msgpack::object` packing visitor and equal comparison visitor.
NOTE:
In the function `visit_ext(const char* v, uint32_t size)`, v contains
type and size means buffer `v` size. See #175 .
2019-01-05 09:41:58 +09:00
Takatoshi Kondo
27cf578e8c
Merge pull request #753 from redboltz/fix_752
...
Fixed #752 .
2018-12-20 12:59:23 +09:00
Takatoshi Kondo
7001679959
Fixed #752 .
...
Moved reserved_buffer to appropriate location.
2018-12-20 08:16:15 +09:00
Takatoshi Kondo
daa78b4606
Merge pull request #747 from redboltz/fix_746
...
Fixed #746 .
2018-11-23 19:56:16 +09:00
Takatoshi Kondo
b893f7750c
Fixed #746 .
...
Eliminated redundant zone allocation in unpacking process.
ARRAY and MAP is construced on the zone.
STR, BIN, and EXT refer to unpack buffer, and the buffer is reference
counted via zone (finalizer).
So zone is only needed if those types are appeared during unpacking
process.
I set zone to NULL by default. And the context has the pointer to
pointer to the zone. If the context meets ARRAY, MAP, STR, BIN, or EXT,
and zone (via pointer) is NULL, then allocate new zone.
It is lazy zone allocation strategy.
2018-11-23 11:08:08 +09:00
Takatoshi Kondo
8792f42f8d
Merge pull request #743 from redboltz/fix_741
...
Fixed #741 .
2018-10-17 09:08:29 +09:00
Takatoshi Kondo
4f9ec65713
Fixed #741 .
...
Fixed msgpack::type::tuple base class conversion.
Fixed C++03 msgpack::type::make_tuple.
2018-10-16 22:42:50 +09:00
Takatoshi Kondo
db54c78ed4
Merge pull request #737 from redboltz/fix_735
...
Added wstring adaptor.
2018-09-15 18:03:23 +09:00
Takatoshi Kondo
1155babda8
Added wstring adaptor.
2018-09-12 16:17:14 +09:00
Takatoshi Kondo
83a82e3eb5
Merge pull request #727 from redboltz/update_311
...
Updated the version to 3.1.1.
cpp-3.1.1
2018-09-09 15:27:47 +09:00
Takatoshi Kondo
aa9c73352c
Added more fixes.
2018-09-09 13:51:43 +09:00
Takatoshi Kondo
df9e003b35
Merge pull request #736 from redboltz/force_set_endian
...
Added enforcing endian functionality.
2018-09-08 22:06:02 +09:00
Takatoshi Kondo
f6ddc9b85a
Added enforcing endian functionality.
2018-09-08 20:06:00 +09:00
Takatoshi Kondo
11cfeeec92
Merge pull request #733 from tbeu/add-int-overflow-check-to-vrefbuffer
...
Adding int overflow checks to vrefbuffer
2018-09-07 09:04:22 +09:00
tbeu
d72765870a
Move overflow check up
2018-09-06 15:09:52 +02:00
jwang
349c133171
Fix malloc size
2018-09-05 10:28:22 +02:00
tbeu
c056026dad
Fix memory leaks
2018-09-04 22:24:40 +02:00
jwang
0421dabc1e
removing unused vars
2018-09-03 22:23:54 +02:00
jwang
60930f4b12
adding unit tests and fixing same overflow issue in hpp files
2018-09-03 22:23:53 +02:00
jwang
b3dfe28be4
adding int overflow checks to vrefbuffer
2018-09-03 22:23:52 +02:00
jwang
e703d8a2f7
adding int overflow checks to vrefbuffer
2018-09-03 22:23:52 +02:00
Takatoshi Kondo
801f61c12c
Merge pull request #732 from tbeu/fix-static-cast
...
Fix VS2010 warning C4309: 'static_cast' : truncation of constant value
2018-09-03 17:20:52 +09:00
Takatoshi Kondo
a3e75a0709
Merge pull request #731 from tbeu/fix-return-types
...
Fix VS2010 build errors on return types
2018-09-03 17:20:24 +09:00
tbeu
92d34cbd79
Fix VS2010 warning C4309: 'static_cast' : truncation of constant value
2018-09-02 20:36:48 +02:00
tbeu
c99fd62ae6
Fix VS2010 build errors on return types
2018-09-02 19:55:33 +02:00
Takatoshi Kondo
a3986b3bdc
Merge pull request #730 from froydnj/update-predef-and-preprocessor
...
update boost predef and preprocessor from 1.61.0 to 1.68.0
2018-09-01 21:31:58 +09:00
Takatoshi Kondo
7fed49e6fe
Merge branch 'froydnj-update-predef-and-preprocessor'
2018-09-01 20:36:18 +09:00
Takatoshi Kondo
005e06e00a
Updated appveyor's boost.
2018-09-01 19:45:14 +09:00
Nathan Froyd
b6d4bb5cb0
update boost predef and preprocessor from 1.61.0 to 1.68.0
...
...via `git submodule foreach git pull origin boost-1.68.0` and
initializing cmake.
Fixes #728 .
2018-08-31 14:57:19 -04:00
Takatoshi Kondo
f57bfd998b
Updated the version to 3.1.1.
2018-08-28 00:17:42 +09:00
Takatoshi Kondo
e8d3387a04
Merge pull request #726 from redboltz/fix_724
...
Fixed #724 .
2018-08-28 00:13:49 +09:00
Takatoshi Kondo
53d2ea9ad3
Fixed #724 .
...
Fixed type mismatch in msgpack_timestamp.
Added 64bit singed postfix.
2018-08-27 22:40:04 +09:00
Takatoshi Kondo
b6803a5fec
Merge pull request #723 from redboltz/update_readme
...
Updated readme.
cpp-3.1.0
2018-08-21 22:30:54 +09:00
Takatoshi Kondo
210d3ce390
Updated readme.
2018-08-21 07:13:38 +09:00
Takatoshi Kondo
a350e0714e
Merge pull request #716 from redboltz/update_310
...
Updated the version to 3.1.0
2018-08-21 06:43:27 +09:00
Takatoshi Kondo
72757feae4
Updated the version to 3.1.0
2018-08-20 21:58:54 +09:00
Takatoshi Kondo
fe2346efa1
Merge pull request #721 from dennisklein/master
...
Export an interface target for the C++ header-only library
2018-08-17 07:41:31 +09:00
Takatoshi Kondo
43ae287be3
Merge pull request #722 from redboltz/fix_build_shared_libs
...
Fixed BUILD_SHARED_LIBS meaning.
2018-08-17 07:40:53 +09:00
Takatoshi Kondo
b804e12dec
Fixed BUILD_SHARED_LIBS meaning.
...
There are three switches to build static/shared libraries.
Here is the logic.
If BUILD_SHARED_LIBS is defined
If BUILD_SHARED_LIBS is ON
build only shared-library
Else
build only static-library
Endif
Else
If MSGPACK_ENABLE_SHARED is ON (default)
build shared-library
Endif
If MSGPACK_ENABLE_STATIC is ON (default)
build static-library
Endif
Endif
Here is common settings:
If you want to build both static/shared libraries, don't set switches.
If you want to build only shared-library, set BUILD_SHARED_LIBS=ON.
If you want to build only static-library, set BUILD_SHARED_LIBS=OFF.
2018-08-15 16:39:21 +09:00
Dennis Klein
99c221ad01
Export an interface target for the C++ header-only library
2018-08-13 20:54:29 +02:00
Takatoshi Kondo
3a615bcf44
Merge pull request #720 from redboltz/fix_711
...
Removed warnings.
2018-08-12 22:54:28 +09:00
Takatoshi Kondo
87863c1696
Removed warnings.
2018-08-12 20:59:00 +09:00
Takatoshi Kondo
45defd565a
Merge pull request #719 from redboltz/add_byte
...
Add byte
2018-08-12 20:48:19 +09:00
Takatoshi Kondo
f1726cef0d
Updated travis-ci environment.
2018-08-12 18:31:44 +09:00
Takatoshi Kondo
8a788f3a48
Added C++17 std::byte
support.
...
`std::byte` is mapped to
https://github.com/msgpack/msgpack/blob/master/spec.md#int-format-family .
`std::vector<std::byte>` and `std::byte[]` are mapped to https://github.com/msgpack/msgpack/blob/master/spec.md#bin-format-family .
2018-08-12 16:23:39 +09:00
Takatoshi Kondo
7710868556
Merge pull request #718 from seratch/fix-typo
...
Fix misspelled words in comments
2018-08-11 17:23:35 +09:00
Kazuhiro Sera
0b53833856
Fix misspelled words in comments, detected by github.com/client9/misspell
2018-08-11 11:28:40 +09:00
Takatoshi Kondo
43c643bab6
Merge pull request #717 from redboltz/fix_lack_of_so_version
...
Added so version if shared object only build.
2018-08-11 09:41:31 +09:00
Takatoshi Kondo
ac64fcace8
Added so version if shared object only build.
...
Fixed MSGPACK_INSTALLTARGETS list manipulation.
2018-08-10 19:39:43 +09:00