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

93 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
bd75ffe305 Fix the functions used to create buffers and extend with new ones to interact with them. 2016-07-09 17:21:41 +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
862c09150f Adjust the string explode and implode utilities. 2016-07-09 14:12:51 +03:00
Sandu Liviu Catalin
4e93e58397 Initial revision of the buffer implementation. 2016-07-08 00:56:54 +03:00
Sandu Liviu Catalin
69edbcd8d2 Include string.h in system path library to compile on Linux. 2016-07-04 16:56:49 +03:00
Sandu Liviu Catalin
82ddf372f3 Don't use negative sum of seconds in the specified date range. 2016-07-04 16:36:41 +03:00
Sandu Liviu Catalin
805251a6db Add utility to calculate date range in seconds on Chrono library. 2016-07-04 16:23:35 +03:00
Sandu Liviu Catalin
20ae4e602e Fix buffer wrapper reading data incorrectly. 2016-06-20 18:22:12 +03:00
Sandu Liviu Catalin
ea70a21437 Improve the client script data event. Also fix a crash because the buffer type was not registered. 2016-06-20 18:02:44 +03:00
Sandu Liviu Catalin
ad55025bc8 Specialize the buffer creation functions. 2016-06-20 14:52:05 +03:00
Sandu Liviu Catalin
c8d5200dc0 Add a helper funtion to the system path library to obtain the full path of a file. 2016-06-18 20:27:51 +03:00
Sandu Liviu Catalin
d1ae2fd7e8 Fix the 64bit build on windows by making sure the _WIN32_WINNT macro has the proper value to include GetTickCount64() and also default to regular GetTickCount() on 32bit as the 64bit placeholder. 2016-06-18 10:24:41 +03:00
Sandu Liviu Catalin
e3ecc782ef Fix compile time error in Chrono library.
The get tick count functions were defined as members of the Chrono class.
2016-06-11 17:53:55 +03:00
Sandu Liviu Catalin
221e27e090 Remove implementation of the Decimal time. Not worth the troublem. 2016-06-05 04:28:45 +03:00
Sandu Liviu Catalin
723f6296e2 Minor addition to the Decimal time. 2016-06-05 04:15:55 +03:00
Sandu Liviu Catalin
17e78b83dd Initial untested implementation of the Decimal type. 2016-06-05 03:54:15 +03:00
Sandu Liviu Catalin
07b8a8b4a0 Minor improvements on the LongInt classes. 2016-06-05 03:53:58 +03:00
Sandu Liviu Catalin
d42040c9c0 Merge the Random and Math libraries into the Numeric library and organize code a bit. 2016-06-05 00:00:59 +03:00
Sandu Liviu Catalin
2aa7e8b7c2 Furher implementation and improvement of the Chrono types and also exposed them to the module API.
Tighten the safety of exported functions to avoid exceptions leaking outside the host plugin.
2016-06-04 22:33:34 +03:00
Sandu Liviu Catalin
36c49cd09c Forgot to register the Hash and AES sub libraries from the main Crypt library. 2016-06-04 22:32:08 +03:00
Sandu Liviu Catalin
0093bc2dec Implemented and improved more types in the Chrono library. 2016-06-04 19:17:42 +03:00
Sandu Liviu Catalin
ba6acb0d19 Implement the Date type. 2016-06-04 11:55:06 +03:00
Sandu Liviu Catalin
0c92601362 Update the module API and merge shared code between modules and host plugin. 2016-06-03 21:26:19 +03:00
Sandu Liviu Catalin
ec0a01d976 Remove obsolete files from the library folder. 2016-05-25 21:17:30 +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
250407feda Minor changes to the LongInt type. 2016-05-23 18:45:21 +03:00
Sandu Liviu Catalin
c135d4293e Remove irrelevant argument from the IToF function. 2016-05-23 05:39:32 +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
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
1d2a23dd6c Minor changes in the encryption library. 2016-04-20 09:24:04 +03:00
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
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
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
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
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
Sandu Liviu Catalin
e0c2c01e25 Include the header that contains the PATH_MAX on linux in system environment library.
Use Append string instead of Write string when writing data to a buffer.
Remove leftover semicolon in 'else if' statement.
2016-03-27 18:54:45 +03:00
Sandu Liviu Catalin
e70afea7ad Fixed wrong variable name on linux in chrono library. 2016-03-27 18:43:18 +03:00
Sandu Liviu Catalin
a4cf2dae85 Added a custom delimiter for time and date and also the option to extract values from strings. 2016-03-26 18:18:41 +02:00
Sandu Liviu Catalin
e167a59f83 Merge the time utilities under the chrono library. 2016-03-25 14:28:07 +02:00
Sandu Liviu Catalin
ad9e02e5fb Update the standard printf function to use the dynamic string retrieval method.
Remove leftover includes from the string and crypt libraries.
2016-03-25 02:05:46 +02:00
Sandu Liviu Catalin
c9c0486e9f Remove duplicate code from the Crypt library and use the shared dynamic string argument retrieval. 2016-03-25 02:00:37 +02:00
Sandu Liviu Catalin
8828c004ca Add the declaration of the functions that return buffers in string library. 2016-03-25 01:54:43 +02:00
Sandu Liviu Catalin
299bc5ba77 Update the remaining functions from the string library to a more dynamic style. 2016-03-25 01:50:05 +02:00
Sandu Liviu Catalin
2e3fc1e47e Remove useless code from ToLower function in the string library and also name the shorter alias more appropriately. 2016-03-25 01:44:55 +02:00
Sandu Liviu Catalin
ae5d86e7cf Update most of the helper functions in the string library to allow a more dynamic value retrieval.
Various other bug fixes and adjustments.
2016-03-25 01:41:30 +02:00
Sandu Liviu Catalin
addebc61ff Update the names of certain helpers from the string library to be more appropriate. 2016-03-25 00:32:32 +02:00