61 Commits

Author SHA1 Message Date
30177e6c1e Better handling of list.remove() 2019-02-25 13:46:06 +01:00
768c02c482 Better handling of list.contains() 2019-02-25 13:39:45 +01:00
6bc3469860 Better handling of interop 2019-02-25 13:26:27 +01:00
668d60ce46 Throw exception if trying to add to a fixed size IList 2019-02-21 14:21:15 +01:00
40745a1935 Log better error when trying to access out of bounds value on C# list 2019-02-21 12:18:43 +01:00
d121bb2409 Handle binding of function parameter better, consider inheritance 2019-02-16 18:39:04 +01:00
8829df0ba3 Removed now deprecated behaviour where enums are always created in the static scope by default 2019-02-16 13:56:51 +01:00
859c410609 Support for creating static variables for a type using attributes 2019-02-16 13:54:10 +01:00
8da35b4e71 Make coroutine functions be forced to be created with the coroutine keyword. 2019-02-14 12:42:47 +01:00
49531b5595 Fixed not being able to add to Userdata list 2019-01-31 14:48:45 +01:00
ce030c484f Fix ListUserData erroring on type retrieval 2019-01-26 14:08:18 +01:00
65ae6f6f06 Better binding for index expressions 2019-01-26 13:23:12 +01:00
364e71198e Better handling of binding when dealing with unknown userdata 2019-01-23 13:40:10 +01:00
faaca91265 More fixes for function binding 2019-01-23 13:15:19 +01:00
4062d2f140 Fixes for types sometimes choosing type they inherit from instead of themselves 2019-01-22 18:32:29 +01:00
284ba2cf54 Better error handling 2019-01-22 12:28:21 +01:00
47a80d2153 Fixed ListUserData type being unknown 2019-01-21 14:03:11 +01:00
86f47ae002 Fix binding issue on evaluation 2019-01-21 12:57:30 +01:00
ca9361cd0f Handle bound types when they ar enot yet set 2019-01-21 11:34:44 +01:00
9aea17c445 tostring for ListUserData 2019-01-20 23:09:08 +01:00
246aba3e95 Fixed issue with userdata type on evaluation 2019-01-19 17:50:54 +01:00
1d6b5673d6 Reworked diagnostics, saves line positions in memory, instead of calculating later. 2019-01-16 23:57:42 +01:00
590614c34d Handle float --> int conversions more like we'd expect 2018-12-11 16:10:08 +01:00
e57129e116 Work on calling CSharp methods 2018-12-11 15:50:24 +01:00
efea92d32a Make Script conversion at end of execution use Type Binder, general Type Binder fixes 2018-12-10 17:52:15 +01:00
5646ff1da1 Fixes to the Type Binder and static method handling 2018-12-09 22:12:03 +01:00
3d9b7a53e9 Changes and tweaks for the binder 2018-12-09 20:53:07 +01:00
ff9eac888f Reworked script enumerator to not be overriden by generic enumerator 2018-12-09 18:23:06 +01:00
50f06f389a Fix passing nil to CSharp functions not returning function 2018-12-09 18:13:19 +01:00
875525b6be Handle unnamed functions better 2018-12-09 17:49:54 +01:00
2e0ac29878 Implements setting to CSHarp lists 2018-12-09 14:05:17 +01:00
b63e8d37b5 Even better equality checking 2018-12-09 13:47:13 +01:00
fb2af879c9 Fixes for binder not being able to get proper method 2018-12-09 12:25:29 +01:00
92586e4939 Fixes for equality 2018-12-09 11:45:38 +01:00
422de5d4eb Rework of function calling to handle generics better 2018-12-09 11:28:27 +01:00
43d9360145 Various changes and tweaks to run better 2018-12-08 16:18:38 +01:00
f6947194b9 Support for easy loading assemblies, and instantly creating enums in the static scope 2018-12-08 11:30:22 +01:00
99ac02924b Handle overloads better 2018-12-07 16:51:17 +01:00
ac05647d71 Reworked script function attribute, added initial math library 2018-12-07 16:11:52 +01:00
81cd22ce28 Support for generic Actions 2018-12-06 15:45:19 +01:00
7996420ee5 Fixes for require 2018-12-06 15:32:07 +01:00
520cd1ffcc Initial support for generic funcs 2018-12-05 17:20:28 +01:00
8034a11fe3 Support for Enums 2018-12-05 15:14:31 +01:00
f08d1c2541 Reworked function handling, support for type checking internal CSharp functions 2018-11-30 15:28:36 +01:00
3a3ed071d2 Move ScriptFunctions to own namespace 2018-11-30 11:15:52 +01:00
f983239b5a Bind indexing of userdata 2018-11-29 18:09:08 +01:00
af0ff235e1 Fixes script --> C# function calls not working 2018-11-28 21:23:08 +01:00
cd04486d16 Adds Unary length operator 2018-11-24 15:11:33 +01:00
13ac6f2754 Rework for loops to use iterators, requiring pairs or ipairs function to handle multi-assignment 2018-11-24 14:35:23 +01:00
c63df3c941 Work on standard libraries.
- Allows Standard Libraries to work with actual luatypes, to prevent constant back and forth casting
- adds ipairs function, doesn't do anything except maintain compatibility with lua
- several tests
2018-11-24 13:35:40 +01:00