Commit Graph

348 Commits

Author SHA1 Message Date
Peter Dimov
3c77288d52 Remove duplicate boost-install line from build/Jamfile 2019-11-10 00:49:32 +02:00
Lorenzo Caminiti
b0e285ed51 Merge branch 'develop'
Release 1.0.1

Cleanups and small fixes:

Using std::uncaught_exceptions on C++17 compilers onward (instead of the now obsolete std::uncaught_exception).
Fixed a few warnings.
Removed linking to Boost.System (Boost.System is now a header-only library).
Added this library to Boost's Continuous Integration (CI).
Fixed documentation typos.
2019-10-07 08:46:23 -07:00
Lorenzo Caminiti
e0ea5f5d71 fixed doc typos 2019-10-02 09:38:39 -07:00
Lorenzo Caminiti
f21fc7d711 reviwed files pulled from addition of Boost.CI 2019-10-01 10:03:27 -07:00
Lorenzo Caminiti
cffe67927a reviwed files pulled from addition of Boost.CI 2019-10-01 10:02:50 -07:00
Lorenzo Caminiti
2866f2a175 removed trailing const in T const* const that gives a warning on g++ -Wextra (because rvalue of built-in types cannot be made const, but not that the object T is made const which is all that matters for contract programming const-correctness) 2019-09-20 19:34:46 -07:00
Lorenzo Caminiti
dd21cbc51e added explicit failure for usban compiler 2019-09-17 19:26:09 -07:00
Lorenzo Caminiti
0a69e99916 using std::boolalpha instead of ints to print true and false (to try to fix issue that on some compilers true is printed as 1, but on other compilers is printed as 255) 2019-09-17 14:57:29 -07:00
Lorenzo Caminiti
ebcbce0531 finished to updated docs 2019-09-12 18:16:04 -07:00
Lorenzo Caminiti
f3721a747d finished to review extra doc section 2019-08-21 21:27:46 -07:00
Lorenzo Caminiti
0c14650e5e reviewed doc up to extra section. also edited some examples as a result. added if_constexpr example for assertion requirements (templates). 2019-08-18 21:56:02 -07:00
Lorenzo Caminiti
3ddfca1ab2 fixed typo in README 2019-06-09 13:16:39 -07:00
Lorenzo Caminiti
2367637d92 fixing some links in README 2019-06-09 13:09:48 -07:00
Lorenzo Caminiti
e378f2c04d
Merge pull request #25 from jeking3/ci
Fix coverity scan badge links [ci skip]
2019-06-06 21:01:46 -07:00
James E. King III
e7e0d50aca Fix coverity scan badge links [ci skip] 2019-06-06 14:48:45 -04:00
Lorenzo Caminiti
43b60cc71d
Merge pull request #24 from jeking3/ci
Add CI framework
2019-06-05 16:05:35 -07:00
Lorenzo Caminiti
d5e656f0b5 proof-reading docs 2019-06-05 15:56:56 -07:00
Lorenzo Caminiti
746c9f3d47 updting docs for next release 2019-06-04 12:05:07 -07:00
Lorenzo Caminiti
785db8a485 un-done some of the generalizations of the expected failrues beacuse they were too generic and flagged as expected failures also some compilers/platforms that passed. fixed (again) the union example attempting to remove the valgrind warning. 2019-06-04 12:00:18 -07:00
James E. King III
dc61522241 Add CI framework
- travis with valgrind, cppcheck, ubsan, codecov, covscan (future)
  - appveyor with MSVC 2010 through 2017, cygwin 32/64, mingw 32/64
  - README, LICENSE, etc.
2019-06-04 12:13:14 -04:00
Lorenzo Caminiti
eedf51b2c6 removed linking to boost.system because that library is now header-only. also fixed the union example, reverting back some changes i made recently to fix a valgrind warning... i added a copule of data member initialization that hopefully will take care of the valgrind warning, otherwise that warning should be ignored. 2019-06-03 08:18:26 -07:00
Lorenzo Caminiti
6783b3f388 using 1 instead of true to check result of call_if using boost::bind (because on one compiler such result type is not deduced as bool, true was printed on the oteststream as 255 instead of 1, and a couple of tests failed at run-time) 2019-06-02 09:04:02 -07:00
Lorenzo Caminiti
daef70d661 generalized some of expected failures to handle multiple toolsets (assuming this will not make some expected failure pass... i will double check that) 2019-05-31 15:55:34 -07:00
Lorenzo Caminiti
96d936ee10 generalized test expected failures to handle both results from develop and master 2019-05-31 15:48:35 -07:00
Lorenzo Caminiti
11604d4efd fixed a couple of run-time errors for some call_if tests on some clang c++17 compilers 2019-05-31 10:22:10 -07:00
Lorenzo Caminiti
ebe44e53a7 fixed a few warnings and expected failures in tests 2019-05-30 21:30:38 -07:00
Lorenzo Caminiti
5a72a905dd fixed auto_..._error tests for c++17 and later 2019-01-14 07:29:25 -08:00
Lorenzo Caminiti
626eb5256b fixing a few more gcc/clang warnings 2019-01-13 14:35:14 -08:00
Lorenzo Caminiti
3ec0716830 disabled a few more msvc warnings 2019-01-13 14:18:36 -08:00
Lorenzo Caminiti
366d2eb6ec trying to fix auto_..._error tests to detect c++17 using boost.config macros (because msvc does not correctly set __cplusplus...) 2019-01-12 19:40:10 -08:00
Lorenzo Caminiti
22bc450de0 fixing markups of some expected failures in the test regression table 2019-01-11 15:37:52 -08:00
Lorenzo Caminiti
050a2a1e5a fixed a few warnings on most common compilers (msvc, gcc, clang) 2019-01-11 04:50:53 -08:00
Peter Dimov
ea15163694 Add boost-install to build/Jamfile 2019-01-10 16:53:10 +02:00
Lorenzo Caminiti
da5e3297e5 reworked a bit the union example 2019-01-07 13:54:44 -08:00
Lorenzo Caminiti
5c10c0dc9d committed a possible fix to the union example to fix a valgrind error, but i did not confirm this actually fixes the problem yet (possible fix for github issue #18) 2019-01-07 08:30:55 -08:00
Lorenzo Caminiti
3b62a2df3c fixed a bjam unescaped charcter warning (fixes github issue #11) 2019-01-06 07:48:18 -08:00
Lorenzo Caminiti
b55979af18 replaced std::uncaught_exception with boost::contract::detail::uncaught_exception because the std::... one will be removed in C++20 (githug issue #16). removed test/function/except_throw.cpp file that was unused (it was an old version of test/function/throwing_old.cpp that was left in the repository by mistake) 2019-01-06 06:50:50 -08:00
Lorenzo Caminiti
cb0491858d replaced std::uncaught_exception with boost::contract::detail::uncaught_exception because the std::... one will be removed in C++20 (githug issue #16). removed test/function/except_throw.cpp file that was unused (it was an old version of test/function/throwing_old.cpp that was left in the repository by mistake) 2019-01-06 06:50:11 -08:00
Lorenzo Caminiti
48badf30c8 fixed specify-auto_..._error tests that are no longer valid on C++17 or later compilers due to guaranteed copy elision (by forcing expected compiler error on C++17 and later compilers) 2019-01-06 05:40:51 -08:00
Peter Dimov
69d9a6a724
Merge pull request #10 from boostorg/pr/use-boost-install
Add boost-install to build/Jamfile
2018-10-12 05:55:58 +03:00
Peter Dimov
0ff25f7e1b Add boost-install to build/Jamfile 2018-10-06 01:36:11 +03:00
Lorenzo Caminiti
27dba1d8e9 added (msvc) auto linking support for static and shared variants of the library 2018-03-25 21:04:37 -07:00
Lorenzo Caminiti
5777d71caa fixed a couple of documentation typos 2018-02-09 20:25:26 -08:00
Lorenzo Caminiti
4d8bdb7bf5 fixing doxygen doc generation 2018-02-08 07:36:01 -08:00
Lorenzo Caminiti
0b8e07ac83 changed toolset names for a couple of expected failures 2018-02-07 23:00:14 -08:00
Lorenzo Caminiti
b91ee9bf98 added some @cond statments to disable doxygen generation for some more internal symbols 2018-02-06 09:58:01 -08:00
Lorenzo Caminiti
0e3cab0f89 marked excpected failures for crystal android compilers 2018-02-06 09:15:43 -08:00
Daniel James
1548715048 Use glob to get full path to headers
The headers paths are used relative to the current working directory,
normally this is `/libs/contract/doc`, but in the release build it's `/doc`.
So none of the doxygen paths were working. By running them through `glob`
they'll be translated to their full path.
2018-01-26 21:47:15 +00:00
Daniel James
bf7ad43ffd Use 'using' for all required documentation tools 2018-01-26 18:29:02 +00:00
Lorenzo Caminiti
b26b66b3dc fixed a couple of types in docs, README, an example, library summary, and explicit failures. removed explicit failures due to boost::type_traits now fixed in master. 2018-01-20 10:08:22 -08:00