Sandu Liviu Catalin
b3ab60a6c7
Format validation.
...
Include format validation in log messages by using GCC's format attribute.
2019-06-02 17:12:17 +03:00
Sandu Liviu Catalin
600c21d45f
Discard instances of constant StackStrF parameters. This should always be non-const if possible.
2019-02-17 17:23:59 +02:00
Sandu Liviu Catalin
40c16ca5fc
Make the AutoDelete helper available to modules.
2017-05-25 22:14:51 +03:00
Sandu Liviu Catalin
41e04e5167
Initial implementation of the new event system.
...
Initial implementation of the new signals and slots class.
Fixed command parsing which compared a pointer to a character.
Buffer overflow fix in routines which used the limits from the entity tasks.
Switched from Sqrat::Object to Sqrat::LightObj in most places to avoid the overhead of the VM pointer.
Various other adjustments and improvements.
The plugin is currently in a broken state and crashes at shutdown. The bug is unknown at this point.
2017-02-21 21:24:59 +02:00
Sandu Liviu Catalin
6522889492
Adjust the GetColor function to use the new method of receiving formatted strings.
2016-11-16 16:19:29 +02:00
Sandu Liviu Catalin
33f98990df
Initial implementation of the AABB bounding box type.
2016-11-13 08:32:04 +02:00
Sandu Liviu Catalin
d95f3253d4
Move the auto assign helper class to the shared utility header.
2016-08-25 11:54:29 +03:00
Sandu Liviu Catalin
f3db1101ab
Added a few helper constants in the shared header to prepare for Quaternion implementation.
2016-08-23 23:01:57 +03:00
Sandu Liviu Catalin
e99e6259f7
Add a helper class to make sure a certain value is assigned to a variable regardless of the thrown exceptions.
2016-08-19 19:45:43 +03:00
Sandu Liviu Catalin
59b0d20f08
Initial implementation of simple name filtering.
2016-08-19 03:27:56 +03:00
Sandu Liviu Catalin
9c4198770d
Add hepter variables and typedefs to the shared basic header.
2016-08-04 03:08:59 +03:00
Sandu Liviu Catalin
ad1955dbdd
Add static functions to access and modify string delimiter for bas types since static properties are read only.
2016-07-24 21:29:37 +03:00
Sandu Liviu Catalin
e0fd5fa214
Implement pointer stealing for the auto-deleter utility.
2016-07-03 03:20:23 +03:00
Sandu Liviu Catalin
29abf2e9c0
Add a helper class that implements RAII to delete an instance of not explicitly released.
2016-06-20 18:01:42 +03:00
Sandu Liviu Catalin
fe70560234
Add a helper function to obtain the last system error as a string and throw it.
2016-06-18 20:27:23 +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
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
dfacd2c86c
Reverse the order of the VM and stack top in stack guard.
2016-04-02 12:32:39 +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
ff6cacaf68
Dumb approach to recive some kind of asserts if the program crashes because a component was used after it was deleted.
2016-03-24 06:43:02 +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
d2f3da1747
Catch exceptions during server callbacks.
...
Allow routines to safely terminate routines during execution.
Various other fixes and improvements.
2016-03-12 08:47:50 +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
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
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
ea1688bc35
Prepared the base types for documentation.
2015-11-01 10:55:47 +02:00
Sandu Liviu Catalin
46801b1ce8
Discarded the noexcept specifier entirely.
2015-11-01 05:48:01 +02:00
Sandu Liviu Catalin
6ed02d0fd4
Initial commit.
2015-09-30 03:56:11 +03:00