1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00
Commit Graph

184 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
4f70f89b78 Basic Discord library layout.
Foundation for the discord library bindings. To be gradually exposed to the script.
2021-09-10 20:13:42 +03:00
Sandu Liviu Catalin
5dcc57a130 Initial implementation of WebSocket client. 2021-09-07 20:55:05 +03:00
Sandu Liviu Catalin
1bd1b5545b Update Announce.hpp 2021-09-07 19:46:28 +03:00
Sandu Liviu Catalin
4cefc96faf Fix recursive call that could cause infinite loop.
Introduced by an earlier commit.
2021-09-06 00:35:47 +03:00
Sandu Liviu Catalin
81893bf236 Simplify internal buffer implementation where possible. 2021-09-05 12:03:04 +03:00
Sandu Liviu Catalin
cbfed04bc9 Remove CivetWeb in favor of POCO. 2021-09-05 00:38:00 +03:00
Sandu Liviu Catalin
bc2260a0f0 CivetWeb as a potential library. 2021-09-04 22:44:47 +03:00
Sandu Liviu Catalin
d1bf8f5033 Update SQLite.cpp 2021-09-04 19:09:10 +03:00
Sandu Liviu Catalin
f4c2665e86 Update Vector.hpp 2021-08-24 19:14:37 +03:00
Sandu Liviu Catalin
c0fc1aea75 Add Levenshtein distance to string utilities. 2021-08-22 22:23:25 +03:00
Sandu Liviu Catalin
2a06a00e3e Update code for changes to CPR library. 2021-08-22 22:10:03 +03:00
Sandu Liviu Catalin
b78b3e8ede Change MySQL header include path. 2021-08-22 19:16:31 +03:00
Sandu Liviu Catalin
9d62233cfc More additions to chrono utilities. 2021-08-18 21:37:33 +03:00
Sandu Liviu Catalin
503b61c3df Allow unoptimized to use formatting without errors. 2021-08-18 21:36:59 +03:00
Sandu Liviu Catalin
d79f292729 Replace JSMN with SAJSON.
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-16 20:42:34 +03:00
Sandu Liviu Catalin
3ff344c296 Basic JSON decode implementation. 2021-07-13 20:07:07 +03:00
Sandu Liviu Catalin
ce6050cc08 JSMN approach. 2021-07-10 14:15:41 +03:00
Sandu Liviu Catalin
a268756153 Update Path.cpp 2021-07-04 20:22:25 +03:00
Sandu Liviu Catalin
a4f1e0d19d Improve interaction of path utility with strings. 2021-07-04 20:21:47 +03:00
Sandu Liviu Catalin
0ed82f66e1 Remove extra containers.
They must be implemented without binding library for them to compete in terms of performance.
2021-07-04 04:15:38 +03:00
Sandu Liviu Catalin
f661d13d24 Include a few other extra methods. 2021-07-04 04:00:41 +03:00
Sandu Liviu Catalin
9e0071567e Add retrieval with fall-back. 2021-07-04 03:41:53 +03:00
Sandu Liviu Catalin
812cbcf332 Rename method. 2021-07-04 03:39:41 +03:00
Sandu Liviu Catalin
8fc23a837a Add method to check for existence of an element. 2021-07-04 03:38:28 +03:00
Sandu Liviu Catalin
323dc3ad1b Implement dictionary type.
Basically a fast (hybrid) contiguous hash map.
2021-07-04 03:34:33 +03:00
Sandu Liviu Catalin
494aed47bf Backport basic xml. 2021-07-03 20:42:44 +03:00
Sandu Liviu Catalin
a710ceebff Lazy fix for new changes to cpp fmt library. 2021-07-03 14:09:58 +03:00
Sandu Liviu Catalin
8db8ee4f33 Implement user agent option in CPR. 2021-07-02 21:11:06 +03:00
Sandu Liviu Catalin
1d6bca426b Implement cookie file/jar. 2021-07-02 17:45:16 +03:00
Sandu Liviu Catalin
425b13afe0 Port legacy MySQL implementation. 2021-06-12 17:51:33 +03:00
Sandu Liviu Catalin
f5592208fa Port legacy SQLite implementation. 2021-06-12 17:51:01 +03:00
Sandu Liviu Catalin
d5bfeced1c Indentation. 2021-04-20 20:07:06 +03:00
Sandu Liviu Catalin
bc6a43d84c Update String.cpp 2021-04-20 19:54:41 +03:00
Sandu Liviu Catalin
974b916b5c Update String.cpp 2021-04-20 19:50:17 +03:00
Sandu Liviu Catalin
68cbbdb831 Update Env.cpp 2021-04-20 19:24:44 +03:00
Sandu Liviu Catalin
1969d1e624 Locale based formatting support. 2021-04-20 18:19:58 +03:00
Sandu Liviu Catalin
0223621b75 Update String.hpp 2021-04-18 13:14:41 +03:00
Sandu Liviu Catalin
eb7cafac46 Update String.hpp 2021-04-18 07:00:39 +03:00
Sandu Liviu Catalin
afcad89f18 String utils. 2021-04-10 17:18:49 +03:00
Sandu Liviu Catalin
d9a35ec5d8 BLOB and CLOB support. 2021-04-03 16:30:08 +03:00
Sandu Liviu Catalin
950d684f9a Global wide switch to extended format support. 2021-04-02 19:12:06 +03:00
Sandu Liviu Catalin
0ec506f8e8 WIP extended string formatting. 2021-04-01 19:31:33 +03:00
Sandu Liviu Catalin
2ea65f86cd Update Chrono.hpp 2021-03-30 20:32:32 +03:00
Sandu Liviu Catalin
9278d92603 WIP native string container. 2021-03-28 22:36:47 +03:00
Sandu Liviu Catalin
8d1b6576f3 Update Vector.hpp 2021-03-28 22:36:08 +03:00
Sandu Liviu Catalin
cd55e51d62 Allow CPR to use the thread pool. 2021-03-28 00:19:09 +02:00
Sandu Liviu Catalin
bee47a44c4 Reinstate CPR using system library. 2021-03-27 00:18:51 +02:00
Sandu Liviu Catalin
4c08879b5c Adjust stream constructor. 2021-03-09 00:40:16 +02:00
Sandu Liviu Catalin
6935d4bfb1 Update Stream.cpp 2021-03-09 00:21:40 +02:00
Sandu Liviu Catalin
7d7fd44427 Initial draft for I/O streams. 2021-03-09 00:18:07 +02:00
Sandu Liviu Catalin
c9dbd38255 Include pending library. 2021-02-08 21:10:10 +02:00
Sandu Liviu Catalin
18a52bc536 Add string opt support and fix inevitable exception. 2021-02-04 23:27:43 +02:00
Sandu Liviu Catalin
89d90971fd Implement multi-part messages for ZMQ. 2021-02-04 07:55:10 +02:00
Sandu Liviu Catalin
508a0c3677 Update Vector.hpp 2021-02-04 00:48:34 +02:00
Sandu Liviu Catalin
e1741ada5d Update Vector.hpp 2021-02-03 23:16:59 +02:00
Sandu Liviu Catalin
35ff0e6eea Update Vector.hpp 2021-02-03 23:11:29 +02:00
Sandu Liviu Catalin
6fcdfa6ed2 Fix return value. 2021-02-03 23:08:18 +02:00
Sandu Liviu Catalin
ec02e72cc3 Remove obsolete typedef. 2021-02-03 17:51:20 +02:00
Sandu Liviu Catalin
0de21ae5a0 Move away from C format to cpp::fmt. 2021-02-03 17:50:39 +02:00
Sandu Liviu Catalin
2c8861403e Expand exception message. 2021-02-03 15:45:55 +02:00
Sandu Liviu Catalin
89bc0a5a3b Builtin announcer. 2021-02-03 15:32:12 +02:00
Sandu Liviu Catalin
30cd10d76a Revert format specs. 2021-02-03 12:10:15 +02:00
Sandu Liviu Catalin
5fd4a6471d Cleanup. 2021-02-03 12:01:46 +02:00
Sandu Liviu Catalin
203a02cb2d Refactor ZMQ to be simpler.
Fixed a meory leak.
2021-02-03 11:49:35 +02:00
Sandu Liviu Catalin
3fb6005c3f Update ZMQ.hpp 2021-02-02 21:56:40 +02:00
Sandu Liviu Catalin
266e06e870 Update error retrieval and expose more functionality, 2021-02-02 21:36:07 +02:00
Sandu Liviu Catalin
fcef50651a Further work on ZMQ bindings. 2021-02-02 20:31:21 +02:00
Sandu Liviu Catalin
0d05273f3f Remove CURL/CPR. 2021-02-02 19:10:51 +02:00
Sandu Liviu Catalin
fc9419677f Initial ZMQ bindings. 2021-02-02 19:07:02 +02:00
Sandu Liviu Catalin
97907db477 Update Utils.cpp 2021-02-01 04:31:55 +02:00
Sandu Liviu Catalin
9e71bb8365 Update CURL.hpp 2021-02-01 04:29:44 +02:00
Sandu Liviu Catalin
602f82b26e Update Math.cpp 2021-02-01 00:39:24 +02:00
Sandu Liviu Catalin
ef5f1b07c6 Don't use fixed types. 2021-02-01 00:33:12 +02:00
Sandu Liviu Catalin
07d215c428 Update Random.cpp 2021-01-31 23:36:43 +02:00
Sandu Liviu Catalin
9843e97802 Add UNICODE checks. 2021-01-31 23:21:29 +02:00
Sandu Liviu Catalin
b04a71dd24 Add checksum generation. 2021-01-31 22:40:38 +02:00
Sandu Liviu Catalin
fe27504972 Implement a hashing function. 2021-01-31 21:50:10 +02:00
Sandu Liviu Catalin
fd2a1de107 Backport MaxmindDB. 2021-01-31 18:48:31 +02:00
Sandu Liviu Catalin
f53b5b348d Use Poco SharedPtr to maintain compatibility with it. 2021-01-31 17:32:16 +02:00
Sandu Liviu Catalin
9dab72a2a7 Improve debug message and value gen. 2021-01-31 14:55:49 +02:00
Sandu Liviu Catalin
13f5808442 Rename methods for consistency. 2021-01-31 14:23:33 +02:00
Sandu Liviu Catalin
4838850051 Don't return for void methods. 2021-01-31 14:13:11 +02:00
Sandu Liviu Catalin
0670a8dadf Improve vector container.
Add basic map container.
2021-01-31 14:09:37 +02:00
Sandu Liviu Catalin
be557939a9 Preliminary Poco::Data bindings. 2021-01-31 00:16:10 +02:00
Sandu Liviu Catalin
4a6bfc086c Major plugin refactor and cleanup.
Switched to POCO library for unified platform/library interface.
Deprecated the external module API. It was creating more problems than solving.
Removed most built-in libraries in favor of system libraries for easier maintenance.
Cleaned and secured code with help from static analyzers.
2021-01-30 08:51:39 +02:00
Sandu Liviu Catalin
9efcfe2fa9 Discard unwanted libraries from discord integration attempt. 2021-01-28 13:17:06 +02:00
Sandu Liviu Catalin
ac162b0c14 Update CURL.hpp 2021-01-28 05:19:19 +02:00
Sandu Liviu Catalin
7f36aae9f9 Initial implementation of a CURL extension.
TODO: async/mt
2021-01-28 05:00:03 +02:00
Sandu Liviu Catalin
95705e87c8 Initial preparations for CURL and Discord integration. 2021-01-27 07:27:48 +02:00
Sandu Liviu Catalin
79f02998d5 MySQL library 8.x removed my_bool type. 2020-12-10 19:13:23 +02:00
Sandu Liviu Catalin
d6f3f52eec Rewrite logger to account for multiple-threads.
Implement error handling for worker VMs.
2020-09-08 22:44:04 +03:00
Sandu Liviu Catalin
054a7983a5 Sync console output during prototyping. 2020-09-06 23:55:15 +03:00
Sandu Liviu Catalin
425fd46bcf Update Job.hpp 2020-09-06 23:54:48 +03:00
Sandu Liviu Catalin
50a61c69e6 Use polymorphism to deliver jobs. 2020-09-06 23:09:54 +03:00
Sandu Liviu Catalin
38b874f444 Separate worker and parameter to their own sources. 2020-09-06 21:45:32 +03:00
Sandu Liviu Catalin
31af9efe94 Separate jobs from workers. 2020-09-06 21:35:04 +03:00
Sandu Liviu Catalin
97fe1101e3 Do not hammer the CPU if there are no jobs. 2020-09-06 21:30:44 +03:00
Sandu Liviu Catalin
cc69b15190 Manage to get a working hello world. 2020-09-06 20:22:43 +03:00
Sandu Liviu Catalin
be0e5bd6d2 Worker basic prototype implementation. 2020-09-06 20:12:55 +03:00
Sandu Liviu Catalin
5782b598e5 Create the worker lib.
Just an empty file. Placeholder for a future prototype.
2020-09-04 23:59:02 +03:00