Commit Graph

743 Commits

Author SHA1 Message Date
Robert Ramey
23b012ef66 enhancement to support gcc visibility.
These changes are meant to support gcc visibility on mingw platforms - which is basically gcc with windows attributes.
2015-04-22 22:02:56 -07:00
Robert Ramey
7565de4008 transitory changes attempting to resolve visibility for minnow 2015-04-22 09:32:58 -07:00
Robert Ramey
a32549c25f fixed problem with helper on polymorphic archives
added test_polymorphic_helper
2015-04-10 14:24:33 -07:00
Robert Ramey
0d9dd64a66 Marcel s changes to fix import/export on MSVC 2015-04-05 13:53:55 -07:00
Robert Ramey
38a69e729b Adjustments trying to get correct MSVC compilation for dll 2015-04-05 09:30:15 -07:00
Marcel Raad
e66f38a702 Fix DLL compilation on MSVC 2015-04-05 16:47:56 +02:00
Robert Ramey
49f34b5810 Trying to get archive exception to compile 2015-04-04 15:49:27 -07:00
Robert Ramey
831a6e26b4 minor changes to clean up some warnings and to try and get the library to build on MSVC compilers 2015-04-04 12:57:50 -07:00
Robert Ramey
aedbb5da8e tweak to address compilation error on MSVC 2015-04-03 08:26:29 -07:00
Robert Ramey
61b81fad46 many small adjustments to get visibility working correctly on GCC and Clang.
Tested pretty extensively in release/debug shared/linked.
I don't have MSVC on me - so I'll have to upload without testing this.
One pending issue is that test_utf8_codecvt fails.  I'm guessing that the copy in detail needs to be tweaked.
I'll get this fixed up separately.
2015-04-02 13:02:33 -07:00
Robert Ramey
e16e3ed0dc corrected visibility for MSVC compilers 2015-03-31 16:52:41 -07:00
Robert Ramey
c3fbfb3cad made adjustments to suppress bogus warnings with MSVC so we could see error messages in test matrix 2015-03-29 21:34:46 -07:00
Robert Ramey
434b7c3a6d make changes to see if I can get MSVC platforms to compile/link 2015-03-27 14:43:59 -07:00
Robert Ramey
94d2e495ca corrected pfto in polymorphic_?archive.hpp
fixed visibility for singleton
corrected error in test_utf8_codecvt
2015-03-24 18:02:06 -07:00
Robert Ramey
5a94e5e4eb removed pfto 2015-03-23 15:29:57 -07:00
Robert Ramey
5c7e17b715 removed support for borland compilers 2015-03-23 13:43:59 -07:00
Robert Ramey
7067bdb263 simplifing visibility/autolink 2015-03-23 13:20:05 -07:00
Robert Ramey
1baeb11a7f cleanup visibiliy / auto link macros throughout project - still more to be done 2015-03-23 12:46:02 -07:00
Robert Ramey
79e73a715c fix a couple of gcc warnings 2015-03-22 16:16:42 -07:00
Robert Ramey
e7a7ee8018 add BOOST_SYMBOL_VISIBLE to otherwise invisible classes and implement BOOST_NOEXCEPT where needed 2015-03-22 15:25:45 -07:00
Robert Ramey
4c0590737e simplified visibility 2015-03-21 18:38:41 -07:00
Robert Ramey
94dbfcfc4f first cut in fixing up visibility 2015-03-21 17:56:57 -07:00
akumta
768145d01d Update register_archive.hpp
Per boost ticket# 11004
2015-03-04 14:49:58 -08:00
Robert Ramey
aa18f80439 fix some minor header inclusion 2014-12-18 17:34:55 -08:00
Robert Ramey
a838b0821f tweaked tests to suppress some warning noise
fixed sequential lists to handle types without default constructors
adjusted CMakeLists.txt to correctly generate c++ selection for Xcode
2014-12-16 15:40:24 -08:00
Robert Ramey
df8dec38fc fixed check for default constructible in std containers serialization 2014-12-15 15:22:33 -08:00
Robert Ramey
aa6ca846a4 fixed collection loading to be backwards compatible. Unforunately this breaks the fix I intended to make. Need to update docs so that users specialize boost::has_default_constructor<T> for item type 2014-12-15 10:17:27 -08:00
Robert Ramey
523f9baca2 correct last minute error in collection simplification 2014-12-13 22:02:57 -08:00
Robert Ramey
3d8d73f0d0 fixes in attributes to permit Visual Studio compatibility 2014-12-13 14:12:34 -08:00
Robert Ramey
a702dcb76f finally?! fixed problem with failing xml_warchive 2014-12-12 15:55:02 -08:00
Robert Ramey
fb61aeea5c still trying to fix xml_warchive 2014-12-12 07:53:31 -08:00
Robert Ramey
e70a2bb9b3 fixed issues related to codecvt facets 2014-12-10 12:51:30 -08:00
Robert Ramey
61b8c96e23 attempt to address failure of gcc standard library to properly handle codecvt.
now I have problem in local state saver - commented out for now
2014-12-08 17:01:23 -08:00
Robert Ramey
567bccc026 fixed problem serialization vector<vector<?> >
improved memory management using autoptr where scoped_ptr is called for.  Note: condition usage of unique_ptr for newer platforms.
added tests to verify that interruption of serialization handles exception handling gracefully
2014-12-06 13:10:12 -08:00
Robert Ramey
6ba97066f4 fixed error where vector<vector<dummy>> doesn't serialize properly
improved loading of sequential containers
2014-12-02 00:02:54 -08:00
Robert Ramey
b0f63a710f removed deprecated version of strong_typedef.hpp from boost directory 2014-11-13 10:06:58 -08:00
Robert Ramey
02fff0a69e fixed shared_ptr_helper include 2014-11-11 22:13:05 -08:00
Robert Ramey
5712994137 made is_whitespace explicitly inline 2014-09-26 10:50:50 -07:00
Robert Ramey
c2f9a6c3f4 type in docs
add default parameter value to get_helper_support
2014-09-13 06:52:40 -07:00
Robert Ramey
7f80632617 fixed case for compilers where type specific new operator doesn't work 2014-09-02 15:09:01 -07:00
Robert Ramey
d75a4416d7 minor adjustments to helper collection and tests.
update documentation for helper collection
2014-08-25 13:17:11 -07:00
Robert Ramey
c13b89c8f9 added missing headers to shared_ptr_helper.
note - failed to show up in tests.  probably included superfluously in other headers.
2014-08-12 09:05:54 -07:00
Robert Ramey
8ce1ff884a Corrected error in std::shared_ptr serialization.
Adjusted so that there is one instance of shared_ptr_helper per archive instance.  Before it was accidentally making one instance per pointer type which was not properly "matching up" shared/weak pointers.
2014-08-10 10:07:58 -07:00
Robert Ramey
c034aa1055 Fixed up helper implementation so that it properly accounts for help instances 2014-08-08 21:49:20 -07:00
Marcel Raad
16621745f8 Fix variable shadowing warning
MSVC 14 gives the following warning:
"warning C4456: declaration of 'result' hides previous local declaration".
2014-07-03 19:20:46 +02:00
Robert Ramey
32bb9f82ae Added size() to class_name_type to permit checking to maximum permitted size
Simplified calculation of number of elements
added check for too long class names
added {} to array initialization to avoid bogus warning
2014-07-01 12:50:38 -07:00
Robert Ramey
d912153782 corrections to shared pointer support and implementation of helper collection 2014-06-26 07:25:22 -07:00
Robert Ramey
2183deba45 trapped error with failed void_upcast.
helper collection improved - still not done yet
update shared pointer to handle C++11
removed old shared pointer helper from portable binary archive
2014-06-19 14:28:47 -07:00
Robert Ramey
421c1f2590 changes to eliminate dependence on shared_ptr 2014-06-16 11:24:43 -07:00
insideoutclub
99696d9c18 Update archive_exception.hpp
Fixing typos.
2014-05-25 12:03:19 -07:00