Shane Grant
2ab15f7540
Merge pull request #397 from albertziegenhagel/issue_396
...
Add remove_reference to determine whether template argument to BinaryData is const
2017-04-11 16:17:51 -07:00
Albert Ziegenhagel
7723503fcc
Add remove_reference to determine whether template argument to BinaryData is const
2017-04-11 10:32:55 +02:00
Shane Grant
68f56eed92
Remove undefined behavior, see #390
2017-04-10 11:22:38 -07:00
Shane Grant
676d329d81
adventures in microoptimization #354
2017-02-22 14:43:31 -08:00
Shane Grant
546fd9b896
tinkering on #354
2017-02-19 16:25:32 -08:00
Shane Grant
8b8f5814e2
Fix macro for double comparison in unit test
...
relates #338
2017-02-15 13:39:42 -08:00
Shane Grant
51cbda5f30
Merge branch 'develop' for release 1.2.2
v1.2.2
2017-02-12 14:06:58 -08:00
Shane Grant
e38d6fecc1
fix update doc script
2017-02-12 13:46:25 -08:00
Shane Grant
70c4420632
Update README.md
...
add appveyor badge
2017-02-12 00:25:30 -08:00
Shane Grant
2590f219a2
Properly use multimap for lookup in poly casting
...
relates #356 , still need final testing on MSVC
2017-02-11 23:47:00 -08:00
Shane Grant
a91737466f
size_type now specified by macro CEREAL_SIZE_TYPE
...
resolves #379
2017-02-08 10:47:02 -08:00
Shane Grant
ee17db59c8
Merge branch 'develop' of github.com:USCiLab/cereal into develop
2017-02-06 22:51:29 -08:00
Shane Grant
b827b955f9
Fixes need for special MSVC case, see #373
2017-02-06 22:50:56 -08:00
Shane Grant
f577fc4ce4
Turn on warnings as errors for MSVC, warning level to 3
...
Can't do level 4 warnings yet - need to make an upstream change to doctest
2017-02-05 22:13:08 -08:00
Shane Grant
fb6606dbb8
Do not build coverage or valgrind for MSVC
2017-02-05 18:13:37 -08:00
Shane Grant
a2d5a15b67
Merge branch 'tusharpm-develop' into develop
...
see #373
Still need to address why windows needed a modifcation to polymorphic test to compile
2017-01-27 10:29:51 -08:00
Tushar Maheshwari
e4d543d0b4
Fix merge issues
2017-01-26 16:53:47 +05:30
Tushar Maheshwari
2261feea2f
Pull requests to not increment build numbers
2017-01-26 14:16:29 +05:30
Tushar Maheshwari
4ff4db8532
boost new version
2017-01-26 14:16:29 +05:30
Tushar Maheshwari
655696ad81
AppVeyor integration
2017-01-26 14:16:28 +05:30
Tushar Maheshwari
df44243bad
Enable cross-platform portability test
...
CMake fix 32-bit executable with generator Win64
2017-01-26 14:16:28 +05:30
Tushar Maheshwari
0a908bc8c8
Make tests pass with Windows
2017-01-26 14:16:28 +05:30
Shane Grant
4a92e2930e
no longer need boost test in travis
2017-01-25 11:04:24 -08:00
Shane Grant
a8e99636f5
Merge branch 'develop_doctest' into develop
...
see #139
2017-01-25 10:56:38 -08:00
Shane Grant
75e50ee1e6
remove old code from sandbox relates #363
2016-11-28 13:48:46 -08:00
Shane Grant
507f97d3ad
add -Wold-style-casts see #363
2016-11-28 11:53:56 -08:00
Shane Grant
f69ad7cd9e
tab to space
2016-11-28 11:50:23 -08:00
Shane Grant
d21b0c0ab6
Merge branch 'laudrup-master' into develop
...
see #363
2016-11-28 11:47:53 -08:00
Shane Grant
e63f08f4d7
minor adjustments to casts, see comments on #363
2016-11-28 11:47:24 -08:00
Shane Grant
29829c167e
Merge branch 'FlexCoreLib-doxygen_access_from_extern' into develop
...
see #365
2016-11-28 10:41:27 -08:00
Shane Grant
ad927466b5
comment out obsolete doxygen
2016-11-28 10:41:02 -08:00
Shane Grant
9978e0c03f
Merge pull request #366 from headupinclouds/pr.is_loading.is_saving
...
Add is_loading and is_saving values to cereal::{Input,Output}Archive
2016-11-28 10:37:17 -08:00
Shane Grant
1edc5c6f6d
Merge pull request #367 from tusharpm/develop
...
Travis configuration updates
2016-11-28 10:35:24 -08:00
Tushar Maheshwari
6086234740
Travis configuration updates
...
- Switch to trusty container-based infrastructure for linux systems
- Add a job to test with clang compiler (skips portability test)
- Add a job to test on macOS with Xcode8
2016-11-27 18:28:13 +05:30
David Hirvonen
6e717666f3
Remove spurious character
2016-11-26 12:31:56 -05:00
David Hirvonen
2e96b9915e
Add is_loading and is_saving values to cereal::{Input,Output}Archive
...
This provides compatibility for asymmetric serialize routines when transitioning from boost serialization and associated archive types.
See: https://github.com/USCiLab/cereal/issues/360
Example:
```
template <typename Archive>
void serialize(Archive &ar, const std::uint32_t version)
{
std::int16_t tmp = foo;
if(Archive::is_loading::value)
{
ar & tmp;
foo = tmp; // For illustration only
}
else
{
tmp = foo; // For illustration only
ar & tmp;
}
ar & foo;
}
```
2016-11-25 16:02:00 -05:00
Kasper Laudrup
9376ca6055
Don't use C style casts
...
Change C style casts to C++ static casts.
This makes the code compile with the -Wold-style-cast warning enabled
2016-11-23 01:34:53 +01:00
Shane Grant
72d79364c9
catch empty json, relates #359
2016-11-11 13:45:27 -08:00
Shane Grant
1d67d44024
Removed boost_test as a requirement
...
-Now build 32 bit unit tests if portability testing is enabled
-No more boost+clang issues over std::string abi
see #139 , #123
2016-11-04 16:07:00 -07:00
Shane Grant
66528b68be
last? conversions for #139
2016-11-04 15:51:57 -07:00
Shane Grant
978b3b56b4
typo fix in comment #139
2016-11-04 12:11:51 -07:00
Shane Grant
13ae5609df
more #139
2016-11-04 12:10:24 -07:00
Shane Grant
07818f4527
more #139
2016-11-04 12:00:16 -07:00
Shane Grant
b5e500d3b2
more #139
2016-11-02 16:32:35 -07:00
Shane Grant
a6e59d7e06
more for #139
2016-11-02 13:38:33 -07:00
Shane Grant
cd46374df8
more converted for #139
2016-11-02 12:20:22 -07:00
Shane Grant
38e15480c0
headers #139
2016-11-01 11:59:40 -07:00
Shane Grant
15c73394a9
more conversions #139
2016-11-01 11:59:02 -07:00
Shane Grant
928cd36335
more conversions to CHECK_EQ
...
see #139
2016-11-01 11:41:28 -07:00
Shane Grant
0a262ece48
More tests split, switch to CHECk_EQ over CHECK
...
see #139
2016-11-01 11:36:22 -07:00