1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-15 06:37:13 +02:00
Commit Graph

119 Commits

Author SHA1 Message Date
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
250407feda Minor changes to the LongInt type. 2016-05-23 18:45:21 +03:00
c135d4293e Remove irrelevant argument from the IToF function. 2016-05-23 05:39:32 +03:00
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
f2361a27c3 Untested update to the new plugin API.
Various other changes to the plugin as well.
2016-05-22 06:20:38 +03:00
1d2a23dd6c Minor changes in the encryption library. 2016-04-20 09:24:04 +03:00
1017fc5c1a Fix the digit counting helpers to take into account negative values. 2016-04-14 04:50:44 +03:00
4504ae0550 Remove leftover printf from math library, 2016-04-14 04:44:20 +03:00
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
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
ea9f60e32c Fix a buffer underflow in the Center function from the string library. 2016-04-03 23:23:01 +03:00
6f4ea3b06d Also include the lower/upper case conversion functions in the string library. 2016-04-03 21:10:17 +03:00
45f1053f99 Implement the character clasification functions into the string library. 2016-04-03 21:09:49 +03:00
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
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
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
e70afea7ad Fixed wrong variable name on linux in chrono library. 2016-03-27 18:43:18 +03:00
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
e167a59f83 Merge the time utilities under the chrono library. 2016-03-25 14:28:07 +02:00
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
c9c0486e9f Remove duplicate code from the Crypt library and use the shared dynamic string argument retrieval. 2016-03-25 02:00:37 +02:00
8828c004ca Add the declaration of the functions that return buffers in string library. 2016-03-25 01:54:43 +02:00
299bc5ba77 Update the remaining functions from the string library to a more dynamic style. 2016-03-25 01:50:05 +02:00
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
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
addebc61ff Update the names of certain helpers from the string library to be more appropriate. 2016-03-25 00:32:32 +02:00
f71d0251c9 Added various helper functions to the standard string library. 2016-03-25 00:25:52 +02:00
133bedce50 Dumb implementation of GetTickCount to be revised later if necessary. 2016-03-23 00:49:10 +02:00
b24104c99f Revised the standard string library to have cleaner code.
Implemented the Explode/Implode functions that work with a single delimiter.
2016-03-22 02:07:34 +02:00
8088ba94c2 Updated the exception system in the main plugin to also include the location in the source files in debug builds.
Moved the functions that extract base types from strings as static functions under the associated type.
Revised some of the base shared code.
Fixed some of the functions in the String library that did not take into account the null terminator.
2016-03-21 22:37:58 +02:00
a00e8c964f Fixed names of hash functions that were overwriting the hash types. 2016-03-12 22:58:03 +02:00
386c1d5254 Revert hash functions to their previous names. 2016-03-11 21:38:06 +02:00
3fa7b17bd7 Fixed the SysPath type returning wrong result in test emptiness.
Added the option to build the path as a string using a speciffic style.
2016-03-11 20:52:00 +02:00
20ae383c42 Remove duplicate code that converts a buffer to a script string object. 2016-03-11 04:23:59 +02:00
4cac7d2d30 Updated the buffer class to include an optional numeric value to be used as an edit cursor or to mark the used buffer size.
Basic implementation of the system path class and several fuctions to retrieve information about the running system.
2016-03-11 04:14:28 +02:00
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
f4a11ef825 Separated major non mandatory libraries into their onwn modules.
Consolidated and simplified the module API system.
Various other fixes and improvements.
2016-02-27 11:57:10 +02:00
48406020f8 Implemented formatted messaging on IRC session type.
Duplicate SetDccVersion as property and not just method.
2016-02-23 06:47:02 +02:00
31c151ac63 Documented a few methods in the IRC session and fixed CTCP reply calling wrong function. 2016-02-23 06:00:50 +02:00
bedf03c9cd Implemented the IRC library.
Fixed a bug in the Routine system that caused crashes when constructed with only the first three arguments because it wasn't attached.
Implemented a gentle release of functions to not release them if the reference count is 1.
Adjusted the Routine and Command system to not be necessary to include them in the module core.
Moved the INI and XML libraries into their own namespace.
Various other modifications and fixes.
2016-02-23 05:23:56 +02:00
bda4ecad9c Partial implementation of the xml library. 2016-02-22 09:28:57 +02:00
c4f6de2afd Discarded validations already performed by the ini library as wel as a few other minor changes and fixes. 2016-02-22 09:26:52 +02:00
22f1bb5a0c Initial implementation of the ini library. 2016-02-21 15:55:50 +02:00
3d77dfc508 Minor additions and fixes to the string library. 2016-02-21 10:30:47 +02:00
a26e5db7ae Renamed time function to avoid collision with windows api. 2016-02-21 09:25:16 +02:00
06cd7734a4 Initial implementation of the time library. 2016-02-21 07:40:06 +02:00
a66904702e Prefix library names to avoid poluting the global scope.
Fix consistent naming through base types.
2016-02-21 07:39:33 +02:00
06e598acfb Dumped the old implementation. Started with a more simple approach. 2016-02-21 00:25:00 +02:00
79ab9f7a6a Updated the IRC library to use the new debugging system. 2015-11-12 20:16:07 +02:00
0f85aedde6 Updated the IRC library to use the new debugging system. 2015-11-11 14:19:45 +02:00