Commit Graph

244 Commits

Author SHA1 Message Date
Robert Ramey
ae305113ff Merge pull request #287 from olologin/fix_for_multiple_bos_in_process
Use the first instance of bos during serialization
2023-09-01 15:14:12 -07:00
Robert Ramey
c241d3485c fix new requirement - if assigment is not defaulted, copy can't be either 2023-08-30 13:16:20 -07:00
Robert Ramey
9a72e5407b incremement archive version number
fix PR 274
fix PR 283
2023-08-24 11:47:59 -07:00
Robert Ramey
ab1da83f40 committing most pending PRs 2023-08-23 15:49:25 -07:00
Robert Ramey
5e8c130c5e Merge pull request #280 from ecatmur/deprecated-copy
Declare non-ODR-used copy constructor
2023-08-23 11:51:24 -07:00
olologin
b83e440efe Use the first instance of bos during serialization (for the case when there are multiple instances) 2023-07-20 16:35:37 +03:00
Ed Catmur
58d722996e Also: remove redundant copy assignment operator
since it deprecates the compiler-provided copy constructor

the compiler-provided copy assignment operator is identical
2023-02-22 23:01:21 +00:00
Ed Catmur
a456d33e25 Declare non-ODR-used copy constructor
The compiler-generated copy constructor is deprecated since C++11 on classes with user-declared copy assignment operator.

This change allows clean compilation with the -Wdeprecated-copy/-Wdeprecated-copy-with-user-provided-ctor flag.
2023-02-22 19:59:38 +00:00
Johannes Schauer Marin Rodrigues
48d47e4ed6 src/basic_archive.cpp: improve docs for archive version 19 2022-12-08 15:08:05 +01:00
Jean-Noël Grad
3fa5669d72 Spellcheck documentation and code comments 2021-12-31 18:16:03 +01:00
Robert Ramey
e7e5978a54 corrected over zealous trimming of hash_map include files
bumped archive version # just in case I broke something
cleaned up test set hashed and test map hashed.
2021-01-01 14:00:37 -08:00
Robert Ramey
812ef99dea changes made in the hope of eliminated “stable” error for functions previously defined in the header. Moved those function to codecvt_null.cpp 2020-07-10 11:24:31 -07:00
Robert Ramey
cfed656eb0 removed some in appropriate files
made adjustments regarding visibility macros in the hope of pacifying MSVC compilers
2020-06-29 13:40:09 -07: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
EugeneZelenko
753c157497 Use BOOST_OVERRIDE to fix GCC -Wsuggest-override and Clang-tidy modernize-use-override warnings. (#200)
Fix Clang -Wextra-semi and Clang-tidy modernize-redundant-void-arg and readability-redundant-control-flow warnings.
Also fix some misspellings in comments.
2020-05-30 12:37:53 -07:00
Robert Ramey
d0509483ed fixing template parameter in boost unordered map
bumping archive library version.
2020-01-21 14:14:05 -08:00
Robert Ramey
b22ffc63da Fixed some MACRO constants to be consistent with Boost Guidelines. 2019-12-16 06:43:53 -08:00
Robert Ramey
098019d074 fixed subtle bug in reset_object_address. Turns out that the address anything loaded as a pointer should not be altered. 2019-10-20 14:08:13 -07:00
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