Takatoshi Kondo
08a42a347c
Merge pull request #944 from vmallet/ctests_verbose
...
C: Increase tests visibility (Issue #943 )
2021-04-03 09:39:06 +09:00
Takatoshi Kondo
734e47c067
Merge pull request #942 from vmallet/fix_print_buffer_empty_str
...
Fix #941 : empty strings break msgpack_object_print_buffer() (C)
2021-04-03 09:23:26 +09:00
Vincent Mallet
fa7bb8ec77
README: make reference to gtest
2021-03-23 17:05:54 -07:00
Vincent Mallet
dc51f5d236
Better visibility for C tests:
...
- turn on output-on-failure by default
- explain how to run tests in README
2021-03-23 16:33:52 -07:00
Vincent Mallet
f06b46d412
Attempt to fix Windows build for tests.
...
Use sprintf_s (windows) or snprintf (others) instead of sprintf in unit tests.
2021-03-23 14:57:07 -07:00
Vincent Mallet
1c97e051ad
Fixes #941
...
Don't abort serialization when running into empty strings in msgpack_object_print_buffer().
Added a couple of unit tests to test empty string cases.
2021-03-23 13:56:03 -07:00
Takatoshi Kondo
4f59b98185
Merge pull request #899 from redboltz/fix_buffer_ptr_size
...
Fix buffer ptr size
2020-07-03 19:42:50 +09:00
Takatoshi Kondo
208ec65034
Set -fsanitize=undefined on CI.
...
Propagate CXXFLAGS correctly.
Set CFLAGS in the same way.
2020-07-03 09:30:05 +09:00
Takatoshi Kondo
3bd0172a9a
Unified NULL buf handling for all *buffer.
...
*buffer means sbuffer, zbuffer, fbuffer, and vrefbuffer.
The logic is as follows:
if buf is NULL
if len is 0
do nothing return 0 (success)
else
assertion fail
else
set contants to *buffer
2020-07-03 09:18:00 +09:00
Takatoshi Kondo
3bb121fb8f
Merge pull request #890 from ygj6/c_master
...
check null pointer before using memcpy()
2020-07-01 18:25:08 +09:00
yuangongji
fd9e377bac
check null pointer before using memcpy()
2020-07-01 16:39:40 +08:00
Takatoshi Kondo
82ddfc1170
Merge pull request #885 from redboltz/fix_gha_badge_for_c
...
Replaced travis-ci badge with github actiond badge.
2020-06-12 12:29:26 +09:00
Takatoshi Kondo
6b195acba0
Replaced travis-ci badge with github actiond badge.
2020-06-12 11:36:41 +09:00
Takatoshi Kondo
ea1435784d
Merge pull request #877 from ygj6/c_master
...
remove C++ library in c_master branch
2020-06-08 09:25:43 +09:00
yuangongji
9eba7c482c
remove C++ part in source code
2020-06-05 18:16:07 +08:00
yuangongji
9c6857c425
rename pack_template.h and sysdep.h
...
include/msgpack/pack_template.h => cmake/pack_template.h.in
include/msgpack/sysdep.h => cmake/sysdep.h.in
Use `git log --follow cmake/filename.h.in` to see full log
2020-06-05 16:09:17 +08:00
yuangongji
111b91a3e2
move exmple/c/* to example/
...
example/c/cmake/CMakeLists.txt => example/cmake/CMakeLists.txt
example/c/lib_buffer_unpack.c => example/lib_buffer_unpack.c
example/c/simple_c.c => example/simple_c.c
example/c/speed_test_uint32_array.c => example/speed_test_uint32_array.c
example/c/speed_test_uint64_array.c => example/speed_test_uint64_array.c
example/c/user_buffer_unpack.c => example/user_buffer_unpack.c
Use `git log --follow example/filename` to see full log
2020-06-05 16:09:17 +08:00
yuangongji
ee546036a1
remove C++ part files
...
remove the following files or folders:
erb
example/boost
example/cpp03
example/cpp11
example/x3
example/CMakeLists.txt
fuzz
include/msgpack/adaptor
include/msgpack/predef.h
include/msgpack/predef
include/msgpack/preprocessor
include/msgpack/v1
include/msgpack/v2
include/msgpack/v3
include/msgpack/*.hpp
include/msgpack.hpp
.gitmodules
external
make_file_list.sh
msgpack_vc8.sln
msgpack_vc8.vcproj
preprocess
QUICKSTART-CPP.md
test/*.cpp exclude test/*_c.cpp
.github/depends/boost.sh
ci/build_regression.sh
2020-06-05 16:09:17 +08:00
Takatoshi Kondo
6e7deb8091
Merge pull request #875 from redboltz/update_to_330
...
Update the version to 3.3.0.
cpp-3.3.0
2020-06-05 17:04:41 +09:00
Takatoshi Kondo
66fa561256
Update the version to 3.3.0.
2020-06-05 16:22:34 +09:00
Takatoshi Kondo
243fb27c3c
Merge pull request #874 from ygj6/build
...
fix cannot find boost error
2020-06-05 15:43:07 +09:00
yuangongji
746e983bf3
fix cannot find boost error
2020-06-01 20:02:52 +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
Takatoshi Kondo
4fdbc7518f
Merge pull request #861 from ygj6/build
...
examples of packing boundary values
2020-05-18 22:29:46 +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
Takatoshi Kondo
4d36456799
Merge pull request #865 from ygj6/buffer
...
vrefbuffer: set default ref_size and chunk_size
2020-05-01 13:08:32 +09:00
yuangongji
b1725d4007
vrefbuffer: set default ref_size and chunk_size
2020-04-30 19:26:07 +08:00
Takatoshi Kondo
102dba8e24
Merge pull request #860 from ygj6/build
...
fix github actions failure and use C style casts instead of C++ style casts in zbuffer.h
2020-04-16 23:38:46 +09:00
yuangongji
1a372058a6
Use C style casts instead of C++ style casts
2020-04-16 12:46:16 +08:00
yuangongji
f8b691f622
run apt-get update to fix package installation failure
2020-04-16 11:40:53 +08:00
Takatoshi Kondo
7893d4d8c9
Merge pull request #851 from igor-sadchenko/fix-gnuc-macro-warnings
...
Fixed many warnings/errors with macro __GNUC__(issue #850 )
2020-03-29 09:43:00 +09:00
Igor Sadchenko
9a3cd0c951
Fixed many warnings/errors with macro __GNUC__(issue #850 )
2020-03-26 02:03:25 +03:00
Takatoshi Kondo
46684265d5
Merge pull request #846 from ygj6/build
...
install depends via vcpkg on Windows
2020-03-09 15:02:40 +09:00
Takatoshi Kondo
9e0d87b725
Merge pull request #834 from redboltz/limit_cov_guard
...
Limited codecov trigger.
2020-03-09 14:50:04 +09:00
Takatoshi Kondo
bbc03b2b0a
Limited codecov trigger.
...
Focused coverage target to library code.
Now, codecov supports tokenless upload.
2020-03-09 11:08:33 +09:00
yuangongji
b4d28c3d9d
install depends via vcpkg on Windows
2020-03-07 15:00:28 +08:00
Takatoshi Kondo
cc1098998f
Merge pull request #839 from ygj6/build
...
add MSGPACK_CXX_ONLY option to build c++ libraries only
2020-02-19 18:22:29 +09:00
yuangongji
d9c5978958
add MSGPACK_CXX_ONLY option to build c++ libraries only
2020-02-19 09:07:16 +08:00
Takatoshi Kondo
d05daa1df6
Merge pull request #842 from ygj6/doc
...
update the install section
2020-02-18 15:07:17 +09:00
yuangongji
534466894e
update the install section
2020-02-13 17:08:46 +08:00
Takatoshi Kondo
d04520044f
Merge pull request #833 from ygj6/master
...
add coverage target and integrate to github actions
2020-01-14 12:59:29 +09:00
yuangongji
c0fb6b3b8c
integrate coverage in github actions
2020-01-11 20:05:15 +08:00
yuangongji
19df3314f4
add coverage target in cmake
2020-01-11 13:23:19 +08:00
Takatoshi Kondo
b530b7f21a
Merge pull request #831 from ygj6/master
...
use cache in github actions
2020-01-08 11:06:27 +09:00
yuangongji
ed49ea3c95
use cache in github actions
2020-01-07 20:07:37 +08:00
Takatoshi Kondo
7918c19f8f
Merge branch 'jamessan-cxx11-32bit'
2020-01-06 15:02:29 +09: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