Robert Ramey
f3eaf91ca1
tests have been taken over by developers of boost unordered
2023-10-31 14:32:34 -07:00
Robert Ramey
a2f93247e2
uploading changes regarding unordered ...
...
uploading tweaks to CMakeLists.txt so accommodate static linking
2023-10-20 15:20:43 -07:00
Robert Ramey
01c26ba107
Merge pull request #292 from cmazakas/ubsan-fixes-v2
...
ubsan fixes v2
2023-10-20 13:42:37 -07:00
Robert Ramey
404e0a31ae
Merge pull request #289 from cmazakas/unordered-serialization
...
Remove serialization support from Boost.Unordered containers
2023-10-13 12:48:01 -07:00
Robert Ramey
897dec4c01
imported/implemented boost/serialization/variant and test_variant
...
imported/implemented boost/serialization/variant now contains code for serialization of boost::variant, boost::variant2 and std::variant. Care has been taken to depend only on the public interfaces of these types. Hence, it is reasonable to hope that the archives are compatible in that one type could be saved and subsequently loaded into a compatible type. Hopefully this will be useful in some way. At a minimum it minimizes code duplication.
2023-09-18 10:49:21 -07:00
Christian Mazakas
f28482232d
Remove serialization support from Boost.Unordered containers
...
Unordered now supports its Serialization functions so the headers just need to be updated to keep backwards compatibility
2023-09-11 14:52:51 -07:00
Christian Mazakas
6388138a0c
Fix invalid vptr access in extended_type_info_no_rtti constructor
...
Initializing a base class in the initializer list with a member function in the derived is invalid in gcc as the object isn't fully-formed
We instead just inline the body of `get_key()` which avoids the issue.
2023-09-11 13:59:51 -07:00
Christian Mazakas
8d0fbb79f3
Fix invalid downcast in ~xml_oarchive_impl
...
The destructor of the xml_oarchive_impl winds up calling `this->windup()` which in turn invokes `this->This()->...` which essentially static_cast's to a Archive, which by this point in time is long-since destructed.
By simply inlining the implementation of windup(), we avoid the UB and minimize the required code changes
2023-09-11 13:59:51 -07:00
Robert Ramey
61a2b12076
altered boost optional to depend only public interface functions declared in std::optional.
...
adjusted test_optional to test serialization of both boost::optional and std::optional
2023-09-08 09:54:14 -07:00
Robert Ramey
5ba9e77ad6
Merge pull request #299 from boostorg/revert-163-add-std-optional-support
...
Revert "Add serialization for std::optional"
2023-09-03 14:37:14 -07:00
Robert Ramey
74c46ec43c
Revert "Add serialization for std::optional"
2023-09-03 14:36:59 -07:00
Robert Ramey
1af820b02e
Merge pull request #163 from sdebionne/add-std-optional-support
...
Add serialization for std::optional
2023-09-03 14:19:57 -07:00
Robert Ramey
cb729f5d88
Merge pull request #148 from sdebionne/add-std-variant-support
...
Add support for C++17 std::variant
2023-09-03 13:06:00 -07:00
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
9cd8257b08
Merge commit '6bf961f31e7e13c18548b553070e132347d2b58b' into develop
...
* commit '6bf961f31e7e13c18548b553070e132347d2b58b':
Guard MSVC pragmas from clang-cl
2023-08-29 15:05:10 -07:00
Peter Dimov
030b627dce
Fix clang-cl regression introduced by #282
2023-08-28 17:37:15 +03:00
Robert Ramey
14b10185de
correction in previous merge
2023-08-27 07:40:09 -07:00
Robert Ramey
0e15a5984b
Merge commit 'f395fa35faf32a89de4673fa54635eeb5eb39f0c' into develop
...
* commit 'f395fa35faf32a89de4673fa54635eeb5eb39f0c':
Remove debug output from util/test.jam
2023-08-26 22:27:29 -07:00
Robert Ramey
dfe5c018f8
Merge commit '48a60a2bbb6b214d3c295fc2943aff22db63a944' into develop
...
* commit '48a60a2bbb6b214d3c295fc2943aff22db63a944':
Remove C++03 from GHA, because Variant and LexicalCast no longer compile under C++03
2023-08-26 22:27:05 -07:00
Peter Dimov
f395fa35fa
Remove debug output from util/test.jam
2023-08-26 00:27:50 +03:00
Peter Dimov
52bcaffa8c
Fix Sub::operator== signature to avoid ambiguity errors in C++20
2023-08-26 00:08:48 +03:00
Peter Dimov
48a60a2bbb
Remove C++03 from GHA, because Variant and LexicalCast no longer compile under C++03
2023-08-25 20:57:19 +03: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
60a28371c5
Merge pull request #288 from cmazakas/xml-ubsan-fixes
...
XML ubsan fixes
2023-08-23 11:58:32 -07:00
Robert Ramey
2cda20b221
Merge pull request #285 from SilverPlate3/BOOT_CLASS_EXPORT__Issue222
...
Change BOOT_CLASS_EXPORT to BOOST_CLASS_EXPORT
2023-08-23 11:55:32 -07:00
Robert Ramey
ae69bf4ba9
Merge pull request #284 from mborland/gha
...
Use containers to supported deprecated OS with GHA
2023-08-23 11:53:50 -07:00
Robert Ramey
f3c564c1fd
Merge pull request #282 from boostorg/better_config
...
Simplify no wstreambuf support.
2023-08-23 11:52:32 -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
Robert Ramey
bb4d07e874
Merge pull request #277 from TobiasLange75443/develop
...
add ':' (colon) as valid char for an XML tag
2023-08-23 11:50:08 -07:00
Robert Ramey
cc2d5dc850
Merge pull request #276 from Romain-Geissler-1A/fix-deprecated-copy-warning
...
Fix clang -Wdeprecated-copy warning when using -std=gnu++2b in boost/archive/detail/helper_collection.hpp
2023-08-23 11:47:41 -07:00
Robert Ramey
7d0e15503f
Merge pull request #275 from josch/document-archive-version-19
...
src/basic_archive.cpp: improve docs for archive version 19
2023-08-23 11:43:46 -07:00
Christian Mazakas
d56e16b391
Replace static_cast with reinterpet_cast in interface_oarchive
...
There's no inheritance so static_cast'ing to a base is incorrect, instead we use reinterpret_cast with the common initial sequence to avoid ubsan failures
2023-08-22 12:44:58 -07:00
Christian Mazakas
0e64d96019
Update xml_escape::fill() to default assign bstart, bend to an empty string
...
This avoids an extraneous warning when running Serialization code through ubsan which flags increments to a nullptr
The relevant condtional check (`++m_bnext < m_bend`) still passes with this change
2023-08-22 12:43:39 -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
SilverPlate3
2aabad74cc
Change BOOT_CLASS_EXPORT to BOOST_CLASS_EXPORT
2023-07-08 14:35:34 +03:00
Matt Borland
5b08b01437
Add clang-win and MSVC 14.3
2023-07-07 10:03:06 +02:00
Matt Borland
9bd9550ad1
Suppress additional polymorphic UB warning
2023-07-06 10:39:00 +02:00
Matt Borland
be9421f80f
Suppress UB warning
2023-07-05 17:27:02 +02:00
Matt Borland
cf5d908a8b
Add msvc-14.0
2023-07-05 17:06:07 +02:00
Matt Borland
856eb3a567
Reduce UBSAN runs
2023-07-05 11:23:05 +02:00
Matt Borland
efddba7b8f
Change concurrency to support multiple workflows
2023-07-05 11:19:50 +02:00
Matt Borland
ef7e8c4ca5
Change tested language standards
2023-06-30 15:19:25 +02:00
Matt Borland
a0d30cbb18
Add null check
2023-06-30 13:58:34 +02:00
Matt Borland
a278309f29
Update windows version and add concurrency feature
2023-06-29 13:03:57 +02:00
Matt Borland
85cb258dd2
Fix package being installed
2023-06-29 13:01:33 +02:00
Matt Borland
87e657de24
Change shell to bash
2023-06-29 09:38:51 +02:00
Matt Borland
7a70b2fca2
Increase timeout time
2023-06-28 18:14:06 +02:00
Matt Borland
b7b504829f
Use containers to supported deprecated OS with GHA
2023-06-28 08:23:07 +02:00