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

167 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
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
6633c368f1 Deleted benchmark 2024-09-28 17:38:23 -07:00
Emil Dotchevski
8a3b024486 Renamed examples, fixed minor issues in build scripts 2024-09-27 22:08:30 -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
3422b31e8c Deleted context_ptr (was deprecated) 2024-09-04 01:22:29 -07:00
Emil Dotchevski
acf0ae1e4d Improved diagnostics 2024-09-02 18:26:16 -07:00
Emil Dotchevski
907bd6c26a diagnostics.hpp 2024-08-25 18:25:55 -07:00
Emil Dotchevski
9c139e094c C++11 constexpr type name parsing for diagnostics 2024-08-22 20:36:33 -07:00
Emil Dotchevski
3ed033458b Added _CRT_SECURE_NO_WARNINGS for Windows builds 2024-08-21 09:47:46 -07:00
Emil Dotchevski
d755b4ce1c Fix a bug in dynamic_allocator 2024-06-30 16:37:26 -07: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
b2090ac95f Fixed warnings 2022-09-06 14:49:00 -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
949f91a5c5 Removed #pragma system_header 2022-01-11 11:51:37 -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
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
06a7779699 New unit tests and fix for issuo 26 2021-07-10 10:14:22 -07:00
Emil Dotchevski
294728e5b5 Fixing bug in e_LastError, adding unit tests 2021-02-10 18:35:46 -08:00
Emil Dotchevski
74b580b88d Deindented top level namespaces and updated copyright messages 2021-01-26 22:46:15 -08:00
Emil Dotchevski
3c6f956912 Workaround for BOOST_WORKAROUND not being available when building unit tests in Meson and Boost is not available 2021-01-22 21:53:37 -08:00
Emil Dotchevski
27112266fa Moved leaf.hpp generation from Meson to a VSCode task 2020-12-09 14:22:04 -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
6cd4ccc605 Fixing bug on MSVC, unbalanced pragma push/pop. Improved leaf.hpp generation. 2020-12-08 23:32:01 -08:00
Emil Dotchevski
f9bb01572f Added unit tests for pull request 15 2020-11-21 16:51:02 -08:00
Emil Dotchevski
fb632b5704 Added absolute diagnostic paths in meson.build/clang (better vscode integration) 2020-10-24 18:10:19 -07:00
Emil Dotchevski
c233dd5133 Renamed boost/leaf/all.hpp to boost/leaf.hpp 2020-08-30 17:41:12 -07:00
Emil Dotchevski
950224b6f3 emcc support. Note emcc bug in std::uncaught_exceptions(), https://github.com/emscripten-core/emscripten/issues/11997 2020-08-22 16:57:01 -07:00
Emil Dotchevski
73729c8b19 Added leaf_enable_unit_tests, leaf_enable_examples, leaf_enable_benchmarks Meson options. 2020-08-05 11:50:26 -07:00