254 Commits

Author SHA1 Message Date
81f4c33508 Fixed windows compilation. 2024-11-29 09:48:30 +01:00
5f0e6e9726 Added STLStream that wraps STL stream types for usage with functions that expect a Mijin stream. 2024-11-29 01:37:50 +01:00
f28cc04aa1 Replaced another instance of result_of_t with invoke_result_t. 2024-11-23 15:56:24 +01:00
e747d6d3f7 Limit CURL version to anything before 8.10.0 for now. 2024-11-20 20:19:55 +01:00
4be8f387dc Fixed ScriptValue::mapView() for const ScriptValues. 2024-11-20 20:19:29 +01:00
71fc1686bb Added MIJIN_CONCAT3 macro. 2024-11-17 13:10:49 +01:00
aa63f35902 Added is_template_instance traits. 2024-11-17 13:09:31 +01:00
98cf879541 Fixed ScriptValue arrayView() and mapView() functions. 2024-11-17 13:09:17 +01:00
d52cc6af6e Added value_t type to optional. 2024-11-12 23:32:00 +01:00
2af1b5edd5 Made Future::set() only callable on futures with void result to prevent futures that are ready but have no result. 2024-11-12 23:31:43 +01:00
7dcdf2df22 Fixed ScriptValue::to() for int and float types. 2024-11-10 19:08:40 +01:00
017bba89e4 Fixed type_at_t trait. 2024-11-09 23:33:15 +01:00
009113e566 Added delay_type_t and type_at_t traits. 2024-11-09 21:35:59 +01:00
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