-
Notifications
You must be signed in to change notification settings - Fork 543
CXX-2796 Restore external polyfill library and stdlib support #1086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4f15b2e
Add BSONCXX_USE_POLY_IMPLS to configuration
eramongodb a69b3e3
Formatting
eramongodb 966a23f
Restore stdlib selection for make_unique.hpp
eramongodb d8296bc
Restore polyfill selection for string_view.hpp
eramongodb 0f165a8
CXX-641 fix usage of common flags in abidiff-test.sh
eramongodb 57acd57
Disable string_view tests for external library polyfills
eramongodb ea7309f
Add changelog entry for ENABLE_BSONCXX_USE_POLY_IMPLS
eramongodb e3d08d5
CXX-2797 Document ENABLE_BSONCXX_POLY_USE_IMPLS and deprecate externa…
eramongodb f773f30
CXX-2746 Ignore detail namespaces in abi-compliance-check-test.sh
eramongodb c274948
Add deprecation warnings for external polyfill library configurations
eramongodb 3bac3d6
Tweak wording of deprecation message to state _recommended_ behavior
eramongodb dd23ba6
Add impls to list of mutually exclusive polyfill options
eramongodb 75ad387
Fix endif comment in make_unique.hpp
eramongodb b44f70c
Merge remote-tracking branch 'upstream/master' into HEAD
eramongodb 552550b
Formatting
eramongodb e184c3f
Avoid including external symbols in v_noabi abidiff reports
eramongodb 852ce18
Restore polyfill selection for optional.hpp
eramongodb 27f7054
Ignore warnings for symbols unreferenced by debug info
eramongodb f9d9076
Fix scoped_bson_t ambiguous overloads for views and values
eramongodb 7a23d4a
Add missing include in catch.hh
eramongodb 5c343f8
Disable optional tests for external library polyfills
eramongodb d0f910c
Conditionally disable convertible ctor static assertion
eramongodb 8bdf1ed
Fix missing std::in_place equivalent for Boost before 1.63
eramongodb 39979f6
Improve quality of error messages for type trait assertions
eramongodb 2318708
Relax trait equality assertions for stdlib implementations
eramongodb 26257b9
Declare BUILD_TESTING as a CMake option variable
eramongodb 0b44dd8
Fix CCACHE_BASEDIR for Windows distros
eramongodb 2c12fbd
Update documentation comments for consistency
eramongodb 1b39989
Tweak description of ENABLE_BSONCXX_POLY_USE_IMPLS to mention "by def…
eramongodb d6eafaa
Tweak ordering of polyfills for consistency
eramongodb 26d2436
Add missing macro guards for BSONCXX_POLY_USE_STD
eramongodb 2039aac
Revert reintroduction of documentation for experimental stdlib polyfill
eramongodb bbf5dd5
Merge remote-tracking branch 'upstream/master' into cxx-2796
eramongodb 8715b73
Move common polyfill selection documentation into separate page
eramongodb 7c06aed
Tweak wording to recommend ENABLE_BSONCXX_POLY_USE_IMPLS=ON by default
eramongodb 2c43b52
Move polyfill-selection file to consistent directory placement
eramongodb 7cff319
Update references to polyfill-selection page
eramongodb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm iffy on this CMake setting name. It is unclear what it means compared to
USE_BOOST
,USE_STD
,USE_MNMLSTC
etc. I'm unfortunately not sure on what a better name might be.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went back and forth several times on what to name this configuration and settled on "bsoncxx implementations" -> "IMPLS" due to the ABI tag parameter
b
already being used for Boost. This wayi
can be used for "(bsoncxx) implementations". The hope is that descriptions and documentation will be enough to make its purpose/meaning clear.