241 Commits

Author SHA1 Message Date
741ad4603f Fixed value_type of MappingRanges. 2024-10-31 23:38:54 +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
85373e5293 Added header for converting HRESULTs to exceptions. 2024-10-25 09:41:26 +02:00
c36fc2d6ed Fixed compilation with MSVC. 2024-10-25 09:40:53 +02:00
6f7d518ca7 Added more defines to winundef.hpp 2024-10-25 09:40:37 +02: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
161fdb6c93 Added throwOnError() for StreamResults. 2024-10-24 18:30:03 +02:00
c4e3576bc7 Added missing string_view include. 2024-10-24 12:26:54 +02:00
0d00dec8c7 Made the request stuff work. 2024-10-23 23:55:28 +02:00
77d46d986c Added exception type that automatically captures stacktrace and "parent" exception when constructed. 2024-10-12 23:05:11 +02:00
4735fc10f8 Fixed readLine() getting stuck at the end of the file. 2024-09-19 15:21:05 +02:00
6ebcb96444 Fixed assertion when manually closing a filestream. 2024-09-19 14:10: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
8e117e0f47 Added wrapper to allow passing Mijin streams to functions that expect an STL stream. 2024-09-15 14:45:30 +02:00
a015ad54a7 Added warning about windows.h. 2024-09-12 14:51:18 +02:00
92d7b5552f WIP: CURL/request implementation. 2024-09-11 08:57:43 +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
3d4ae9678f Removed some of the unused exception stuff. 2024-09-11 08:54:52 +02:00
9ba097fc2f Added support for completely disabling noexcept using MIJIN_TEST_NO_NOEXCEPT (for testing). 2024-08-29 00:01:23 +02:00
a43f92fb58 More SSL stuff (still doesn't work :/). 2024-08-27 19:52:08 +02:00
0be34a845a Added wrapper for openssl types. 2024-08-22 00:30:38 +02:00
f761f2fb07 SSLStream (WIP) 2024-08-21 09:35:49 +02:00
0acadf994d Fixed Windows ip resolve. 2024-08-20 17:05:04 +02:00
f5ceb25a44 Added ip.cpp to LibConf. 2024-08-20 14:18:15 +02:00
04a28e220c Added name resolution code for linux. 2024-08-20 13:54:52 +02:00
a755de5c5f Added clang format file. 2024-08-20 13:54:42 +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
03f255a7d0 Added HTTPClient type. 2024-08-20 00:28:12 +02:00
99f5987f4b Added URL type. 2024-08-20 00:28:01 +02:00
8002e1f1f8 Fixed Linux socket implementation again. 2024-08-19 18:42:31 +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
d508ccfe2b Fixed initialization of sockaddr_in. 2024-08-18 13:43:14 +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
d73fa25ed8 Silenced some weird (very likely false-positive) clang-tidy warnings. 2024-08-18 12:24:37 +02:00
66e319fb0d Added missing <exception> include. 2024-08-18 09:58:49 +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
def91ac1bf Added split() and trim() string utilty functions. 2024-08-17 22:55:29 +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
bb05bb0ae5 Explictly construct result_t to fix conflicting return types. 2024-08-17 18:08:01 +02:00
2e54844989 Use steady_clock instead of high_resolution_clock for sleeping. 2024-08-17 18:07:21 +02:00
f0d0ee17ea Implemented tcp sockets (only IPv4) and asynchronous IO (for sockets). 2024-08-16 21:29:33 +02:00