86 Commits

Author SHA1 Message Date
9ef450df33 Added equalsIgnoreCase() function. 2024-08-04 11:28:51 +02:00
ea97d3af48 Removed deducing this-version again as the world (clang) isn't ready for it yet. 2024-08-03 20:49:31 +02:00
af51973b2a Added a variant of throwOnError that takes an additional error message. 2024-08-03 15:55:57 +02:00
686dff506d Made Optional::then() use deducing this so it supports const and non-const optionals. 2024-08-03 15:55:26 +02:00
7658e8fbda Added copy_const_t, copy_volatile_t and copy_cv_t type traits. 2024-07-31 22:19:19 +02:00
2942149cb5 Added option to add custom types ScriptValue. 2024-07-31 22:18:51 +02:00
cdcf99237b Made TypelessBuffer functions noexcept. 2024-07-31 22:17:47 +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
e82c697d2e Added getNativePath() method to get the OS version of a virtual path. 2024-07-27 11:04:38 +02:00
9b4425c495 Added ScriptValue type as a generic variant type for scripts and similar situations. 2024-07-26 23:28:39 +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
b40814e58b Added missing include. 2024-07-26 23:26:42 +02:00
0a4f1d2ce4 Added property type. 2024-07-26 18:51:16 +02:00
b66893dda7 Added Optionl::then() for monad functionality. 2024-07-26 18:51:08 +02:00
f35ee5f038 Added throwOnError utility function. 2024-07-23 20:16:24 +02:00
83a46cae15 Fixed other functions in RelativeFileSystemAdapter. 2024-07-23 20:16:12 +02:00
3b7396c4d6 Fixed enumeration of files. 2024-07-23 19:55:40 +02:00
7aa1edcea0 Added MIJIN_STRIDEOF() utilty macro. 2024-06-28 18:21:29 +02:00
251393ae48 Fixed new nodiscard attribute. 2024-06-27 19:18:43 +02:00
eccaa177ca Added nodiscard attribute to TaskBase. 2024-06-27 18:13:26 +02:00
b1fa99428e Fixed Windows/MSVC compilation. 2024-06-26 10:05:32 +02:00
b10f250945 Added simple (albeit in many cases suboptiomal) c_sleep() method for coroutines. 2024-06-23 12:19:57 +02:00
e586698fb6 Added bits_t member to BitFlags and is_bitflags_v helper constant. 2024-06-10 23:11:54 +02:00
c214398fac Deprecated readString() method so it is always clear if you want to read a binary encoded string or the file as string. Also added possibility to open a memory stream from any span. 2024-06-10 23:11:25 +02:00
463f4ca19c Fixed some compiler errors. 2024-05-17 20:29:46 +02:00
80310f3c5c Added some constructors and an empty() check to path references. 2023-12-29 23:32:14 +01:00
1d14c1f3ff Added comparator and hash function for path references. 2023-12-23 12:10:07 +01:00
83d3ce9f1f Use copies of strings for the cache instead of string_views. Apparently my assumption was wrong. 2023-12-19 22:41:40 +01:00
de07cf91bc Added bool conversion for Name. 2023-12-18 17:53:52 +01:00
faf4489b92 Added isLocked() to task mutex. 2023-12-18 17:53:40 +01:00
2668e69ae1 Added signal_token_t to make it easier to store tokens. 2023-12-17 02:36:24 +01:00
bb4d31747a Added function to convert StrideSpan to regular span, if possible. 2023-12-16 10:25:58 +01:00
8ce77cf8bf Fixed tangent generation and added Vector4 type. 2023-12-15 02:20:50 +01:00
b692425f83 Added TaskMutex header. 2023-12-10 18:42:20 +01:00
1d8ef0bac8 Added some basic geometry functionality (only tangent generation for now). 2023-12-07 17:16:08 +01:00
b89f19ed98 Use inline assembly for MIJIN_TRAP() so the debugger stops at the exact location. Only works for x64, but that's currently my only target. 2023-12-07 17:15:42 +01:00
0e877f4769 Added getActiveTasks() function to count how many tasks are running or suspended. 2023-12-07 17:14:45 +01:00
5e236dae00 Added TypeDef. 2023-12-02 10:59:31 +01:00
6cac3a655b Fixed StrideSpan operator[] for const spans. 2023-11-26 22:42:33 +01:00
27b163f4db Added libfmt support for Name. 2023-11-26 15:13:06 +01:00
c44350269a Added code to capture stacktrace whenever an exception is thrown. 2023-11-26 11:49:23 +01:00
adbb4fd0d1 Disabled coroutine debug info by default as it is fucking expensive. 2023-11-24 22:01:08 +01:00
45845fa31b Fixed crashes when capturing stacktrace from multiple threads. 2023-11-24 22:00:47 +01:00
4f7e8ae39f Fixed StrideSpan::size() for default-constructed spans and added empty check + operatators. 2023-11-24 13:08:39 +01:00
ce7a7b15c7 Added utilty functions to read an entire file. 2023-11-19 23:45:35 +01:00
0e90cabb7e Added PathReference utility type. 2023-11-19 23:45:14 +01:00