966 Commits

Author SHA1 Message Date
Shane Grant
c37d44fd7e Merge branch 'develop' of github.com:USCiLab/cereal into develop 2017-09-12 14:49:32 -07:00
Shane Grant
54b2fe12b5 Merge branch 'bluescarni-atomic' into develop
relates #277
2017-09-12 14:49:06 -07:00
Shane Grant
9323fc0af7 modify atomic tests for doctest, clean up serialization code 2017-09-12 14:48:28 -07:00
Christoph Weiss
11882b6261 make CEREAL_BIND_TO_ARCHIVES not have an unused function under GNU C / clang to keep them from warning 2017-09-08 21:22:06 +02:00
Christoph Weiss
f5a9404503 explicitly enable copy ctor to keep clang from warning 2017-09-08 21:22:03 +02:00
Christoph Weiss
c0f2e28719 correct std::size_t to std::streamsize to avoid clang warning 2017-09-08 21:21:53 +02:00
Shane Grant
bcd69859c0 Merge branch 'atomic' of https://github.com/bluescarni/cereal into bluescarni-atomic 2017-09-08 11:57:04 -07:00
Shane Grant
ca75f4b53e Merge pull request #431 from furkanusta/travis
Refactored Travis integration and added new targets
2017-09-07 11:39:12 -07:00
Shane Grant
cb78660421 Merge pull request #432 from furkanusta/fix416
Fix for #416, Implicit falltrough warning on GCC7.1 (Re-sending)
2017-09-07 11:16:29 -07:00
Furkan Usta
f7baa90c23 Changed 'and' 'or' operators with their symbolic counterparts
Apparently literal words cause problems in MSVC
2017-09-07 19:33:02 +03:00
Shane Grant
7292a605dd Merge pull request #430 from WSoptics/dynamic_init
fix CEREAL_*_DYNAMIC_INIT
2017-09-06 16:03:20 -07:00
Furkan Usta
01dd76f515 Added missing implicit fallthrough pragma (Related to #416)
Also, this one fixes the forgotten pragma pop at the end of the header file
2017-09-04 13:20:58 +03:00
Furkan Usta
f698f33ca0 Workaround for #416
Instead of adding std::fallthrough, this one disables
implicit-fallthrough warnings via pragma push/pop mechanism
2017-09-04 13:17:00 +03:00
Furkan Usta
8859e1f9f0 Refactored Travis integration and added new targets
List of enabled targets:
On Linux:
+ gcc {4.7, 4.8, 4.9, 5.0, 6.0, 7.0} (without compat tests)
+ gcc 5.0 with compat tests enabled
+ clang {3.5, 3.6, 3.7, 3.8, 3.9, 4.0} (with libsdtc++)

On OSX:
+ XCode {7.3, 8, 8.2, 8.3, 9.0}

Missin Ones:
+ XCode 8.1 (Doesn't have CMake)
+ Linux Clang with libc++ (missing cxxabi.h)
+ Linux Clang 5.0 (missing <type_traits>)
2017-09-03 22:50:17 +03:00
Christoph Weiss
baeb6d8b0e fix CEREAL_*_DYNAMIC_INIT 2017-09-01 13:45:31 +02:00
Christoph Weiss
ebbf3a6768 fix -Wconversion warning in gcc7 2017-08-28 12:02:04 +02:00
Shane Grant
0adf9e6865 Merge pull request #426 from soroush/develop
Remove conflicting defines for Windows.h
2017-08-27 22:05:07 -07:00
Shane Grant
85b5f73252 ignore MSVC cruft 2017-08-27 22:02:17 -07:00
Shane Grant
a4edd60629 make msvc12 happy 2017-08-27 21:53:59 -07:00
Soroush Rabiei
72c83d9b04 Remove conflicting defines for Windows.h
* Some Windows SDK installations (like mine) may define `max' in
    `Windows.h`, causing `std::numeric_limits::max()' cease to work.

    Details: https://stackoverflow.com/q/27442885/275221

Signed-off-by: Soroush Rabiei <soroush.rabiei@gmail.com>
2017-08-26 14:11:27 +04:30
Shane Grant
efcfb95e9f remove broken travis builds for now, will fix later 2017-08-24 21:25:33 -07:00
Shane Grant
9b1dd1673d travis will you be kind to me 2017-08-24 21:22:47 -07:00
Shane Grant
dbb16b1942 travis, again 2017-08-24 21:09:52 -07:00
Shane Grant
96442fff9e tra vi s 2017-08-24 21:00:18 -07:00
Shane Grant
ba559a23ed travis 2017-08-24 20:53:32 -07:00
Shane Grant
9b1fe1efa5 debugging travis 2017-08-24 20:45:42 -07:00
Shane Grant
7fd9136f8d travis! 2017-08-24 20:37:30 -07:00
Shane Grant
4e79985fb9 travis fixes 2017-08-24 20:14:34 -07:00
Shane Grant
c76d02cbfe add gcc 47, 48, multilib 2017-08-24 19:59:14 -07:00
Shane Grant
7c65494566 make travis use gcc 2017-08-24 19:56:42 -07:00
Shane Grant
123eeb55d6 initial deferment implementation
relates #185
2017-08-24 19:44:37 -07:00
Christoph Weiss
43077e7f03 correctly use std::streamsize instead of std::size_t in PortableBinaryArchive to silence clang warning 2017-08-24 10:17:26 +02:00
Christoph Weiss
d5b212629f make CEREAL_CLASS_VERSION not create a warning (-Wunused-member-function) with clang 2017-08-22 17:36:45 +02:00
Christoph Weiss
c3eda13e9e replace std::decay with std::remove_const 2017-08-17 10:00:51 +02:00
Christoph Weiss
e84a6735bd fix std::unique_ptr<const T> 2017-08-16 18:28:27 +02:00
Christoph Weiss
ca5cd7eece add (non-compiling) unit tests for std::unique_ptr<const T> 2017-08-16 18:14:01 +02:00
Christoph Weiss
0481881be2 add unit tests for std::unique_ptr<T> 2017-08-16 18:13:41 +02:00
Christoph Weiss
673add1212 add unit tests for std::shared_ptr<const T> 2017-08-16 18:12:21 +02:00
Christoph Weiss
015ed43eed remove superfluous semicolon 2017-08-16 13:40:38 +02:00
Christoph Weiss
70754e2cab replace noexcept with CEREAL_NOEXCEPT 2017-08-14 11:44:24 +02:00
Christoph Weiss
1947a96308 remove useless copies and move when appropriate 2017-08-11 10:42:36 +02:00
Christoph Weiss
8e25c2bb7e replace std::decay_t<T> with std::decay<T>::type for C++11 compatibility 2017-08-11 10:07:00 +02:00
Christoph Weiss
ae9b1063f0 select correct remplate for std::vector<bool> and acknowledge that std::vector<bool> returns by copy 2017-08-10 15:12:08 +02:00
Philipp Krenz
508b02047f fix compiler warnings 2017-07-25 17:10:05 +02:00
Philipp Krenz
63eee8104f fix behavior for deserializing sharedptr to const obj 2017-07-21 14:09:53 +02:00
Shane Grant
aa891a42d7 Resolves #414 2017-06-26 13:42:08 -07:00
Shane Grant
fcef0da01a Fix shadowing issue for #401, recent osx compile issue re: #354 2017-05-05 11:37:12 -07:00
Shane Grant
950aca4523 Merge branch 'hoensr-xml-no-size-attributes' into develop 2017-05-05 11:09:34 -07:00
Shane Grant
35a36afb97 Standardize interface for options (xml)
see #401
2017-05-05 10:54:25 -07:00
Shane Grant
ad905576d2 Merge branch 'develop' of github.com:USCiLab/cereal into develop 2017-05-03 11:39:02 -07:00