254 Commits

Author SHA1 Message Date
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
e35f5a35f8 Some improvements to VectorMap interface. Added moving operator[], contains and [[nodiscard]] to find(). 2025-03-28 11:43:32 +01: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
b007768790 Merge branch 'master' of https://git.mewin.de/mewin/mijin2 2025-03-27 12:18:57 +01:00
Patrick Wuttke
f6776d233d Added startsWithIgnoreCase() and endsWithIgnoreCase() functions. 2025-03-27 12:18:52 +01:00
719505ac05 Removed old LibConf file. 2025-03-18 17:19:38 +01:00
6dcd95b9f3 Added license. 2025-03-18 17:19:38 +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. v0.0.1 2025-03-13 09:46:29 +01:00
ede7477ffa Fixed compilation warnings due to unused results in release versions. 2025-03-13 09:46:29 +01:00
75e77c53e4 Some more FS fixes. 2025-03-10 09:56:32 +01:00
c5b9c02342 Fixed MappingFileSystemAdapter::adjustPath() on Windows. 2025-03-07 14:28:23 +01:00
1c0c928856 Fixed known folders detection for Windows (at least compilation). 2025-03-03 17:26:29 +01:00
ce26cda739 Import getAllPaths() to StackedFileSystemAdapter so it is also availabe there. 2025-03-02 20:06:46 +01:00
b6657189d3 Added getAllPaths() method to get combined results from stacked adapters. 2025-03-02 20:02:03 +01:00
3d0f5b9a3f Remove errornously added .idea folder. 2025-03-02 19:58:15 +01:00
6407c5ca09 Added MappingFileSystemAdapter and adjusted some more stuff in the VFS module. 2025-03-02 18:41:04 +01:00
8f2cee4968 Added functions for detecting known folders per-platform. Not tested on Windows yet, but who cares? 2025-03-02 17:19:18 +01:00
ba23cb0c70 Made the lib work with -fno-exceptions (at least for now). 2025-03-02 14:35:37 +01:00
21b3b2c03a Allow calling Signal::emit() with arguments that aren't exactly the signal handlers types. 2025-02-14 22:39:01 +01:00
55fb360dfa Fixed Windows version of getExecutablePath(). 2025-01-22 11:54:13 +01:00
6d2a57485e Added dataAt() to TypelessBuffer and elementSize() to UntypedVector. 2025-01-22 11:47:31 +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
75398b89d5 Added MemoryView. 2025-01-18 18:38:37 +01:00
43e772bb89 Added UntypedVector type. 2024-12-25 01:56:45 +01:00
3c7b7212b9 Added path concatination operator for PathReference. 2024-12-25 01:56:36 +01:00
28ae64169d Possibly fixed some crashes when reading in a coroutine. 2024-12-21 22:30:10 +01:00
0d9769f2b7 Added missing include. 2024-12-21 22:29:50 +01:00
36a9b60e0b Added constant index operator to VectorMap. 2024-12-18 14:50:01 +01:00
48aeb32ee5 Added walkExceptionCause helper function. 2024-12-16 20:53:17 +01:00
aa804a2a99 Replaced noexcept with MIJIN_NOEXCEPT macro and added PODWrapper for simplifying serializing POD types. 2024-12-13 22:20:22 +01:00
781bad3c8e Fixed TCPServerSocket::isListening() on Windows. 2024-12-13 10:08:46 +01:00
41618310e4 Added 'connection refused' stream error. 2024-12-13 10:01:33 +01:00
713d5ca02d Removed unnecessary ServerSocket type. 2024-12-13 10:01:01 +01:00
7ffc9df3fc Added spaceship operator for BitFlags type. 2024-12-10 23:06:44 +01:00
f232728f69 Fixed clang compilation and added support for making assertions and erros throw exceptions for easier testing. 2024-12-06 18:36:49 +01:00
34adf3f006 Added constructors so the VectorMap is default-, copy- and move-constructible. 2024-12-06 18:05:42 +01:00
5596ab16a7 Added VectorMap type (for having a map-like interface using std::vector that supports incomplete types). 2024-12-06 17:59:37 +01:00
49791c4fd0 Added toNumber() variants for floating-point types. 2024-12-04 01:08:53 +01:00
5bd19369ce Fixed wrong type used for storing the width. 2024-11-30 15:22:07 +01:00