Emil Dotchevski
c75fbe3255
Renamed various things
2026-01-23 19:50:15 -05:00
Emil Dotchevski
ef4d0a6123
Refactored json serialization and added tests for vector
2026-01-20 17:47:43 -05:00
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
eb8d68c448
Replaced BOOST_TEST with BOOST_TEST_EQ, etc. where appropriate
2025-12-24 22:20:18 -05:00
Emil Dotchevski
4c8c5ec1aa
Improved on_error testis, fixed a minor noexcept issue
2025-12-24 22:18:09 -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
3e9d820afc
Minor tweaks to tls_win32.hpp
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
57de630f00
Simplified conditional compilation under BOOST_LEAF_NO_EXCEPTIONS
2025-12-24 22:18:09 -05:00
Emil Dotchevski
fc3e9f1875
Deleted move ctors under C++17 rendered unnecessary based on new copy elision rules
2025-12-24 22:18:08 -05:00
Emil Dotchevski
c6176fac3b
TLS tweaks
2025-12-24 22:18:08 -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
ericli-splunk
60633582c0
Update pointer test
2025-10-07 09:46:16 -07:00
Dirk Stolle
d327c083ff
Fix some typos
2025-06-01 03:22:57 +02:00
Emil Dotchevski
aff38b5be3
Windoms demangle bug fix
2025-02-23 15:32:44 -08:00
Emil Dotchevski
a8774e9b60
Fixed critical compile error on Windows introduced by previous commit
2025-02-23 10:59:20 -08:00
Amber Ehrlich
1a2fd64021
Add old clang style to clang-cl type parsing
...
Co-authored-by: Emil Dotchevski <emildotchevski@gmail.com >
2025-02-20 11:40:59 -05:00
Amber Ehrlich
54b7db131e
Added parsing for clang-cl of BOOST_LEAF_PRETTY_FUNCTION
2025-02-17 18:19:57 -05:00
Emil Dotchevski
c973cd4a7d
std::error_code interoperability improvements
2024-09-27 22:10:43 -07:00
Emil Dotchevski
d9bc66a0ce
Converted e_file_name::value to proper member even under BOOST_LEAF_CFG_STD_STRING=0
2024-09-27 22:09:29 -07:00
Emil Dotchevski
5991052a6b
Removed a few unused items
2024-09-13 21:46:56 -07: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
f81020e77c
Merge branch 'feature/update_copyright_dates' into develop
2024-09-08 19:37:00 -07:00
Emil Dotchevski
e85effa177
Merge branch 'feature/has_value_any_key' into develop
2024-09-08 19:36:06 -07:00
Emil Dotchevski
d0047b721c
Updated copyright dates
2024-09-08 18:26:05 -07:00
Emil Dotchevski
c0bf40181e
Renamed optional::has_value() to has_value_any_key() to avoid confusion
2024-09-08 18:08:08 -07:00
Emil Dotchevski
3bbe113ac2
Correct name for include guard
2024-09-08 18:07:43 -07:00
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
16f1341f77
Refinement in how clear_current_error is handled
2024-09-04 13:00:14 -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
a4207bb678
Missing includes
2024-09-03 11:48:04 -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
c5db573c2f
Correctly handling demangle failures
2024-08-24 18:46:49 -07:00
Emil Dotchevski
11dfa37fab
Streamlined demangling support
2024-08-23 16:20:21 -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
144cd1d045
Workaround in result<> to avoid msvc warnings
2024-08-21 09:58:11 -07:00
Emil Dotchevski
9efc872e21
Removed constexpr from exception constructors, to support base types use virtual inheritance
2024-08-21 09:50:08 -07:00
Emil Dotchevski
0e7f5a097e
Fix for Issue 75 + unit test
2024-08-18 20:23:43 -07:00
Luiz Siqueira
5583af83c5
Change syntax of attribute to avoid conflicts
2024-07-25 11:48:38 -03:00
Luiz Siqueira
a7690d069a
remove BOOST_LEAF_SYMBOL_VISIBLE for testing
2024-07-25 11:08:34 -03:00