2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-01-19 04:22:08 +00:00

60 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
ec11ab1d9c Renamed namespace leaf_detail -> detail 2024-09-08 22:20:57 -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
351a563de0 Copyright message update 2023-09-15 11:11:13 -07:00
Emil Dotchevski
b2090ac95f Fixed warnings 2022-09-06 14:49:00 -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
0846016671 Support for handling abstract exception types 2021-11-24 09:57:57 -08:00
Emil Dotchevski
35295d2ca0 Issue #33 2021-11-21 00:11:09 -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
420022600e Unit test to verify correct assignment of new error_id 2020-11-24 15:22:49 -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
99a4082226 catch_ turned into proper predicate 2020-07-04 12:13:41 -07:00
Emil Dotchevski
6ebf29a902 Even simpler predicate implementation 2020-07-03 13:49:31 -07:00
Emil Dotchevski
9a3da94387 Renamed catch_::caught to catch_::matched 2020-06-30 14:57: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
0382743fbe Example tweaks, BOOST_LEAF_THROW renamed to BOOST_LEAF_THROW_EXCEPTION 2020-06-15 16:40:42 -07:00
Emil Dotchevski
9fde64be8a Prefixed all macros with BOOST_ 2020-06-14 18:10:22 -07:00
Emil Dotchevski
e42b845ff1 support for mutable references and mutable pointers 2020-06-13 23:36:08 -07:00
Emil Dotchevski
4462ee374e Enable exceptions to work without catch_<> 2020-06-13 17:32:50 -07:00
Emil Dotchevski
45e564f8e7 Removed Tag... 2020-06-10 22:27:12 -07:00
Emil Dotchevski
b45915bd3b Updated copyright messages 2020-06-10 11:24:09 -07:00
Emil Dotchevski
6d1d34216c Added exception compile-fail tests 2020-06-10 11:20:17 -07:00
Emil Dotchevski
a2a38c9275 LEAF_NEW_ERROR, LEAF_EXCEPTION, LEAF_THROW support for error tags 2020-06-10 00:02:46 -07:00
Emil Dotchevski
443700ef16 deleted accumulate, defer, preload -- all done with on_error now. 2020-06-07 16:35:42 -07:00
Emil Dotchevski
30683e5444 Deleted is_e_type. Made improvements to leaf::exception. 2020-05-28 23:59:15 -07:00
Emil Dotchevski
905564b672 Removed unused variable in exception_test.cpp 2020-01-13 17:42:00 -08:00
Emil Dotchevski
0d276db168 Testing preload with non-LEAF exceptions 2020-01-03 10:23:09 -08:00
Emil Dotchevski
96477366c3 last_error() -> current_error() 2019-12-10 00:10:14 -08:00
Emil Dotchevski
0b1d09715e LEAF_EXCEPTION optionally supporting custom error_id 2019-12-08 22:08:42 -08:00
Emil Dotchevski
0ae00ab180 Major refactor to delete next_error(). Improved async support. 2019-12-08 15:38:16 -08:00
Emil Dotchevski
2d90fd459d Support for LEAF_NO_THREADS, changes to the support for LEAF_NO_EXCEPTIONS 2019-11-01 17:04:56 -07: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
7cca2bab19 added to exception_test.cpp 2019-02-27 18:39:37 -08:00
Emil Dotchevski
9903a987fd added exception test 2019-02-27 14:25:20 -08:00
Emil Dotchevski
c42bee4bfc formatting changes, documentation update 2019-02-19 21:46:47 -08:00
Emil Dotchevski
31bea1e42f added tests, fixed minor bugs 2019-02-13 09:47:31 -08:00
Emil Dotchevski
baa9fd40ae fixed bug in handling third-party exceptions 2019-02-12 10:30:27 -08:00
Emil Dotchevski
0434bbe60b new tests and bug fixes in preload 2018-12-04 15:05:28 -08:00