Robert Ramey
5988a816f9
correct dereference of iterator incremented past end()
2016-03-08 12:34:51 -08:00
Robert Ramey
00459350f0
use explicit namespace in the hope of fixing test failure for intel
2016-03-03 22:37:45 -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
7ae4087c05
fix visibility error for at least mdvc
2016-02-12 12:01:29 -08:00
Robert Ramey
72ef8bf59a
correction of visibility setup
2016-01-23 22:29:04 -08:00
Robert Ramey
d330deb82c
return utf8 back to state of 22 ocober
2016-01-18 11:41:22 -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
6facb61510
fixed a couple of trac items
2016-01-15 09:49:34 -08:00
Robert Ramey
eb6faaf428
minor adjustments to fix errors with gcc 6.0
2016-01-14 22:18:51 -08:00
Robert Ramey
587b081d1d
backing out dependence on boost locale.
...
revert to boost/detail/utf8_codecvt
2016-01-14 13:48:16 -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
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
41fd59b77b
fixed erroneous visibility attribute
2015-10-27 09:26:28 -07:00
Robert Ramey
194ff67a05
attempt to make codecvt_null table visible
2015-10-26 12:37:01 -07:00
Robert Ramey
a76a511c95
adjustments for clang visibility
2015-10-25 21:02:44 -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
edf1dffd70
fixing codecvt for libstc++ broke things for libc++
...
This should work for everything
2015-10-24 22:14:27 -07:00
Robert Ramey
ae4c2321af
Finally? found error in recovery of codecvt facet?
2015-10-24 21:42:34 -07:00
Robert Ramey
160a3369db
made improvements in codecvt handling.
...
Fails two tests on gcc
2015-10-24 13:28:02 -07:00
Robert Ramey
a64bf6e4d5
isolated one problem with codecvt facets
2015-10-22 04:42:22 -07:00
Robert Ramey
13f794d953
corrected changes
2015-10-19 21:42:47 -07:00
Robert Ramey
e4219b35eb
Merge pull request #31 from jzmaddock/msvc-linkage
...
Changes to get things linking correctly with msvc:
2015-10-18 10:46:26 -06:00
jzmaddock
d53d3159b4
Changes to get things linking correctly with msvc:
...
1) Move the two facets utf8_codecvt_facet and codecvt_null into
the main serialization archive as they get referenced from xml_oarchive.obj.
2) Add DLL-interface to utf8_codecvt_facet.
3) Change codecvt_null to use narrow character DLL interface macros.
2015-10-18 11:51:26 +01: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
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
153e7e635c
added serialization of Boost/unordered_set and boost/unordered_map and create new tests
2015-10-03 23:48:52 -07:00
Robert Ramey
40f6cfcc84
Fixed problems with new wchar/mbchar conversion
...
bumped archive version number
2015-10-02 15:03:02 -07:00
Robert Ramey
4d9fccbee5
Merge pull request #22 from NuxiNL/develop
...
Don't use thread unsafe wide character processing functions.
2015-10-02 13:29:48 -06:00
Robert Ramey
d8c26789e0
fixed leaking definition of STD
2015-09-30 08:37:17 -07:00
Robert Ramey
e0b4403d61
more tweaks to fix visibility errors and avoid warnings
2015-09-29 13:55:23 -07:00
Robert Ramey
45610e25e4
changes to support visibility - by Edward Diener
2015-09-29 12:32:23 -07:00
Robert Ramey
ae22245b28
Merge pull request #17 from jhunold/virtual
...
classes with virtual function must have virtual destructors.
2015-09-29 00:56:45 -06:00
Robert Ramey
4f83fc163a
Miscellaneous fixes
2015-09-28 23:52:47 -07:00
Robert Ramey
e3129464dc
Merge branch 'master' into develop
2015-09-28 15:05:31 -07:00
Robert Ramey
9542a9f78e
modify comment
...
eliminate regenerated files
2015-09-28 14:59:06 -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
Ed Schouten
599c53c5d0
Don't use thread unsafe wide character processing functions.
...
The mbtowc(), wctomb() and mblen() functions are not supposed to be
thread-safe, as they have to keep parsing state in a global variable.
The mbrtowc(), wcrtomb() and mbrlen() functions should be used instead.
This change also simplifies how wchar_from_mb<Base>::drain() works.
There is no need to first iterate over the input using mblen().
mbrtowc() can store the partially parsed multibyte character in its
mbstate_t.
2015-08-27 16:08:53 +02:00
Jürgen Hunold
6795c81995
classes with virtual function must have virtual destructors.
...
The warning is not "bogus" and not only gcc warns.
clang will warn too, but defines __GNUC__ for gcc compatibility.
msvc issues "warning C4265: 'boost::serialization::<foo>' :
class has virtual functions, but destructor is not virtual"
The msvc warning could be suppressed, but it is much cleaner to simply
make the destructors virtual as they are with gcc and clang.
2015-06-15 10:38:57 +02:00
Robert Ramey
d779a5d127
Merge develop to master
2015-05-23 11:51:06 -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
f527700804
more compile time errors for mdvc
2015-05-09 18:17:33 -07:00
Robert Ramey
1fb23d124d
correction to support visibility for MSVC
2015-05-09 08:24:46 -07:00
Robert Ramey
18992fb13d
fixed warnin
2015-04-27 21:40:15 -07:00
Robert Ramey
794c19b2a5
remove comment no longer relevant
2015-04-27 17:14:36 -07:00
Robert Ramey
2e2fac9291
Revert "removed dead code from vector.hpp"
...
This reverts commit 423c6d8076
.
2015-04-27 17:12:31 -07:00
Robert Ramey
423c6d8076
removed dead code from vector.hpp
2015-04-27 16:58:51 -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
e25f595656
changed to use custom implementation of is_default_constructible
2015-04-27 16:44:36 -07:00
Robert Ramey
4a80b0f089
passing vector test
2015-04-27 16:32:45 -07:00
Robert Ramey
751155614c
fix visibility errors
2015-04-27 16:29:21 -07:00
Robert Ramey
d76884319c
make constructor public rather than protected in order to address MSVC/32 13 quirk
2015-04-27 16:28:35 -07:00
Robert Ramey
ae41d09039
correct error in export macro for wide types
2015-04-25 08:09:31 -07:00
Robert Ramey
50d59842c2
fixed error in loading of non empty instances of vector.hp
2015-04-24 16:44:38 -07:00
Robert Ramey
2d898f7db8
replace std::min with (std::min) in order to avoid problems with compilers which use min macros
2015-04-24 15:28:46 -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
0100558166
correction in shared_ptr_helper
...
permit pass values by const & to output interface
2015-04-24 15:12:22 -07:00
Robert Ramey
83c1373a4d
fixed warning in clang smart_cast.hp
2015-04-24 13:49:56 -07:00
Robert Ramey
1f94b5276b
minor adjustments to visibility
2015-04-24 13:28:24 -07:00
Robert Ramey
70206bf4ef
Revert "enhancement to support gcc visibility."
...
This reverts commit 23b012ef66
.
2015-04-24 13:12:10 -07:00
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
Vladimir Prus
ee3560ad83
Revert "first cut in fixing up visibility"
...
This reverts commit 94dbfcfc4f
.
2015-04-06 12:48:24 +03:00
Vladimir Prus
e525cb560f
Revert "simplified visibility"
...
This reverts commit 4c0590737e
.
2015-04-06 12:48:22 +03:00
Vladimir Prus
57da005e5f
Revert "add BOOST_SYMBOL_VISIBLE to otherwise invisible classes and implement BOOST_NOEXCEPT where needed"
...
This reverts commit e7a7ee8018
.
2015-04-06 12:48:20 +03:00
Vladimir Prus
d5aaa3801a
Revert "fix a couple of gcc warnings"
...
This reverts commit 79e73a715c
.
2015-04-06 12:48:06 +03: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
Robert Ramey
8e4248285a
fix hoping to get mdvc 8.0 to pass
2014-04-14 16:08:28 -07:00
Robert Ramey
e65f25fce1
fixed error for microsoft compilers
2014-03-21 21:57:15 -07:00
Robert Ramey
3fc172b3fb
BOOST_DEDUCED_TYPENAME <- typename
2014-03-19 18:35:13 -07:00
Robert Ramey
4fff20dff4
address MSVC shared_ptr helper problem
...
attempt yet again to address MSVC 8.0 issues
2014-03-19 18:00:55 -07:00
Robert Ramey
1d07e1dd57
Merge branch 'develop'
2014-03-17 12:32:01 -07:00
Robert Ramey
f3d5bc52bb
attempt to make tests pass on mdvc 8.0
2014-03-12 20:58:08 -07:00
Robert Ramey
673135a41e
changes to support msvc 8.0
...
reversion problems created by s kelly project
2014-03-06 08:24:28 -08: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
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
57e6da40e9
added unique_ptr.hpp
2014-02-17 14:56:19 -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
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
bda94d16d1
merge trunk to release
...
[SVN r86724]
2013-11-16 19:41:12 +00:00
Robert Ramey
8af0e20bb0
merge trunk to release
...
[SVN r86723]
2013-11-16 19:31:12 +00:00
Robert Ramey
ecaccd36a5
correct usage of codecvt_utf8
...
[SVN r86617]
2013-11-11 15:40:12 +00:00
Robert Ramey
e14e2de4ae
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 r86611]
2013-11-11 01:57:48 +00:00
Robert Ramey
76f231dc92
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 r86610]
2013-11-11 01:56:19 +00:00