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

29 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
2c60b62671 Update the copyright year. 2017-02-22 18:26:12 +02:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
e770ac3405 Implement methods to send messages with style formatting in the IRC module. Should close #7
Also remove duplicate code in raw squirrel functions by merging it into one function.
2016-08-16 21:38:04 +03:00
Sandu Liviu Catalin
cac237c3cb Update the module registration code to include the virtual machine as a function argument. 2016-07-19 21:13:56 +03:00
Sandu Liviu Catalin
9874bbe1dc Fix issue with modules not registering their API. 2016-07-17 03:47:38 +03:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
5ddb222903 Prevent server callbacks not being bound when compiling on linux. 2016-07-16 21:51:01 +03:00
Sandu Liviu Catalin
7bb0d5f947 Adjust the code to use the .what() method from the Sqrat exception. 2016-07-09 14:18:09 +03:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
dde8890941 Prevent common null objects from using dead virtual machines after reloads. 2016-07-03 03:27:18 +03:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
40ab83743c Update the IRC module to work with the modified API.
Document code properly and also various code fixes.
2016-06-03 21:27:53 +03:00
Sandu Liviu Catalin
4616f405ab Simplify the name validation when changing the nickname in IRC sessions. 2016-05-25 21:16:49 +03:00
Sandu Liviu Catalin
8ca6455e52 Throw error if user data is retrieved on invalid IRC sessions. 2016-05-25 21:16:24 +03:00
Sandu Liviu Catalin
0d7243c305 More unnecessary properties removed from the IRC session type. 2016-05-24 22:00:44 +03:00
Sandu Liviu Catalin
da5e83151c Switch to identifier based events in IRC session to be consistent with the main plugin events. 2016-05-24 21:36:02 +03:00
Sandu Liviu Catalin
850a742071 Prevent script exceptions from escaping the IRC session callbacks. 2016-05-24 20:57:28 +03:00
Sandu Liviu Catalin
8ca7f5bfa7 Remove the session from the IRC event parameters.
Rename the IRC module scope to uppercase.
2016-05-24 20:51:34 +03:00
Sandu Liviu Catalin
40a2ba46f5 Various changes to the modules.
Also commited the remaining incomplete modules.
2016-05-22 22:34:27 +03:00
Sandu Liviu Catalin
f2361a27c3 Untested update to the new plugin API.
Various other changes to the plugin as well.
2016-05-22 06:20:38 +03:00
Sandu Liviu Catalin
ddb52677bd Remove duplicate property in the IRC session. 2016-04-20 09:25:47 +03:00
Sandu Liviu Catalin
a947a68256 Fixed excpetion throwing in INI document to that generated corrupted messages because snprintf was used instead of vsnprintf.
Revised most of the INI plugin and cleaned code.
2016-04-02 13:09:24 +03:00
Sandu Liviu Catalin
27fb281805 Fixed excpetion throwing in IRC document to that generated corrupted messages because snprintf was used instead of vsnprintf.
Revised most of the IRC plugin and cleaned code.
2016-04-02 12:49:32 +03:00
Sandu Liviu Catalin
6de4d387a9 Remove extraneous character from printf inside the IRC module. 2016-03-27 21:04:04 +03:00
Sandu Liviu Catalin
a8edb37733 Updated the IRC module to include the location for C++ exceptions in source code for debug builds. 2016-03-23 00:26:26 +02:00
Sandu Liviu Catalin
47eec5cb10 Removed the forward declarations that got moved into the base module.
Update the sample module to comply with the latest changes.
2016-02-28 17:38:57 +02:00
Sandu Liviu Catalin
7f0480c966 Migrated the IRC module to C++ exceptions as well.
Also enabled the latest C++ revision in the project.
Various other fixes and improvements.
2016-02-28 16:17:59 +02:00
Sandu Liviu Catalin
8340a5dbc4 Also fixed the Sqrat issue on constructors for irc sessions. 2016-02-27 14:00:02 +02:00
Sandu Liviu Catalin
f4a11ef825 Separated major non mandatory libraries into their onwn modules.
Consolidated and simplified the module API system.
Various other fixes and improvements.
2016-02-27 11:57:10 +02:00