Takatoshi Kondo
f33c7dfdbe
Removd boost system.
2023-11-23 18:38:43 +09:00
Takatoshi Kondo
d372a71786
Revert "Arenoros zone/optimization size/delayed malloc"
2023-11-23 18:24:47 +09:00
Takatoshi Kondo
91006555f1
Remove boost system requirement.
2023-10-03 10:51:29 +09:00
Takatoshi Kondo
cd7c5bcfec
Remove Boost::system.
2023-10-03 10:51:29 +09:00
Takatoshi Kondo
ec8895155c
Unify all package related names to msgpack-cxx.
...
Update the version to 6.0.0.
2023-02-28 10:52:21 +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
Daniil Kovalev
4ed6b45abd
Add MSGPACK_USE_STATIC_BOOST
cmake option
2021-08-30 23:01:49 +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
Arvid Norlander
04726a5acf
Implement issue #923 : Make boost timer optional
2020-10-16 10:51:49 +02: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
Dan Horák
498fe28b43
reduce dependency on boost::context
...
The Boost Context module is required only for certain configurations, so adapt
the build system checks to it.
2020-06-09 12:48:19 +02:00
yuangongji
2f5b137997
remove C part in source code
2020-06-05 18:12:03 +08:00
yuangongji
689e6d053a
remove C part files
...
remove the following files or folders:
ci/build_cmake_embedded.sh
example/c
example/cmake
include/msgpack/predef
include/msgpack/preprocessor.hpp
include/msgpack/preprocessor
include/msgpack/v1/preprocessor.hpp
include/msgpack.h
include/msgpack/fbuffer.h
include/msgpack/gcc_atomic.h
include/msgpack/object.h
include/msgpack/pack.h
include/msgpack/pack_define.h
include/msgpack/pack_template.h
include/msgpack/predef.h
include/msgpack/sbuffer.h
include/msgpack/timestamp.h
include/msgpack/unpack.h
include/msgpack/unpack_template.h
include/msgpack/util.h
include/msgpack/version.h
include/msgpack/vrefbuffer.h
include/msgpack/zbuffer.h
include/msgpack/zone.h
msgpack_vc8.sln
msgpack_vc8.vcproj
msgpack-config.cmake.in
msgpack.pc.in
src
test/fixint_c.cpp
test/msgpack_c.cpp
test/pack_unpack_c.cpp
test/streaming_c.cpp
.gitmodules
external
QUICKSTART-C.md
2020-06-05 16:44:51 +08:00
Takatoshi Kondo
766afb90ed
Merge pull request #870 from ygj6/json
...
convert between msgpack and json via cJSON library
2020-05-24 19:12:18 +09:00
yuangongji
403567c1c5
convert between msgpack and json
2020-05-24 17:24:55 +08:00
Takatoshi Kondo
f3fe1b801e
Merge pull request #871 from nicokruithof/master
...
Fixed warning in Visual Studio
2020-05-23 16:40:35 +09:00
Nico Kruithof
0dbdb3d974
Fixed warning in Visual Studio
2020-05-15 07:16:34 +02:00
yuangongji
d7d5be414f
examples of packing boundary values
2020-05-08 14:28:45 +08:00
yuangongji
d9c5978958
add MSGPACK_CXX_ONLY option to build c++ libraries only
2020-02-19 09:07:16 +08:00
Takatoshi Kondo
0d7caecdb5
Fixed cmake condition.
...
If MSGPACK_CXX17 is ON then build MSGPACK_CXX11 target.
2020-01-06 13:04:14 +09:00
Takatoshi Kondo
3b2bb56243
Fixed #825 .
...
Added verbose option to windows CIs.
Added C compiler flag operation for MSVC.
Fixed invalid /WX flag matching on MSVC at test.
2019-12-25 14:24:24 +09:00
Stefan Herbrechtsmeier
7761497778
ci: add cmake tests for installed and embedded build
2019-09-21 08:22:26 +02:00
Stefan Herbrechtsmeier
6046d5c666
cmake: Remove alias from package config
...
The cmake target of an alias may not be an Imported Target.
Always build the msgpackc target and only build the msgpackc-static
target if both should be build to fix issue #801 . Thereby the type
(shared or static) of the msgpackc target depends on the build
configuration.
2019-09-20 22:10:40 +02:00
Takatoshi Kondo
70f950ac05
Fixed #806 .
...
Removed `ss.str().data()` (the type of ss is std::stringstream).
Introduced variable that is const reference of `ss.str()`.
2019-08-29 20:22:10 +09:00
Takatoshi Kondo
7001679959
Fixed #752 .
...
Moved reserved_buffer to appropriate location.
2018-12-20 08:16:15 +09:00
Takatoshi Kondo
b804e12dec
Fixed BUILD_SHARED_LIBS meaning.
...
There are three switches to build static/shared libraries.
Here is the logic.
If BUILD_SHARED_LIBS is defined
If BUILD_SHARED_LIBS is ON
build only shared-library
Else
build only static-library
Endif
Else
If MSGPACK_ENABLE_SHARED is ON (default)
build shared-library
Endif
If MSGPACK_ENABLE_STATIC is ON (default)
build static-library
Endif
Endif
Here is common settings:
If you want to build both static/shared libraries, don't set switches.
If you want to build only shared-library, set BUILD_SHARED_LIBS=ON.
If you want to build only static-library, set BUILD_SHARED_LIBS=OFF.
2018-08-15 16:39:21 +09:00
Takatoshi Kondo
3aaadb9b12
Fixed #703 .
...
Added no build static-library option.
2018-08-08 20:14:48 +09:00
Takatoshi Kondo
347658cdc1
Updated the version to 3.0.0.
...
See https://github.com/msgpack/msgpack-c/pull/639#issuecomment-353786498
So I updated the version to 3.0.0.
In the version 2.x, it keeps the original behavior.
2018-04-08 22:27:45 +09:00
Takatoshi Kondo
423eaf25fb
Removed -O3 -g -Werror options from CmakeLists.txt.
...
Added -g -Werror options to .travis.yml.
2018-04-04 13:07:21 +09:00
Takatoshi Kondo
88ffd08087
Supported boost 1.66.0 or later on the examples.
2018-04-04 07:44:49 +09:00
Takatoshi Kondo
354ee5b9a3
Merge branch 'alignment' of https://github.com/chshaob1/msgpack-c into chshaob1-alignment
2017-07-22 15:28:12 +09:00
Takatoshi Kondo
150d74508e
Fixed msgpack_unpack_next(), C interface, return value.
2017-07-20 11:23:01 +09:00
Takatoshi Kondo
156e315394
Fixed #612
...
Removed visit_float() and added visit_float32() and visit_float64()
from/to unpack visitor.
2017-07-11 13:51:51 +09:00
Takatoshi Kondo
ba4d8df63e
Added boost asio examples.
2017-07-03 21:41:39 +09:00
Takatoshi Kondo
0411ef85e7
Added warning supression pragma.
2017-05-15 16:52:29 +09:00
Stefan Herbrechtsmeier
0aaf95608f
cmake: Make boost mandatory if MSGPACK_BOOST is ON
...
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2017-05-13 00:57:03 +02:00
Stefan Herbrechtsmeier
3d82c2d651
Add cmake package config support
...
Add support for CMake find_package command to msgpack. The package
exports the two targets msgpackc-static and msgpackc if shared is
enabled. The CMake find_package command works after installation
of msgpack and during build of another project which adds msgpack
as sub project via add_subdirectory command.
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
2017-04-04 08:33:18 +02:00
Takatoshi Kondo
c704d4bfab
Added new example.
2017-01-09 16:18:35 +09:00
Takatoshi Kondo
4466bda819
Updated travis-ci.
...
Use container based build `sudo: false`.
2017-01-07 01:20:22 +09:00
pmalhaire
dc8c253577
fix msvc warning
2016-11-30 10:30:26 +01:00
pmalhaire
9c77a0f24a
Adding an example of sax like parser using buffered content (could be a socket)
2016-11-30 10:28:57 +01:00
Beilu Shao
b4786711df
alignment: use proper alignment size
...
Pass proper alignment size when use allocate_align(). This will
fix alignment trap issues on ARM.
Signed-off-by: Beilu Shao <beilushao@gmail.com>
2016-10-16 23:59:13 +02:00
Takatoshi Kondo
73af452ed8
Fixed #507 .
...
Removed -Wno-mismatched-tags option from g++.
g++ doesn't support the option and doesn't care the mismatch originally.
2016-07-29 19:49:53 +09:00
Stefan Mititelu
4fa661a63d
Add msgpack_object_print_buffer() function
...
In order to print the msgpack object in a memory buffer.
2016-07-07 22:43:48 +03:00
Yusuke Sasaki
b4c4c213b1
Add missing platform detection in examples/test
2016-06-18 03:38:42 +09:00
Takatoshi Kondo
4ee616bbde
Removed autotools and msvc files.
...
Please use cmake.
2016-06-05 21:54:59 +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
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
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
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