759174ed57
Added static tests for detect_or_t.
Patrick Wuttke
2025-11-22 12:42:19 +01:00
1172116d6b
Signal: made reset() public and added parameter to reset without disconnecting the signal.
Patrick Wuttke
2025-11-22 12:40:56 +01:00
c0e70341c9
Added getState() to TaskHandle for comparison.
Patrick Wuttke
2025-11-22 12:40:00 +01:00
c54a87c90e
Added SignalAutoToken.
Patrick Wuttke
2025-11-04 17:51:02 +01:00
5e71b0ff9e
Added containsIgnoreCase() as shortcut for findIgnoreCase() != end().
Patrick Wuttke
2025-10-28 12:02:16 +01:00
0e1964ba25
Logging: made LogMessage contain a string view instead of const char*, added BufferSink, changed message parameter of formatted parameter to be string instead of const char*.
Patrick Wuttke
2025-10-28 12:01:50 +01:00
7d4c782b0f
Made MixinMemoryView constructor private and only callable by its implementation.
Patrick Wuttke
2025-10-28 11:59:37 +01:00
4a3895c0ad
Some minor fixes/adjustments for coroutines.
Patrick Wuttke
2025-10-28 11:58:30 +01:00
1c7f043e6f
Fixed compilation using GCC due to duplicate template parameter name.
Patrick Wuttke2025-09-22 21:47:05 +02:00
5a111df9ea
Added void variant of Result.
Patrick Wuttke
2025-09-22 21:42:43 +02:00
32ccaad00a
Added Stream::copyTo() and fixed read flag in FileStream::getFeatures(). Made throwOnError() throw Exception instead of std::runtime_error.
Patrick Wuttke
2025-09-22 21:41:31 +02:00
10d9b4c98f
Made VectorMap find and access functions templates so you don't have to construct the key.
Patrick Wuttke
2025-09-22 21:40:53 +02:00
cc20702249
Added [[maybe_unused]] to std::atexit() call to fix non-debug builds.
Patrick Wuttke
2025-09-22 21:39:46 +02:00
7d6fcc60fc
Added support for forwarding exceptions via Future.
Patrick Wuttke
2025-09-22 21:39:03 +02:00
3891c0f8ce
Added option to quoted() function to replace newlines.
Patrick Wuttke2025-09-21 12:36:41 +02:00
7da2f7b7f4
Added note about getKnownFolder() to getHomeFolder() deprecation hint.
Patrick Wuttke2025-09-21 12:35:46 +02:00
bd06118b29
Normalize paths created by the RelativeFileSystemAdapter. Fixes issues with trailin "/.".
Patrick Wuttke2025-09-21 12:34:38 +02:00
4d19752964
Added quoted() string helper.
Patrick Wuttke
2025-08-30 00:31:27 +02:00
0e988a4d9e
Added member_pointer_of traits.
Patrick Wuttke
2025-08-30 00:31:05 +02:00
a95885880f
Added formatter for exceptions.
Patrick Wuttke
2025-08-30 00:30:47 +02:00
d76e64c062
Fixed converting auf DynamicPointers, added wrapDynamic helper to simplify creating non-owning DynamicPointers.
Patrick Wuttke
2025-08-30 00:30:09 +02:00
e704c082b7
Some fixes for logging, added MIJIN_LOG_IF and the DebugOutputLogSink.
Patrick Wuttke
2025-08-30 00:29:16 +02:00
b44d6feb97
Added MIJIN_RTTI macro for detecting if RTTI is available.
Patrick Wuttke
2025-08-30 00:28:19 +02:00
e91184ec82
Fixed current loop not being reset on exceptions.
Patrick Wuttke
2025-08-30 00:25:16 +02:00
d0be5f7739
Fixed use-after-move in TaskLoop::addTaskImpl() and some minor compilation problems.
Patrick Wuttke2025-07-10 02:16:29 +02:00
e6556c6f90
Fixed convertCharType when converting from wchar_t to char.
Patrick Wuttke2025-07-09 00:57:45 +02:00
addae96c91
Made Stream::readAsString() and Stream::c_readAsString() work with arbitrary std::basic_string instances.
Patrick Wuttke2025-07-09 00:57:19 +02:00
cf860392a5
Added missing copy assignment operator for ConstMemoryView.
Patrick Wuttke2025-07-08 00:35:12 +02:00
8ad34427f3
Made TypelessBuffer allocator-aware and split some of its functionality into MemoryView type.
Patrick Wuttke2025-07-07 00:12:34 +02:00
59780ed6de
Fixed compilation of MemoryFileSystem if MIJIN_DEFAULT_ALLOCATOR is not copy-constructible.
Patrick Wuttke2025-07-06 12:37:45 +02:00
d29a025ec5
Properly constexpred and noexcepted BoxedObject.
Patrick Wuttke2025-07-03 09:10:31 +02:00
40c0d888e6
Added std::hash for tuples, because why not.
Patrick Wuttke2025-07-02 23:10:30 +02:00
bf53622b19
Added missing construction and destruction of StackAllocatorSnapshotData, which is only required when MIJIN_STACK_ALLOCATOR_DEBUG is 2.
Patrick Wuttke2025-07-02 16:40:46 +02:00
6090d5fc74
Implemented stacktrace collection for Windows.
Patrick Wuttke2025-07-02 16:39:26 +02:00
94e94f02b6
Modified assertion macros so they evaluate to an empty instruction instead of nothing in non-debug builds.
Patrick Wuttke2025-06-23 00:21:24 +02:00
7284d3d15f
Added STL formatters for Stacktrace and Stackframe.
Patrick Wuttke2025-06-23 00:20:17 +02:00
2b368c1d4f
Added converting constructor for AllocatorDeleter.
Patrick Wuttke2025-06-23 00:19:30 +02:00
9c4765dbaf
Added converting constructors for NotNullable.
Patrick Wuttke2025-06-23 00:18:47 +02:00
d7f968db3a
Deprecated FileSystemAdapter::getHomeFolder().
Patrick Wuttke2025-03-28 11:44:15 +01:00
e35f5a35f8
Some improvements to VectorMap interface. Added moving operator[], contains and [[nodiscard]] to find().
Patrick Wuttke2025-03-28 11:43:32 +01:00
91d53805b5
Semi-disabled bitFlagsToInt() again, since it is quite error-prone.
Patrick Wuttke
2025-03-27 15:07:45 +01:00
8bad5e4346
Fixed stars- and endsWithIgnoreCase.
Patrick Wuttke
2025-03-27 15:07:17 +01:00
a64bfde6af
Added findIgnoreCase() utility function.
Patrick Wuttke
2025-03-18 15:07:55 +01:00
cd66b76a8f
Added bitFlagsToInt() and bitFlagsFromInt() methods for converting bit flags to and from integer types.
v0.0.1
Patrick Wuttke2025-03-13 09:46:18 +01:00
ede7477ffa
Fixed compilation warnings due to unused results in release versions.
Patrick Wuttke2025-03-13 09:45:47 +01:00