131 Commits

Author SHA1 Message Date
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
da348c1f40 Added missing <stdexcept> header. 2024-08-15 10:03:16 +02:00
efedca0d3c Added SModule and dependencies.json for S++ 2.0 support. 2024-08-14 23:29:46 +02:00
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