Commit Graph

461 Commits

Author SHA1 Message Date
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
Robert Ramey
c8cb85339d corrected test in the absence of C++11 support for smart pointers 2014-02-22 11:11:29 -08:00
Robert Ramey
ed0ba055c8 correction for shared_ptr_helper and test_unique_ptr 2014-02-20 08:33:32 -08:00
Robert Ramey
fb559afd0d fix various trac items 2014-02-19 13:11:33 -08:00
Robert Ramey
3c9fe377f3 merge develop to master 2014-02-17 18:55:24 -08:00
Robert Ramey
a5f7c7850b added test_unique_ptr.cpp 2014-02-17 14:21:33 -08:00
Robert Ramey
484874f0c2 Merge branch 'stl_pointers' into develop 2014-02-17 12:30:00 -08:00
Robert Ramey
7f604fa7ff minor corrections to pass full suite of test 2014-02-17 12:28:07 -08:00
Robert Ramey
606093112f both std and boost versions of shared / weak pointer passing tests 2014-02-16 21:38:28 -08:00
Robert Ramey
c9443fba24 intermediate version 2014-02-16 00:06:04 -08:00
Robert Ramey
f5168e15a4 new shared_ptr_helper
passed a couple of tests
removed naked-... versions of archive classes
2014-02-15 14:47:26 -08:00
Robert Ramey
f7ad9e8d07 fixed shared_helper implementation 2014-02-13 15:55:05 -08:00
Robert Ramey
679c9ee7ef minor adjustments to testing 2014-02-13 09:17:33 -08:00
Robert Ramey
75f09afc89 moved shared_helper to mixin of common base
updated shared_ptr serialization accordingly
2014-02-13 08:52:58 -08:00
Robert Ramey
c19a1e737e tweak test 2014-02-09 21:22:21 -08:00
Robert Ramey
59e822de4a fixed tests to condition on C11 compatibility 2014-02-07 20:47:44 -08:00
Robert Ramey
da757049e5 misc fixes in tests to condition of C++11 support
another fix for S Kelly fiasco.
2014-02-07 10:01:12 -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
5244401101 fix for cycle error 2014-01-30 23:07:47 -08:00
Robert Ramey
4156bd15e6 fixed to avoid testing of utf characters > 21 bits which aren’t required to be supported by standards.
This was creating a false test failure.
Boost’s code convert facets don’t check for this so they pass the original test.
2014-01-27 12:54:25 -08:00
Robert Ramey
b454953f27 merge trunk to release
[SVN r86727]
2013-11-16 20:13:39 +00:00
Robert Ramey
7ee0f95b23 corrected usage of codecvt_utf8
[SVN r86618]
2013-11-11 15:41:01 +00:00
Robert Ramey
f29bdab128 changed codecvt_utf8 so that serialization uses the standard one if available. If there is no standard one available, it uses the one in boost/utility.
[SVN r86609]
2013-11-11 01:55:39 +00:00
Robert Ramey
3812a98455 fix up of issues created by removal of support for older compilers
[SVN r86589]
2013-11-08 21:23:37 +00:00
Robert Ramey
61e32a782b corrected # digits
corrected tests which compare floating point numbers to require max 1 digit difference

[SVN r86500]
2013-10-28 15:36:41 +00:00
Robert Ramey
599c58825b correct rounding
fix memory leak for constructor failure in load_construct_data
fix another bug in loading pointers

[SVN r86487]
2013-10-27 20:50:26 +00:00
John Maddock
127db4d189 Remove all references to now defunct (and removed) header.
[SVN r86438]
2013-10-26 10:13:38 +00:00
Robert Ramey
d57978411e corrected test_array.cpp
[SVN r86217]
2013-10-09 17:04:12 +00:00
Robert Ramey
875a37f915 fixed memory leak on load_object_ptr and other changes
[SVN r86156]
2013-10-04 00:36:37 +00:00
Stephen Kelly
f260c15935 Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-09-26 13:02:51 +00:00
Robert Ramey
3d7ac026c6 sync with release branch
[SVN r84077]
2013-04-28 20:23:10 +00:00
Robert Ramey
c809abe05d merge to release
[SVN r82352]
2013-01-04 16:39:43 +00:00
Robert Ramey
225b1e326b update test_utf8_codecvt test to use std::istream_iterator.
update other tests for improvements in base64_from_binary
tweak test_complex to play nice with PGI library.

[SVN r82200]
2012-12-24 18:12:43 +00:00
Robert Ramey
de0b48247d adjustment for PGI compiler header
[SVN r82199]
2012-12-24 17:59:38 +00:00
Robert Ramey
204b817694 tweak to permit pgi compiler to pass
[SVN r81944]
2012-12-14 18:14:38 +00:00
Robert Ramey
4fda311951 altered test to use std::istream_iterator rather than serialization version of same
[SVN r81881]
2012-12-12 19:06:51 +00:00
Robert Ramey
d7a32be2ed made tests and documentation consistent with correct exception throw specs
[SVN r81848]
2012-12-11 05:36:04 +00:00
Robert Ramey
de0d30d99c merge to release
[SVN r79994]
2012-08-13 01:42:43 +00:00
Robert Ramey
1dba4d5027 fixes for static/dll library build/test
[SVN r79981]
2012-08-12 16:47:07 +00:00
Robert Ramey
ca8cb19e53 adjustment for QNX
altered Jamfiles to fix test with DLLS on static builds

[SVN r79951]
2012-08-10 01:39:53 +00:00
Robert Ramey
bae58915cf Merged trunk to release
[SVN r77575]
2012-03-26 22:34:17 +00:00
Robert Ramey
5f8f8dcbc8 moved #include <boost/limits.hpp> higher in the include
[SVN r76954]
2012-02-09 05:50:29 +00:00
Robert Ramey
35cbf61982 some tests included <limits> rather than <boost/limits.hpp>
This made tests for platforms which don't have <limits> fail - specifically PGI.
So we fixed those tests to use <boost/limits.hpp>

[SVN r76945]
2012-02-07 20:53:56 +00:00
Gennadiy Rozental
c37657d102 eliminated unit_test/test_tools
[SVN r74730]
2011-10-05 09:49:27 +00:00
Robert Ramey
42275e1769 merge to release
[SVN r71426]
2011-04-22 23:42:29 +00:00
Robert Ramey
a343776194 correct bug in test
[SVN r71165]
2011-04-10 17:26:06 +00:00
Robert Ramey
7c7b067dfe Merge from trunk to release
[SVN r68305]
2011-01-19 18:31:02 +00:00
Robert Ramey
6d9926c138 shorten names of temporary files
[SVN r67439]
2010-12-23 22:34:54 +00:00
Robert Ramey
2fe3c19dec tests now require filesystem v3
[SVN r67345]
2010-12-19 17:36:00 +00:00
Robert Ramey
f568824c94 fix for testing - avoid mktemp.
Note, Now depends on boost file system and boost system !!!

[SVN r67306]
2010-12-18 19:28:20 +00:00
Robert Ramey
16b1306c1d merge to release branch
[SVN r66421]
2010-11-06 20:03:52 +00:00
Robert Ramey
bc7ba5556f fix compatibility with archive versions 1.41-, 1.42, 1.43,1.44+
[SVN r66106]
2010-10-19 19:43:09 +00:00
Robert Ramey
2660621c3a Merge to release
[SVN r63797]
2010-07-09 21:30:08 +00:00
Robert Ramey
7357aa1736 Merge to release
[SVN r63784]
2010-07-09 18:23:21 +00:00
Robert Ramey
17459ea306 Corrections to demos
[SVN r63181]
2010-06-21 06:24:42 +00:00
Douglas Gregor
79b58f23f8 Include <cmath> where it is needed
[SVN r63073]
2010-06-18 00:15:27 +00:00
Robert Ramey
570e6b0dba improved diagnostic for failures
[SVN r62855]
2010-06-12 16:03:44 +00:00
Robert Ramey
cf3617d933 Improved test failure reporting for class A test class.
[SVN r62807]
2010-06-11 16:24:41 +00:00
Robert Ramey
ebb81606ed Removed unused includes
[SVN r62788]
2010-06-11 04:13:56 +00:00
Robert Ramey
e8ee93c383 Added missing new test
tweaked plugin test for windows

[SVN r62386]
2010-06-02 18:42:11 +00:00
Robert Ramey
32aa5a642b Separate version types into library_version_type, version_type (classes) and item_version_type.
[SVN r62359]
2010-05-31 21:18:44 +00:00
Robert Ramey
8c98a0eb8f changed name from test_plugin to test_dll_plugin
[SVN r61364]
2010-04-18 17:13:17 +00:00
Robert Ramey
a07cb16f28 Merge trunk to release
[SVN r60484]
2010-03-11 16:43:40 +00:00
Robert Ramey
d0c8cd746d cosmetic change?
[SVN r60482]
2010-03-11 16:33:41 +00:00
Robert Ramey
e853dca178 suppress test_plugin as I can't figure out how to get boost build to run it
[SVN r60434]
2010-03-10 18:01:33 +00:00
Robert Ramey
71cddc2dd8 fixed test_exported in Jamfile.v2
[SVN r60374]
2010-03-09 04:39:49 +00:00
Robert Ramey
4184e23788 update tests for latest changes
[SVN r60277]
2010-03-07 03:13:32 +00:00
Robert Ramey
7646d1fdc8 move recent changes to release branch
[SVN r59942]
2010-02-26 05:28:56 +00:00
Robert Ramey
cf0b272984 added copyright notices
[SVN r59461]
2010-02-03 21:47:58 +00:00
Robert Ramey
bc5cd95615 Fix plugin test/demo
[SVN r58519]
2009-12-23 18:29:49 +00:00
Robert Ramey
8a9193f4a5 Fix plugin test/demo
[SVN r58518]
2009-12-23 18:28:48 +00:00
Jürgen Hunold
42e859eb24 Fix tests by re-adding missing "compile" rule.
[SVN r58512]
2009-12-23 13:35:25 +00:00
Robert Ramey
c01113966d Fix plugin test/demo
[SVN r58508]
2009-12-23 07:23:08 +00:00
Robert Ramey
be26dfbcf9 Merge from trunk to release
[SVN r58389]
2009-12-14 23:48:21 +00:00
Robert Ramey
26490f7fa1 1. Fixed memory leak in shared_ptr loading
2. Fixed error in polymorphic archive implementation

[SVN r58271]
2009-12-10 17:42:29 +00:00
Robert Ramey
4773b7d2a2 1. Fixed memory leak in shared_ptr loading
2. Fixed error in polymorphic archive implementation

[SVN r58258]
2009-12-10 00:30:51 +00:00
Robert Ramey
4d360d1082 Merge changes to release branch
[SVN r58151]
2009-12-05 06:34:10 +00:00
Robert Ramey
09bf7cb705 Revert changes intended for trunk
[SVN r57701]
2009-11-16 05:32:31 +00:00
Robert Ramey
9bcaba922c Fixed warnings at highest warning level
[SVN r57698]
2009-11-16 05:17:25 +00:00
Robert Ramey
a145a34048 Fixed warnings at highest warning level
[SVN r57667]
2009-11-15 00:37:15 +00:00
Robert Ramey
9f32d335a0 Fixes for minor and/or obscure bugs
[SVN r57134]
2009-10-24 16:07:47 +00:00
Troy D. Straszheim
1545aeb160 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
f0a7a8e6cf rm cmake from the release branch before it goes out broken. Policy dictates that you never commit to release, you commit to trunk and merge to release.
[SVN r56941]
2009-10-17 01:10:45 +00:00
Robert Ramey
98af5f7b9e add non-polymorphic pointer test
[SVN r56924]
2009-10-16 15:53:52 +00:00
Robert Ramey
8aaf2b217e Address complaints for Inspect
[SVN r56740]
2009-10-12 16:30:44 +00:00
Robert Ramey
56daebbd49 Merge trunk to release
[SVN r56316]
2009-09-20 02:18:02 +00:00
Robert Ramey
7802ccb7b1 Added missing test
[SVN r56243]
2009-09-16 15:24:42 +00:00
Robert Ramey
d5cdd7e294 Formalize compiler time errors and warnings
[SVN r56224]
2009-09-15 20:23:51 +00:00
Robert Ramey
0a4bb11b4f enhanced test
[SVN r56149]
2009-09-11 17:58:57 +00:00
Robert Ramey
4ca7dfddab moved code from header to library to reduce code bloat
[SVN r55791]
2009-08-26 20:47:01 +00:00
Robert Ramey
a42b068bd6 Improved implemenation of boost_serializer_map
Improved support for serialization of types in DLLS
New exception for violations of ODR when using DLLS
Fix error in recent update of export.hpp
Added class names to exception messages

[SVN r55738]
2009-08-23 19:27:10 +00:00
Robert Ramey
1100ce5678 Fix error in export functionality:
a) set key when etf record is constructed.
b) make corrections in no_rtti type system
c) make no_rtti type system more robust and self-diagnosing

[SVN r55676]
2009-08-20 05:32:59 +00:00
David Deakins
a1d25c5a56 Even though Windows CE has BOOST_NO_STDC_NAMESPACE defined (since STLport doesn't always move everything to std::), numeric_limits and w_int are not in the global namespace.
[SVN r55584]
2009-08-14 17:06:30 +00:00
Robert Ramey
690652f8ce Fixed test again
[SVN r55420]
2009-08-05 16:39:42 +00:00
Robert Ramey
dafa8cede3 Fix test so that it doesn't emit warning
[SVN r55412]
2009-08-04 21:51:05 +00:00
Robert Ramey
e8d8d44405 Merge trunk to release
[SVN r55350]
2009-08-01 23:32:25 +00:00
Robert Ramey
770f6ee7d2 Fix test_no_rtti test
extended_type_info system not based on type_id

[SVN r55325]
2009-07-31 21:04:56 +00:00
Troy D. Straszheim
2c01069b6a Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.



[SVN r55159]
2009-07-26 00:49:56 +00:00
Troy D. Straszheim
0332a80302 Add basic copyright/license to keep cmake out of the inspection report
[SVN r55095]
2009-07-22 21:51:01 +00:00
Robert Ramey
21bdd6f441 eliminate MSVC runtime trap when assign short to char
[SVN r54988]
2009-07-16 21:22:20 +00:00
Robert Ramey
3923751555 Adjustment of test to header
[SVN r54961]
2009-07-15 06:45:13 +00:00