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

1174 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
1017fc5c1a Fix the digit counting helpers to take into account negative values. 2016-04-14 04:50:44 +03:00
Sandu Liviu Catalin
4504ae0550 Remove leftover printf from math library, 2016-04-14 04:44:20 +03:00
Sandu Liviu Catalin
be8b631aea Added several functions to the math library to count integer digts and generate floating point numbers from integers. 2016-04-14 04:39:43 +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
b818a162ee Initial implementation of the standard math library.
Implemented utilities to convert between fundamental types.
Implemented helper functions to retrieve numeric values from the stack at all costs.
Implemented various delegates on the long integer types to mimic the standard types.
Moved most of the stack utilities in a separate source.
Various other fixes and improvements.
2016-04-14 03:08:06 +03:00
Sandu Liviu Catalin
ea9f60e32c Fix a buffer underflow in the Center function from the string library. 2016-04-03 23:23:01 +03:00
Sandu Liviu Catalin
159e2f5929 Fix a posible buffer overflow from the previous commit. 2016-04-03 21:27:57 +03:00
Sandu Liviu Catalin
ef27cf3c5f Update the SToB function to convert the string to lowercase first and then perform the comparison. 2016-04-03 21:26:58 +03:00
Sandu Liviu Catalin
6f4ea3b06d Also include the lower/upper case conversion functions in the string library. 2016-04-03 21:10:17 +03:00
Sandu Liviu Catalin
45f1053f99 Implement the character clasification functions into the string library. 2016-04-03 21:09:49 +03:00
Sandu Liviu Catalin
ab3edcfe4d Remove functions that check character class from the shared code.
Expose the remaining floating point comparison functions.
2016-04-03 21:09:08 +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
522f6cfd01 Remove legacy casting when packing colors. 2016-04-02 12:33:24 +03:00
Sandu Liviu Catalin
dfacd2c86c Reverse the order of the VM and stack top in stack guard. 2016-04-02 12:32:39 +03:00
Sandu Liviu Catalin
570b938d7c Use modern include style in shared module header. 2016-04-02 12:32:16 +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
3a08e17cad Remove duplicate information when warning about command name collisions. 2016-03-29 05:58:12 +03:00
Sandu Liviu Catalin
3e17710d43 Update the Sample module project to copy the executable to the plugins directory after compilation. 2016-03-29 05:47:11 +03:00
Sandu Liviu Catalin
47c9d1d3e2 Update the XML module project to copy the executable to the plugins directory after compilation. 2016-03-29 05:47:01 +03:00
Sandu Liviu Catalin
e92f804398 Update the TCC module project to copy the executable to the plugins directory after compilation. 2016-03-29 05:46:52 +03:00
Sandu Liviu Catalin
3f09a59161 Update the SQLite module project to copy the executable to the plugins directory after compilation. 2016-03-29 05:46:42 +03:00
Sandu Liviu Catalin
a6f615c259 Update the MaxmindDB module project to copy the executable to the plugins directory after compilation. 2016-03-29 05:46:32 +03:00
Sandu Liviu Catalin
1c23739270 Update the IRC module project to copy the executable to the plugins directory after compilation. 2016-03-29 05:46:09 +03:00
Sandu Liviu Catalin
a96d28ca8a Update the INI module project to copy the executable to the plugins directory after compilation. 2016-03-29 05:46:00 +03:00
Sandu Liviu Catalin
d9051e580c Update the host module project to copy the executable to the plugins directory after compilation. 2016-03-29 05:45:50 +03:00
Sandu Liviu Catalin
eed7b70374 Helper classes to used CType functions as predicate in algorithms. 2016-03-29 05:39:17 +03:00
Sandu Liviu Catalin
7dffcd0f6e Include another alias for retrieving the current architecture. 2016-03-29 05:37:47 +03:00
Sandu Liviu Catalin
1a18c3fd78 Fix the TCC module project for windows builds. 2016-03-27 22:27:59 +03:00
Sandu Liviu Catalin
29da6850e4 Avoid GCC error "array subscript is above array bounds" which probably considers that the unsigned char could underflow and access an element out of the months range. 2016-03-27 22:15:51 +03:00
Sandu Liviu Catalin
6647386d30 Forgot to assign the null pointer after destroying components. 2016-03-27 22:14:24 +03:00
Sandu Liviu Catalin
d99a265682 Incorporated the TCC project into the module project. 2016-03-27 21:52:44 +03:00
Sandu Liviu Catalin
0ccac1f0d2 Include the TCC projects into the main workspace. 2016-03-27 21:24:58 +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
a2b39933ea Add the config header for the IRC library. 2016-03-27 21:03:24 +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
6c0c09287e Fix null "‘NULL’ was not declared in this scope" error on linux for module API. 2016-03-27 20:49:57 +03:00
Sandu Liviu Catalin
71b255e5dc Use the uint64_t type instead of Uint64 when retrieveing serer time to fix an issue on x64 linux. 2016-03-27 19:06:21 +03:00
Sandu Liviu Catalin
49c2c46341 Remove extraneous character from printf inside the logger under linux. 2016-03-27 18:56:26 +03:00
Sandu Liviu Catalin
b8881b0059 Include the header that contains the PATH_MAX on linux in system path library.
Move the common typedefs inside the namespace otherwise the character type is not found.
2016-03-27 18:55:34 +03:00