Commit Graph

76 Commits

Author SHA1 Message Date
jzmaddock
3a58de12d5 Simplify no wstreambuf support.
See https://github.com/boostorg/serialization/pull/224.
2023-04-29 13:38:11 +01:00
Robert Ramey
c7761f2335 improvements in serialization library
a) fixed up CMake Build so it does everything the B2 Build does.  They give the same results.
b) made adjustments so that any code which depends upon serialization depends only upon files in the serialization folder/namespace.  This should permit one to add serialization to his library without ending up importing the whole damn world.
2020-06-19 00:04:31 -07:00
Robert Ramey
f04a8cbe90 shortened name of test in the hopes it fix a test failure one windows with gcc - minnow
removed last references to pfto in documentation
2019-10-11 16:07:10 -07:00
Robert Ramey
7adafcbf01 final? fix for dll tests. Due to quirk in boost build, we can run these tests with static versions of boost. 2018-12-27 09:51:33 -08:00
Robert Ramey
361ed95f4c suppress static library tests for test_dll_exported. B2 generated invalid command line in this case. 2018-12-26 11:40:20 -08:00
Robert Ramey
ee50f8c911 adjustments to fix “exported” tests. 2018-12-24 08:52:50 -08:00
Robert Ramey
a61f5d2563 clean up tests using export/import 2018-12-19 14:40:55 -08:00
Robert Ramey
cc2a996384 Added in more singleton tests 2018-11-17 13:21:31 -08:00
Robert Ramey
9e98df0a0d Corrected various tests.
improved build under CMake and B2
passes all tests on clang 03 and g++ 6.2
2018-11-14 14:27:46 -08:00
Robert Ramey
feb53726e1 improvements to make test_dll_exported and test_exported function as desired. 2018-11-11 18:33:06 -08:00
Robert Ramey
b97bcdfeb3 adjustments to address visibility/import/export issues on windows gcc platforms 2018-11-11 04:56:11 -08:00
Robert Ramey
723bd44abd corrections to address issues on test_dll_exported on MSVC platforms 2018-11-09 11:47:27 -08:00
Robert Ramey
efcd46eb1b Just discovered that registering type via EXPORT doesn't work with polymorphic archives !!!
Corrected this.
2018-11-03 06:23:22 -07:00
Robert Ramey
5778b99fd2 fix typo in Jamfile.v2 which breaks Appveyor 2018-10-30 13:17:39 -07:00
Robert Ramey
c5549b2d6b adjusted tests to properly handle visibility in DLLS
improvements in CMake files
2018-10-30 02:29:15 -07:00
Robert Ramey
65f05dc209 Fix of test_dll_exported by altering syntax to accommodate "visibility=hidden"
update for CMakeList.txt files for serialization library - still pending but I'm the only one who uses it.
inclusion of "test" from Alexander Gruber - temporary
2018-10-26 09:56:23 -07:00
Robert Ramey
90e22bb58b adjustments to test_dll_exported to make it pass tests 2018-05-07 10:03:07 -07:00
Frank Richter
b430b6d674 Disable 'test_dll_plugin' - needs more work before it can pass 2018-05-01 01:00:06 +02:00
Robert Ramey
8ca532a4d5 include test for singleton
update Jamfile
2018-04-30 12:46:23 -07:00
Robert Ramey
4ee479a03e corrections for dll linkage and testing 2017-11-24 15:51:46 -08:00
Robert Ramey
7d216b4761 corrected singleton and ran test_dll_exported on unix,mingv,windows and osx 2017-11-22 21:53:19 -08:00
Robert Ramey
f94da2c724 correct error detected in MSVC regarding singleton initialization 2017-11-13 14:06:10 -08:00
Robert Ramey
fea1826e06 fix for singleton. This simplifies the visibility for the singleton class.
tested on my own machine for Clang/OSX, gcc on ubuntu and on mingw
2017-11-11 12:14:30 -08:00
Robert Ramey
8bbcca5341 fixed addressor fiasco
simplified singleton visibility
Jamfile
added boost/system to requirements
corrected inclusion tests to include link to serialization library
2017-11-09 12:54:10 -08:00
Robert Ramey
0ba417dd1c addressed user complaint and rolled back change which called desstructor 2017-11-07 15:08:12 -08:00
Robert Ramey
64dc620992 remove dependency on <codecvt>
This header seems to have errors in some environments.
It has been deprecated by the C++ committe.
For these reasons, we'll rely solely on Ron Garcia's code convert facet for utf.
2017-10-17 10:55:47 -07:00
Robert Ramey
d21a064a69 corrected mistakes in codecvt_null affecting visibility 2017-10-06 11:54:34 -07: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
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
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
9bb75492ff added back in test_utf8_codecvt 2015-11-22 16:55:58 -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
54a68ca9de adding test case 2015-10-05 21:00:18 -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
2d09112b24 separated tests for map and set for C++ 11 and C++ 03 2015-09-27 21:34:21 -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
a32549c25f fixed problem with helper on polymorphic archives
added test_polymorphic_helper
2015-04-10 14:24:33 -07:00
Robert Ramey
df8dec38fc fixed check for default constructible in std containers serialization 2014-12-15 15:22:33 -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
7f604fa7ff minor corrections to pass full suite of test 2014-02-17 12:28:07 -08:00
Robert Ramey
679c9ee7ef minor adjustments to testing 2014-02-13 09:17:33 -08:00
Robert Ramey
2140063d82 added support for missing collections in the standard library
forward_list
array
stack
queue
priority_queue
2014-02-06 13:12:39 -08:00
Robert Ramey
1dba4d5027 fixes for static/dll library build/test
[SVN r79981]
2012-08-12 16:47:07 +00:00