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

18 Commits

Author SHA1 Message Date
66d1110733 Rvised the API distribution system to avoid segmentation fault crashes on Linux and make the overal code cleaner.
Moved the constants in IRC module into their own source and implemented a faster method of registering them.
Various other minor changes and adjustments. Some of them in order to comply with the new API distribution system.
2016-07-17 03:24:07 +03:00
d71f76c63b Fix an mistake in the declaration of the negation operator for the Buffer type. 2016-07-10 16:05:56 +03:00
a89acef503 Initial implementation for the second revision of the SQLite module.
Added a utility function to retrieve a time instance in seconds.
2016-07-10 03:00:33 +03:00
01852606c8 Implement double when binding constants with Sqrat.
Minor chnage in buffer when throwing an exception.
2016-07-09 22:48:42 +03:00
f401b265da Don't use the common buffer in the functions that covert date and time instances to string. 2016-07-09 21:33:27 +03:00
a06efdafc5 Improve the Clamp functions to accept any type of value for all parameters.
Implement common functions to work with date and time types and avoid duplicate code.
Remove unnecessary functions used to retrieve the valie in long integer instances.
Various other fixes and name adjustments.
2016-07-09 21:21:07 +03:00
4e93e58397 Initial revision of the buffer implementation. 2016-07-08 00:56:54 +03:00
98c50ce7e1 Minor comment fix in the shared utility header. 2016-07-05 23:07:04 +03:00
87ab54d453 Expand the host plug-in API and not just the Squirrel API.
Extend the host plug-in API with a few more date/time functions.
Update some of the plugins to use the expanded functions of the host plug-in API.
2016-07-04 16:26:39 +03:00
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
861c830bb7 Improve the constructors in shared buffers implementation. 2016-06-15 10:00:28 +03:00
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
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
6489dfdf08 Fix the command system which would fail on recursive command execution. 2016-06-08 16:26:55 +03:00
410a60cfe5 More helper functions to the shared utility. 2016-06-07 03:04:57 +03:00
d42040c9c0 Merge the Random and Math libraries into the Numeric library and organize code a bit. 2016-06-05 00:00:59 +03:00
125088c9e3 Implement several helper functions to create long integer instances. 2016-06-03 22:16:14 +03:00
0c92601362 Update the module API and merge shared code between modules and host plugin. 2016-06-03 21:26:19 +03:00