2
0
mirror of https://github.com/boostorg/system.git synced 2026-01-19 04:42:12 +00:00

Commit Graph

  • d17f7d7fe6 Fix unused variable warning Peter Dimov 2021-09-16 19:32:22 +03:00
  • 36843a4e2d Fix unused variable warnings Peter Dimov 2021-09-16 19:30:28 +03:00
  • a6c988181e Include result.hpp in <boost/system.hpp> Peter Dimov 2021-09-16 19:25:26 +03:00
  • 10572b7a59 Trim includes in system_error.hpp Peter Dimov 2021-09-16 19:21:27 +03:00
  • fe3d0e6c14 Update all references to <system_error> to refer to Boost.System Peter Dimov 2021-09-16 19:16:30 +03:00
  • ae77563039 Define result in boost::system instead of in boost::result Peter Dimov 2021-09-16 18:56:35 +03:00
  • fd852c675e Add <boost/system/result.hpp> Peter Dimov 2021-09-16 18:47:05 +03:00
  • 6156076dab Specify assign in terms of construction and assignment Peter Dimov 2021-09-16 18:13:55 +03:00
  • 984f8f1a92 Reorder constructor overloads Peter Dimov 2021-09-16 18:04:27 +03:00
  • b507b2294e Unbreak the loc == 0 case, even though the specification disallows it Peter Dimov 2021-09-16 03:12:20 +03:00
  • 39ad22d660 Update reference Peter Dimov 2021-09-16 03:07:32 +03:00
  • 3b70265ced Rearrange error_code::failed to improve codegen Peter Dimov 2021-09-15 16:42:47 +03:00
  • a65b91b3fb Merge branch 'develop' into feature/source-location Peter Dimov 2021-09-15 16:06:55 +03:00
  • bed0d59d22 Disable failing tests under g++ 7 -std=c++17 Peter Dimov 2021-09-15 15:23:52 +03:00
  • 5e642b1d43 Remove error_condition::failed_ in order to prioritise construction efficiency over failed() efficiency (latter is rare for conditions) Peter Dimov 2021-09-15 14:54:26 +03:00
  • b35b47d8c2 Reformat what() message slightly Peter Dimov 2021-09-15 13:42:54 +03:00
  • f21035f8af Move location to the end of what() Peter Dimov 2021-09-15 07:58:24 +03:00
  • cd98f4edd7 Update system_error to incorporate the source location in what() Peter Dimov 2021-09-15 07:42:57 +03:00
  • a9b64a888a Add support for source_location to error_code Peter Dimov 2021-09-15 07:03:18 +03:00
  • bb4b500cfc Update Windows error mapping to match msvc-14.2 <system_error> Peter Dimov 2021-09-08 00:48:55 +03:00
  • d44dab91dc Merge pull request #62 from rohitk5252/patch-2 Peter Dimov 2021-09-08 00:24:46 +03:00
  • 2b6498ad80 Merge pull request #63 from rohitk5252/patch-3 Peter Dimov 2021-09-08 00:24:30 +03:00
  • 22072bfbc9 Merge pull request #64 from rohitk5252/patch-5 Peter Dimov 2021-09-08 00:24:08 +03:00
  • 65f644d5de Switch ubuntu-16.04 jobs to ubuntu-18.04 Peter Dimov 2021-09-07 21:57:40 +03:00
  • f967081d7e Merge pull request #69 from marc-groundctl/map-broken-pipe Peter Dimov 2021-09-07 21:34:22 +03:00
  • 19e9f08666 Map ERROR_BROKEN_PIPE to errc_t::broken_pipe Marc Aldorasi 2021-09-07 12:02:02 -04:00
  • b41139b28e Update documentation boost-1.77.0.beta1 boost-1.77.0 Peter Dimov 2021-06-16 03:06:26 +03:00
  • 39a19f3c90 Add constexpr to op== against error code enums Peter Dimov 2021-06-16 03:06:11 +03:00
  • b4dd5e98c9 Update appveyor.yml Peter Dimov 2021-06-15 20:53:48 +03:00
  • 41e3a7c8af Update appveyor.yml Peter Dimov 2021-06-15 06:02:49 +03:00
  • aee97e91ce Update .travis.yml Peter Dimov 2021-06-15 05:34:04 +03:00
  • 98533dedb3 Disable failing tests on g++ 4.8 and 4.9 Peter Dimov 2021-06-15 05:32:04 +03:00
  • fe811d1dd1 Update .travis.yml Peter Dimov 2021-06-15 03:17:42 +03:00
  • 137ecb4abf Add more tests to std_interop_test7 Peter Dimov 2021-06-15 03:06:07 +03:00
  • e5cd7bf852 Placate g++ 6 and earlier Peter Dimov 2021-06-15 02:25:13 +03:00
  • 96cd1c0163 Add error_code comparisons against standard error code enums (to resolve the ambiguity when an enum is both standard and ours) Peter Dimov 2021-06-15 02:17:26 +03:00
  • a9da17f2e2 Add std_interop_test9 Peter Dimov 2021-06-15 01:59:51 +03:00
  • f26dfd3dd7 Add error_code comparisons against standard error condition enums (to resolve the ambiguity when an enum is both standard and ours) Peter Dimov 2021-06-15 01:52:32 +03:00
  • d09c998eb2 Add std_interop_test8 Peter Dimov 2021-06-15 01:43:49 +03:00
  • 2374e85dc7 Add std_interop_test7 Peter Dimov 2021-06-14 22:25:31 +03:00
  • 9167bf8ee8 Update documentation Peter Dimov 2021-06-14 21:23:01 +03:00
  • 7f7a9da4d5 Update revision history Peter Dimov 2021-06-14 20:07:18 +03:00
  • 67ae4d3c47 Disable std_interop_test5 on g++ 4.8 and 4.9, rather. Peter Dimov 2021-06-14 19:04:15 +03:00
  • ee028e2f9d Remove tabs Peter Dimov 2021-06-14 18:28:29 +03:00
  • 7657188802 Disable std_interop_test5 on g++ 4.7 and 4.8; these crash on Xenial, but the real g++ 4.8 on CentOS 7 and Trusty works Peter Dimov 2021-06-14 18:07:06 +03:00
  • 210c54b09a Update .travis.yml Peter Dimov 2021-06-14 17:36:29 +03:00
  • 87bb5616a8 Update .travis.yml Peter Dimov 2021-06-14 17:10:56 +03:00
  • 6de562c79d Update .travis.yml Peter Dimov 2021-06-14 15:10:36 +03:00
  • 8efb96350f Clang 6 needs more help with mixed comparisons Peter Dimov 2021-06-14 14:44:07 +03:00
  • 88a7be42b5 Update Clang version check Peter Dimov 2021-06-14 14:38:26 +03:00
  • a3225e78e2 Update GCC version check Peter Dimov 2021-06-14 14:35:50 +03:00
  • 3c469fe710 Update std_interop_test5.cpp Peter Dimov 2021-06-14 04:19:45 +03:00
  • c2d044f34e Add std_interop_test6 Peter Dimov 2021-06-14 04:09:24 +03:00
  • 9fdfa6c645 Move code == condition comparisons into error_code, unwrap std::error_code when needed Peter Dimov 2021-06-14 04:06:24 +03:00
  • 42a257e17c Add operator<< for error_condition Peter Dimov 2021-06-14 03:59:44 +03:00
  • 26d0d32c54 Add std_interop_test5 Peter Dimov 2021-06-14 03:53:55 +03:00
  • 70b5449e99 Resolve ambiguity for std::error_code == boost::system::error_code Peter Dimov 2021-06-14 03:53:00 +03:00
  • 8043ce0278 Resolve ambiguity for std::error_code == boost::system::error_condition Peter Dimov 2021-06-14 03:42:50 +03:00
  • 83a2933afa Disable failing test cases on clang-6 and earlier Peter Dimov 2021-06-14 02:54:40 +03:00
  • 2e707ca921 Disable -Wstrict-aliasing on g++ 6, really Peter Dimov 2021-06-14 02:50:31 +03:00
  • a6c4b6329c Add a deleted T const& conversion for clang-6 and earlier Peter Dimov 2021-06-14 02:35:48 +03:00
  • 5b1909eba4 Disable -Wstrict-aliasing on g++ 6 and below Peter Dimov 2021-06-14 02:15:37 +03:00
  • 9dc13fd82a Change value() when holding std::error_code Peter Dimov 2021-06-14 02:09:31 +03:00
  • e9cdb10409 Use std::hash<std::error_code> in hash_value Peter Dimov 2021-06-14 01:51:33 +03:00
  • e625bd0eea Do not access d2_ when <system_error> isn't available; use std::error_code comparisons in op== and op< Peter Dimov 2021-06-13 22:47:02 +03:00
  • 66656f7044 Use copy-init instead of direct-init for older clangs Peter Dimov 2021-06-13 20:45:50 +03:00
  • 0d8511f571 Use reinterpret_cast to pointer instead of to reference Peter Dimov 2021-06-13 20:40:27 +03:00
  • fbc49bbaa0 Add more tests to std_interop_test3 Peter Dimov 2021-06-13 19:51:02 +03:00
  • 344eb1e1f8 Rework error_code for better std interop Peter Dimov 2021-06-13 19:47:37 +03:00
  • 20b8e90dff Add detail/snprintf.hpp Peter Dimov 2021-06-13 18:58:50 +03:00
  • a0136e570d Update tests/CMakeLists Peter Dimov 2021-06-13 18:45:15 +03:00
  • 6586fcb01e Add errc_test3.cpp Peter Dimov 2021-06-13 18:42:59 +03:00
  • b74b1e3c8c Merge branch 'develop' into feature/error-condition Peter Dimov 2021-06-13 07:12:16 +03:00
  • 1caaacff57 Split reference into headers feature/update-doc Peter Dimov 2021-06-13 06:58:48 +03:00
  • 75d5287558 Update copyright Peter Dimov 2021-06-13 05:59:04 +03:00
  • 25eaf0fdae Document comparisons as inline friends; use value() and category() instead of val_ and cat_; add subheadings Peter Dimov 2021-06-13 05:58:16 +03:00
  • f43293f451 Increase ToC levels Peter Dimov 2021-06-13 05:24:30 +03:00
  • f8ab3df822 Initialize failed_ in the other two constructors Peter Dimov 2021-06-13 05:05:31 +03:00
  • f6fb85d7d3 Revert "Update Travis to use undefined-sanitizer; disable failed_constexpr_test" Peter Dimov 2021-06-13 04:59:49 +03:00
  • 9cd9d8732f Revert "Update test/Jamfile" Peter Dimov 2021-06-13 04:59:38 +03:00
  • 1b7fd6854d Revert "Disable failing tests on g++-7/c++17" Peter Dimov 2021-06-13 04:58:53 +03:00
  • 610d5f3f78 Revert "Mark error_condition::failed, error_condition::message as deprecated; revert op bool" Peter Dimov 2021-06-13 04:56:18 +03:00
  • 88f7c2bf53 Revert "Update documentation" Peter Dimov 2021-06-13 04:47:19 +03:00
  • 723daf5d57 Update changelog Peter Dimov 2021-06-13 04:39:39 +03:00
  • 3d4c31c213 Update test/Jamfile Peter Dimov 2021-06-13 01:13:48 +03:00
  • c069ae048f Update Travis to use undefined-sanitizer; disable failed_constexpr_test Peter Dimov 2021-06-13 01:08:54 +03:00
  • 28e1b919ac Disable failing test Peter Dimov 2021-06-12 22:36:12 +03:00
  • b20191f8d7 Disable failing tests on g++-7/c++17 Peter Dimov 2021-06-12 22:20:38 +03:00
  • d019c1cdae Remove detail/is_generic_value.hpp Peter Dimov 2021-06-12 22:01:16 +03:00
  • ff77d4c094 Do not call generic_category() in system_error_category Peter Dimov 2021-06-12 21:59:22 +03:00
  • a21a3050a5 Use nullptr for &generic_category() in error_condition Peter Dimov 2021-06-12 21:51:51 +03:00
  • 08d62ac444 Restore Sun workaround Peter Dimov 2021-06-12 05:42:03 +03:00
  • 45e9dfeba9 Declare operator std::error_category as BOOST_SYMBOL_VISIBLE Peter Dimov 2021-06-12 05:12:58 +03:00
  • 7d9eb384c6 Make error_category comparisons inline friends, to avoid clang 'member call on mutable' constexpr errors Peter Dimov 2021-06-12 04:52:21 +03:00
  • 04bfb05b19 Improve the implementation of the std::category conversion Peter Dimov 2021-06-12 04:29:13 +03:00
  • a650f5d676 Remove cmake_install_test dependency on Boost::core before-1.77-error-code-merge feature/cmake-install-test Peter Dimov 2021-06-12 00:18:26 +03:00
  • 6ab5fd9dac Update ci.yml Peter Dimov 2021-06-11 22:15:46 +03:00
  • ed14d74323 Update .travis.yml Peter Dimov 2021-06-11 22:12:35 +03:00
  • ff9bca96e3 Add boost/system.hpp Peter Dimov 2021-06-11 21:15:17 +03:00
  • 8560290b71 Merge pull request #67 from Lastique/feature/add_win32_error_not_supported Peter Dimov 2021-05-29 03:36:51 +03:00