Sandu Liviu Catalin
ef0fc103cd
Supress some fall through warnings in GCC with markers. Later to be updated to attributes and include support for more compilers.
2019-05-24 22:17:24 +03:00
Sandu Liviu Catalin
600c21d45f
Discard instances of constant StackStrF parameters. This should always be non-const if possible.
2019-02-17 17:23:59 +02:00
Sandu Liviu Catalin
c516c53bd3
Remove explicit format enabled constructors from the SQLite module.
2018-10-31 20:30:26 +02:00
Sandu Liviu Catalin
7a630cb6bf
Update the SQLite module to comply with the new StackStrF changes.
2018-07-30 01:08:13 +03:00
Sandu Liviu Catalin
eb2e567bf8
Initial commit of a command-line build system based on the classic Makefile. Windows only.
2018-02-06 01:31:07 +02:00
Sandu Liviu Catalin
0bdb1b9135
Update copyright year to 2018.
2018-01-28 23:13:41 +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
e8027dcb3d
Release the null lightweight object references as well.
2017-06-16 02:22:48 +03:00
Sandu Liviu Catalin
df5eedfced
Put the cursor at the begining of the buffer when retrieving an SQLite blob.
2017-05-25 22:14:28 +03:00
Sandu Liviu Catalin
fde47ba107
Fix query string validation in SQLite statement handle.
2017-03-05 12:58:42 +02:00
Sandu Liviu Catalin
2c60b62671
Update the copyright year.
2017-02-22 18:26:12 +02: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
5b159fba89
Do not throw exceptions in SQLite Transaction destructor.
2016-11-13 09:31:23 +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
1dac281ba3
Improve the string escape functions from the SQLite module by allowing formatted string input.
2016-08-29 15:34:20 +03:00
Sandu Liviu Catalin
942314aa69
Perform proper range checking for columns and parameters in the SQLite statements.
2016-08-26 18:22:45 +03:00
Sandu Liviu Catalin
981e16ad01
Assign the parameter index temporarily before validating to prevent exception if the currently assigned index is invalid.
2016-08-26 01:38:58 +03:00
Sandu Liviu Catalin
e02014088b
Fix the range checks for column indexes in the SQLite module.
2016-08-25 23:50:11 +03:00
Sandu Liviu Catalin
2c1f588cba
Assign the column index temporarily before validating to prevent exception if the currently assigned index is invalid.
2016-08-25 11:55:20 +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
cc04ff2bfc
Fix incorrect registered function in SQLite module.
2016-07-17 16:34:28 +03:00
Sandu Liviu Catalin
44a855e2b6
Minor comment fix in SQLite module.
2016-07-17 13:36:14 +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
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
aedacab931
Minor adjustment in the SQLite module statement when reporting unknown error.
2016-07-10 16:19:56 +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
dde8890941
Prevent common null objects from using dead virtual machines after reloads.
2016-07-03 03:27:18 +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
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
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
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
25cc612855
Minor changes in the SQLite module comments.
2016-04-14 03:09:12 +03:00
Sandu Liviu Catalin
484b6978fb
Minor changes in modules and host plugin.
2016-04-02 13:13: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
a71726a3aa
Remove extraneous character from printf inside the SQLite module.
2016-03-27 21:22:49 +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