Commit Graph

417 Commits

Author SHA1 Message Date
Peter Dimov
78a1813c13 Merge branch 'develop' into feature/use-utf8 2018-10-02 04:36:25 +03:00
Peter Dimov
342400c7ec Add a quick test with -Wall -Werror 2018-10-02 04:34:33 +03:00
Peter Dimov
1b4c7f366d Minor grammar fixes 2018-10-02 04:03:39 +03:00
Peter Dimov
af2edc5bea Add .gitignore 2018-10-02 02:59:42 +03:00
Peter Dimov
1e6dc86a68 Change code to match documentation 2018-10-02 02:59:03 +03:00
Peter Dimov
efff0260f7 Add changes, reference; fix trailing whitespace 2018-10-02 02:58:21 +03:00
Peter Dimov
62ca8e6d8c Add asciidoc documentation 2018-10-01 19:20:52 +03:00
Peter Dimov
584f9731ad Refactor BOOST_SYSTEM_USE_UTF8 code 2018-10-01 17:40:16 +03:00
Peter Dimov
f821d5e74a Add failed_constexpr_test.cpp 2018-09-22 21:06:31 +03:00
Peter Dimov
91aeb86f57 Disable constexpr on g++ 5 2018-09-22 21:00:06 +03:00
Peter Dimov
e7c1079c4f Try to work around g++-5 constexpr issue in failed_impl 2018-09-22 20:05:31 +03:00
Peter Dimov
be972baaa3 Add a constructor to http_category_impl to placate clang++-3.8 and below 2018-09-22 19:33:04 +03:00
Peter Dimov
f48cc5aec6 Add failed() 2018-09-22 17:34:40 +03:00
Peter Dimov
349fb30e8e Remove the user-provided ~error_category in C++03 mode, to fix use after main 2018-09-22 16:15:49 +03:00
Peter Dimov
08dc402e77 Simplify after_main_test 2018-09-22 15:40:19 +03:00
Peter Dimov
a627662e63 Add after_main_test 2018-09-22 15:17:47 +03:00
Peter Dimov
1d4de72899 Merge branch 'feature/message_r' into develop 2018-09-22 00:04:48 +03:00
Peter Dimov
d966de437e Update and collapse Appveyor configurations 2018-09-21 20:51:24 +03:00
Peter Dimov
b300fdeef4 Use CP_UTF8 when BOOST_SYSTEM_USE_UTF8 is defined 2018-09-21 20:45:44 +03:00
Peter Dimov
24179e73c9 Move message() at its standard place, next to its other overload 2018-09-21 17:19:50 +03:00
Peter Dimov
c182707dfe Merge branch 'develop' into feature/message_r 2018-09-21 17:08:31 +03:00
Peter Dimov
d79e38e5d5 Remove noexcept from conversions to std::error_code/condition; they allocate and can throw 2018-09-21 17:07:51 +03:00
Peter Dimov
73de31c541 MinGW32 doesn't have std::snprintf 2018-09-21 16:01:29 +03:00
Peter Dimov
7b401cef93 Improve Windows implementation of message() 2018-09-21 06:45:56 +03:00
Peter Dimov
e180bfe37e Add system_category_test; fix Windows implementation 2018-09-21 04:51:50 +03:00
Peter Dimov
ec93d058fe Add a noexcept overload of message() taking a buffer 2018-09-21 03:16:55 +03:00
Peter Dimov
a4e700ecf4 Merge branch 'feature/header-only' into feature/merge-header-only 2018-09-19 14:05:33 +03:00
Peter Dimov
af9646c582 Fix #endif placement 2018-09-19 01:10:12 +03:00
Peter Dimov
70d16a61e6 Merge branch 'feature/header-only' into feature/merge-header-only 2018-09-18 22:32:42 +03:00
Peter Dimov
3a41aaabad Revert "MSVC requires __declspec(dllimport) for variables"
This reverts commit 4b7018de85.
2018-09-18 22:32:26 +03:00
Peter Dimov
46d383b3bd Revert "Disable constexpr on msvc-14.1"
This reverts commit 3bdea5dfa3.
2018-09-18 22:30:56 +03:00
Peter Dimov
9afd678532 Revert "Add BOOST_SYMBOL_VISIBLE to generic_error_category and system_error_category, to placate ubsan"
This reverts commit a9909bb82b.
2018-09-18 22:30:54 +03:00
Peter Dimov
68c89304f2 Revert "Sprinkle more BOOST_SYMBOL_VISIBLE throughout"
This reverts commit bbd0a3766d.
2018-09-18 22:30:52 +03:00
Peter Dimov
0272ea0ea5 Revert "Revert "Use enable_if from type_traits""
This reverts commit ca68b08511.
2018-09-18 22:30:50 +03:00
Peter Dimov
c4626e0413 Revert "Normalize Core includes"
This reverts commit ff7116404b.
2018-09-18 22:30:40 +03:00
Peter Dimov
515fbb21b4 Use strerror_r on glibc 2018-09-18 22:21:13 +03:00
Peter Dimov
7d38263d71 Add an empty main() in win32_hresult_test when not on Windows 2018-09-17 20:25:13 +03:00
Peter Dimov
465e9e019e Remove noexcept from operator std::error_category const& (allocates and can throw) 2018-09-17 20:12:10 +03:00
Peter Dimov
11a908a3fe Fix hash_value 2018-09-17 18:18:37 +03:00
Peter Dimov
11b07164c1 Add win32_hresult_test 2018-09-17 17:29:50 +03:00
Peter Dimov
96320384cc Revert unnecessary changes to error_code.cpp 2018-09-17 17:08:25 +03:00
Peter Dimov
a9e56e1a6a Remove dependency on type_traits 2018-09-17 03:21:42 +03:00
Peter Dimov
041678752b Revert deletion of BOOST_*_API check 2018-09-17 02:55:40 +03:00
Peter Dimov
ff7116404b Normalize Core includes 2018-09-17 02:47:34 +03:00
Peter Dimov
ca68b08511 Revert "Use enable_if from type_traits"
This reverts commit f92c0fc9b7.
2018-09-17 02:39:32 +03:00
Peter Dimov
56651f6633 Disable <system_error> interoperation on g++ 4.4/4.5 2018-09-16 20:49:33 +03:00
Peter Dimov
fe1dbd9df9 Use g++-8, clang-6 with libstdc++-5 for UBSan (libstdc++-4.9's map triggers errors in end()) 2018-09-16 20:36:02 +03:00
Peter Dimov
6bd05dc92d Add BOOST_SYMBOL_VISIBLE to category classes to placate UBSan 2018-09-16 19:32:38 +03:00
Peter Dimov
bbd0a3766d Sprinkle more BOOST_SYMBOL_VISIBLE throughout 2018-09-16 13:53:11 +03:00
Peter Dimov
a9909bb82b Add BOOST_SYMBOL_VISIBLE to generic_error_category and system_error_category, to placate ubsan 2018-09-16 08:00:24 +03:00