2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-02-11 11:52:18 +00:00
Commit Graph

379 Commits

Author SHA1 Message Date
Emil Dotchevski
cc09447f1e Check if an error object's value member is a null pointer before printing it 2024-09-08 17:48:45 -07:00
Emil Dotchevski
7358896f82 More robust compile-time parsing of error type names, static_assert on failure to parse 2024-09-08 17:08:13 -07:00
Emil Dotchevski
2c1219716a diagnostic_info and diagnostic_details storing e_source_location in context, avoids dynamic allocations 2024-09-06 21:31:28 -07:00
Emil Dotchevski
3422b31e8c Deleted context_ptr (was deprecated) 2024-09-04 01:22:29 -07:00
Emil Dotchevski
c9d494a8f8 Exception wrapper optimization 2024-09-03 21:29:28 -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
16ed99327c Renamed verbose_diagnostic_info -> diagnostic_details 2024-08-25 00:17:12 -07:00
Emil Dotchevski
9c139e094c C++11 constexpr type name parsing for diagnostics 2024-08-22 20:36:33 -07:00
Emil Dotchevski
b026a00790 Improved demangling for prettier verbose_diagnostic_info printing 2024-08-21 09:59:26 -07:00
Emil Dotchevski
3ed033458b Added _CRT_SECURE_NO_WARNINGS for Windows builds 2024-08-21 09:47:46 -07:00
Emil Dotchevski
0e7f5a097e Fix for Issue 75 + unit test 2024-08-18 20:23:43 -07:00
Emil Dotchevski
d755b4ce1c Fix a bug in dynamic_allocator 2024-06-30 16:37:26 -07:00
Emil Dotchevski
ed8f9cd32f Issue 70 2024-01-27 17:48:53 -08: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
c4977866bc Public result<T>::value_type 2023-11-05 13:53:17 -08:00
Emil Dotchevski
87efaf7380 Improved diagnostics 2023-09-15 11:15:10 -07:00
Emil Dotchevski
351a563de0 Copyright message update 2023-09-15 11:11:13 -07:00
Emil Dotchevski
f56c3ec69d Much streamlined handling of diagnostics 2023-08-27 16:38:25 -07:00
Emil Dotchevski
8b5cd796ea One more accumulate test bug fixed 2023-08-26 20:44:28 -07:00
Emil Dotchevski
c3f61f154e Fixed bugs in accumulate unit tests, error info object was not initialized correctly 2023-08-26 20:27:48 -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
e02fc6ba22 Better includes for try_catch_test.cpp 2023-04-04 21:30:18 -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
5e9a5b9625 nullptr 2022-05-26 22:49:41 -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
be320a9e39 Renamed BOOST_LEAF_GNUC_STMTEXPR to BOOST_LEAF_CFG_GNUC_STMTEXPR 2022-01-31 11:05:44 -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
799431ede9 Fixed Issue 41 2022-01-19 19:14:30 -08:00
Emil Dotchevski
7a02a4db86 Fixed bug in turning off capture_exception_state_test based on config 2022-01-11 11:50:46 -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
b67e4b5cd7 result::op* and op-> made noexcept 2021-12-25 14:08:35 -08:00
Emil Dotchevski
55ba6993cd Implemented support for BOOST_LEAF_DISABLE_CAPTURE 2021-12-14 10:22:15 -08:00
Emil Dotchevski
5e3c533da6 diagnostic_info_test updated for enum class error info 2021-12-01 10:26:35 -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