Commit Graph

732 Commits

Author SHA1 Message Date
Peter Dimov 00c71cf388 Add throw_exception_from_error overloads for boost::system::errc, std::errc 2022-02-17 21:55:47 +02:00
Peter Dimov d930cea481 Update documentation 2022-02-14 02:05:44 +02:00
Peter Dimov 4f09f4adde Use throw_with_location in throw_exception_from_error 2022-02-13 22:50:20 +02:00
Peter Dimov abd62362ef Update documentation 2022-02-09 20:52:23 +02:00
Peter Dimov 8d8e6a90de Add an errc::make_error_code overload taking a source location 2022-02-09 20:41:34 +02:00
Peter Dimov 716c2ed8ef Disable result tests on GCC 4.7 2022-02-07 21:40:26 +02:00
Peter Dimov 46a5ecd490 Do not include boost/system/result.hpp on GCC 4.7 2022-02-07 21:38:14 +02:00
Peter Dimov 79f4ef0416 Remove .drone.star 2022-02-07 21:34:11 +02:00
Peter Dimov d0a8f7fbb7 Squash-merge feature/drone-jsonnet into develop 2022-02-07 21:33:48 +02:00
Peter Dimov bc07ab1e25 Update .drone.star 2022-02-07 05:09:49 +02:00
Peter Dimov c6bff94709 Update std_interop_test12.cpp 2022-02-07 04:35:44 +02:00
Peter Dimov ae079810be Add std_interop_test12.cpp 2022-02-07 04:30:50 +02:00
Peter Dimov 928de55563 Update .drone.star 2022-02-07 03:47:42 +02:00
Peter Dimov 442138de0a Update .drone.star 2022-02-07 03:41:35 +02:00
Peter Dimov de610efd53 Move conditions to detail/config.hpp 2022-02-07 03:16:23 +02:00
Peter Dimov 4b143cdacc Use BOOST_LIBSTDCXX_VERSION instead of BOOST_GCC; update syscat condition 2022-02-07 03:02:57 +02:00
Peter Dimov a1cb578f52 Update .drone.star 2022-02-07 02:55:54 +02:00
Peter Dimov 96b5073b79 Update .drone.star 2022-02-07 02:03:13 +02:00
Peter Dimov 2bff5c7071 Update .drone.star 2022-02-07 01:27:59 +02:00
Peter Dimov 137128176d Update .drone.star 2022-02-07 01:14:28 +02:00
Peter Dimov e0e0f56eae Update .drone.star 2022-02-07 00:54:07 +02:00
Peter Dimov 58d55a67e5 Update .drone.star 2022-02-07 00:01:53 +02:00
Peter Dimov 34dcb59ee8 Update drone.bat 2022-02-06 23:30:19 +02:00
Peter Dimov 33f6ecba31 Update Drone files 2022-02-06 23:21:40 +02:00
Peter Dimov 23fbfb1ffa Update .drone.star 2022-02-06 22:55:48 +02:00
Peter Dimov 5366407135 Add Windows jobs to Drone 2022-02-06 22:42:19 +02:00
Peter Dimov 72a79b1dcb Disable -Wsign-compare for GCC 4.4 2022-02-06 22:29:28 +02:00
Peter Dimov a5c1ab042e Update Drone files 2022-02-06 22:25:45 +02:00
Peter Dimov c2beb75d66 Merge pull request #59 from sdarwin/drone
Drone config
2022-02-06 22:08:07 +02:00
Peter Dimov 54d9f4f38a Update documentation 2022-02-05 19:25:43 +02:00
Peter Dimov b92be6417a Add a source_location parameter to throw_exception_from_error 2022-02-05 05:24:29 +02:00
Peter Dimov 245fff8af3 Update ci.yml 2022-02-05 03:11:09 +02:00
Peter Dimov c359af3141 Update system_error constructors 2022-02-04 21:34:14 +02:00
Peter Dimov 50cad72fac Update system_error_test3.cpp 2022-02-04 21:22:35 +02:00
Peter Dimov 9554d8bbd3 Suppress incorrect warnings from GCC 7/8 2022-02-03 19:02:19 +02:00
Peter Dimov cf9d986871 Update documentation 2022-02-03 18:47:53 +02:00
Peter Dimov a5d68e52e6 Add throw_exception_from_error overload for std::error_code 2022-02-03 18:35:42 +02:00
Peter Dimov 9c6a09f41d Mark throw_exception_from_error as noinline 2022-02-03 09:37:59 +02:00
Peter Dimov b9c26b9fa0 Add detail::system_error_category_message, use it in error_code::message 2022-02-03 05:47:43 +02:00
Peter Dimov 2e2430c4fa Add error_code::category_name helper, use it in to_string 2022-02-03 04:36:58 +02:00
Peter Dimov 4b1caad727 Avoid sign conversion warnings in error_code::value 2022-01-19 17:30:56 +02:00
Peter Dimov 5b96abbaa8 Undeprecate linux_error.hpp (closes #77) 2021-12-27 02:53:04 +02:00
Peter Dimov 2e1c800d82 Update appveyor.yml 2021-12-21 22:35:10 +02:00
Peter Dimov 04a79d710f Merge branch 'fix_error_code_wostream' of https://github.com/MarcelRaad/system into feature/pr-76 2021-12-21 19:51:50 +02:00
Peter Dimov 5700936367 Add ec_wstream_test (refs #76) 2021-12-21 19:51:08 +02:00
Marcel Raad 86b031cab9 Fix error_code's operator<< for arbitrary basic_ostream specializations
This fixes a regression from commit
https://github.com/boostorg/system/commit/a9b64a888a24400cc2af9910a6ff88c3c4fd3210.
Calling `operator<<` with `std::string` only works for `std::ostream`.
Use `c_str()` to restore the previous behavior of using `const char*`,
which works for any `basic_ostream` specialization.
2021-12-21 13:17:26 +01:00
Peter Dimov 204e65f725 Add msvc-14.0 to GHA 2021-12-11 03:42:52 +02:00
Peter Dimov 01ce081470 Disable errc_t -> arithmetic conversions when initializing result (closes #74) 2021-12-11 01:22:08 +02:00
Peter Dimov 8c9ceba775 Add negative test for constructing result<int> from errc_t (refs #74) 2021-12-09 20:19:05 +02:00
Peter Dimov 91c0dd9a74 Merge pull request #73 from kpushkaryov/patch-1
Fix a typo
boost-1.78.0
2021-11-17 06:24:18 +02:00