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

208 Commits

Author SHA1 Message Date
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
Sandu Liviu Catalin
0aee307376 Add potential library. 2020-09-04 23:50:12 +03:00
Sandu Liviu Catalin
25fb30140c Update Path.cpp 2020-08-30 18:57:13 +03:00
Sandu Liviu Catalin
39a6780d5c Update Environment.cpp 2020-08-16 22:30:25 +03:00
Sandu Liviu Catalin
5cf1f2cd41 Update Path.hpp 2020-08-16 19:18:43 +03:00
Sandu Liviu Catalin
98fda61a77 Update Random.cpp 2020-05-19 17:18:05 +03:00
Sandu Liviu Catalin
3510a21311 String to int/float with specific base. 2020-05-08 18:25:05 +03:00
Sandu Liviu Catalin
3e7adb8fea What is dead may never live. 2020-04-30 23:27:24 +03:00
Sandu Liviu Catalin
ae2b1dc778 Avoid implicit construction of object wrappers. 2020-04-30 21:03:15 +03:00
Sandu Liviu Catalin
b86c4cea2b Refactor. 2020-04-27 13:53:16 +03:00
Sandu Liviu Catalin
22a17fe3c4 Code cleanup.
Get rid of ReleaseGently.
2020-04-27 13:10:54 +03:00
Sandu Liviu Catalin
48005a98f0 Return something. 2020-04-27 11:42:21 +03:00
Sandu Liviu Catalin
6accac3bb1 Fix: remove leftover code. 2020-04-21 06:07:47 +03:00
Sandu Liviu Catalin
65f7852c21 Minor changes and additions. 2020-04-21 06:06:27 +03:00
Sandu Liviu Catalin
5393b62892 Initial implementation of basic TCP/UDP sockets. 2020-04-20 04:46:05 +03:00
Sandu Liviu Catalin
8a927419c2 Return the length of the written string.
Since they can be dynamically generated through a formatted string.
2020-04-20 03:48:49 +03:00
Sandu Liviu Catalin
1f2f580a67 Rename Read/WriteString to Read/WriteClientString.
The buffer is being moved to a more general purpose type of buffer. And a rename was in order to avoid confusion with client-encoded strings.
2020-04-20 02:28:35 +03:00
Sandu Liviu Catalin
e13d1a91e7 Replace GetObject with GetObj to avoid collisions on Windows.
ef you MS
2020-04-17 17:42:09 +03:00
Sandu Liviu Catalin
4bf1443260 Preallocate mysql account options table. 2020-04-13 13:57:42 +03:00
Sandu Liviu Catalin
48c72e3cfb Indentation fix for previous commit. 2020-04-10 10:23:44 +03:00
Sandu Liviu Catalin
15532298dc Implement field selection in the MySQL library. 2020-04-10 10:12:05 +03:00
Sandu Liviu Catalin
3b7568f13a Integrate MaxmindDB module. 2020-03-22 16:33:48 +02:00
Sandu Liviu Catalin
e46c1b0aa9 Merge MySQL Library int one file. 2020-03-22 15:06:35 +02:00
Sandu Liviu Catalin
2ee661ee65 Integrate MySQL module. 2020-03-22 14:54:40 +02:00
Sandu Liviu Catalin
3080c20341 More code cleanup. 2020-03-22 09:16:40 +02:00
Sandu Liviu Catalin
e92f99c55e Fix rename issues from XML library. 2020-03-22 03:15:49 +02:00
Sandu Liviu Catalin
ced5c64e17 Rename SQLite types to prevent future collisions. 2020-03-22 03:12:55 +02:00
Sandu Liviu Catalin
05990afedf Cleanup SQLite code. 2020-03-22 03:03:05 +02:00
Sandu Liviu Catalin
8ea13de743 Merge SQLite library into a single file. 2020-03-22 02:44:33 +02:00
Sandu Liviu Catalin
91c0f2ec02 Cleanup XML library code. 2020-03-22 02:22:32 +02:00
Sandu Liviu Catalin
c9de01e8a3 Merge XML library into a single file. 2020-03-22 01:50:40 +02:00
Sandu Liviu Catalin
505a165d23 Use pragma once instead of macro guards. 2020-03-22 01:45:04 +02:00
Sandu Liviu Catalin
39d6af7687 Integrate XML module.
Integrate the XML module into the host plugin and get it to compile.
2020-03-22 01:33:11 +02:00
Sandu Liviu Catalin
de3f365522 Integrate SQLite module.
Integrate the SQLite module into the host plugin and get it to compile.
2020-03-22 00:35:03 +02:00
Sandu Liviu Catalin
c0fd374404 Rename source to module. 2020-03-21 23:02:27 +02:00