234 Commits

Author SHA1 Message Date
657b0d1ab1 Added function_traits. 2025-07-16 21:07:01 +02:00
Patrick Wuttke
4bd6843ba5 Made logger thread-safe and added filters. 2025-07-14 19:09:55 +02:00
Patrick Wuttke
657d05341c Added NotNullable::release() function. 2025-07-14 19:09:55 +02:00
Patrick Wuttke
9cefc52568 Replaced default deleter used in DynamicPointer so it fits better with other functions. 2025-07-14 19:09:55 +02:00
Patrick Wuttke
2d413764f0 Added Stream functions for reading and writing 0-terminated strings. 2025-07-14 19:09:55 +02:00
Patrick Wuttke
50532459ce Added missing include. 2025-07-14 19:09:55 +02:00
2d5a7316f1 Added getCPUTicks() and getCPUTicksPerSeconds() functions. 2025-07-12 16:59:35 +02:00
cf45aaa39a Added MIJIN_FUNCNAME() macro. 2025-07-12 16:59:09 +02:00
def8d0b6b8 Removed unused MIJIN_FUNC() macro. 2025-07-12 16:58:57 +02:00
f7daa58b38 Added FixedArrayOutputIterator and use it for logging without heap allocations. 2025-07-12 16:57:20 +02:00
1208f1f59f Added utility type to convert variant members via std::visit. 2025-07-12 12:50:10 +02:00
93a0b6cf58 Added explicit constructor for casting between related not-nullable pointers. 2025-07-12 12:49:45 +02:00
cae7fecb51 First implementation of custom path type. 2025-07-11 14:12:05 +02:00
13f37a81b6 Added Path type (WIP). 2025-07-11 14:12:05 +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
addae96c91 Made Stream::readAsString() and Stream::c_readAsString() work with arbitrary std::basic_string instances. 2025-07-09 00:57:19 +02:00
cf860392a5 Added missing copy assignment operator for ConstMemoryView. 2025-07-08 00:35:12 +02:00
8ad34427f3 Made TypelessBuffer allocator-aware and split some of its functionality into MemoryView type. 2025-07-07 00:12:34 +02:00
59780ed6de Fixed compilation of MemoryFileSystem if MIJIN_DEFAULT_ALLOCATOR is not copy-constructible. 2025-07-06 12:37:45 +02:00
888b0a16f7 Fixed use of MIJIN_CONFIG_HEADER. 2025-07-06 12:37:06 +02:00
d29a025ec5 Properly constexpred and noexcepted BoxedObject. 2025-07-03 09:10:36 +02:00
40c0d888e6 Added std::hash for tuples, because why not. 2025-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. 2025-07-02 16:40:46 +02:00
6090d5fc74 Implemented stacktrace collection for Windows. 2025-07-02 16:39:26 +02:00
a1d7a63aba Added flusing to the stdio log sink. 2025-07-02 16:39:02 +02:00
1d32530be7 Added allReady() and getAll() functions for futures and c_allDone() with tasks for tasks. 2025-07-01 18:19:38 +02:00
973b62a348 Added some missing headers. 2025-06-28 02:23:23 +02:00
86f3790ce1 Added stack allocator snapshots. 2025-06-26 16:55:33 +02:00
1cbd435fbf Added missing Signal constructor taking const-qualified member functions. 2025-06-25 00:45:40 +02:00
573c431dbd Lots of windows fixes and some more improvements. 2025-06-24 15:21:01 +02:00
36a908ab8a Added StackAllocator type. 2025-06-23 00:24:03 +02:00
a956560183 Made coroutines allocator-aware (let's hope this really works). 2025-06-23 00:23:50 +02:00
2fc03e4050 Made Signal allocator-aware. 2025-06-23 00:21:46 +02:00
94e94f02b6 Modified assertion macros so they evaluate to an empty instruction instead of nothing in non-debug builds. 2025-06-23 00:21:24 +02:00
7284d3d15f Added STL formatters for Stacktrace and Stackframe. 2025-06-23 00:20:17 +02:00
2b368c1d4f Added converting constructor for AllocatorDeleter. 2025-06-23 00:19:30 +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
8a9df15dd0 CLang advertises C++-26 features but warns us when we use them :/. 2025-06-21 15:07:12 +02:00
465a97ded5 Removed logger.cpp again. 2025-06-21 15:06:39 +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
17bd408d3c Fixed test and CLang compilation. 2025-05-20 21:15:51 +02:00
45623e5273 Fixed GCC compilation. 2025-05-17 11:14:03 +02:00
48fd006819 Added MemoryFileSystemAdapter. 2025-03-28 11:44:28 +01:00
d7f968db3a Deprecated FileSystemAdapter::getHomeFolder(). 2025-03-28 11:44:15 +01:00