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
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
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
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
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
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
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
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