23 Commits

Author SHA1 Message Date
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
81f4c33508 Fixed windows compilation. 2024-11-29 09:48:30 +01:00
4be8f387dc Fixed ScriptValue::mapView() for const ScriptValues. 2024-11-20 20:19:29 +01:00
98cf879541 Fixed ScriptValue arrayView() and mapView() functions. 2024-11-17 13:09:17 +01:00
7dcdf2df22 Fixed ScriptValue::to() for int and float types. 2024-11-10 19:08:40 +01:00
57a9b6a518 Added ScriptValue::toRef(), spaceship operators for array and map values and fixed return type of index operators. 2024-10-31 23:38:38 +01:00
1f493d3b57 Added missing include. 2024-10-25 00:21:48 +02:00
44aee31747 Added some utilities to ScriptValue for reading from arrays and maps. 2024-10-25 00:08:36 +02:00
c31dbbd093 Added utility functions to check type of script values. 2024-10-24 22:21:22 +02:00
9ba097fc2f Added support for completely disabling noexcept using MIJIN_TEST_NO_NOEXCEPT (for testing). 2024-08-29 00:01:23 +02:00
9f011952c2 Fixed a bunch of clang-tidy warnings. 2024-08-18 13:13:17 +02:00
822abb7b30 Fixed some issues with compilation in CLang. 2024-08-18 09:10:26 +02:00
acb5d5b04e Added utilty header for variant stuff (Visitor type and variant_contains_v). 2024-08-17 22:55:58 +02:00
9337ad7ddb Added support for map values and can_hold_type_v utility trait to ScriptValue. 2024-08-17 18:10:29 +02:00
2942149cb5 Added option to add custom types ScriptValue. 2024-07-31 22:18:51 +02:00
f6f77f6dc1 Return result with more error information when opening a shared library fails. 2024-07-29 21:48:04 +02:00
9b4425c495 Added ScriptValue type as a generic variant type for scripts and similar situations. 2024-07-26 23:28:39 +02: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
5e236dae00 Added TypeDef. 2023-12-02 10:59:31 +01:00
27b163f4db Added libfmt support for Name. 2023-11-26 15:13:06 +01:00
2cc0f74d06 Added result type and stacktrace capabilities. 2023-11-11 12:41:47 +01:00
da781b87f2 intial commit 2023-05-29 14:51:44 +02:00