Commit Graph

290 Commits

Author SHA1 Message Date
Deukhoofd dd98a34b63
Fixed missing endlines between parameters in function calls 2019-09-07 12:32:42 +02:00
Deukhoofd 1235e8893f
Fixes trailing endline in numerical table to string 2019-09-07 12:30:30 +02:00
Deukhoofd da4258506e
Support for retrieving bound tree string from script objecsts
continuous-integration/drone/push Build is passing Details
2019-09-07 12:12:37 +02:00
Deukhoofd acc687f213
Cleanup of main script type class 2019-09-07 11:16:12 +02:00
Deukhoofd 5d700aa0e9
Greatly simplify handling numerical eval values, using std::variant
continuous-integration/drone/push Build is passing Details
2019-09-07 10:57:09 +02:00
Deukhoofd 7b5d03ed74
Tests for debug strings for many expressions
continuous-integration/drone/push Build is passing Details
2019-09-05 17:55:00 +02:00
Deukhoofd f547715842
Fixes and tests for function declaration to string 2019-09-05 16:41:12 +02:00
Deukhoofd 256969e912
Some fixes for statements to string, added more tests
continuous-integration/drone/push Build is passing Details
2019-09-05 12:22:10 +02:00
Deukhoofd fb142c7f25
Fixed Windows issue
continuous-integration/drone/push Build is passing Details
2019-09-05 10:59:01 +02:00
Deukhoofd b6b1496e82
Hopefully resolve Windows issue with symver attributes
continuous-integration/drone/push Build is failing Details
2019-09-02 20:58:18 +02:00
Deukhoofd 8bdc1ccfc7
Fixed memory leak in test cases
continuous-integration/drone/push Build was killed Details
2019-09-02 20:49:45 +02:00
Deukhoofd d21cfeaac8
Added support for creating a string outline of a bound script for debugging purposes
continuous-integration/drone/push Build was killed Details
2019-09-02 20:48:52 +02:00
Deukhoofd e0941a9db8
Handle comments 2019-09-01 20:18:32 +02:00
Deukhoofd 0e9c9abf7c
Implements unknown types
continuous-integration/drone/push Build is failing Details
2019-09-01 20:07:09 +02:00
Deukhoofd 01e5441d62
Make nil equivalent type to string and userdata
continuous-integration/drone/push Build is failing Details
2019-09-01 17:10:03 +02:00
Deukhoofd 2fbe1fdf09
Dont use cached version of NumericScriptType with extern, this causes issues
continuous-integration/drone/push Build is failing Details
2019-09-01 16:51:26 +02:00
Deukhoofd cf1daf7805
Handle nil keyword
continuous-integration/drone/push Build is failing Details
2019-09-01 16:16:36 +02:00
Deukhoofd a3e77f650a
Improved performance when binding by reusing many common scripttype objects
continuous-integration/drone/push Build is failing Details
2019-09-01 15:35:45 +02:00
Deukhoofd 79873d9d6a
Support for setting userdata casting handling 2019-09-01 13:35:13 +02:00
Deukhoofd b2ee008ba2
Fix Windows version not allowing us to change GLIBC version for functions
continuous-integration/drone/push Build is failing Details
2019-08-25 18:22:32 +02:00
Deukhoofd b3eee4e89a
Enforce older versions of libm for several math libraries to ensure compatibility
continuous-integration/drone/push Build is failing Details
2019-08-25 17:58:57 +02:00
Deukhoofd f5bfd9c710
Extern C support for creating NilEvalValue
continuous-integration/drone/push Build is passing Details
2019-08-25 12:38:36 +02:00
Deukhoofd 4c97a7c811
Handling for when userdata is not defined yet, but might be defined later
continuous-integration/drone/push Build is passing Details
2019-08-25 11:53:37 +02:00
Deukhoofd 5b7da77027
Improvements for extern C scriptoptions calling
continuous-integration/drone/push Build is failing Details
2019-08-24 18:52:11 +02:00
Deukhoofd df755fcdd3
General fixes for ScriptOptions 2019-08-24 16:11:09 +02:00
Deukhoofd e913f8d052
Allow passing custom scriptoptions 2019-08-24 15:12:09 +02:00
Deukhoofd 1fcde396c3
Added mutex locks on static variables such as static scope and userdata, that could be shared around threads 2019-08-24 15:11:53 +02:00
Deukhoofd 18ffe00bc4
Fix SIGSEV with malformed functions 2019-08-24 13:54:01 +02:00
Deukhoofd 8103099287
Add extern C function to clone scripts 2019-08-21 10:34:10 +02:00
Deukhoofd faa3000d95
Fixed issue where an indexer followed by a binary operator would ignore the binary
continuous-integration/drone/push Build is passing Details
2019-08-18 15:44:55 +02:00
Deukhoofd b4897c77ec
Adds localized error messages 2019-08-18 15:29:52 +02:00
Deukhoofd 184ef8ec9a
Added extern C support for registering static variables 2019-08-18 15:09:44 +02:00
Deukhoofd e939920e5c
Support for explicit casting
continuous-integration/drone/push Build is passing Details
2019-08-18 14:32:14 +02:00
Deukhoofd 1d72e2eccd
Better handling of casting
continuous-integration/drone/push Build is passing Details
2019-08-18 13:17:53 +02:00
Deukhoofd 0fde3d46df
Initial work on implicit casting when calling a function
continuous-integration/drone/push Build is passing Details
2019-08-18 12:13:13 +02:00
Deukhoofd 61d89bd21b
Massively reduce Windows build size (~90% reduction in size)
continuous-integration/drone/push Build is passing Details
2019-08-18 10:57:34 +02:00
Deukhoofd 2d4d3d8856
Apparently Windows does not handle 'long' the same as Unix.
continuous-integration/drone/push Build is passing Details
2019-08-18 10:30:58 +02:00
Deukhoofd 86d6d5a9cb
Enforce 64 bit for Windows test
continuous-integration/drone/push Build is failing Details
2019-08-17 18:58:43 +02:00
Deukhoofd e9a3a6b391
Tweak approx of math.log test to handle different architectures
continuous-integration/drone/push Build was killed Details
2019-08-17 18:54:38 +02:00
Deukhoofd 7675af62de
Fully implements math library
continuous-integration/drone/push Build is failing Details
2019-08-17 18:29:02 +02:00
Deukhoofd 5e96250d96
Implements initial math library, several reworks for Userdata memory management
continuous-integration/drone/push Build is passing Details
2019-08-17 14:42:48 +02:00
Deukhoofd 13b382def2
Implements most of the remaining core standard functions
continuous-integration/drone/push Build is passing Details
2019-08-15 18:12:29 +02:00
Deukhoofd 7523fb4294
Extern support for creating iterators
continuous-integration/drone/push Build is passing Details
2019-08-15 16:58:16 +02:00
Deukhoofd 0d30d788e9
Extern support for getting a userdata type by hash id
continuous-integration/drone/push Build is passing Details
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
continuous-integration/drone/push Build is passing Details
2019-08-15 11:53:40 +02:00
Deukhoofd 471dbac3b9
Implements iterator for user data collection
continuous-integration/drone/push Build is failing Details
2019-08-15 11:43:08 +02:00
Deukhoofd 5387cd15ff
Fix windows build using wrong directory
continuous-integration/drone/push Build is passing Details
2019-08-11 16:49:07 +02:00
Deukhoofd 36a7fd6739
Fixes for CI
continuous-integration/drone/push Build is failing Details
2019-08-11 16:35:33 +02:00
Deukhoofd ece9c1f5eb
Support for Windows builds
continuous-integration/drone/push Build is failing Details
2019-08-11 16:05:14 +02:00