Skip to content
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

WIP: Remove dependency on Boost.TypeTraits library [ci skip] - compare against old develop #1

Closed
wants to merge 387 commits into from

Conversation

mloskot
Copy link
Owner

@mloskot mloskot commented Aug 26, 2018

*This is sample PR to compare the ml/remove-boost-type-traits changes against old pre-Boost 1.68 develop - that is before it got broken.


Replace uses of Boost.TypeTraits with C++11 <type_traits> features.
Replace custom Boost.TypeTraits specializations injected into
boost namespace with equivalents injected std namespace.
Replace Boost.MPL type bool_, constants false_ and true_ with C++11
std::false_type and std::true_type.
Define std::bool_constant for compilers w/o C++17 features.

Description: what does this pull request do?

Environment

All relevant information like:

  • Boost version (see <boost/version.hpp>):
  • Compiler version:
  • Build settings:

References (eg. other issues, pull requests)

Tasklist

  • YOUR TASK(S)
  • Add test case(s)
  • Review
  • Adjust for comments
  • All CI builds and checks have passed

chhenning and others added 30 commits May 28, 2014 14:35
This deletes a few files that were previously deleted in develop, in 243fa33.
…d switch extrasamples property to work in this way. Add ability to load and save ICC colour profile information.
… to 1,1 (which I hope / think means square pixels of unknown size).
Removed inclusion of the boost/cast.hpp (functions from this library wer...
This reverts commit 5e607cb, reversing
changes made to 7b2f0cf.
Currently GIL refuses to load TARGA files whose screen origin is
in the upper left-hand corner.  See Trac ticket 8429 for sample
image files created from GIMP 2.
Fix includes in extension/numeric/convolve.hpp
The build variants enable group of checks offered by clang
UndefinedBehaviorSanitizer detector.

Add sanitizers suppression file in .ci/blacklist.supp based on
copy of the file from Boost.Beast.

Update Travis CI:
  - Add .ci/build-and-test.sh script as handy proxy for b2 command.
  - Add build jobs for each of the three new UBSan variants.
  - Display COMPILER and VARIANT first as these two are most important
    details while inspecting the build matrix
    (TOOLSET can be derived from COMPILER).
Add Boost.Build variants for UBSan-enabled builds
To be used as #ifdef test for definitions that should be preprocessed
only by Doxygen, but skipped during normal compilation.
Rename GIL_NONWORD_POINTER_ALIGNMENT_SUPPORTED
    to BOOST_GIL_CONFIG_HAS_UNALIGNED_ACCESS.
Undefine BOOST_GIL_CONFIG_HAS_UNALIGNED_ACCESS by default and document it.
If defined, issue warning or error, depending on target platform.

This changes how packed_channel_reference_base-based channels perform
access - aligned memory access by default.

This also fixes undefined behavior detected by UBSan in some test cases.
To be used as #ifdef test for definitions that should be preprocessed
only by Doxygen, but skipped during normal compilation.
tools/boostdep/depinst/depinst.py helper automatically calculates
maximum set of required Boost libraries, based on #include-s.

Manual listing should help to control any new additions
and prevent introduction of unwanted dependencies.
[travis] List required Boost libraries explicitly
…nter-access

Disable unaligned pointer access
Group list of deps for easy identification of direct ones.
Add --quiet option to git submodule commands on Travis CI.
[appveyor] List required Boost libraries explicitly
Replace boost::array with C++11 std::array.
Replace lexical_cast with C++11 std::to_string function.
…cast

Remove dependency on boost::lexical_cast
Replace using namespace std import with full std:: qualification.
Unify tests set with Jamfile and fabscript definitions.
Search for libtiffxx and tiffio.hxx with C++ stream
interface for TIFF - required by I/O.
Replace boost::shared_ptr with C++11 std::shared_ptr.
Replace uses of Boost.TypeTraits with C++11 <type_traits> features.
Replace custom Boost.TypeTraits specializations injected into
boost namespace with equivalents injected std namespace.
Replace Boost.MPL type bool_, constants false_ and true_ with C++11
std::false_type and std::true_type.
Define std::bool_constant for compilers w/o C++17 features.
@mloskot
Copy link
Owner Author

mloskot commented Oct 29, 2018

This attempt has been dropped

@mloskot mloskot closed this Oct 29, 2018
@mloskot mloskot deleted the ml/remove-boost-type-traits branch October 29, 2018 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet