2
0
mirror of https://github.com/boostorg/system.git synced 2026-01-19 16:52:11 +00:00

Commit Graph

  • 04a79d710f Merge branch 'fix_error_code_wostream' of https://github.com/MarcelRaad/system into feature/pr-76 feature/pr-76 Peter Dimov 2021-12-21 19:51:50 +02:00
  • 5700936367 Add ec_wstream_test (refs #76) Peter Dimov 2021-12-21 19:51:08 +02:00
  • 86b031cab9 Fix error_code's operator<< for arbitrary basic_ostream specializations Marcel Raad 2021-12-21 13:17:26 +01:00
  • 204e65f725 Add msvc-14.0 to GHA Peter Dimov 2021-12-11 03:42:52 +02:00
  • 01ce081470 Disable errc_t -> arithmetic conversions when initializing result (closes #74) feature/issue-74 Peter Dimov 2021-12-11 01:22:08 +02:00
  • ae341976d4 Avoid pedantic warning for trailing comma in enum feature/scoped-errc Peter Dimov 2021-12-10 00:29:17 +02:00
  • 29b901c5bb More fixes for implicit int conversions Peter Dimov 2021-12-10 00:22:25 +02:00
  • 2e1b2dcafb Fix implicit conversion to int errors Peter Dimov 2021-12-09 22:26:18 +02:00
  • d0cf08daed Make errc::errc_t a scoped enum Peter Dimov 2021-12-09 22:17:47 +02:00
  • 8c9ceba775 Add negative test for constructing result<int> from errc_t (refs #74) Peter Dimov 2021-12-09 20:19:05 +02:00
  • 91c0dd9a74 Merge pull request #73 from kpushkaryov/patch-1 boost-1.78.0 Peter Dimov 2021-11-17 06:24:18 +02:00
  • 189fff42fe Fix a typo Kirill Pushkaryov 2021-11-17 10:59:03 +07:00
  • 3b4045c149 Minor doc update Peter Dimov 2021-11-17 04:11:15 +02:00
  • 3d877a1fca Update meta/libraries.json Peter Dimov 2021-11-11 04:51:03 +02:00
  • 128bdf9db2 Minor usage section changes Peter Dimov 2021-11-11 04:33:06 +02:00
  • 0e84860604 Add another usage subsection Peter Dimov 2021-11-11 04:09:49 +02:00
  • 83a306f3bf Update introduction Peter Dimov 2021-11-10 20:36:57 +02:00
  • 7dce2e3f42 Change 'wrapping' to 'adapting' Peter Dimov 2021-11-10 18:52:41 +02:00
  • 292c6825c6 Add another usage subsection Peter Dimov 2021-11-09 22:05:45 +02:00
  • 0d90d3d883 Add myimg_category implementation to usage example Peter Dimov 2021-11-08 20:50:41 +02:00
  • 81fec2b171 Add another usage subsection Peter Dimov 2021-11-07 23:45:25 +02:00
  • 4e15afe5be Add error handling and programming categories to libraries.json Peter Dimov 2021-11-07 20:32:42 +02:00
  • 8d1a866920 Add a usage subsection on wrapping zlib errors Peter Dimov 2021-11-05 22:05:23 +02:00
  • 09466c85b4 Add another usage subsection Peter Dimov 2021-11-05 20:38:03 +02:00
  • baef8e50ea Rename 'Usage Examples' to 'Usage', add another subsection Peter Dimov 2021-11-05 16:48:33 +02:00
  • 5034f11a3a Add usage examples boost-1.78.0.beta1 Peter Dimov 2021-11-02 03:12:26 +02:00
  • f78b036665 Update #if condition feature/pr-71 Peter Dimov 2021-10-29 21:13:10 +03:00
  • 9b0d735040 Add __attribute__((__format__)) to snprintf Ed Catmur 2021-10-29 11:59:03 +01:00
  • bfebaf53d7 Add static_assert to cmake_subdir_test Peter Dimov 2021-10-28 23:48:03 +03:00
  • 8338e80295 Enable syntax hightlighting Peter Dimov 2021-10-28 23:17:20 +03:00
  • 2b23aaab16 Add msvc-14.3 to ci.yml Peter Dimov 2021-10-28 23:16:53 +03:00
  • 7933300b6f Disable test on g++ 4.x because no std::io_errc Peter Dimov 2021-10-11 03:30:50 +03:00
  • 4ec1e54099 Enable error_code construction from enums specializing std::is_error_code_enum. Fixes #70. Peter Dimov 2021-10-11 02:02:22 +03:00
  • 5217e58a7d Enable implicit construction for aggregates using {{ ... }} Peter Dimov 2021-10-02 22:07:05 +03:00
  • ce37e23491 Protect against dangling references in op* and value() Peter Dimov 2021-10-02 19:16:04 +03:00
  • 420a262733 Fix warnings_test.cpp Peter Dimov 2021-10-02 17:25:31 +03:00
  • e15bccc09b Fix cmake_install_test/main.cpp Peter Dimov 2021-10-02 16:57:38 +03:00
  • bb775c071a Update system_error::what to use error_code::what Peter Dimov 2021-10-02 15:00:40 +03:00
  • 01676ae42f Update documentation Peter Dimov 2021-10-02 14:47:07 +03:00
  • eefcc5dcf6 Add error_code::what Peter Dimov 2021-10-02 14:41:27 +03:00
  • f2d3a0decf Update documentation Peter Dimov 2021-10-02 01:39:06 +03:00
  • 0ccf08509b Add a constructor taking ErrorCodeEnum and a source location Peter Dimov 2021-10-01 23:04:04 +03:00
  • 7a72aee355 Merge branch 'develop' into feature/std-category-2 feature/std-category-2 Peter Dimov 2021-09-24 23:54:51 +03:00
  • a8df99e927 Use source_location::to_string in system_error::build_message Peter Dimov 2021-09-24 20:40:19 +03:00
  • 85c7d92302 Avoid instantiating the system category in error_code::operator std::error_code Peter Dimov 2021-09-24 15:24:45 +03:00
  • 4c201d26b2 Update std_interop_test10 Peter Dimov 2021-09-24 04:29:29 +03:00
  • 1659dfbeba Avoid instantiating generic_category in error_condition::operator std::error_condition Peter Dimov 2021-09-24 04:27:08 +03:00
  • d2b8b54356 Do not use std::system_category under MinGW and g++ 4.x Peter Dimov 2021-09-21 16:35:40 +03:00
  • 41f7ea49cb Do not use std::system_category under VS2013 Peter Dimov 2021-09-21 16:02:12 +03:00
  • 0b22dc595f Merge branch 'develop' into feature/std-category-2 Peter Dimov 2021-09-21 15:57:56 +03:00
  • aab58b0d5b Add std_interop_test10 Peter Dimov 2021-09-21 15:57:39 +03:00
  • ad66ea43a3 Revert addition of get_generic_std_category, get_system_std_category (they need this); do not use std::system_category on Cygwin Peter Dimov 2021-09-21 15:45:00 +03:00
  • 811564f186 Disable failing comparisons in std_interop_test6; stdlibs are at fault Peter Dimov 2021-09-21 15:11:19 +03:00
  • a7e4879e55 Fix message comparisons in std_interop_test Peter Dimov 2021-09-21 15:06:28 +03:00
  • 9b11d864be Add helper functions get_generic_std_category, get_system_std_category Peter Dimov 2021-09-21 15:01:44 +03:00
  • cc6a61b6c5 Convert system_category to std::system_category Peter Dimov 2021-09-21 05:34:05 +03:00
  • 9151633c95 Merge branch 'develop' into feature/std-category feature/std-category Peter Dimov 2021-09-20 17:41:47 +03:00
  • 5e0db22075 Include errc.hpp in system_error.hpp Peter Dimov 2021-09-20 17:41:34 +03:00
  • 60a20eeeb9 Retain old generic_category conversion behavior on g++ 4.8/4.9 Peter Dimov 2021-09-19 18:44:45 +03:00
  • 1c8128e4cb Merge branch 'develop' into feature/std-category Peter Dimov 2021-09-19 18:12:59 +03:00
  • 1879ba6d35 Minor test update Peter Dimov 2021-09-19 18:12:46 +03:00
  • b1dec88674 Convert generic_category to std::generic_category Peter Dimov 2021-09-19 17:08:46 +03:00
  • 5fd2535d9f Excise generic_category() references from error_condition feature/error-condition Peter Dimov 2021-09-19 16:04:16 +03:00
  • b39f239b3d Update documentation Peter Dimov 2021-09-19 15:53:13 +03:00
  • abb13e707d Minor test fixes Peter Dimov 2021-09-19 15:46:03 +03:00
  • bf34091cfe Add error_code_test2 Peter Dimov 2021-09-19 15:41:20 +03:00
  • e3f198e52c Add error_condition::to_string Peter Dimov 2021-09-19 15:37:49 +03:00
  • 05581aba03 Add error_condition_test3 Peter Dimov 2021-09-19 15:26:19 +03:00
  • 47137ad116 Change predefined error_category identifiers to be contiguous for better codegen Peter Dimov 2021-09-19 15:04:51 +03:00
  • c02cd2b004 Add private error_code::equals, use it in error_category::equivalent feature/opt-equivalent Peter Dimov 2021-09-19 05:24:08 +03:00
  • c8c5ad1ce5 Rework error_condition::op== to not require the generic_category() instance Peter Dimov 2021-09-19 04:49:35 +03:00
  • 361834e49c Minor documentation corrections Peter Dimov 2021-09-18 16:57:21 +03:00
  • 360effcf1d Remove static/shared tests, System is header-only feature/update-cmake Peter Dimov 2021-09-18 02:23:21 +03:00
  • aaa893b5d6 Add mp11 to cmake_subdir_test/CMakeLists.txt Peter Dimov 2021-09-18 00:08:30 +03:00
  • ff0bd3294f Add back predef, winapi needs it Peter Dimov 2021-09-17 23:54:33 +03:00
  • aedadc27ce Update test/cmake_subdir_test/CMakeLists.txt Peter Dimov 2021-09-17 21:31:13 +03:00
  • aad1212cfd Update tests/CMakeLists.txt Peter Dimov 2021-09-17 21:15:13 +03:00
  • c15c2eeb74 Update dependencies in CMakeLists.txt Peter Dimov 2021-09-17 21:10:53 +03:00
  • 0ea47dd886 Add CMake jobs to ci.yml Peter Dimov 2021-09-17 21:00:18 +03:00
  • 08c12e8ad5 Document result<void, E> feature/result-void Peter Dimov 2021-09-17 20:16:01 +03:00
  • 7d3cfdd09a Update test/result_value_construct Peter Dimov 2021-09-17 19:54:53 +03:00
  • 15f94537a6 Update test/result_value_access Peter Dimov 2021-09-17 19:53:11 +03:00
  • c0f38e2f3e Update test/result_swap Peter Dimov 2021-09-17 19:46:56 +03:00
  • ac28a8cec9 Update test/result_move_assign Peter Dimov 2021-09-17 19:44:58 +03:00
  • 4169ef3ce6 Update test/result_error_construct Peter Dimov 2021-09-17 19:36:58 +03:00
  • ce49a7d1be Update test/result_move_construct Peter Dimov 2021-09-17 19:35:20 +03:00
  • 1a4eb29719 Update test/result_error_access Peter Dimov 2021-09-17 19:35:05 +03:00
  • 465f6c57da Update test/result_eq Peter Dimov 2021-09-17 19:34:44 +03:00
  • cb8db34d7b Update test/result_copy_assign Peter Dimov 2021-09-17 19:34:26 +03:00
  • 2b6a708070 Update test/result_copy_construct Peter Dimov 2021-09-17 19:25:20 +03:00
  • 50f84f16dc Add result<void, E> specialization Peter Dimov 2021-09-17 19:22:15 +03:00
  • fd21395802 Minor indentation fixes Peter Dimov 2021-09-17 18:50:30 +03:00
  • cebb011a58 Update indentation in reference Peter Dimov 2021-09-17 18:43:30 +03:00
  • 3f67d3def5 Rename throw_exception_from_error_code to throw_exception_from_error Peter Dimov 2021-09-17 18:33:04 +03:00
  • f2b3ae7e2b Document throw_exception_from_error_code Peter Dimov 2021-09-17 18:28:53 +03:00
  • 48e56b9874 Update revision history Peter Dimov 2021-09-17 18:19:24 +03:00
  • 967b7cbc98 Add result to reference Peter Dimov 2021-09-17 18:16:54 +03:00
  • c8492a705d Use unsafe_get instead of *get_if Peter Dimov 2021-09-17 15:47:35 +03:00
  • a3187439e3 Disable warning in after_main_test Peter Dimov 2021-09-16 19:49:17 +03:00
  • 19f9d0c5b4 Fix unused parameter error Peter Dimov 2021-09-16 19:43:32 +03:00