Commit Graph

1577 Commits

Author SHA1 Message Date
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
53a0388fec adjust to account for the fact that utf8 codecvt facet is used by users of serialization.dll 2015-10-20 09:57:32 -07:00
Robert Ramey
c05c59ca88 explicitly set stack depth for compilers 2015-10-20 07:48:35 -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
d1d6a4a100 Update examples and verify that the work 2015-10-11 12:36:32 -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 boost-1.60.0 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
763f204e80 resolution of issue related to private base classes 2015-10-02 08:22:03 -07: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
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
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 boost-1.59.0 2015-05-23 11:51:06 -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
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
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
ae41d09039 correct error in export macro for wide types 2015-04-25 08:09:31 -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