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

144 Commits

Author SHA1 Message Date
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
e0e34b4030 Update Logger.cpp 2021-01-29 00:20:18 +02:00
Sandu Liviu Catalin
b6a270293b Get rid of the memory manager from buffer. 2021-01-29 00:20:09 +02:00
Sandu Liviu Catalin
9efcfe2fa9 Discard unwanted libraries from discord integration attempt. 2021-01-28 13:17:06 +02:00
Sandu Liviu Catalin
da39892bb0 Revert allignment back. 2021-01-28 05:25:51 +02:00
Sandu Liviu Catalin
611c1bf951 Remove packing attribute injected by IDE. 2021-01-28 05:24:21 +02:00
Sandu Liviu Catalin
ac162b0c14 Update CURL.hpp 2021-01-28 05:19:19 +02:00
Sandu Liviu Catalin
62c9597e92 Fix some alignment/padding issues in CPR. 2021-01-28 05:19:13 +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
4a75da930b Modify CPR library to be able to access member variables for some types. 2021-01-28 04:59:14 +02:00
Sandu Liviu Catalin
cc6778d245 Modify discord library to be able to customize request session. 2021-01-28 04:58:28 +02:00
Sandu Liviu Catalin
0605e98723 Update Logger.cpp
Leftover debug message.
2021-01-28 04:52:20 +02:00
Sandu Liviu Catalin
95705e87c8 Initial preparations for CURL and Discord integration. 2021-01-27 07:27:48 +02:00
Sandu Liviu Catalin
8257eb61d6 Update SQLite to version 3.34.1 2021-01-27 06:16:06 +02:00
Sandu Liviu Catalin
339ce480a6 Fixe structure size and remove leftover header. 2021-01-17 14:04:11 +02:00
Sandu Liviu Catalin
9579fcfe64 Mark the script as executed before invoking the callbacks. 2021-01-17 11:22:53 +02:00
Sandu Liviu Catalin
efe0748d67 Fix SetPositionZ in entities. Z axis would be used as both X and Z instead of just Z. Probably resulting in weird behavior. 2020-12-21 12:20:30 +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
7b93498558 Fix message logging to use actual string pointer. 2020-09-08 23:16:57 +03: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
78c2003797 Add a logging option for unformatted strings. 2020-09-06 23:54:44 +03:00
Sandu Liviu Catalin
67f514c77c Add a helper funtion to generate formated string. 2020-09-06 23:54:28 +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
e7c708d997 Update VecMap.hpp
Some checks failed
continuous-integration/drone Build is failing
2020-09-06 20:11:56 +03:00
Sandu Liviu Catalin
6fa2ccb129 Remove mujs. 2020-09-06 20:11:53 +03:00
Sandu Liviu Catalin
4490ac5b68 Update Signal.cpp 2020-09-06 16:14:39 +03:00
Sandu Liviu Catalin
35d93e16dc Update VecMap.hpp 2020-09-06 05:03:37 +03:00
Sandu Liviu Catalin
b3a56eac12 Update VecMap.hpp
Lowercase method names.
2020-09-06 04:27:17 +03:00
Sandu Liviu Catalin
7d9110ddbd Add a vecmap container. 2020-09-06 04:13:46 +03:00
Sandu Liviu Catalin
36dcd44b3c Add the fmt library. 2020-09-05 00:02:20 +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
f0779f57cb Discard previous approach.
Left incomplete untill further notice.
2020-09-04 23:52:52 +03:00
Sandu Liviu Catalin
076da5fe02 Update CMakeLists.txt 2020-09-04 23:52:05 +03:00
Sandu Liviu Catalin
cce275ed61 Add mujs library. 2020-09-04 23:51:57 +03:00
Sandu Liviu Catalin
ae5698a53d Add concurent queue library. 2020-09-04 23:51:14 +03:00
Sandu Liviu Catalin
0aee307376 Add potential library. 2020-09-04 23:50:12 +03:00
Sandu Liviu Catalin
a0077443d7 Update Shared.hpp 2020-09-04 18:54:53 +03:00
Sandu Liviu Catalin
6fa8e85189 Remove the need to specify a VM after new changes. 2020-09-04 18:52:09 +03:00
Sandu Liviu Catalin
b5c8121b7d Allow choosing between uppercase or lowercase hex conversion.
Lowercase by default.
2020-09-03 21:05:38 +03:00
Sandu Liviu Catalin
7ec5544948 Implement hex conversion to color types. 2020-09-03 20:52:46 +03:00
Sandu Liviu Catalin
455c401c2c Update Utility.cpp 2020-09-03 20:33:58 +03:00
Sandu Liviu Catalin
b18d0a129a Implement formatting on math types.
Just a helper method to help you generate strings from math types more easilly. A bit risky if you're dumb and don't know how format specifiers work in C because it provides direct access to those.
2020-09-03 20:33:51 +03:00
Sandu Liviu Catalin
db6cf1cdde Don't make the temporary buffer static.
It is pointless.
2020-09-03 18:26:24 +03:00