Takatoshi Kondo
4ffdc01135
Added converting support for different size tuples.
2016-06-20 17:12:53 +09:00
Takatoshi Kondo
b398ce9acc
Merge pull request #488 from redboltz/fix_485
...
Improved C-Style array support.
2016-06-20 17:05:32 +09:00
Takatoshi Kondo
1b87018a0a
Fixed #390 .
...
Added size_equal_only class template to check converted container size
strictly.
Relaxed std::array size checking by default.
Fixed std::tuple and msgpack::type::tuple size checking problem.
2016-06-20 15:32:24 +09:00
Takatoshi Kondo
755342bb25
Improved C-Style array support.
...
In the case the target type is char[] or const char[],
If the array is '\0' teminated, msgpack-c packs the characters before
'\0', otherwise packs all characters.
When converting, the array has the size that is greater than
msgpack::object STR's size, msgpack-c adds '\0' to just after converted
characters. Otherwise msgpack-c doesn't add '\0'.
2016-06-19 20:47:42 +09:00
Takatoshi Kondo
438c4ff8ca
Merge pull request #479 from aberaud/master
...
Add msvc project back
2016-06-19 20:20:51 +09:00
Takatoshi Kondo
20e777c1fa
Merge pull request #487 from ys-nuem/support-mingw
...
Add missing platform detection in examples/test
2016-06-19 18:55:43 +09:00
Takatoshi Kondo
3f98327f3b
Merge pull request #486 from ys-nuem/support_mingw_cmake
...
Add support for MinGW platform in CMakeLists.txt
2016-06-19 17:59:55 +09:00
Takatoshi Kondo
224a830ce0
Merge pull request #481 from redboltz/support_msvc_cli
...
Support MSVC cli.
2016-06-19 08:13:00 +09:00
Yusuke Sasaki
b4c4c213b1
Add missing platform detection in examples/test
2016-06-18 03:38:42 +09:00
Yusuke Sasaki
edc8004985
avoid to install DLLs in lib/
2016-06-18 02:51:01 +09:00
Yusuke Sasaki
7f37eac04c
switch suffix of import library between MSVC and MinGW
2016-06-18 02:50:51 +09:00
Takatoshi Kondo
0f66e144ab
Support MSVC cli.
...
MSVC CLI defined their own nullptr and provides for __nullptr for standard C++11.
https://msdn.microsoft.com/en-us/library/4ex65770.aspx
msgpack-c introduce MSGPACK_NULLPTR for internal use, it is defined as __nullptr only if compiled on C++ CLI otherwise defined as nullptr.
2016-06-08 18:03:51 +09:00
Adrien Béraud
0d475a9dbc
Add msvc project back
2016-06-07 12:26:15 -04:00
Takatoshi Kondo
ca5ef097ac
Merge pull request #476 from redboltz/remove_autotools
...
Removed autotools and msvc files.
2016-06-06 14:05:45 +09:00
Takatoshi Kondo
4ee616bbde
Removed autotools and msvc files.
...
Please use cmake.
2016-06-05 21:54:59 +09:00
Takatoshi Kondo
de972fbe0f
Merge pull request #471 from redboltz/add_new_packaging_script
...
Added the new packaging script.
2016-06-05 20:57:26 +09:00
Takatoshi Kondo
585f330694
Merge pull request #475 from redboltz/update_boost_1_56_to_1_61
...
Updated boost predef and preprocessor from 1.58.0 to 1.61.0
2016-05-30 17:25:29 +09:00
Takatoshi Kondo
89faf6ee9f
Updated boost predef and preprocessor from 1.58.0 to 1.61.0
2016-05-30 13:20:58 +09:00
Takatoshi Kondo
83dbe398fd
Merge pull request #474 from redboltz/fix_gcc_atomic_hpp_location
...
Moved gcc_atomic.hpp location.
2016-05-30 13:12:55 +09:00
Takatoshi Kondo
b68c073d1b
Moved gcc_atomic.hpp location.
2016-05-30 09:55:16 +09:00
Takatoshi Kondo
7eb8c8221a
Merge pull request #473 from redboltz/create_list_of_files
...
Added msgpack-c library file generation.
2016-05-30 09:46:35 +09:00
Takatoshi Kondo
7094e0872e
Added msgpack-c library file generation.
...
When you add or remove .h .hpp .c files in the msgpack-c library, run
make_file_list.sh. It generates (overwrites) Files.cmake for cmake and
src/files.mk for autotools. They are a part of repository managed
files. Files.cmake is included by CMakeLists.txt and src/files.mk is
included by src/Makefile.am.
2016-05-29 21:09:03 +09:00
Takatoshi Kondo
4b26a82ae8
Added the new packaging script.
...
It will replace make dist with autotools.
2016-05-28 19:59:17 +09:00
Takatoshi Kondo
22613d4dd0
Merge pull request #464 from redboltz/fix_463
...
Fixed #463 .
2016-05-24 08:22:50 +09:00
Takatoshi Kondo
d15d9220ff
Merge pull request #461 from redboltz/add_unpack_visitor_api
...
Added a visitor version of unpack API,
2016-05-22 22:50:44 +09:00
Takatoshi Kondo
a3f353ef42
Merge pull request #466 from redboltz/fix_465
...
Fixed #465
2016-05-18 19:00:57 +09:00
Takatoshi Kondo
cc02da0ccf
Fixed #465
...
Added C-Style array support.
Existing mapping:
convert:
pack:
char[N] => STR
const char[N] => STR
object:
char[N] => STR (v1 only)
const char[N] => STR (v1 only)
object_with_zone:
char[N] => STR
const char[N] => STR
Additional mapping:
convert:
STR => char[N]
ARRAY => T[N]
pack:
T[N] => ARRAY
const T[N] => ARRAY
object:
object_with_zone:
T[N] => ARRAY
const T[N] => ARRAY
2016-05-16 23:00:30 +09:00
Takatoshi Kondo
e6f82cf2bb
Fixed #463 .
...
Added lacked include files.
Added a test.
Added MSVC build settings on appveyor.
Added old MSVC workaround.
Fixed a variable definition point to meet ANSI-C.
2016-05-14 22:05:10 +09:00
Takatoshi Kondo
6593cba284
Fixed end_map_value() calling point.
...
Renamed names that related to a visitor.
Renamed test name from json to json_like because I omit escape.
Added end_map_value() and end_map() implementation.
2016-05-05 18:44:56 +09:00
Takatoshi Kondo
d5b515899c
Added a visitor version of unpack API,
...
The current unpacking APIs are constructed on the visitor mechanism.
(Fixed #418 )
Updated test condition.
2016-05-01 21:44:03 +09:00
Takatoshi Kondo
068041f05e
Merge pull request #458 from redboltz/fix_457
...
Fixed #457 .
2016-04-17 11:28:02 +09:00
Takatoshi Kondo
e21b4ef28d
Fixed #457 .
...
JSON doesn't have `nil` but has `null`.
msgpack::object JSON output uses `null` when the object is nil_t.
2016-04-14 14:48:42 +09:00
Takatoshi Kondo
4c9685977b
Merge branch 'proller-patch-2'
2016-04-14 14:45:31 +09:00
Takatoshi Kondo
c9814de513
Added -Wno-mismatched-tags to msgpackc-static.
2016-04-14 14:44:01 +09:00
proller
bf7bc19ccb
Fix compiling without shared
2016-04-06 21:42:22 +03:00
Takatoshi Kondo
07b5000824
Merge pull request #453 from redboltz/removed_obsolete_unpack
...
Removed obsolete `unpack()` API.
2016-03-27 17:38:58 +09:00
Takatoshi Kondo
d6ef2bc91d
Merge pull request #452 from redboltz/fix_pack_comment
...
Fixed pack comment.
2016-03-27 14:35:09 +09:00
Takatoshi Kondo
db90ee4283
Removed obsolete unpack()
API.
2016-03-26 11:46:45 +09:00
Takatoshi Kondo
a3e868acb8
Fixed pack comment.
2016-03-26 11:18:21 +09:00
Takatoshi Kondo
62048e1aa0
Merge pull request #451 from redboltz/removed_obsolete_apis_from_v2
...
Removed obsolete APIs form v2.
2016-03-25 20:51:14 +09:00
Takatoshi Kondo
31a06a0682
Removed obsolete APIs form v2.
...
Removed MSGPACK_DISABLE_LEGACY_CONVERT from v2. Those APIs are removed
from v2.
2016-03-25 09:16:27 +09:00
Takatoshi Kondo
72c7feb2c4
Merge pull request #449 from redboltz/update_version_2_0
...
Updated the version to 2.0.0.
2016-03-21 19:33:58 +09:00
Takatoshi Kondo
a83e43a52f
Merge pull request #448 from redboltz/replace_unpacked_with_object_handle
...
Replaced msgpack::unpacked with msgpack::object_handle.
2016-03-21 17:27:15 +09:00
Takatoshi Kondo
8b1632dc1d
Merge pull request #444 from redboltz/nil_for_v2
...
type::nil is defined only if MSGPACK_USE_LEGACY_NIL in v2.
2016-03-21 17:26:08 +09:00
Takatoshi Kondo
170d29a13c
Updated the version to 2.0.0.
...
It's not a release. Just inform that the master branch is for the
version 2.0.0.
2016-03-21 16:50:31 +09:00
Takatoshi Kondo
1bfcf55469
Replaced msgpack::unpacked with msgpack::object_handle.
...
msgpack::unpacked is a typedef of the msgpack::object_handle.
I recommend using msgpack::object_handle. It can be used not only
holding unpacked msgpack objects but also msgpack::objects that are
created by any types.
Replaced unpack() APIs in test codes and examples. They used to use old
APIs.
2016-03-21 15:22:50 +09:00
Takatoshi Kondo
85164687f3
Merge pull request #447 from redboltz/fix_446
...
Fixed #446 .
2016-03-21 15:19:58 +09:00
Takatoshi Kondo
f5f42782be
Fixed #446 .
...
Replaced passed by value with passed by rvalue reference on
msgpack::object_handle's constructor.
2016-03-21 00:51:18 +09:00
Takatoshi Kondo
60a4cba6d6
Merge pull request #443 from redboltz/fix_442
...
Fixed #442 .
2016-03-18 14:27:02 +09:00
Takatoshi Kondo
5ecb797d8a
type::nil is defined only if MSGPACK_USE_LEGACY_NIL in v2.
...
Note: In v1, type::nil is defined if NOT defined MSGPACK_DISABLE_LEGACY_NIL.
2016-03-18 09:40:34 +09:00