Shane Grant
04430f32ba
Unordered loads looking good for XML, needs better testing though.
2013-09-01 15:18:54 -07:00
Shane Grant
0a35bd3dc8
Initial go at out of order loading working
2013-08-30 11:24:09 -07:00
Shane Grant
ba3505536d
removing unused Void typetraits class
2013-07-22 10:00:10 -07:00
Shane Grant
c2a47f51b5
Fixing performance timing output to match that from develop branch
...
Adding documentation to MSVC only JSON changes for saving
2013-07-22 09:49:56 -07:00
Shane
2d543a45e2
changed to using automatic linking for boost, now linking against dlls
2013-07-19 22:34:43 -07:00
Shane
da03627ff1
Removed some (but not all) of the line endings I accidentally added while in VS.
...
Fixed a bunch of issues related to compiling unittests on VS.
Having a problem linking against boost unit tests, so can't run the tests yet.
2013-07-18 21:42:37 -07:00
Shane Grant
71fccb0b52
formatting, everything compiling properly under gcc/clang
2013-07-17 13:44:34 -07:00
Shane Grant
9ee407b1ab
removing ==1 from trait checks
2013-07-17 12:20:08 -07:00
Shane Grant
06f675743c
fixing gcc errors
2013-07-17 12:16:44 -07:00
Shane
fa9312534d
everything working in VS, haven't run unit tests but sandboxes are looking good
...
polymorphic stuff seems fine. finish up unit tests then test this back on linux
2013-07-16 22:33:23 -07:00
Shane Grant
bc3d236031
removed sizeof_array since sizeof() does the same thing.
...
modified array to use sizeof(array) instead of sizeof(T) * N
modified C style arrays to use sizeof() and proplery check for arithmetic types before doing a binary serialization
2013-07-16 14:15:04 -07:00
Shane
bdc16278fc
vs project fun, polymorphic support not yet working
2013-07-15 22:32:40 -07:00
Shane
7e2d30a244
all archives now compiling
...
had to make a few changes to rapidjson since it uses constexprs in one location,
also had to make sure we used the correct sprintf in a place where we inserted the code
2013-07-15 21:10:59 -07:00
Shane
d326aad555
binary archive looks like it is working, putting in some static_casts to quiet down some warnings
2013-07-15 20:51:00 -07:00
Shane
67c3370ab9
XML Archive working on visual studio 2013 preview
...
I tried out a few things with traits to try and get things like:
template <class Archive>
void load( Archive const & ar, MyType const & t ) {}
to be errors (note the const). I don't think it's possible to detect this stuff
in the traits that check if these exist, but we can probably catch it in the processImpls
2013-07-15 20:45:09 -07:00
Shane
b562762291
more progress, everything compiles except portable_binary and json. Archiving not working yet.
2013-07-15 00:46:00 -07:00
Shane
e00a74ccfc
traits nearly done, looking good so far
2013-07-14 22:41:56 -07:00
Shane
e9bf7d5f1c
Adding visual studio stuff to ignore list, progress on traits.
...
Tried to detect a case where archives were marked as const but this is harder than it seems. Now detecting if load or serialize incorrectly marke their type parameters as const (or are const member functions)
2013-07-14 22:02:25 -07:00
Shane
f2dd043daa
Working on type traits compatability for visual studio, not as terrible as I thought
2013-07-14 19:29:12 -07:00
Shane Grant
ec4589b4e0
added warnings if not ieee 754, closes #6
2013-07-14 13:38:15 -07:00
Randolph Voorhies
bfe2289636
Changed size_t to cereal::size_type everywhere.
...
This is to ensure binary compatability between machines of different bit persuasions. cereal::size_type is typedef'd to uint64_t in helpers.hpp for now, but as soon as our 128 bit machines arrive we can change this with a one liner.
closes #10 .
2013-07-13 16:28:27 -07:00
Randolph Voorhies
8f367b6502
Need to include types/deque for stack also
2013-07-13 15:49:11 -07:00
Randolph Voorhies
46a1133d03
Queue needs to include deque for the default container
2013-07-13 15:46:58 -07:00
Shane Grant
a00597460c
Fixed a valgrind uninitialized warning for portable_binary
...
Progress towards issue#9, modified unique_ptr<void> to use our empty deleter. Can't do a full test with libc++ because
of various linker errors related to my configuration of libc++. No change in behavior under libstdc++.
2013-07-13 10:48:38 -07:00
Shane Grant
66fe64f8b3
Merge pull request #7 from neomantra/gcc4.7
...
Minor changes to support gcc 4.7.3 thanks to neomantra. Tested with no issues under 4.7.3 and 4.8.1.
2013-07-12 15:34:19 -07:00
Shane Grant
f6497be17d
first implementation of portable binary archive
2013-07-12 14:52:28 -07:00
Shane Grant
59cc5cfaf7
reverting back to original CEREAL_REGISTER_TYPE impl
2013-07-12 12:14:52 -07:00
Shane Grant
1e8e53ff74
renamed binary_detail namespace to variant_detail
2013-07-12 10:49:54 -07:00
Shane Grant
49747ed000
Adding additional macros to enable polymorphic support across compilation units.
...
closes #5
2013-07-12 10:48:15 -07:00
Evan Wies
3d88d45031
Minor changes to support gcc 4.7
...
gcc 4.7 has significant C++11 support, but is missing some features.
See http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
* #include <stdexcept> was needed to find std::runtime_error
* gcc 4.7 does not support "Inheriting constructors". This was fixed by using
the traditional method of explicitly declaring the constructors.
* Some lambda expressions needed extra love. More color here:
http://stackoverflow.com/questions/4940259/c11-lambdas-require-capturing-this-to-call-static-member-function
These changes are minor so I did not use gcc version detection via preprocessor.
2013-07-12 13:33:53 -04:00
Shane Grant
03d11de242
Replaced <COPYRIGHT HOLDER> in license with actual names
2013-07-11 11:01:27 -07:00
Randolph Voorhies
3f5ac02c70
Fixed GCC compile error
2013-07-10 11:28:15 -07:00
Randolph Voorhies
1113559a8a
Commenting on specialization enum
2013-07-10 11:02:34 -07:00
Shane Grant
a047688c5c
documentation and fixed a typo
2013-07-09 16:08:25 -07:00
Awesome Robot
5e6fdb339a
doxygen updates, created some new dox groups, put group defs into mainpage.dox
2013-07-09 15:36:01 -07:00
Shane Grant
237d05b1ba
updating doxygen
2013-07-09 14:38:51 -07:00
Shane Grant
048c00a92f
load binary working properly, everything looks good for json
2013-07-09 10:46:13 -07:00
Shane Grant
525341a9d8
itsNextName properly initialized to nullptr for json output
2013-07-09 10:32:50 -07:00
Shane Grant
cc8784660c
modified unit tests to not use floats for map keys, complex now uses boost_check_close for double types
2013-07-09 10:24:20 -07:00
Randolph Voorhies
035b01b473
JSON looking good, just need to fix up all unit tests
2013-07-08 18:19:12 -07:00
Randolph Voorhies
f830367d9d
Writing arrays now works. Reading is next
2013-07-08 17:14:40 -07:00
Randolph Voorhies
4631cac259
Object serialization seems to work
2013-07-08 15:14:56 -07:00
Randolph Voorhies
f0216012be
Basic single level JSON reading works
2013-07-08 15:00:25 -07:00
Randolph Voorhies
ae87460183
Fixed genericstream, needs to output \0 on eof
2013-07-08 14:49:54 -07:00
Shane Grant
e098238e6d
Smart pointers to abstract types no longer require serialization functions.
2013-07-08 11:56:51 -07:00
Shane Grant
8d4a4194e2
removed ^M from some files, skeleton of input json
2013-07-08 11:42:34 -07:00
Shane Grant
cded3bea43
using BOOST_CHECK_CLOSE for long double comparisons
...
some documentation updates to both xml and util
2013-07-08 10:13:42 -07:00
Shane Grant
0912411844
Documentation updates and priority_queue now tested for XML
2013-07-07 18:23:21 -07:00
Shane Grant
8fcb6389e8
Made unit tests work for XML, needed to put scope around output archives since they flush on destruction.
...
Added some documentation to XML output archive describing how it works.
Added attribute size="dynamic" to types that specify a size tag for XML, making it easier for a human to figure out what
they can add or remove data from.
Documentation updates on a few other things.
2013-07-07 18:01:17 -07:00
Randolph Voorhies
0ce654759a
Doxygen updates
2013-07-06 19:24:31 -07:00