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
Dirk Stolle
d327c083ff
Fix some typos
2025-06-01 03:22:57 +02: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
a4207bb678
Missing includes
2024-09-03 11:48:04 -07:00
Emil Dotchevski
16ed99327c
Renamed verbose_diagnostic_info -> diagnostic_details
2024-08-25 00:17:12 -07:00
Emil Dotchevski
f9230c4c26
Fixed compatibility isue in asio_beast_leaf_rpc example
2024-08-21 09:49:07 -07:00
Emil Dotchevski
05b94dfdfb
Added meson config for testing embedded builds
2024-08-04 16:23:53 -07: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
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
e16e0cf417
Explicit tests for the BOOST_LEAF_CFG_CAPTURE=0 configurations
2022-06-28 19:05:23 -07:00
Emil Dotchevski
ff4f5da286
throw leaf::exception(....) becomes leaf::throw_exception(....)
2022-06-26 22:14:28 -07:00
Emil Dotchevski
7ea5958ede
Removed BOOST_LEAF_NORETURN for [[noreturn]]
2022-06-26 13:49:33 -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
996edca175
Support for BOOST_LEAF_EMBEDDED, removing all diagnostics support, std::string/std::stringstream
2022-01-03 12:00:56 -08:00
Emil Dotchevski
365bbb07b7
Whitespace edits in examples
2021-12-01 10:24:18 -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
2e1391195b
Documentation, some renamings
2019-02-11 22:10:04 -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
ba22d5fb10
1. Renamed propagate to load throughout LEAF.
...
2. Changed result::error to not load, simply returns the error.
3. Added result::load, which loads then returns *this.
4. Added result::accumulate.
2019-02-04 11:43:22 -08:00
Emil Dotchevski
ec11f6d6a5
continuation_result -> make_continuation_result
2019-02-02 12:51:07 -08:00
Emil Dotchevski
6507f28c6a
travis
2019-02-02 12:18:06 -08:00
Emil Dotchevski
b3bb71ed04
missing include
2019-02-02 12:16:53 -08:00
Emil Dotchevski
02e289f9e5
updated examples and added continuation_test.cpp
2019-02-02 12:02:29 -08:00
Emil Dotchevski
2e900f1cc6
minor fix in error_log
2019-02-01 16:31:14 -08:00
Emil Dotchevski
abcffe9649
added error_log example
2019-02-01 16:14:15 -08:00
Emil Dotchevski
161127fc1b
proper erorr_trace comment
2019-01-31 09:26:57 -08:00
Emil Dotchevski
2d66e98147
error_trace example
2019-01-31 00:39:39 -08:00
Emil Dotchevski
84df857c10
more "using", renamed capture_ to remote_
2019-01-30 22:52:20 -08:00
Emil Dotchevski
9dc430180b
added different error_ types, converted capture_in_result/capture_in_exception to call the passed function, rather than return a function that calls it
2019-01-30 17:11:53 -08:00
Emil Dotchevski
e4a54437b0
bound_handle_all, bound_handle_some, bound_try_
2019-01-29 13:34:13 -08:00
Emil Dotchevski
d13dc40a52
better capture_in_result/capture_in_exception interface
...
als is_error_type -> is_e_type.
2019-01-28 16:24:49 -08:00
Emil Dotchevski
1a3c30cfd9
fixed bug in error objects capture, thanks sorin
2019-01-27 15:08:31 -08:00
Emil Dotchevski
a9302bb23c
handlers in tuple
2019-01-26 23:35:51 -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
4e45151020
capture_result->capture_in_result, capture_exception->capture_in_exception
2019-01-25 14:13:59 -08:00
Emil Dotchevski
1b74d04b34
optimizations
2019-01-24 00:13:20 -08:00
Emil Dotchevski
e1a8db14b9
updated copyright message
2019-01-23 23:30:02 -08:00
Emil Dotchevski
71d5440879
class error renamed back to error_id
2019-01-22 15:16:21 -08:00
Emil Dotchevski
7708a3d5e0
refactored error_id to error: std::error_code
2019-01-22 12:39:04 -08:00
Emil Dotchevski
8a2b9caf6e
sending error_id through std::error_code
2019-01-20 02:44:47 -08:00
Emil Dotchevski
ffde846c6e
documentation update
2019-01-16 11:32:45 -08:00
Emil Dotchevski
dcb578761a
added move assignment to result<T>
2019-01-15 18:10:04 -08:00