100 Commits
Author SHA1 Message Date
Peter Dimov 96b876d91a Add README.md 2022-06-19 02:19:58 +03:00
Peter Dimov eb9ae4ac69 Update revision history 2022-06-19 01:30:17 +03:00
Peter Dimov 8fd487d496 Update documentation 2022-06-19 01:28:36 +03:00
Peter Dimov 5223c94aa9 Disable throws_assign_fail.cpp for GCC/release, because gcc-12 fails it at compile time 2022-06-18 23:07:41 +03:00
Peter Dimov a5ee3f291c Update ci.yml 2022-06-18 21:47:57 +03:00
Peter Dimov 4200b00973 Add converting constructor to result (refs #82) 2022-06-18 18:12:06 +03:00
Peter Dimov 533dfe1688 Update revision history 2022-05-05 21:17:09 +03:00
Peter Dimov 7dec756a6f Update documentation 2022-05-05 21:15:03 +03:00
Peter Dimov 648a35838b Remove unnecessary overloads 2022-05-05 05:12:08 +03:00
Peter Dimov 256fe92dbb Add error_code(error_code const& ec, source_location const* loc) and a corresponding assign 2022-05-05 05:02:37 +03:00
Peter Dimov 5debb8a041 Update revision history 2022-05-05 02:30:07 +03:00
Peter Dimov a97e5a0546 Move BOOST_NOINLINE to operator std::error_category 2022-04-22 22:41:26 +03:00
Peter Dimov dc17edfa07 Remove clang-win from appveyor.yml 2022-04-22 21:16:09 +03:00
Peter Dimov 65da7dfd56 Update result_error_construct tests to use sys::error_code instead of (erroneously) std::error_code 2022-04-22 19:52:19 +03:00
Peter Dimov 9279001b8c Check BOOST_NO_CXX11_HDR_MUTEX when enabling <system_error> integration 2022-04-22 16:49:03 +03:00
Peter Dimov 616e652bd7 Suppress strict-aliasing warning for gcc 4.8 to 6 2022-04-21 21:06:14 +03:00
Peter Dimov 98439855bd Use static_cast instead of reinterpret_cast 2022-04-21 20:52:02 +03:00
Peter Dimov 986efb1420 Rework conversion to std::error_category to not allocate (closes #78) 2022-04-21 20:32:25 +03:00
Peter Dimov 28a13571b9 Restore the original system::error_code from std::error_code (refs #79) 2022-03-18 18:24:01 +02:00
Peter Dimov 65ed1eef66 Add std_interop_test14.cpp (refs #79) 2022-03-18 08:12:05 +02:00
Peter Dimov 6de20eeebc Add std_interop_test13 2022-03-18 08:12:05 +02:00
Peter Dimov 0a9266ea7e Add a comment explaining the one-time allocation in error_category_impl.hpp. Fixes #78. 2022-03-18 08:11:16 +02:00
Peter Dimov adb9fc54cb Remove msvc-14.1 from ci.yml 2022-03-18 07:51:38 +02:00
Peter Dimov e197c5e803 Update documentation 2022-02-18 19:43:08 +02:00
Peter Dimov 6d7a57a970 Add throw_exception_from_error overload for std::exception_ptr 2022-02-18 02:55:34 +02:00
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
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
2021-11-17 06:24:18 +02:00
Peter Dimov 3b4045c149 Minor doc update 2021-11-17 04:11:15 +02:00
Peter Dimov 3d877a1fca Update meta/libraries.json 2021-11-11 04:51:03 +02:00
Peter Dimov 128bdf9db2 Minor usage section changes 2021-11-11 04:33:06 +02:00
Peter Dimov 0e84860604 Add another usage subsection 2021-11-11 04:09:49 +02:00
Peter Dimov 83a306f3bf Update introduction 2021-11-10 20:36:57 +02:00
Peter Dimov 7dce2e3f42 Change 'wrapping' to 'adapting' 2021-11-10 18:52:41 +02:00
Peter Dimov 292c6825c6 Add another usage subsection 2021-11-09 22:05:45 +02:00
Peter Dimov 0d90d3d883 Add myimg_category implementation to usage example 2021-11-08 20:50:41 +02:00
Peter Dimov 81fec2b171 Add another usage subsection 2021-11-07 23:45:25 +02:00
Peter Dimov 4e15afe5be Add error handling and programming categories to libraries.json 2021-11-07 20:32:42 +02:00
Peter Dimov 8d1a866920 Add a usage subsection on wrapping zlib errors 2021-11-05 22:05:23 +02:00
Peter Dimov 09466c85b4 Add another usage subsection 2021-11-05 20:38:03 +02:00
Peter Dimov baef8e50ea Rename 'Usage Examples' to 'Usage', add another subsection 2021-11-05 16:48:33 +02:00
Peter Dimov 5034f11a3a Add usage examples 2021-11-02 03:12:26 +02:00
Peter Dimov f78b036665 Update #if condition 2021-10-29 21:13:10 +03:00
Peter Dimov bfebaf53d7 Add static_assert to cmake_subdir_test 2021-10-28 23:48:03 +03:00
Peter Dimov 8338e80295 Enable syntax hightlighting 2021-10-28 23:17:20 +03:00
Peter Dimov 2b23aaab16 Add msvc-14.3 to ci.yml 2021-10-28 23:16:53 +03:00
Peter Dimov 7933300b6f Disable test on g++ 4.x because no std::io_errc 2021-10-11 03:30:50 +03:00
Peter Dimov 4ec1e54099 Enable error_code construction from enums specializing std::is_error_code_enum. Fixes #70. 2021-10-11 02:02:22 +03:00
Peter Dimov 5217e58a7d Enable implicit construction for aggregates using {{ ... }} 2021-10-02 22:07:05 +03:00
Peter Dimov ce37e23491 Protect against dangling references in op* and value() 2021-10-02 19:16:04 +03:00
Peter Dimov 420a262733 Fix warnings_test.cpp 2021-10-02 17:25:31 +03:00
Peter Dimov e15bccc09b Fix cmake_install_test/main.cpp 2021-10-02 16:57:38 +03:00
Peter Dimov bb775c071a Update system_error::what to use error_code::what 2021-10-02 15:00:40 +03:00
Peter Dimov 01676ae42f Update documentation 2021-10-02 14:47:07 +03:00