Commit Graph

2598 Commits

Author SHA1 Message Date
Takatoshi Kondo 54b2b23b25 Merge pull request #955 from kovdan01/enhance_sanitizers_on_ci
Set `-fno-sanitize-recover=all` compiler option
2021-05-10 21:45:03 +09:00
Daniil Kovalev b9381f842e Set -fno-sanitize-recover=all compiler option
If sanitizer detects an error, it will lead to a non-zero exit code.
2021-05-10 15:11:41 +03:00
Daniil Kovalev 90677eb58c Fix UB in v4raw_ref::operator==
Behaviour of memcmp is undefined if any of pointers passed to it is null.
See https://en.cppreference.com/w/c/string/byte/memcmp for details.
UB was detected on test MSGPACK_V4RAW_REF.pack_unpack_fix_l with UB-sanitizer.
2021-05-09 15:43:14 +03:00
Takatoshi Kondo dfbfd927b4 Merge pull request #952 from kovdan01/fix_name_conflicts
Fix name conflicts (C++)
2021-05-09 16:39:58 +09:00
Daniil Kovalev e487321ed6 Delete unsupported cmake option -v 2021-05-08 18:24:07 +03:00
Daniil Kovalev 7c7f45fbea Install boost on Windows via vcpkg 2021-05-08 18:18:09 +03:00
Daniil Kovalev 7707c81c5d Fix boost download URL 2021-05-08 17:55:01 +03:00
Daniil Kovalev a66da75bd4 Fix iovec-related tests 2021-05-08 17:10:47 +03:00
Daniil Kovalev 3944993686 Fix name conflicts
Previously `struct iovec` was explicitly defined on non-Unix systems,
which caused name conflicts when other libraries (e.g. Cyrus SASL) did the same.
Using `struct iovec` as `msgpack::iovec` solves the problem.
2021-05-08 16:26:25 +03:00
Takatoshi Kondo 6b6a05e07c Merge pull request #924 from VorpalBlade/feature/boost-timer-optional
Implement issue #923: Make boost timer optional
2020-10-19 19:36:17 +09:00
Arvid Norlander 6c8ec25016 Fix issue with Appveyor. 2020-10-19 10:00:29 +02:00
Arvid Norlander 04726a5acf Implement issue #923: Make boost timer optional 2020-10-16 10:51:49 +02:00
Takatoshi Kondo 44aa90eb50 Merge pull request #919 from redboltz/fix_readme_cpp_11_17
Fixed misleading flag notation.
2020-10-01 18:44:09 +09:00
Takatoshi Kondo ab36ce2654 Fixed misleading flag notation.
Added missing `make` command.
2020-09-29 16:32:39 +09:00
Takatoshi Kondo 780c504c44 Merge pull request #918 from ashish-billore/patch-1
Update README.md
2020-09-29 16:26:06 +09:00
Ashish Billore d852e6e4fb Update README.md
Minor rewording for setup instructions.
2020-09-29 15:12:13 +09:00
Takatoshi Kondo 65938a95e9 Merge pull request #916 from mkilivan/cpp_master
Let the compiler deduce the type
2020-09-22 22:24:53 +09:00
Murat Kilivan b9d06fe207 Let the compiler deduce the type
It also provides a consistent coding style with the rest of C++11
examples.
2020-09-14 09:06:47 +01:00
Takatoshi Kondo 555cd3ff68 Merge pull request #912 from redboltz/add_boost_requirement
Added boost dependency to README.md.
2020-08-10 16:01:09 +09:00
Takatoshi Kondo e88fa26f7a Added boost dependency to README.md. 2020-08-10 13:56:15 +09:00
Takatoshi Kondo 0d203644be Merge pull request #906 from redboltz/fix_905
Fixed #905.
2020-08-07 10:31:07 +09:00
Takatoshi Kondo d53d42a791 Added vcpkg update. 2020-08-01 11:47:33 +09:00
Takatoshi Kondo 14763a8b31 Fixed #905.
Added compiler version cheking for atomic test for older compilers on cmake.
2020-08-01 08:58:36 +09:00
Takatoshi Kondo 70912ffde4 Merge pull request #898 from redboltz/refine_assert
Replaced assert with BOOST_ASSERT.
2020-07-03 09:09:20 +09:00
Takatoshi Kondo 6598c6228f Replaced assert with BOOST_ASSERT.
Applied *buffer buf and len checking assert.
Avoided needless code execution if buf is nullptr.
2020-07-02 21:36:04 +09:00
Takatoshi Kondo eb1e7e6e07 Merge pull request #897 from redboltz/re_enable_werror
Propagated CXXFLAGS.
2020-07-02 17:39:56 +09:00
Takatoshi Kondo 544978b343 Added conditional sanitize option. 2020-07-02 17:04:32 +09:00
Takatoshi Kondo c8a053557c Propagated CXXFLAGS.
Fixed warnings.
2020-07-02 16:15:08 +09:00
Takatoshi Kondo 71687c4229 Merge pull request #895 from redboltz/add_f_sanitize_undefined_to_ci
Added -fsanitize=undefined option to ci.
2020-07-02 15:39:25 +09:00
Takatoshi Kondo 3557e6c9f9 Added -fsanitize=undefined option to ci. 2020-07-02 14:05:28 +09:00
Takatoshi Kondo 0e22de17b1 Merge branch 'ygj6-cpp_master' into cpp_master 2020-07-02 13:58:30 +09:00
Takatoshi Kondo b0860a5f37 Fixed ptr size operation. 2020-07-02 13:34:00 +09:00
Takatoshi Kondo 447e8dfb07 Merge pull request #894 from redboltz/fix_fusion_warning
Fixed warning on fusion adaptor.
2020-07-02 09:48:56 +09:00
Takatoshi Kondo 8ee6df83cc Fixed warning on fusion adaptor. 2020-07-02 09:13:53 +09:00
Takatoshi Kondo 0168468ac8 Merge branch 'cpp_master' of https://github.com/ygj6/msgpack-c into cpp_master 2020-07-02 08:51:59 +09:00
yuangongji ee29324fd5 check null pointer before using memcpy() 2020-07-01 20:44:15 +08:00
Takatoshi Kondo 194d1a470d Merge pull request #893 from redboltz/fix_chrono_ub
Fixed undefined behavior in chrono converting.
2020-07-01 18:26:05 +09:00
Takatoshi Kondo ebb5e0ceca Fixed undefined behavior in chrono converting.
Replaced static_cast with boost::numeric_cast to detect invalid cast
easier.
2020-07-01 16:22:01 +09:00
Takatoshi Kondo f72c6c48f7 Merge pull request #892 from ygj6/dev
link lib32z1-dev when building 32-bit library
2020-07-01 12:47:56 +09:00
yuangongji fc18087cdf link lib32z1-dev when building 32-bit library 2020-06-30 21:03:35 +08:00
Takatoshi Kondo da2fc25f87 Merge pull request #888 from redboltz/fix_886_more_elegant
Improved clock adaptor.
2020-06-15 09:07:11 +09:00
Takatoshi Kondo 4629583662 Improved clock adaptor. 2020-06-14 18:47:03 +09:00
Takatoshi Kondo c7b7e745b3 Merge pull request #887 from redboltz/impl_886
Added steady_clock and high_resolution_clock support.
2020-06-13 12:58:15 +09:00
Takatoshi Kondo 899d3319bf Removed code repeat. 2020-06-12 23:14:23 +09:00
Takatoshi Kondo 6eaf7fd38d Added steady_clock and high_resolution_clock support. 2020-06-12 22:16:19 +09:00
Takatoshi Kondo 01260a263d Merge pull request #884 from redboltz/fix_gha_bardge
Replaced travis-ci badge with github actions badge.
2020-06-12 12:09:22 +09:00
Takatoshi Kondo 30ed4e35b7 Replaced travis-ci badge with github actions badge. 2020-06-12 11:33:13 +09:00
Takatoshi Kondo 44f2a6a56e Merge pull request #883 from redboltz/support_complex
Added complex type support.
2020-06-12 10:08:24 +09:00
Takatoshi Kondo 3b80c45725 Added complex type support. 2020-06-10 13:26:40 +09:00
Takatoshi Kondo 6b197e7328 Merge pull request #882 from sharkcz/cpp-context
reduce boost::context requirement
2020-06-09 20:46:50 +09:00