Commit Graph

2711 Commits

Author SHA1 Message Date
GeorgFritze
3b405fcab3 Merge branch 'msgpack:cpp_master' into cpp_master 2022-06-02 10:41:36 +02:00
GeorgFritze
68acf21a8e pack double and float in a more size efficient way
check also for nan and numeric limits
2022-06-02 10:40:51 +02:00
Takatoshi Kondo
05f654fd64 Merge pull request #1021 from drdzyk/cpp_master
fix detection of linux based os
2022-05-25 20:24:05 +09:00
Stanislav Eismont
07c5b00c4a update zlib from 1.2.11 to 1.2.12 version to prevent CI failure. 1.2.11 version is no longer available 2022-05-25 13:31:04 +03:00
Stanislav Eismont
7bcb6aad05 fix detection of linux based os. According to https://sourceforge.net/p/predef/wiki/OperatingSystems/ 'linux' macro is obsolete, '__linux__' should be used instead. It turns out that 'linux' macro undefined when compiling project with e.g. '-std=c++11' compilation flag 2022-05-25 10:42:43 +03:00
Georg Fritze
6f0683bb46 pack double and float more size efficient 2022-05-13 13:04:17 +02:00
Tim Blechmann
8b87e62835 make some headers self-contained
some headers are not self-contained, as they depend on
symbols from headers which aren't included
2022-03-23 15:29:12 +08:00
Takatoshi Kondo
63511f29db Merge pull request #1008 from redboltz/upd_411
Update version to 4.1.1.
cpp-4.1.1
2022-03-09 20:58:42 +09:00
Takatoshi Kondo
ff707d8fb5 Update version to 4.1.1. 2022-03-09 20:10:25 +09:00
Takatoshi Kondo
2c832ff91a Merge pull request #1007 from redboltz/temp_fix_1005
Remove chrono support on MSGPACK_NO_BOOST.
2022-03-09 14:20:10 +09:00
Takatoshi Kondo
e596b6fe35 Remove chrono support on MSGPACK_NO_BOOST. 2022-03-09 12:55:17 +09:00
Takatoshi Kondo
34e411436b Merge pull request #1003 from jamessan/config-installdir
Install version/config files under CMAKE_INSTALL_LIBDIR
2022-02-14 19:23:15 +09:00
James McCoy
b4d800e6e4 Install version/config files under CMAKE_INSTALL_LIBDIR
Prior to the c_master/cpp_master split, this is where the files were
installed (c.f., 6e7deb8091/CMakeLists.txt (L454))
but this was changed to use "lib/" directly when updating the C++-only
packaging.

Re-instate the use of CMAKE_INSTALL_LIBDIR so the user can control where
they are installed and they follow the typical convention for location.
2022-02-13 17:05:08 -05:00
Takatoshi Kondo
b350a00f6b Merge pull request #1002 from redboltz/update_to_410
Update the version to 4.1.0.
cpp-4.1.0
2022-02-12 17:48:22 +09:00
Takatoshi Kondo
79db041e8e Update the version to 4.1.0. 2022-02-12 16:45:29 +09:00
Takatoshi Kondo
cd885d282a Merge pull request #1001 from redboltz/minimal_support_for_no_boost
Minimall supported build without boost.
2022-02-12 16:39:44 +09:00
Takatoshi Kondo
066d509a68 Minimall supported build without boost.
To remove boost dependency, `-DMSGPACK_USE_BOOST=OFF` for cmake.
By default, `-DMSGPACK_USE_BOOST` is `ON`.
NOTE: In order to build tests `-DMSGPACK_USE_BOOST=ON` is required.

For C++ compiler, the option `-DMSGPACK_NO_BOOST` is required to remove
boost.
2022-02-07 22:32:59 +09:00
Takatoshi Kondo
59f2da6a3b Merge pull request #995 from sukidog/cpp_master_issue_994
Cpp master issue 994
2021-11-10 18:36:41 +09:00
John Cortell
bae76b7cf6 Further adjustment to EXT case 2021-11-09 07:23:52 -06:00
John Cortell
f543d94521 adjust based on PR feedback 2021-11-08 09:18:46 -06:00
John Cortell
9ff1b5e939 Don't send binary values to output stream
The stringification of a msgpack object shouldn't write the
raw bytes of a binary value. It will likely make the result
unprintable. Just print that it's a binary blob and include
the size. E.g.,

{"data":BIN(1032256)}

EXT is handled similarly but without the size. We now also
print the size.

Issue 994
2021-11-08 08:44:15 -06:00
Takatoshi Kondo
1f663d121e Merge branch 'PhilJbt-patch-1' into cpp_master 2021-11-02 09:58:11 +09:00
Takatoshi Kondo
49bdd40eab Fixed other similar include problems. 2021-11-02 09:57:37 +09:00
Philippe Jaubert
683b6e42c6 Update iterator.hpp
Can be a problem depending on the project folder nomenclature.
2021-11-01 15:27:17 +01:00
Takatoshi Kondo
53bfbba863 Merge pull request #988 from redboltz/cpp_4.0.3
Updated the version to 4.0.3.
cpp-4.0.3
2021-10-23 13:53:46 +09:00
Takatoshi Kondo
63221f5524 Updated the version to 4.0.3. 2021-10-23 13:28:06 +09:00
Takatoshi Kondo
fb01067a05 Merge pull request #987 from redboltz/refine_enabler
Removed Enabler2.
2021-10-23 13:01:03 +09:00
Takatoshi Kondo
af9ce1b627 Fixed test warning. 2021-10-23 12:17:34 +09:00
Takatoshi Kondo
9416c7cc5c Removed Enabler2. 2021-10-23 12:03:16 +09:00
Takatoshi Kondo
241f001d17 Merge branch 'marascio-add-build-docs-option' into cpp_master 2021-09-23 11:07:08 +09:00
Takatoshi Kondo
e148b2b26d Minimized boost install. 2021-09-23 10:45:53 +09:00
Louis R. Marascio
b4dcae20cc Add option MSGPACK_BUILD_DOCS.
This option explicitly controls the generation of targets related to
Doxygen generation, rather than relying solely on whether Doxygen is
discovered.

It is enabled by default to preserve existing behavior, but if disabled
then no Doxygen targets will be generated. This is useful when the
library is included via CMake's `add_subdirectory()`.
2021-09-22 11:40:40 -05:00
Takatoshi Kondo
3bdbf0d2ee Merge pull request #973 from redboltz/update_to_402
Updated the version to 4.0.2.
cpp-4.0.2
2021-08-31 10:06:48 +09:00
Takatoshi Kondo
d8324b58e9 Updated the version to 4.0.2. 2021-08-31 09:33:01 +09:00
Takatoshi Kondo
c0708dbcba Merge pull request #972 from kovdan01/fix_fuzz_running
Fix #969
2021-08-31 09:24:20 +09:00
Takatoshi Kondo
5dc0a904de Merge pull request #971 from kovdan01/add_boost_test_dyn_link
Add `MSGPACK_USE_STATIC_BOOST` cmake option (fix #970)
2021-08-31 09:07:53 +09:00
Daniil Kovalev
4ed6b45abd Add MSGPACK_USE_STATIC_BOOST cmake option 2021-08-30 23:01:49 +03:00
Daniil Kovalev
4ea4d69123 Fix #969 2021-08-30 21:45:50 +03:00
Takatoshi Kondo
0b8d6a6614 Merge pull request #968 from redboltz/updated_changelog
Updated to 4.0.1.
cpp-4.0.1
2021-08-30 10:39:02 +09:00
Takatoshi Kondo
1339343077 Updated to 4.0.1. 2021-08-30 09:27:08 +09:00
Takatoshi Kondo
4ca74c28fb Merge pull request #967 from redboltz/update_to_401
Updated the version to 4.0.1
2021-08-30 09:24:41 +09:00
Takatoshi Kondo
5ef0108088 Updated the version to 4.0.1
Fixed missing file and directory in makedist.sh.
2021-08-30 08:51:50 +09:00
Takatoshi Kondo
b065560404 Merge pull request #966 from msgpack/update_to_cpp_4
Updated to version 4.0.0.
cpp-4.0.0
2021-08-29 22:53:50 +09:00
Takatoshi Kondo
93b41492fe Updated to version 4.0.0. 2021-08-29 22:20:28 +09:00
Takatoshi Kondo
c1b3d7530f Merge pull request #965 from redboltz/port_962_to_cpp
Ported #962 to C++.
2021-08-29 22:12:36 +09:00
Takatoshi Kondo
ca9f25b51e Added file include.
Added cstdint header for uintptr_t (for C++11 or later)
Added stdint.h header for uintptr_t (for C++03)
2021-08-29 21:35:33 +09:00
Takatoshi Kondo
860f7fce55 Ported #962 to C++.
Improved alignment calculation logic.
Fixed test for zone.
Now, align parameter must be 2^n (n >=0). e.g. 1,2,4,8,16, ...
2021-08-29 13:46:51 +09:00
Takatoshi Kondo
76f5af0593 Merge pull request #951 from kovdan01/add_span_support
Modernize codebase
2021-08-29 11:10:37 +09:00
Daniil Kovalev
d04b1e7549 Fix empty string deserialization with API version 1 2021-08-28 17:36:39 +03:00
Daniil Kovalev
0fddfe8058 Use only one compiler per build (#8) 2021-08-22 17:12:44 +03:00