Commit Graph

461 Commits

Author SHA1 Message Date
Robert Ramey
49f8f59da2 address recent Trac items 2017-05-04 14:33:19 -07:00
Robert Ramey
51b1df323b fix warning 2016-12-26 20:47:48 -08:00
Robert Ramey
619250c93a merged in correction breaking backward compatibility 2016-12-05 14:16:54 -08:00
Robert Ramey
66ccdc00f1 adjustments to get test_dll_exported to pass on MSVC platforms 2016-11-30 15:31:02 -08:00
Robert Ramey
a8bbbea4e7 latest attempt to permit test_dll_exported to compile under MSVC compilers 2016-11-30 12:31:24 -08:00
Robert Ramey
c3552e1d03 remove visibility attributes from exported/imported class function implementations per microsoft instructions 2016-11-29 08:08:12 -08:00
Robert Ramey
c518afa8ad remove visibility attributes from exported/imported class function implementations per microsoft instructions 2016-11-28 20:51:51 -08:00
Robert Ramey
29593efac2 corrected pragmas used to track import/export attributes 2016-11-27 20:42:40 -08:00
Robert Ramey
5986edcfd3 Add pragma messages to display import/exports at compile time 2016-11-25 21:59:57 -08:00
Robert Ramey
d558b6da91 adjustments to make test_dll_simple pass 2016-11-25 13:39:18 -08:00
Robert Ramey
4d11c54e60 adjustments shorten appveyor load
make A_DLL symbol unique to avoid confusion and conflict
2016-11-24 12:30:31 -08:00
Robert Ramey
6e24d1eb48 addressing mdvc failure on test_dll_exported 2016-11-22 09:52:58 -08:00
Robert Ramey
fceaca0a34 attempt to correct failure of test_dll_export on microsoft platforms 2016-11-21 15:30:11 -08:00
Robert Ramey
b98b458293 Role back changes in valarray due to failures on microsoft platform
Adjust visibility for singleton in the hope of passing mngw tests.
2016-11-20 13:22:47 -08:00
Robert Ramey
6b33d1cd4e refactor various tests related to arrays and lists 2016-11-14 23:39:14 -08:00
Robert Ramey
58b4f73c70 corrections to test invocation for lists 2016-11-14 14:30:01 -08:00
Robert Ramey
5b47212c01 improve collection serialization with boost::move 2016-11-06 17:22:35 -08:00
Robert Ramey
f09c9b197e correction to optional<T> serialization 2016-11-06 15:01:33 -08:00
Robert Ramey
3bc713367e eliminated binary_function from tests to conform to C++17 2016-11-05 15:18:29 -07:00
Robert Ramey
19e2ef234b fixed serialization of optional.hpp to prevent it from calling load_construct ... 2016-11-04 12:28:03 -07:00
Robert Ramey
a1ffe9b19b Removed emplace in array serialization. I concluded that it didn't do what I hoped it would and couldn't do so without changing the library API which I was reluctant to so. Changing this use more traditional reference copying functions should have no impact on performance but should improve portability to other compilers such as Intel. 2016-11-02 15:32:10 -07:00
Robert Ramey
fe8b390588 adjustments to tests of <forward_list> 2016-11-02 11:03:20 -07:00
Robert Ramey
03865e70cb correct test_strong_type
back out breaking change for gcc i/o
2016-06-03 22:28:50 -07:00
Robert Ramey
0458a89fc3 adjustments to strong type test 2016-05-29 13:33:49 -07:00
Ashish Sadanandan
e32c5c5e28 noexcept specifications for BOOST_STRONG_TYPEDEF
`BOOST_STRONG_TYPEDEF` now detects whether the type being wrapped is
nothrow default/copy constructible and nothrow assignable. The wrapped
type is given its own `noexcept` specifications accordingly.
2016-05-04 00:12:51 -06:00
Robert Ramey
e15ca7257f attempt to remove test_utf8_codecvt
updated jam files accordingly
2016-05-02 10:30:50 -07:00
Robert Ramey
8f7b3be1d2 made headers stand alone 2016-04-24 22:25:12 -07:00
Robert Ramey
c545c1fa60 test moved to boost/detail 2016-04-24 17:26:03 -07:00
Robert Ramey
3eb2bda80b correction in trailer of xml archives 2016-04-21 12:32:14 -07:00
Robert Ramey
fc9d311df9 changes to address some test failures 2016-04-15 12:53:16 -07:00
Robert Ramey
b65e29cb5f upload newly created test files for forward_list 2016-03-29 18:37:43 -07:00
Robert Ramey
9e2541b030 a) suppress warnings in some tests
b) break out test_forward_list
c) fixe test operator new for mdvc
2016-03-28 14:41:53 -07:00
Robert Ramey
e629008d55 changes to test_iterators and others to pass tests 2016-03-11 18:26:34 -08:00
Robert Ramey
5988a816f9 correct dereference of iterator incremented past end() 2016-03-08 12:34:51 -08:00
Robert Ramey
c0f17d6934 corrected iterator test. 2016-03-07 09:53:53 -08:00
Robert Ramey
5fe6471b6f tweaked visibility in a test 2016-03-04 12:52:07 -08:00
Robert Ramey
ec0c2a2ba1 adjustment to auto link for utf8_codecvt_facit.hpp
minor improvements in map.hp
adjustment to auto link for polymorphic tests
2016-03-03 13:46:50 -08:00
Robert Ramey
150b7e8a5f various adjustments to
a) correct error in loading set / map for C++11+
b) more refinements of visibility
2016-02-14 21:22:35 -08:00
Robert Ramey
d9ad787f70 replace insert with emplace where appropriate
remove workarounds for mdvc 7.1
2016-02-13 10:42:07 -08:00
Robert Ramey
2006c1633b fix compile errors in tests related to export 2016-01-17 10:33:06 -08:00
Robert Ramey
ccdb32bfe5 attempted to eliminate visibility warnings when building as a static library with clang
fixed compile error on polymorphic_derived2
2016-01-17 09:06:11 -08:00
Robert Ramey
eb6faaf428 minor adjustments to fix errors with gcc 6.0 2016-01-14 22:18:51 -08:00
Robert Ramey
67b16f8a9d explicitly initialized m_mbs (std::mbstate_t) in utf8 transform iterators.
adjusted tests to be sure that wchar arrays/strings are null terminated.
2015-11-24 10:48:03 -08:00
Robert Ramey
9bb75492ff added back in test_utf8_codecvt 2015-11-22 16:55:58 -08:00
Robert Ramey
533dba12d7 corrections in visibility specs for tests 2015-11-15 13:30:25 -08:00
Robert Ramey
2783e07993 adjustments for mdvc visibility 2015-11-14 22:59:42 -08:00
Robert Ramey
ead783cfe8 added missing test files 2015-11-03 11:00:36 -08:00
Robert Ramey
e4b18d9379 corrections to visibility issues which breaks tests on mdvc 2015-11-01 14:10:52 -08:00
Robert Ramey
e3b67eb299 changes to correct errors in usage of codecvt for utf8
Key change is to change utf8 codecvt facet to use Boost.Locale rather than boost/detail.  This fixed an issue with gcc.
2015-10-30 16:26:11 -07:00
Robert Ramey
494fa31e1c make singleton module lock/unlock work across mainline and all DLL code
fix warnings in binary primitives
fixup bjam test
make sure all codecvt facets are are serialization DLL
2015-10-24 23:49:00 -07:00
Robert Ramey
a64bf6e4d5 isolated one problem with codecvt facets 2015-10-22 04:42:22 -07:00
Robert Ramey
72530c408d re-installed streambuf_saver so that "imbue" is reversed when the archive is destroyed 2015-10-17 23:09:34 -07:00
Robert Ramey
62c975820d fixed conversion of string -> wasting and vice versa
made data flow iterator which uses codecvt facet - need to generalize this.
expanded test of this
looks like fixed visibility issues - except for one test.
2015-10-16 22:20:44 -07:00
Robert Ramey
5e6f0bd271 simplification of codecvt facets.
This fixed bug of unknown origin in test_array_xml_archive
2015-10-07 12:09:13 -07:00
Robert Ramey
348a916a81 simplification of codecvt facets.
This fixed bug of unknown origin in test_array_xml_archive
2015-10-07 10:57:35 -07:00
Robert Ramey
54a68ca9de adding test case 2015-10-05 21:00:18 -07:00
Robert Ramey
42512bc128 fixted https://svn.boost.org/trac/boost/ticket/11520 2015-10-05 09:11:01 -07:00
Robert Ramey
88a4156aaa Corrections in C++03 support and update of build files 2015-10-04 10:47:11 -07:00
Robert Ramey
619f30aa8d added messing files from unordered collections refactor 2015-10-03 23:51:17 -07:00
Robert Ramey
763f204e80 resolution of issue related to private base classes 2015-10-02 08:22:03 -07:00
Robert Ramey
9542a9f78e modify comment
eliminate regenerated files
2015-09-28 14:59:06 -07:00
Robert Ramey
f6f040a7eb added separate tests for hashed and unordered 2015-09-27 21:35:15 -07:00
Robert Ramey
2d09112b24 separated tests for map and set for C++ 11 and C++ 03 2015-09-27 21:34:21 -07:00
Robert Ramey
45752f1207 replace test_z with a vestigial program which will always compile and run and pass.
This "empty" program is used for experiments.
2015-05-23 08:53:46 -07:00
Robert Ramey
bee3377881 Improved loading of collections
fixed problems with loading types with private constructors
diminished need for reset object address
2015-05-22 08:59:11 -07:00
Robert Ramey
b3a02cf2b1 eliminated dead code in vector.hp
changed spelling from constructable to constructible in test_z.cpp
2015-04-27 16:56:21 -07:00
Robert Ramey
4a80b0f089 passing vector test 2015-04-27 16:32:45 -07:00
Robert Ramey
73d2494dde updated vector test to test for types without default constructor which are handled differently 2015-04-25 09:37:12 -07:00
Robert Ramey
f90de55927 leave test_z blank - it's used to paste tests into the IDE 2015-04-24 16:59:49 -07:00
Robert Ramey
50ecbd1f28 Remove last of support for compilers which don't support function template ordering 2015-04-24 15:24:30 -07:00
Robert Ramey
750080c20e added polymorphic helper tests
removed obsolete information from documentation
2015-04-11 10:14:37 -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
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
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
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
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
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
Robert Ramey
3fc172b3fb BOOST_DEDUCED_TYPENAME <- typename 2014-03-19 18:35:13 -07:00
Robert Ramey
1d07e1dd57 Merge branch 'develop' 2014-03-17 12:32:01 -07:00
Robert Ramey
168671c1c3 Fix failures for msvc 8.0
back out more MSVC workaround "fixes"
fix shared_ptr_helper load template declaration
2014-03-04 14:26:19 -08:00
Robert Ramey
b8bf2de47d Merge branch 'develop' 2014-03-02 11:03:01 -08:00
Robert Ramey
a9a4f6da0b fixed interface to dynamic_cast<shared_ptr>
tweaked archives to use/restore original local rather than the global "classic" one
2014-02-28 10:50:19 -08:00
Robert Ramey
818333c7fd added #if def to skip std::shared_ptr test when compiler doesn't support C++11 2014-02-23 11:21:13 -08:00