Sandu Liviu Catalin
82c3fa4439
Update the {fmt} library to fix the colision with C string.h header.
2016-05-23 22:42:49 +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
acdf9300b6
Update the type conversion utility to include more types and be more flexible.
2016-04-20 09:23:18 +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
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
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
eed7b70374
Helper classes to used CType functions as predicate in algorithms.
2016-03-29 05:39:17 +03:00
Sandu Liviu Catalin
886e525119
Implement a helper function to clamp a value between the ranges of another type.
2016-03-26 18:14:47 +02:00
Sandu Liviu Catalin
e4b93b020a
Implemented a helper class to retrieve a string value from the stack as a string or generate a formatted string if necessary.
2016-03-25 00:25:03 +02:00
Sandu Liviu Catalin
3762b5e2ca
Fix the exception code and make it use pooled buffers instead of the common buffer.
2016-03-24 05:30:07 +02:00
Sandu Liviu Catalin
ec88d0ae30
Replaced the numeric limits from previous legacy implementation with the one provided by C++11.
...
Added a few extra constants for numeric limits.
2016-03-22 02:05:50 +02:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
20ae383c42
Remove duplicate code that converts a buffer to a script string object.
2016-03-11 04:23:59 +02:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
06e598acfb
Dumped the old implementation. Started with a more simple approach.
2016-02-21 00:25:00 +02:00
Sandu Liviu Catalin
73b93d707c
Implemented a minimal version of ToStringF with a static buffer.
2015-11-11 08:54:50 +02:00
Sandu Liviu Catalin
3da18ee02b
Initial implementation of the internal debugging system.
2015-11-10 14:42:52 +02:00
Sandu Liviu Catalin
3206d49404
Implemented a simple command system. Added a custom buffer class. Implemented reconnection for IRC sessions. Various other adjustments and additions.
2015-11-07 12:17:39 +02:00
Sandu Liviu Catalin
46801b1ce8
Discarded the noexcept specifier entirely.
2015-11-01 05:48:01 +02:00
Sandu Liviu Catalin
2409a896df
Changes required to compile on x64 and against extra compiler warnings.
2015-11-01 05:36:03 +02:00
Sandu Liviu Catalin
0ebdecb75f
Various.
2015-10-25 03:20:33 +03:00
Sandu Liviu Catalin
6ed02d0fd4
Initial commit.
2015-09-30 03:56:11 +03:00