Commit Graph

2598 Commits

Author SHA1 Message Date
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
Daniil Kovalev 78814311cb Update README.md 2021-08-17 10:30:05 +03:00
Daniil Kovalev 073394cbba Enhance CI build time 2021-08-10 01:05:53 +03:00
Daniil Kovalev 25d6f84f3c Fix cmake to support versions 3.1 and above
VERSION_GREATER_EQUAL is available since cmake 3.7 only
2021-07-07 18:11:43 +03:00
Daniil Kovalev 4022c2fc00 Fix appveyor build 2021-07-04 13:25:25 +03:00
Daniil Kovalev 7b7615a6d9 Modernize codebase
- Enhance CMakeLists.txt files.
- Move to Boost Test from Google Test to support pre-C++11 compilers.
- Add more configurations on CI matrix builds.
- Other minor fixes
2021-07-01 18:17:20 +03:00
Daniil Kovalev 0af15e45de Add tests for std::span adaptor 2021-05-28 15:14:47 -04:00
Daniil Kovalev 18ec42ccac Merge branch 'cpp_master' into add_span_support 2021-05-28 21:56:17 +03:00
Takatoshi Kondo be4d971c62 Merge pull request #957 from redboltz/fix_956
Fixed #956.
2021-05-16 00:11:43 +09:00
Takatoshi Kondo 3feac1f51d Fixed #956.
Called memcpy only if STR/BIN size > 0.
2021-05-15 23:43:33 +09:00
Daniil Kovalev 2b78d50d13 Fix build with C++17 or lower 2021-05-10 22:48:19 +03:00
Daniil Kovalev 77045f13bb Add tests for std::span adaptor 2021-05-10 22:41:10 +03:00
Daniil Kovalev 388891edad Add support for more binary buffer types
Add support for the following types:
- `std::array<std::byte>`
- `std::span<char>`
- `std::span<unsigned char>`
- `std::span<std::byte>`
2021-05-10 16:06:26 +03:00
Takatoshi Kondo fc3de9806e Merge pull request #954 from kovdan01/fix_ub_in_v4raw
Fix UB in v4raw_ref::operator==
2021-05-10 21:45:57 +09:00