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
bba09395d0
More incomplete implementation for the MySQL module.
2016-07-08 00:57:57 +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
46d8d12c74
Add method to return strings from MySQL result-set.
2016-06-30 15:52:20 +03:00
Sandu Liviu Catalin
7836f0ab23
Implement simple result stepping in the MySQL module.
2016-06-29 18:31:10 +03:00
Sandu Liviu Catalin
03237f9c15
Partial and untested revision of the MySQL module.
2016-06-28 01:15:31 +03:00
Sandu Liviu Catalin
fdc73d3ee8
Minor correction in SQLite module.
2016-06-28 01:13:43 +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
df114cd128
Fix wrong macro in SQLite module.
2016-06-22 15:12:38 +03:00
Sandu Liviu Catalin
22fc6c54c2
Minor updates to the JSON module.
2016-06-20 18:53:09 +03:00
Sandu Liviu Catalin
e07809cb25
Initialize the handle during SQLite connection if one does not exist.
2016-06-17 07:21:04 +03:00
Sandu Liviu Catalin
02aa2667a6
Allow chaining on Reset and Clear methods of the SQLite Statement type.
2016-06-16 06:37:32 +03:00
Sandu Liviu Catalin
8087d0482f
Untested revised implementation of the SQLite module.
2016-06-15 23:49:25 +03:00
Sandu Liviu Catalin
a3169ad7d2
Partial implementation of the JSON module.
2016-06-09 03:01:19 +03:00
Sandu Liviu Catalin
0d6e80a9d5
More MySQL implementation.
2016-06-05 05:36:33 +03:00
Sandu Liviu Catalin
3affe10c35
Initial implementation of the MySQL statement class.
...
Various other additions and improvements to the MySQL module.
2016-06-05 05:08:59 +03:00
Sandu Liviu Catalin
201a6e0016
Empty registration of the MySQL statement and result set.
2016-06-03 22:25:06 +03:00
Sandu Liviu Catalin
525148ccd1
Implement the query execution functions on MySQL connection.
...
Minor adjustments in comments.
2016-06-03 22:17:52 +03:00
Sandu Liviu Catalin
2f16d63e2a
Remove query queueing mechanism from the MySQL connection handle.
2016-06-03 22:17:01 +03:00
Sandu Liviu Catalin
279479cddc
Partial untested implementation of the MySQL module.
2016-06-03 21:33:21 +03:00
Sandu Liviu Catalin
55df0b702c
Update the Sample module to work with the modified API.
2016-06-03 21:31:58 +03:00
Sandu Liviu Catalin
a792ae525e
Update the XML module to work with the modified API.
...
Separate the XML handles into their own source files.
2016-06-03 21:31:34 +03:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
e1a1ccf979
Update the Mongoose module to work with the modified API.
...
Separate Mongoose handles into their own source files.
2016-06-03 21:30:05 +03:00
Sandu Liviu Catalin
26d12d601d
Update the MaxmindDB module to work with the modified API.
2016-06-03 21:29:15 +03:00
Sandu Liviu Catalin
e3f861ccbd
Update the JSON module to work with the modified API.
2016-06-03 21:28:50 +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
76621cf946
Separate the IO library into smaller sub components.
...
Merge the INI module with the main plugin IO library.
2016-05-24 18:37:34 +03:00
Sandu Liviu Catalin
fdd06e8c2e
Minor aditions to the system path library.
...
Fixed small const correctness in remaining typename functions.
Added a flag to block certain format warnings on x64 builds.
2016-05-23 03:34:35 +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
25cc612855
Minor changes in the SQLite module comments.
2016-04-14 03:09:12 +03:00
Sandu Liviu Catalin
4eddf466f2
Various fixes and improvements in the sample module.
2016-04-14 03:08:35 +03:00
Sandu Liviu Catalin
484b6978fb
Minor changes in modules and host plugin.
2016-04-02 13:13:32 +03:00
Sandu Liviu Catalin
04c14f2c6a
Minor fixes in the TCC module.
2016-04-02 13:12:52 +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
1c08f33604
Minor changes I that should've been done in previous commits.
2016-04-02 12:31:45 +03:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
b6466b9181
Fixed excpetion throwing in XML document to that generated corrupted messages because snprintf was used instead of vsnprintf.
...
Revised most of the XML plugin and cleaned code.
2016-04-02 11:04:28 +03:00
Sandu Liviu Catalin
5b52addbe9
Remove extraneous character from printf inside the TCC module.
2016-03-27 21:24:42 +03:00
Sandu Liviu Catalin
4e0831611a
Remove extraneous character from printf inside the MaxmindDB module.
2016-03-27 21:24:31 +03:00
Sandu Liviu Catalin
4bc4d8bd29
Remove extraneous character from printf inside the Sample module.
2016-03-27 21:23:17 +03:00
Sandu Liviu Catalin
a71726a3aa
Remove extraneous character from printf inside the SQLite module.
2016-03-27 21:22:49 +03:00
Sandu Liviu Catalin
432ae5fd68
Remove extraneous character from printf inside the XML module.
2016-03-27 21:17:16 +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
0c7ab18700
Remove extraneous character from printf inside the INI module.
2016-03-27 20:50:40 +03:00
Sandu Liviu Catalin
ac95c019c5
Initial implementation of the TCC module.
2016-03-27 06:06:06 +03:00
Sandu Liviu Catalin
e5525a296a
Minor tweak in sqlite module.
...
Remove useless file from sandbox project.
2016-03-27 06:04:45 +03:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
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
Sandu Liviu Catalin
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
Sandu Liviu Catalin
543f3539fb
Updated the MaxmindDB module to include the location for C++ exceptions in source code for debug builds.
2016-03-23 00:27:48 +02:00
Sandu Liviu Catalin
3a06fe6048
Updated the XML module to include the location for C++ exceptions in source code for debug builds.
2016-03-23 00:26:35 +02: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
61be27890c
Forgot to inlcude the INI entries in the previous commit.
2016-03-23 00:26:16 +02:00
Sandu Liviu Catalin
9d9ec20fe8
Updated the INI module to include the location for C++ exceptions in source code for debug builds.
2016-03-23 00:25:42 +02:00
Sandu Liviu Catalin
1398e5a93d
Updated the SQLite module to include the location for C++ exceptions in source code for debug builds.
2016-03-23 00:25:32 +02:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
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
Sandu Liviu Catalin
f7f5eb82e5
Prevented exceptions from flush handler to propagate outside the loop.
2016-03-12 22:49:25 +02:00
Sandu Liviu Catalin
9ca2c7ca7d
Reimplemented the formatted query methods in SQLite connection using a better approach.
2016-03-11 21:07:55 +02:00
Sandu Liviu Catalin
f27a195b6f
Fixed the INI compilation on Linux by reverting to the original library.
...
Fixed an infinite loop in the parsing of command specification strings.
Added the option to retrieve common configs with a fall back value if they don't exist.
Few other minor changes.
2016-03-11 20:04:26 +02:00
Sandu Liviu Catalin
70e5f0ba21
Migrated the host module to C++ exceptions as well.
...
Also enabled the latest C++ revision in the project.
Replaced the Random library with the one provided by C++11.
Implemented a simple AES256 encryption class.
Various other fixes and improvements.
2016-03-10 05:57:13 +02:00
Sandu Liviu Catalin
3162221e7f
Migrated the XML module to C++ exceptions as well.
...
Also enabled the latest C++ revision in the project.
Various other fixes and improvements.
2016-02-28 17:39: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
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
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
8333cc83ce
Migrated the INI module to C++ exceptions as well.
...
Also enabled the latest C++ revision in the project.
Various other fixes and improvements.
2016-02-28 16:16:08 +02:00
Sandu Liviu Catalin
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
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
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
Sandu Liviu Catalin
6e7abfc354
Initial untested SQLite module.
2016-02-27 11:57:29 +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