Commit Graph

226 Commits

Author SHA1 Message Date
Robert Ramey
f01148e421 minor adjustments to suppress assertions on free psd unix platforms. It seems that this platform doesn't guarantee that static variables aren't destroyed in reverse order of creation. 2018-11-19 10:54:46 -08:00
Robert Ramey
f297d80d6e Fixed errors in singleton
removed superfluous comma to avoid warning
2018-11-08 21:07:09 -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
52cbea8c16 fix gcc warning
bump library version number to 17
2018-05-03 22:56:07 -07:00
Robert Ramey
8378c75f32 corrections to singleton - tested on on all platforms 2017-11-23 12:05:46 -08:00
Robert Ramey
f94da2c724 correct error detected in MSVC regarding singleton initialization 2017-11-13 14:06:10 -08:00
Robert Ramey
eb35302b76 altered visibility settings for polymorphic_base. Hopefully this should fix text failures for test_dll_exported 2017-11-08 11:03:14 -08:00
Robert Ramey
71851223c3 changes to correct problems found on mingw and cygwin tests 2017-10-22 13:32:38 -07: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
Lee Clagett
dd09b03d33 Fixed bug where pointer iserializer can be NULL 2017-08-04 23:04:42 -04:00
Robert Ramey
eaf85795f3 adjustment to export codecvt_null<wchar_t> 2017-06-14 15:25:49 -07:00
Robert Ramey
0c8a1d615a fix as described in PR #53.
fixes warnings

Seen with all versions of msvc from (at least) 9.0 up to 14.1.
Signed-off-by: Daniela Engert dani@ngrt.de

fixed pr #53, #52, #50, #49, #34, #29, #23, #25, #20, #14, #7
2017-05-24 06:32:39 -07:00
Robert Ramey
b0a794da38 Trying to get minGW to function for serialization library
simplify singleton.hpp and singleton.cpp
alter appveyor.yml
2017-02-23 13:25:27 -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
26366fecb5 attempt to fix linking problems with singleton module 2016-11-18 09:33:32 -08:00
Robert Ramey
058f1fed43 fix utf8 convert selection - looks like msvc <codecvt> doesn't properly work with uff8_codecvt
Adjust val array to see if it can be made to acceptable to intel compiler
2016-11-17 23:22:50 -08:00
Robert Ramey
58b4f73c70 corrections to test invocation for lists 2016-11-14 14:30:01 -08:00
Robert Ramey
f09c9b197e correction to optional<T> serialization 2016-11-06 15:01:33 -08:00
Robert Ramey
8e26bc59db fixed GCC seg fault problem 2016-10-30 20:56:03 -07:00
Robert Ramey
8f7b3be1d2 made headers stand alone 2016-04-24 22:25:12 -07:00
Robert Ramey
fc9d311df9 changes to address some test failures 2016-04-15 12:53:16 -07:00
Robert Ramey
5988a816f9 correct dereference of iterator incremented past end() 2016-03-08 12:34:51 -08:00
Robert Ramey
6128dfce37 adjustment in auto linking of utf8 codecvt facet 2016-02-28 10:21:53 -08:00
Robert Ramey
1dcca5b67b make sure utf8 works with wide char archives 2016-02-27 21:05:21 -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
72ef8bf59a correction of visibility setup 2016-01-23 22:29:04 -08:00
Robert Ramey
0040321a7c another attempt to fix codecvt facet 2016-01-20 22:58:29 -08:00
Robert Ramey
00ede57216 fixing visibility for utf8_codecvt 2016-01-19 22:58:45 -08:00
Robert Ramey
d330deb82c return utf8 back to state of 22 ocober 2016-01-18 11:41:22 -08:00
Robert Ramey
2006c1633b fix compile errors in tests related to export 2016-01-17 10:33:06 -08:00
Robert Ramey
c5c233d857 correct placement of header 2016-01-17 10:05:40 -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
587b081d1d backing out dependence on boost locale.
revert to boost/detail/utf8_codecvt
2016-01-14 13:48:16 -08:00
Robert Ramey
2783e07993 adjustments for mdvc visibility 2015-11-14 22:59:42 -08:00
Robert Ramey
4083f81e3c Corrections to visibility for MSVC 2015-11-04 08:00:01 -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
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
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
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
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
40f6cfcc84 Fixed problems with new wchar/mbchar conversion
bumped archive version number
2015-10-02 15:03:02 -07:00
Robert Ramey
45610e25e4 changes to support visibility - by Edward Diener 2015-09-29 12:32:23 -07:00
Robert Ramey
4f83fc163a Miscellaneous fixes 2015-09-28 23:52:47 -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