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

159 Commits

Author SHA1 Message Date
Emil Dotchevski
fd0f976406 Serialization to Boost.JSON and nlohmann/json 2026-01-13 18:21:03 -05:00
Emil Dotchevski
b72d2f1875 Serialization refactoring 2026-01-11 13:26:14 -05:00
Emil Dotchevski
ea2e690d14 Generic serialization and JSON eutput support 2026-01-07 17:48:54 -05:00
Emil Dotchevski
711f3e6531 Added BOOST_LEAF_UNREACHABLE, implemented allocation failure test for dynamic_allocator 2025-12-24 22:18:09 -05:00
Emil Dotchevski
f8bc875500 - Refactored TLS implementation, including Win32 support across DLL bondaries
- on_error now allocates dynamic storage (if enabled) before the stack unwind
2025-12-24 22:18:09 -05:00
Emil Dotchevski
0cdf5c62b1 Implemented Win32 TLS supprt 2025-12-24 22:18:07 -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
d8e4a84080 Added unit test to verify that using error objects of pointer types results in a diagnostic 2025-10-13 12:35:38 -04:00
Rene Rivera
277f588f94 Tweak exception testing dependency to only header only use. 2025-04-06 20:22:20 -05:00
Rene Rivera
f049b12a60 Sync from upstream. 2024-10-10 08:44:14 -05:00
Emil Dotchevski
8a3b024486 Renamed examples, fixed minor issues in build scripts 2024-09-27 22:08:30 -07:00
Rene Rivera
b591cbd677 Sync from upstream. 2024-09-14 08:41:48 -05:00
Emil Dotchevski
0c7923933e Improvements in single header distro. Build script tweaks. 2024-09-13 19:58:00 -07:00
Rene Rivera
8fa2dcf54a Sync from upstream. 2024-09-09 15:24:46 -05:00
Emil Dotchevski
d0047b721c Updated copyright dates 2024-09-08 18:26:05 -07:00
Rene Rivera
8ace70c3ad Sync from upstream. 2024-09-05 08:59:44 -05:00
Emil Dotchevski
3422b31e8c Deleted context_ptr (was deprecated) 2024-09-04 01:22:29 -07:00
Rene Rivera
e4a5dfecbf Sync from upstream. 2024-08-26 07:14:59 -05:00
Emil Dotchevski
907bd6c26a diagnostics.hpp 2024-08-25 18:25:55 -07:00
Emil Dotchevski
16ed99327c Renamed verbose_diagnostic_info -> diagnostic_details 2024-08-25 00:17:12 -07:00
Rene Rivera
466e3160fe Sync from upstream. 2024-08-23 11:13:22 -05:00
Emil Dotchevski
9c139e094c C++11 constexpr type name parsing for diagnostics 2024-08-22 20:36:33 -07:00
Rene Rivera
b46c332209 Sync from upstream. 2024-08-21 13:05:52 -05:00
Emil Dotchevski
3ed033458b Added _CRT_SECURE_NO_WARNINGS for Windows builds 2024-08-21 09:47:46 -07:00
Rene Rivera
ab314102fc Change all <source> references to <library>. 2024-07-20 19:40:23 -05:00
Rene Rivera
d1177e71cc Make the library modular usable. 2024-03-11 08:38:17 -05:00
Emil Dotchevski
031dfa09f7 Issue 69 2024-01-08 17:52:41 -08:00
Emil Dotchevski
b4093c5060 Renamed try_capture_all example/test files 2024-01-07 11:18:18 -08:00
Emil Dotchevski
971141db00 New dynamic capture system: try_capture_all. Previous API based on make_shared_contex/capture is deprecated. 2024-01-06 17:59:10 -08: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
87efaf7380 Improved diagnostics 2023-09-15 11:15:10 -07:00
Emil Dotchevski
f56c3ec69d Much streamlined handling of diagnostics 2023-08-27 16:38:25 -07:00
Emil Dotchevski
333af1543c Issue 56 2023-08-19 18:11:08 -07:00
Emil Dotchevski
801e5e813f Fix for Issue 53 2023-04-04 21:30:36 -07:00
Emil Dotchevski
e16e0cf417 Explicit tests for the BOOST_LEAF_CFG_CAPTURE=0 configurations 2022-06-28 19:05:23 -07:00
Emil Dotchevski
b13c169565 Refined TLS array support 2022-02-25 18:52:17 -08:00
Emil Dotchevski
14aa923449 Optimal TLS array size for embedded development 2022-02-23 18:02:27 -08:00
Emil Dotchevski
c765799546 Implemented to_variant 2022-02-16 19:54:47 -08:00
Emil Dotchevski
086786218a Workaround for GCC 4.8 not handling C++11 ref qualifiers correctly; and BOOST_LEAF_CHECK using statement expressions under __GNUC__. 2022-01-30 15:29:40 -08:00
Emil Dotchevski
59adc58ae9 Refactored error object propagation, better verbose_diagnostic_info 2022-01-28 19:00:42 -08:00
Emil Dotchevski
ae9aae2a59 Removed tabs 2022-01-19 23:32:44 -08: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
35295d2ca0 Issue #33 2021-11-21 00:11:09 -08:00
Emil Dotchevski
bcc9bf48d4 Updated examples and documentation 2021-11-18 17:38:18 -08:00
Emil Dotchevski
734bd8dda5 Renamed examples -> example 2021-08-28 16:19:40 -07:00
Emil Dotchevski
a314c0a028 Added _compile-fail-result_4 unit test 2021-07-10 13:40:27 -07:00
Emil Dotchevski
06a7779699 New unit tests and fix for issuo 26 2021-07-10 10:14:22 -07:00