Sandu Liviu Catalin
c516c53bd3
Remove explicit format enabled constructors from the SQLite module.
2018-10-31 20:30:26 +02:00
Sandu Liviu Catalin
6504f196bb
Fix compile error in SQLite connection after changing to builtin formatted functions.
2017-06-18 20:32:03 +03:00
Sandu Liviu Catalin
7bb44ec008
Make builtin formatted strings default to false to avoid trying to perform a format in cases where it can be folled by a following parameters that are not meant to be part of that formatted string.
2017-06-18 20:25:12 +03:00
Sandu Liviu Catalin
873438d8e0
Implement the pure typename meta-methods in SQLite module types using the standard method.
2016-11-22 16:16:32 +02:00
Sandu Liviu Catalin
568bc385e9
Adjust the SQLite module to use the new method of receiving formatted strings.
...
Several minor bugfixes and improvements came with this migration as well.
2016-11-22 16:11:05 +02:00
Sandu Liviu Catalin
b9bc8ce2ad
Remove the comparison metamethods from the SQLite module.
2016-11-14 14:07:42 +02:00
Sandu Liviu Catalin
ac850f407d
Improve the handle validation in pure squirrel methods of the Connection class from the SQLite module.
2016-07-10 17:34:12 +03:00
Sandu Liviu Catalin
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
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
e07809cb25
Initialize the handle during SQLite connection if one does not exist.
2016-06-17 07:21:04 +03:00
Sandu Liviu Catalin
8087d0482f
Untested revised implementation of the SQLite module.
2016-06-15 23:49:25 +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
40a2ba46f5
Various changes to the modules.
...
Also commited the remaining incomplete modules.
2016-05-22 22:34:27 +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
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
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
9ca2c7ca7d
Reimplemented the formatted query methods in SQLite connection using a better approach.
2016-03-11 21:07:55 +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
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
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
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