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

144 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
7c7c1210e6 Included data-pool into maxmind db make file. 2019-08-17 16:19:26 +03:00
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
0f0b795ca9 Various minor changes and fixes that were not pushed to the repository. Just random stuff. 2019-01-29 18:44:55 +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
a75f87b77c Update the MaxmindDB module to comply with the new StackStrF changes. 2018-07-30 01:10:35 +03:00
Sandu Liviu Catalin
53564d6136 Update the MySQL module to comply with the new StackStrF changes. 2018-07-30 01:10:26 +03: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
d39c08fe71 Update the IRC module to comply with the new StackStrF changes. 2018-07-30 01:03:28 +03:00
Sandu Liviu Catalin
29a5c79fc8 Implement an a method in the MySQL connection handle to escape strings of unwanted characters. 2018-07-17 20:46:39 +03:00
Sandu Liviu Catalin
3a5563820d Fix the .FieldsTable property of the mysql ResultSet type which did not create a table but rather initialize a null object. 2018-07-15 21:32:30 +03:00
Sandu Liviu Catalin
bfdb042442 Fix the .String property from the mysql database Field type. 2018-07-15 21:23:12 +03:00
Sandu Liviu Catalin
92b2b57121 Add include directory for MySQL on linux. 2018-02-06 02:12:23 +02:00
Sandu Liviu Catalin
82448a4e21 Adjust for updated name. 2018-02-06 02:08:36 +02:00
Sandu Liviu Catalin
7dc1199d80 Rename header file to avoid case-sensitivity issues on linux. 2018-02-06 02:05:06 +02: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
30fd6b274b Enable autocommit by default in mysql connections. To avoid further confusions. 2017-06-17 22:08:59 +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
cdfc3f58bc Remove incomplete Mongoose module. 2017-05-25 22:16:52 +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
2b282951af Extra validation code in the MaxmindDB module. 2016-11-15 06:34:10 +02:00
Sandu Liviu Catalin
5cadbc82b8 Fix left-over comments in MaxmindDB module. 2016-11-14 15:50:06 +02:00
Sandu Liviu Catalin
7d1493afd3 More code cleanup and fixes in the MaxmindDB module.
Implemented the SearchNode wrapper.
2016-11-14 15:46:48 +02:00
Sandu Liviu Catalin
fb5a5b0090 Miscellaneous code cleanup in the MaxmindDB module. 2016-11-14 14:44:01 +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
3107513350 Initial implementation of the MaxmindDB module. 2016-11-14 14:06:30 +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
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
0f2ac5679a Add the option to retrieve columns/fields from explicit columns. Should close #26 2016-08-07 02:22:59 +03:00
Sandu Liviu Catalin
c9184727f0 Add a simple method to the MySQL statement handle to check the validity of a parameter index. 2016-07-28 01:24:52 +03:00
Sandu Liviu Catalin
88feb8c3dc Adjust method name in MySQL result-set to be consistent. 2016-07-28 01:16:52 +03:00
Sandu Liviu Catalin
27df4fe282 Add a property to the MySQL result-set to retrieve field wrapper instances for all available fields as a table. 2016-07-28 01:15:39 +03:00
Sandu Liviu Catalin
522ae735e1 Add a property to the MySQL result-set to retrieve field wrapper instances for all available fields as an array. 2016-07-28 01:13:55 +03:00
Sandu Liviu Catalin
f660e2a155 Add a property to the MySQL result-set to retrieve all available field names as an array. 2016-07-28 01:11:21 +03:00
Sandu Liviu Catalin
8ce40ee74c Prevent server crash by accessing row data from MySQL result-set when there is no valid row available. Throw an error instead. Should close #25 2016-07-28 00:41:43 +03:00
Sandu Liviu Catalin
3337350b48 Fix wrong name in MySQL field wrapper since the field does not come from a statement but from a result-set. 2016-07-27 22:53:58 +03:00
Sandu Liviu Catalin
9de5aa9980 Add alternative methods to execute MySQL queries with formatting support. Should close #27 2016-07-27 22:52:59 +03:00