1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-19 08:37:14 +02:00
Commit Graph

26 Commits

Author SHA1 Message Date
e445530bbb Implement a new module command that is called right before cosing the virtual machine to allow modules to release resources manually.
Should fix a possible crash in the IRC plugin which was caused by the Session destructor to be called recursively when cleaned automatically by the VM.
2016-09-02 14:11:39 +03:00
cac237c3cb Update the module registration code to include the virtual machine as a function argument. 2016-07-19 21:13:56 +03:00
9874bbe1dc Fix issue with modules not registering their API. 2016-07-17 03:47:38 +03:00
66d1110733 Rvised the API distribution system to avoid segmentation fault crashes on Linux and make the overal code cleaner.
Moved the constants in IRC module into their own source and implemented a faster method of registering them.
Various other minor changes and adjustments. Some of them in order to comply with the new API distribution system.
2016-07-17 03:24:07 +03:00
5ddb222903 Prevent server callbacks not being bound when compiling on linux. 2016-07-16 21:51:01 +03:00
a89acef503 Initial implementation for the second revision of the SQLite module.
Added a utility function to retrieve a time instance in seconds.
2016-07-10 03:00:33 +03:00
87ab54d453 Expand the host plug-in API and not just the Squirrel API.
Extend the host plug-in API with a few more date/time functions.
Update some of the plugins to use the expanded functions of the host plug-in API.
2016-07-04 16:26:39 +03:00
dde8890941 Prevent common null objects from using dead virtual machines after reloads. 2016-07-03 03:27:18 +03:00
996c078105 Introduce a new module event to be called after the virtual machine was destroyed. Thus, preventing the release of the virtual machine while still in use.
Prevent releasing IRC sessions while they could still be in use.
Few other changes that had to be committed because of the change in the module API.
2016-06-26 16:18:23 +03:00
8087d0482f Untested revised implementation of the SQLite module. 2016-06-15 23:49:25 +03:00
4d77386b21 Update the SQLite module to work with the modified API.
Separate the SQLite handles into their own source files.
2016-06-03 21:31:00 +03:00
40a2ba46f5 Various changes to the modules.
Also commited the remaining incomplete modules.
2016-05-22 22:34:27 +03:00
f2361a27c3 Untested update to the new plugin API.
Various other changes to the plugin as well.
2016-05-22 06:20:38 +03:00
484b6978fb Minor changes in modules and host plugin. 2016-04-02 13:13:32 +03:00
1c08f33604 Minor changes I that should've been done in previous commits. 2016-04-02 12:31:45 +03:00
fab15840cb Fixed excpetion throwing in SQLite document to that generated corrupted messages because snprintf was used instead of vsnprintf.
Revised most of the SQLite plugin and cleaned code.
2016-04-02 12:11:14 +03:00
a71726a3aa Remove extraneous character from printf inside the SQLite module. 2016-03-27 21:22:49 +03:00
9657905586 Remove the SQLite methods that could be used to copy the database to and from memory because it they could crash easilly and didn't make much sense. 2016-03-23 08:24:14 +02:00
41f5cfe663 Added options to control the memory allocated for the query queue.
Fixed const-correctness in several methods of the SQLite connection.
2016-03-23 05:50:58 +02:00
1a312f7e7f Implemented the SQLite transaction class using the RAII pattern.
Fixed an issue that generated bad messages for errors that occurred in the formatted query execution method.
Minor adjustments throughout the code structure.
2016-03-23 05:43:19 +02:00
e3315430ea Minor additions to the SQLite statement time to make certain functions more transparent to the user and also converted most of the code to use curly braces even for single statements. 2016-03-18 12:58:02 +02:00
bab8146c89 Fixed a range error in the SQLite plugin when validating column indexes.
Added an extra flush overload to flush all elements in a handled manner.
Prefixed the Server table to not clutter the user space.
2016-03-13 13:39:17 +02:00
4c66cfa49d Implemented RAII when modifying the stack before returning to sqrat inside SQLite module.
Also enabled the latest C++ revision in the project.
Various other fixes and improvements.
2016-02-28 16:20:33 +02:00
331b03028c Switched the SQLite module to use C++ exceptions to fix the Sqrat issues and gain significantly more performance.
Also fixed various other issues in the SQLite module.
2016-02-27 17:53:12 +02:00
a867bfd84d Fixed various issues with Sqrat thinking the type wasn't registered if an error is thrown in the constructor.
Fixed asserts in connection and statement handles to check the correct property.
Switched various methods to return objects instead of direct types.
Various other fixes and improvements on the SQLite module.
2016-02-27 13:51:14 +02:00
6e7abfc354 Initial untested SQLite module. 2016-02-27 11:57:29 +02:00