28 Commits

Author SHA1 Message Date
5eb7864928 Moved TaskCancelled out of impl namespace and removed errornous noexcept. 2023-11-16 00:36:24 +01:00
ef6830e01c Added operator-> to optional type. 2023-11-16 00:35:18 +01:00
121e8a84f5 Added type filtering iterator. 2023-11-16 00:35:18 +01:00
0b8772c952 Added (pretty limited) support for uncaught exceptions in coroutines. 2023-11-13 11:34:47 +01:00
dff7b30b2d Added missing "std::". 2023-11-13 11:34:22 +01:00
463890cfcb Added Signal::connect() function that takes an object + function pointer. 2023-11-12 19:59:18 +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
2cc0f74d06 Added result type and stacktrace capabilities. 2023-11-11 12:41:47 +01:00
ae5e73aa58 Fixed coroutine cleanup. 2023-11-11 01:37:59 +01:00
938135768b Added StrideSpan type (a span with a stride). Added makeSpan() function to TypelessBuffer. 2023-11-10 01:36:48 +01:00
617e051943 Added validity check to task handles and fixed some clang-tidy warning in MIJIN_ASSERT. 2023-11-03 23:17:48 +01:00
89bb110116 Added cancelling (and some exception handling) for coroutines. 2023-11-03 00:48:13 +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
537229104d Data pool doesn't have any source... 2023-07-01 11:11:15 +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
fb392a7239 Fixed -Werror=sign-compare. 2023-06-25 12:31:43 +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