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
84932e62e9
Merge pull request #441 from redboltz/fix_440
...
Fixed #440 .
2016-03-15 11:33:52 +09:00
Takatoshi Kondo
fe229d1df0
Fixed #440 .
...
Fixed a pointer operation problem at msgpack::zone::chunk_list::clear().
It was only happened on C++03.
2016-03-12 11:39:38 +09:00
Takatoshi Kondo
b5b865a6ca
Merge pull request #436 from al11090/master
...
Fixed the broken float en/decoder on iOS
2016-03-02 09:58:03 +09:00
Takatoshi Kondo
d8e9941fa9
Merge pull request #434 from redboltz/fix_417
...
Fix 417
2016-03-02 09:56:53 +09:00
Mizuki Hirata
bab3eea3a8
fixed the broken float en/decoder, caused by dead detector 'TARGET_OS_IPHONE'.
2016-02-29 02:22:58 +09:00
Takatoshi Kondo
07e635f158
Merge pull request #435 from redboltz/fix_433
...
Fix 433
2016-02-27 08:06:06 +09:00
Takatoshi Kondo
b641065d1f
Added a pragma for avoiding maybe-uninitialized warning.
2016-02-26 15:51:35 +09:00
Takatoshi Kondo
60d4b2833d
Fixed #433 .
...
Added zero size check before calling std::vector<T>::front().
Added empty checking tests for all containers.
2016-02-26 15:08:18 +09:00
Takatoshi Kondo
1244edeaf1
Removed the test that uses msgpack::object with std::string on version 1.x.
2016-02-26 13:52:14 +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
549c28459e
Merge pull request #430 from redboltz/undo_constructor
...
Undo-ed overly removed constructors.
2016-02-22 09:42:04 +09:00
Takatoshi Kondo
86ac7c6eb7
Undo-ed overly removed constructors.
2016-02-20 23:50:53 +09:00
Takatoshi Kondo
0e53b350d3
Merge pull request #426 from redboltz/fix_422
...
Fixed #422 .
2016-02-20 18:47:42 +09:00
Takatoshi Kondo
db0726fa76
Merge pull request #423 from redboltz/fix_invalid_size_expansion
...
Fixed zone expansion algorithm.
2016-02-18 22:48:00 +09:00
Takatoshi Kondo
664ab708e4
Fixed #422 .
...
Replaced the inheriting constructor with a forwarding constructor.
Removed the template constructors that are covered by the forwarding constructor.
Added std::forward() to make_tuple.
Added conversion constructor.
Moved msgpack::type::tuple to
include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple_decl.hpp from
include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp.
msgpack::type::tuple_cat requires the class template tuple definition.
2016-02-18 16:44:02 +09:00
Takatoshi Kondo
f88e621dca
Fixed zone expansion algorithm.
...
See:
https://github.com/msgpack/msgpack-c/pull/160#commitcomment-16087596
2016-02-16 12:18:38 +09:00
Takatoshi Kondo
0e7345c282
Merge pull request #421 from ibell/patch-1
...
Replace stdint.h header in check_container_size_decl.hpp
2016-02-15 07:55:52 +09:00
Ian Bell
7b578cc065
Replace stdint.h header in check_container_size_decl.hpp
...
``#include <stdint.h>`` is invalid in MSVC 9 2008 . Using the system dependent header does work in my testing with MSVC9, and should be safe for other compilers I think.
2016-02-14 15:15:11 -07:00
Takatoshi Kondo
988f72d5eb
Merge pull request #420 from ibell/patch-1
...
Add signed flags to MSVC integer definitions
2016-02-14 13:27:47 +09:00
Ian Bell
c51e8ace48
Add signed flags to MSVC integer definitions
2016-02-13 19:19:03 -07:00
Takatoshi Kondo
43a86cf5b9
Merge pull request #415 from redboltz/prepare_for_version2
...
Re-organized tree to prepare for version 2.0.0.
2016-02-13 21:36:22 +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
Takatoshi Kondo
cabd8a8a03
Merge pull request #413 from redboltz/version-1.4.0
...
Release version 1.4.0.
cpp-1.4.0
2016-01-22 10:53:12 +09:00
Takatoshi Kondo
8640754417
Release version 1.4.0.
...
Fixed markdown layouts.
2016-01-22 10:02:59 +09:00
Takatoshi Kondo
7d1be40e10
Merge pull request #410 from redboltz/fix_399
...
Fixed #399
2016-01-22 00:10:26 +09:00
Takatoshi Kondo
3c271892e3
Fixed #399
...
If MSGPACK_DISABLE_LEGACY_CONVERT is defined, msgpack::object::convert(T*) is removed.
Added MSGPACK_DISABLE_LEGACY_CONVERT to build system and documents.
Please define MSGPACK_DISABLE_LEGACY_CONVERT and update your code as follows:
Replace
int i;
obj.convert(&i); // Removed pointer version
with
int i;
obj.convert(i); // Reference version
2016-01-21 22:28:53 +09:00
Takatoshi Kondo
83ab53ecd4
Merge pull request #412 from redboltz/add_disable_legacy_macros_for_build
...
Added MSGPACK_DISABLE_LEGACY_NIL to build system and documents.
2016-01-21 22:18:09 +09:00
Takatoshi Kondo
ba73841240
Added MSGPACK_DISABLE_LEGACY_NIL to build system and documents.
2016-01-21 20:47:16 +09:00
Takatoshi Kondo
13afc54ccc
Merge pull request #411 from redboltz/change_default_macro
...
Fixed existing code compile error problem.
2016-01-21 19:34:43 +09:00
Takatoshi Kondo
2865a96ba5
Fixed existing code compile error problem.
...
Changed macro name from MSGPACK_USE_LEGACY_NIL to
MSGPACK_DISABLE_LEGACY_NIL. msgpack-c shouldn't make compile error on
existing codes by default without major version up.
So if you want to disable msgpack::type::nil, you need to define
MSGPACK_DISABLE_LEGACY_NIL macro.
2016-01-21 17:29:22 +09:00
Takatoshi Kondo
79222b65a3
Merge pull request #409 from redboltz/fix_wshadow
...
Fixed -Wshadow warning.
2016-01-20 14:58:46 +09:00
Takatoshi Kondo
83f0429db8
Merge pull request #408 from redboltz/replace_nil_with_nil_t
...
Replaced nil with nil_t.
2016-01-20 14:04:56 +09:00
Takatoshi Kondo
6c035f7d2b
Merge pull request #407 from redboltz/add_doc
...
Added unpack, pack, object, and object_handle documentation.
2016-01-19 09:06:58 +09:00
Takatoshi Kondo
ed5a4123b5
Replaced nil with nil_t.
...
Added nil typedef for existing codes.
2016-01-18 22:12:38 +09:00
Takatoshi Kondo
b8530e30df
Fixed -Wshadow warning.
2016-01-18 21:52:50 +09:00
Takatoshi Kondo
8bf2f33782
Added unpack, pack, object, and object_handle documentation.
2016-01-18 21:49:28 +09:00
Takatoshi Kondo
356fbcf187
Merge pull request #400 from ryochack/fix_fbuffer_warning
...
Fixed an incompatible type warning
2016-01-15 12:53:15 +09:00
Takatoshi Kondo
1adf90e9df
Merge branch 'redboltz-fix_382'
2016-01-15 12:45:07 +09:00
Takatoshi Kondo
c2f523e463
Merge branch 'fix_382' of https://github.com/redboltz/msgpack-c into redboltz-fix_382
2016-01-15 12:44:40 +09:00
Takatoshi Kondo
1e8f5d0d67
Merge pull request #402 from redboltz/fix_395
...
Fixed #395
2016-01-15 11:11:55 +09:00
Takatoshi Kondo
0a8d25cd35
Merge pull request #404 from jamessan/fix-endian-condition
...
Check whether MSGPACK_ENDIAN_LITTLE_BYTE is true, not defined.
2016-01-15 11:05:19 +09:00
James McCoy
72e0d1a424
Check whether MSGPACK_ENDIAN_LITTLE_BYTE is true, not defined.
...
msgpack/predef/other/endian.h always defines both
MSGPACK_ENDIAN_LITTLE_BYTE and MSGPACK_ENDIAN_BIG_BYTE, but they're
defined to a true or false value depending on whether the system is
little/big endian.
Fix this condition to check the truthiness rather than whether it is
defined, like the other locations this macro is checked.
Closes #403
Signed-off-by: James McCoy <jamessan@jamessan.com>
2016-01-14 19:31:27 -05:00
Takatoshi Kondo
c06d4d70ef
Fixed #395
...
libmsgpack.[a|so] is the library file for C++.
libmsgpackc.[a|so] is the library file for C.
Since version 1.0.0, the C++ parts of msgpack-c is a header only
library. So libmsgpack.* shouldn't be generated.
On the autotools building environment, removed libmsgpack.*
generation. On the cmake building environment, replaced libmsgpack.*
with libmsgpackc.* and set so-version to 2.0.0.
2016-01-14 07:59:37 +09:00
Takatoshi Kondo
69f588dd36
Merge pull request #401 from redboltz/fix_392
...
Fixed #392
2016-01-14 07:57:05 +09:00
Takatoshi Kondo
65b47fa032
Merge pull request #397 from redboltz/fix_396
...
Fixed #396 .
2016-01-13 18:33:41 +09:00
Takatoshi Kondo
22fd249b12
Fixed #392
...
Avoided the warning when `char` does not have sign using template lazy instantiation.
Removed redundant `inline`.
2016-01-13 17:38:51 +09:00
Takatoshi Kondo
96831350b8
Merge pull request #398 from jamessan/unsigned-char-ci
...
Add CI testing of signed/unsigned char differences
2016-01-13 15:25:55 +09:00
ryochack
5da3c031fd
Fix warning of 'msgpack_fbuffer_write'
2016-01-13 12:18:33 +09:00
James McCoy
71eba2406d
Add CI testing of signed/unsigned char differences
...
This should help catch problems like #392 sooner.
Signed-off-by: James McCoy <jamessan@jamessan.com>
2016-01-12 20:17:43 -05:00