44 Commits

Author SHA1 Message Date
Emil Dotchevski ea2e690d14 Generic serialization and JSON eutput support 2026-01-07 17:48:54 -05:00
Emil Dotchevski 56b247d71a Significant refactoring:
- Support for error objects crossing DLL boundaries on Windows via BOOST_LEAF_CFG_WIN32=2.
- Internal TLS interface improvements, separating logical allocation from reading.
- Dynamic allocations (if enabled) for on_error objects now happens before stack unwinding begins.
- BOOST_LEAF_SYMBOL_VISIBLE declarations now separated in config/visibility.hpp.
2025-12-23 17:31:52 -05:00
Emil Dotchevski c973cd4a7d std::error_code interoperability improvements 2024-09-27 22:10:43 -07:00
Emil Dotchevski 0c7923933e Improvements in single header distro. Build script tweaks. 2024-09-13 19:58:00 -07:00
Emil Dotchevski d0047b721c Updated copyright dates 2024-09-08 18:26:05 -07:00
Emil Dotchevski 907bd6c26a diagnostics.hpp 2024-08-25 18:25:55 -07:00
Emil Dotchevski 971ecacf0f dynamic_capture -> result<T>, a new way to hold and transport errors across threads. Legacy capture functionality removed. 2023-12-24 18:52:14 -08:00
Emil Dotchevski 351a563de0 Copyright message update 2023-09-15 11:11:13 -07:00
Emil Dotchevski 8d1285c2b5 Updated copyright note 2022-01-08 16:00:48 -08:00
Emil Dotchevski f7392a7438 Renamed config macros, cleaned up config checks 2022-01-08 12:39:37 -08:00
Emil Dotchevski 394d6d7762 Support FreeRTOS ond for other TLS array APIs 2022-01-05 17:30:30 -08:00
Emil Dotchevski 996edca175 Support for BOOST_LEAF_EMBEDDED, removing all diagnostics support, std::string/std::stringstream 2022-01-03 12:00:56 -08:00
Emil Dotchevski 74b580b88d Deindented top level namespaces and updated copyright messages 2021-01-26 22:46:15 -08:00
Emil Dotchevski 43582bb44c Generagitng leaf.hpp on GitHub Actions 2020-12-19 23:43:34 -08:00
Emil Dotchevski fdff6508ce Duplicated unit tests: testing each with single header and with individual headers 2020-12-09 00:26:59 -08:00
Emil Dotchevski 44eec77cf0 detab 2020-10-20 12:23:13 -07:00
Emil Dotchevski c455cd9fbf Deleted catch/nocatch context types 2020-07-08 18:42:11 -07:00
Emil Dotchevski 6a1b812d03 removed success/failure functions, plus more complete error_code_test 2020-07-06 12:20:08 -07:00
Emil Dotchevski d164364b5e success, failure tests 2020-07-05 19:52:24 -07:00
Emil Dotchevski 6ebf29a902 Even simpler predicate implementation 2020-07-03 13:49:31 -07:00
Emil Dotchevski fd0041770a match<>, match_value<>, match_member<>, catch_<> 2020-06-29 19:50:40 -07:00
Emil Dotchevski 0d608fd1fa pred.hpp 2020-06-28 16:58:05 -07:00
Emil Dotchevski 765d34fb95 Renamed cat->category, catch_::value() -> catch_::caught() 2020-06-24 15:46:37 -07:00
Emil Dotchevski 8924216c86 Implemented matching by std::error_category 2020-06-23 17:44:36 -07:00
Emil Dotchevski af9907dde3 Removed leaf::code<> 2020-06-23 09:36:56 -07:00
Emil Dotchevski a1b1463960 fixed bugs 2020-06-23 01:33:16 -07:00
Emil Dotchevski af22fb44dc Working on match<std::error_code,...> 2020-06-22 23:07:43 -07:00
Emil Dotchevski e8479a16e6 Documentation improvements, minor change in how std::error_code is handled. 2020-06-17 20:43:54 -07:00
Emil Dotchevski 3a283d8d37 Support in match<> for std::error_code as the first argument, as well as .value function 2020-06-16 19:59:37 -07:00
Emil Dotchevski e42b845ff1 support for mutable references and mutable pointers 2020-06-13 23:36:08 -07:00
Emil Dotchevski b45915bd3b Updated copyright messages 2020-06-10 11:24:09 -07:00
Emil Dotchevski 30683e5444 Deleted is_e_type. Made improvements to leaf::exception. 2020-05-28 23:59:15 -07:00
Emil Dotchevski 53994cc58a Removed implicit conversion error_id -> std::error_code 2019-11-24 14:22:31 -08:00
Emil Dotchevski 4d0f2a78a2 is_result_type<R const> specialization 2019-11-19 14:30:04 -08:00
Emil Dotchevski ae23e14472 Fixes, and tests for -fno-exceptions -fno-rtti 2019-10-31 18:09:47 -07:00
Emil Dotchevski 0efc52e784 fixed bug in single header generation, changed copyright messages 2019-04-19 17:30:05 -07:00
Emil Dotchevski c42bee4bfc formatting changes, documentation update 2019-02-19 21:46:47 -08:00
Emil Dotchevski adc5384589 rewrite complete, all tests working 2019-02-09 18:53:30 -08:00
Emil Dotchevski 96c3d0a8eb temp commit 2019-02-08 23:05:36 -08:00
Emil Dotchevski c4b4d8bd15 separated handle.hpp into handle_all.hpp and handle_some.hpp 2019-01-26 17:48:59 -08:00
Emil Dotchevski b38309dad3 error_code capture_in_result bug fixed 2019-01-25 22:51:14 -08:00
Emil Dotchevski 95a257cac1 added new_error overloads 2019-01-25 00:37:28 -08:00
Emil Dotchevski 929c0f9389 leaf::error_condition->leaf::condition 2019-01-24 23:14:13 -08:00
Emil Dotchevski 6cec426aec error condition matching 2019-01-24 19:40:50 -08:00