42 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 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 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 ff4f5da286 throw leaf::exception(....) becomes leaf::throw_exception(....) 2022-06-26 22:14:28 -07:00
Emil Dotchevski 8d1285c2b5 Updated copyright note 2022-01-08 16:00:48 -08:00
Emil Dotchevski 394d6d7762 Support FreeRTOS ond for other TLS array APIs 2022-01-05 17:30:30 -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 db9e360a07 Moved config.hpp to detail/config.hpp 2020-07-18 17:29:41 -07:00
Emil Dotchevski c455cd9fbf Deleted catch/nocatch context types 2020-07-08 18:42:11 -07:00
Emil Dotchevski 1c9a2eca4b Removed redundant std::exception when calling leaf::exception() 2020-06-15 18:37:35 -07:00
Emil Dotchevski 9fde64be8a Prefixed all macros with BOOST_ 2020-06-14 18:10:22 -07:00
Emil Dotchevski 4462ee374e Enable exceptions to work without catch_<> 2020-06-13 17:32:50 -07:00
Emil Dotchevski b45915bd3b Updated copyright messages 2020-06-10 11:24:09 -07:00
Emil Dotchevski e7449b9554 Inverted #ifndef -> #ifdef 2020-02-19 17:40:32 -08:00
Emil Dotchevski fb5f65ea1d Travis: fixing broken test under -fno-exceptions 2020-02-19 17:36:58 -08:00
Emil Dotchevski f91a17b8d5 Dealing with stale error objects when throwing non-LEAF exceptions 2020-02-19 17:01:23 -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 e45cb511c5 BOOST_TEST->BOOST_TEST_EQ 2019-01-25 10:13:23 -08:00
Emil Dotchevski e1a8db14b9 updated copyright message 2019-01-23 23:30:02 -08:00
Emil Dotchevski 7708a3d5e0 refactored error_id to error: std::error_code 2019-01-22 12:39:04 -08:00
Emil Dotchevski ff6f7716cd error -> error_id 2019-01-15 00:36:44 -08:00
Emil Dotchevski fee3868261 documentation, cosmetic changes 2019-01-13 09:13:54 -08:00
Emil Dotchevski a16600a989 error constructor -> new_error 2019-01-10 09:29:48 -08:00
Emil Dotchevski a88d950045 Complete rewrite to try_, handle_some, handle_all 2019-01-09 17:30:31 -08:00
Emil Dotchevski e032a0b4f7 member handle_error 2019-01-03 17:25:09 -08:00
Emil Dotchevski fceeb17332 Decoupled meson-based unit tests from Boost 2018-12-12 13:22:59 -08:00
Emil Dotchevski ca0173fb24 deleted .value, match<> 2018-11-25 03:17:49 -08:00
Emil Dotchevski 6abd15b2d8 white space formatting 2018-11-01 15:12:19 -07:00
Emil Dotchevski 49cae462fd preload refactoring 2018-10-24 16:05:06 -07:00
Emil Dotchevski df3c22f8d3 throw_exception overload with error parameter
match<> without a function
asserting on unhandled errors
2018-10-22 11:53:08 -07:00
Emil Dotchevski 2b306e5491 Major rewrite 2018-10-21 00:07:33 -07:00