47 Commits

Author SHA1 Message Date
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
8a611bf4f3 Split IP stuff into separate source and WIP implementation of name resolution. 2024-08-20 12:07:25 +02:00
05f0e1474a Fixed URLs with non-default char types. 2024-08-20 00:35:19 +02:00
df260808b9 Implemented/fixed Windows/MSVC support for sockets. 2024-08-19 18:35:55 +02:00
35e7131780 Added some basic HTTP and ip address parsing. 2024-08-18 23:06:09 +02:00
03c899f17e Updated string split method to accept limitParts and ignoreEmpty options. 2024-08-18 17:24:06 +02:00
6d111904d4 Added clang-tidy config and cleaned up the code a little. 2024-08-18 13:30:40 +02:00
9f011952c2 Fixed a bunch of clang-tidy warnings. 2024-08-18 13:13:17 +02:00
acb5d5b04e Added utilty header for variant stuff (Visitor type and variant_contains_v). 2024-08-17 22:55:58 +02:00
def91ac1bf Added split() and trim() string utilty functions. 2024-08-17 22:55:29 +02:00
9ef450df33 Added equalsIgnoreCase() function. 2024-08-04 11:28:51 +02:00
7658e8fbda Added copy_const_t, copy_volatile_t and copy_cv_t type traits. 2024-07-31 22:19:19 +02:00
f6f77f6dc1 Return result with more error information when opening a shared library fails. 2024-07-29 21:48:04 +02:00
a9a85aecdf Added SharedLibrary wrapper for library handles. 2024-07-27 11:58:54 +02:00
232e2a3e28 Added closeSharedLibrary(). 2024-07-27 11:32:56 +02:00
8b55786e77 Added LIBRARY_EXT constant. 2024-07-27 11:14:44 +02:00
3a8602edcc Added ensure() utility to throw an exception if a condition isn't fulfilled. 2024-07-26 23:28:03 +02:00
543d77859d Added operator->() and made get() and operator*() const. 2024-07-26 23:27:24 +02:00
0a4f1d2ce4 Added property type. 2024-07-26 18:51:16 +02:00
7aa1edcea0 Added MIJIN_STRIDEOF() utilty macro. 2024-06-28 18:21:29 +02:00
b1fa99428e Fixed Windows/MSVC compilation. 2024-06-26 10:05:32 +02:00
e586698fb6 Added bits_t member to BitFlags and is_bitflags_v helper constant. 2024-06-10 23:11:54 +02:00
463f4ca19c Fixed some compiler errors. 2024-05-17 20:29:46 +02:00
60707421c8 Fixed chaining iterators for const ranges. 2023-11-19 20:04:46 +01:00
4dfc116830 Added zip() functionality for combining iterators. 2023-11-16 23:39:49 +01:00
121e8a84f5 Added type filtering iterator. 2023-11-16 00:35:18 +01:00
dff7b30b2d Added missing "std::". 2023-11-13 11:34:22 +01:00
7c1dd29a85 Added operators to BoxedObject, fixed MappintIterator for reference types and fixed signature of custom assertion and error handlers. 2023-11-12 15:25:46 +01:00
54c63cfe69 Removed _debugBreak() again, as there is already MIJIN_TRAP(). 2023-11-01 23:53:50 +01:00
522e6534bf Added _debugBreak() macro. 2023-11-01 16:41:03 +01:00
cff5879572 Added filter() and some more iterator utilities. 2023-08-21 01:48:43 +02:00
a1f1717e22 Added ProcessStream to for running processes (on Linux) and streaming their output.
Added map() function for creating a mapping iterator.
Added mijin::pipe types for map() and join().
2023-08-06 13:52:51 +02:00
1549ef27a7 Fixed some more or less valid clang and clang-tidy errors. 2023-08-05 17:47:59 +02:00
97d68d31e8 Added is_type_member to check if a type is inside a variant or similar types. 2023-07-19 22:51:37 +02:00
3910f9638e Added Chain() type to chain iterables using pipes. Also fixed crash due to RangeRef actually storing a reference when it shouldn't. 2023-07-13 00:03:45 +02:00
adff35a26a Made std::span and std::string_view "RangeAdapterType"s so they can be passed by copy. Also added functions to pipe different iterable functions into each other (WIP). 2023-07-12 23:08:20 +02:00
ef5d78e1b1 Added replace() and chain() functions for generating replacing and chaining iterables. Also added a proxy type to allow combining different iteratables. 2023-07-12 21:44:04 +02:00
04520a5d35 Added more utility and fixed Flag type. 2023-07-08 11:16:37 +02:00
c484d0fa9a Added MIJIN_SCOPE_EXIT and MIJIN_CONCAT macros. 2023-06-29 23:07:42 +02:00
e81fe345c9 Added enumerate() function for enumerating an iterator + index. 2023-06-25 19:38:09 +02:00
920e83d4da Update to LibConf system, added loading of dynamic libraries (only Linux for now) and some more fixes. 2023-05-31 23:41:22 +02:00
da781b87f2 intial commit 2023-05-29 14:51:44 +02:00