Commit Graph

204 Commits

Author SHA1 Message Date
Deukhoofd 2d4d3d8856
Apparently Windows does not handle 'long' the same as Unix. 2019-08-18 10:30:58 +02:00
Deukhoofd 86d6d5a9cb
Enforce 64 bit for Windows test 2019-08-17 18:58:43 +02:00
Deukhoofd e9a3a6b391
Tweak approx of math.log test to handle different architectures 2019-08-17 18:54:38 +02:00
Deukhoofd 7675af62de
Fully implements math library 2019-08-17 18:29:02 +02:00
Deukhoofd 5e96250d96
Implements initial math library, several reworks for Userdata memory management 2019-08-17 14:42:48 +02:00
Deukhoofd 13b382def2
Implements most of the remaining core standard functions 2019-08-15 18:12:29 +02:00
Deukhoofd 7523fb4294
Extern support for creating iterators 2019-08-15 16:58:16 +02:00
Deukhoofd 0d30d788e9
Extern support for getting a userdata type by hash id 2019-08-15 16:42:18 +02:00
Deukhoofd 8e64da15a0
Extern support for creating userdata collections 2019-08-15 15:01:27 +02:00
Deukhoofd 5b3bc26bdb
Fixed tests not passing due to 1-indexed system vs 0-indexed thinking 2019-08-15 11:53:40 +02:00
Deukhoofd 471dbac3b9
Implements iterator for user data collection 2019-08-15 11:43:08 +02:00
Deukhoofd 5387cd15ff
Fix windows build using wrong directory 2019-08-11 16:49:07 +02:00
Deukhoofd 36a7fd6739
Fixes for CI 2019-08-11 16:35:33 +02:00
Deukhoofd ece9c1f5eb
Support for Windows builds 2019-08-11 16:05:14 +02:00
Deukhoofd 641b6784c7
Support for loading variables from module with require 2019-08-11 12:32:18 +02:00
Deukhoofd c39f3a0884
Initial support for require statements 2019-08-10 16:45:15 +02:00
Deukhoofd 2f912afe92
Setup for making script options non global if desired 2019-08-10 11:55:45 +02:00
Deukhoofd bbda668b3e
Fixed build issues 2019-07-28 19:20:28 +02:00
Deukhoofd f2cb8d4016
Fix memory leak when setting in UserDataCollection 2019-07-28 19:03:13 +02:00
Deukhoofd 4b5672e3f5
Implements handling of userdata collection items 2019-07-28 19:01:07 +02:00
Deukhoofd bbcebffefd
Moved ScriptType classes into separate directory 2019-07-28 12:58:38 +02:00
Deukhoofd 3b344d6d72
Improve performance of cloning StringEvalValue 2019-07-28 12:33:14 +02:00
Deukhoofd 1f3ab9243e
Cleaned up tokens 2019-07-28 12:19:45 +02:00
Deukhoofd faa9300132
More performant lookup for line number 2019-07-28 12:14:10 +02:00
Deukhoofd 2b248101d5
Better handling of exceptions for extern usage 2019-07-27 19:45:15 +02:00
Deukhoofd 586dd994e2
Fix annoying build warnings 2019-07-27 18:47:29 +02:00
Deukhoofd 82c82ae93d
Fixed memory issue when assigning new method options 2019-07-27 18:30:05 +02:00
Deukhoofd ccc6e297f2
Rework of memory handling in Evaluation 2019-07-27 17:59:42 +02:00
Deukhoofd 268f6b59fb
Removed LastValue variable, as it can be better emulated with basic return values 2019-07-27 10:51:24 +02:00
Deukhoofd 8b80b5789d
Switch to new build container 2019-07-25 19:16:39 +02:00
Deukhoofd 79597dc080
Add CI Valgrind check 2019-07-25 17:37:38 +02:00
Deukhoofd d5e16c3826
Removed memory leaks in function classes 2019-07-25 17:30:42 +02:00
Deukhoofd e2a0c35992
Large cleanup 2019-07-25 17:23:54 +02:00
Deukhoofd e639a2c170
Implements extern C function to set print func 2019-07-25 13:30:40 +02:00
Deukhoofd 40e45b0112
Fixed infinite loop in diagnostics 2019-07-21 12:03:56 +02:00
Deukhoofd bb6c7edcf2
Add capacity parameter to the extern C evaluate string function for EvalValues 2019-07-21 11:49:45 +02:00
Deukhoofd eb3afce5c5
More removals of inline functions, this time for release build 2019-07-04 19:31:52 +02:00
Deukhoofd 017e7fdd2e
Remove inline from a couple of functions that were causing issues 2019-07-04 19:18:03 +02:00
Deukhoofd 32836c6c58
Make a lot of one-liner functions inline 2019-07-04 19:08:13 +02:00
Deukhoofd bb0a6aba19
General cleanup 2019-07-04 18:24:49 +02:00
Deukhoofd 0446c1098b
Implements toint function 2019-07-04 17:18:07 +02:00
Deukhoofd 5e02b6b389
Cleans up basic library handling, implements print function 2019-07-04 15:56:42 +02:00
Deukhoofd db2d731b06
Implements support for functions with the same name, but different parameters 2019-06-29 19:59:42 +02:00
Deukhoofd 24c560b52d
Initial work on standard library 2019-06-29 16:18:59 +02:00
Deukhoofd ecfc1ae3b7
Cleaner way to define userdata templates 2019-06-28 23:38:47 +02:00
Deukhoofd eda15e501d
Better handling of creating EvalValues in UserData templates 2019-06-28 18:31:24 +02:00
Deukhoofd 70f2dea0ce
Some tweaks to the userdata templates 2019-06-28 17:53:37 +02:00
Deukhoofd 88ea4ed8cd
Template helpers to help define UserData types 2019-06-28 17:02:38 +02:00
Deukhoofd 0d63543ff4
Fix fallthrough warnings 2019-06-28 13:32:28 +02:00
Deukhoofd df79489d4d
Implements while loop 2019-06-28 13:28:39 +02:00