1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-05-07 11:17:19 +02:00
Commit Graph

27 Commits

Author SHA1 Message Date
Sandu Liviu Catalin 3a8d4952c1 Avoid sharing the same source file between multiple projects where there's a possibility that with each project object generated by the the source file could have a diffrent code used by other sources from the project.
Which can lead to undefined link time errors (at best) or run-time crashes (at worst).
2016-06-20 16:17:03 +03:00
Sandu Liviu Catalin 8846cb9351 Initial revision of the script loading system to be more flexible and accurate. 2016-06-18 20:31:35 +03:00
Sandu Liviu Catalin 166760fd46 Export functions to at least create shared buffers from modules. 2016-06-15 10:01:07 +03:00
Sandu Liviu Catalin 861c830bb7 Improve the constructors in shared buffers implementation. 2016-06-15 10:00:28 +03:00
Sandu Liviu Catalin 85e881effa Fix const correctness in utility functions.
By not taking the object reference as const we are forced to make copies of objects that are const or use const_cast. Eitherway, this is the correct way because objects are not modified.
2016-06-13 00:27:06 +03:00
Sandu Liviu Catalin f1d8d60e96 Improve the string retrieval from the stack to make use of the new sq_getstringandsize API function and also obtain the size everytime.
Add two new helper functions to retrieve the string representation of a certain script type or object.
2016-06-09 02:05:36 +03:00
Sandu Liviu Catalin 6489dfdf08 Fix the command system which would fail on recursive command execution. 2016-06-08 16:26:55 +03:00
Sandu Liviu Catalin 410a60cfe5 More helper functions to the shared utility. 2016-06-07 03:04:57 +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 3411f7c64b Export basic interaction with the decimal type. 2016-06-05 04:16:42 +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 cce6beb4d5 Fix the exported API for the Chrono library to use unsigned integers. 2016-06-04 23:10:35 +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 125088c9e3 Implement several helper functions to create long integer instances. 2016-06-03 22:16:14 +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 248b062110 Fix mdoule builds on x64 to conform to the changes in the plugin sdk. 2016-05-24 05:45:01 +03:00
Sandu Liviu Catalin 6822172f6a Updated the Squirrel and Sqrat libraries to the latest development versions. 2016-05-22 22:51:59 +03:00
Sandu Liviu Catalin 40a2ba46f5 Various changes to the modules.
Also commited the remaining incomplete modules.
2016-05-22 22:34:27 +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 570b938d7c Use modern include style in shared module header. 2016-04-02 12:32:16 +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 933f96fbc5 Add the exception throwing macros to the base module header as well. 2016-03-22 16:54:40 +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 c8a5593263 Moved several forward declarations to the base module header. 2016-02-28 17:37:55 +02:00
Sandu Liviu Catalin 53834fe1d9 Remove the old SqThrow function from the module API. 2016-02-28 16:21:09 +02:00
Sandu Liviu Catalin 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
Sandu Liviu Catalin fa12692490 Implemented the module system. 2016-02-23 17:48:30 +02:00