91 Commits

Author SHA1 Message Date
d3659f11f7 Implemented getCPUTicks() and getCPUTicksPerSecond() for Windows. 2025-07-17 10:56:39 +02:00
d207774868 Added missing include. 2025-07-17 10:56:15 +02:00
54d9cd327a Added undef for VOID. 2025-07-17 07:51:19 +02:00
93ef90aeb8 Added function_traits. 2025-07-16 21:07:50 +02:00
ba6ffa6c42 Added getCPUTicks() and getCPUTicksPerSeconds() functions. 2025-07-16 21:07:50 +02:00
2cf270df84 Added MIJIN_FUNCNAME() macro. 2025-07-16 21:07:50 +02:00
e91924e049 Added FixedArrayOutputIterator and use it for logging without heap allocations. 2025-07-16 21:07:50 +02:00
79f49829d3 Added utility type to convert variant members via std::visit. 2025-07-16 21:07:50 +02:00
042e0d2465 Added explicit constructor for casting between related not-nullable pointers. 2025-07-16 21:07:50 +02:00
Patrick Wuttke
51092bb4cb Added splitView() and splitLines() to string utility functions. 2025-07-15 18:21:10 +02:00
Patrick Wuttke
ad627b7c70 Added NotNullable::release() function. 2025-07-14 17:16:09 +02:00
Patrick Wuttke
d8b03893b3 Merge branch 'master' of https://git.mewin.de/mewin/mijin2 2025-07-14 10:08:04 +02:00
Patrick Wuttke
b5546067a8 Added missing include. 2025-07-14 10:07:37 +02:00
9e572061da Added DEBUG to macros being undefed. 2025-07-11 14:11:14 +02:00
d0be5f7739 Fixed use-after-move in TaskLoop::addTaskImpl() and some minor compilation problems. 2025-07-10 02:16:29 +02:00
e6556c6f90 Fixed convertCharType when converting from wchar_t to char. 2025-07-09 00:57:45 +02:00
40c0d888e6 Added std::hash for tuples, because why not. 2025-07-02 23:10:30 +02:00
973b62a348 Added some missing headers. 2025-06-28 02:23:23 +02:00
573c431dbd Lots of windows fixes and some more improvements. 2025-06-24 15:21:01 +02:00
9c4765dbaf Added converting constructors for NotNullable. 2025-06-23 00:18:47 +02:00
05bc3d5147 Added optional_base trait. 2025-06-23 00:17:30 +02:00
232a01eb28 Added alignUp() variant for pointers. 2025-06-23 00:16:52 +02:00
c9c4eff130 Added (very limited) support for ansi coloring to log formatter. 2025-06-21 17:01:37 +02:00
b91eb34789 Massively overengineered logger to support different character types. 2025-06-21 14:16:19 +02:00
061c58ef41 Added more stuff like Logging, DynamicPointer, utilities for using STL allocators and NotNullable. 2025-06-21 08:07:57 +02:00
Patrick Wuttke
91d53805b5 Semi-disabled bitFlagsToInt() again, since it is quite error-prone. 2025-03-27 15:07:45 +01:00
Patrick Wuttke
8bad5e4346 Fixed stars- and endsWithIgnoreCase. 2025-03-27 15:07:17 +01:00
Patrick Wuttke
f6776d233d Added startsWithIgnoreCase() and endsWithIgnoreCase() functions. 2025-03-27 12:18:52 +01:00
Patrick Wuttke
a64bfde6af Added findIgnoreCase() utility function. 2025-03-18 15:07:55 +01:00
cd66b76a8f Added bitFlagsToInt() and bitFlagsFromInt() methods for converting bit flags to and from integer types. 2025-03-13 09:46:29 +01:00
55fb360dfa Fixed Windows version of getExecutablePath(). 2025-01-22 11:54:13 +01:00
461d3ec694 Added getExecutablePath(). Still need to check if the Windows version works, but who cares? 2025-01-19 21:24:38 +01:00
48aeb32ee5 Added walkExceptionCause helper function. 2024-12-16 20:53:17 +01:00
7ffc9df3fc Added spaceship operator for BitFlags type. 2024-12-10 23:06:44 +01:00
49791c4fd0 Added toNumber() variants for floating-point types. 2024-12-04 01:08:53 +01:00
81f4c33508 Fixed windows compilation. 2024-11-29 09:48:30 +01:00
f28cc04aa1 Replaced another instance of result_of_t with invoke_result_t. 2024-11-23 15:56:24 +01:00
71fc1686bb Added MIJIN_CONCAT3 macro. 2024-11-17 13:10:49 +01:00
aa63f35902 Added is_template_instance traits. 2024-11-17 13:09:31 +01:00
017bba89e4 Fixed type_at_t trait. 2024-11-09 23:33:15 +01:00
009113e566 Added delay_type_t and type_at_t traits. 2024-11-09 21:35:59 +01:00
741ad4603f Fixed value_type of MappingRanges. 2024-10-31 23:38:54 +01:00
85373e5293 Added header for converting HRESULTs to exceptions. 2024-10-25 09:41:26 +02:00
6f7d518ca7 Added more defines to winundef.hpp 2024-10-25 09:40:37 +02:00
77d46d986c Added exception type that automatically captures stacktrace and "parent" exception when constructed. 2024-10-12 23:05:11 +02:00
24033dbfcc Added isDecimalChar() and isHexadecimalChar(). 2024-09-18 09:46:52 +02:00
aff59724fc Added splitFixed() function to avoid heap-allocation when the number of (expected) splits is known at compile-time. 2024-09-17 09:49:36 +02:00
4e93898a56 Added required includes to variant util header. 2024-09-11 08:57:20 +02:00
3942c7e074 Made bitflags bool cast operator explicit. 2024-09-11 08:56:08 +02:00
9ba097fc2f Added support for completely disabling noexcept using MIJIN_TEST_NO_NOEXCEPT (for testing). 2024-08-29 00:01:23 +02:00