Commit Graph

15 Commits

Author SHA1 Message Date
zeromus e12c711a0e try to manage lua memory leak prevention in a way thats safer from re-entrancy during finalization thread 2015-03-28 05:53:03 +00:00
zeromus 5aed8f8224 luainterface was leaking memory. as far as i can tell, it was ALWAYS leaking memory. Lets see if this fixes it. 2015-03-01 04:27:51 +00:00
zeromus 8e50487695 build luainterface.dll into the references folder, like other more modern things. 2014-08-14 01:07:26 +00:00
goyuken 3b2e16e87a lua: sensible handling for int => color conversion 2014-08-14 00:58:07 +00:00
adelikat 58b5163715 Lua Interface - support Strongly typing System.Drawing.Color, and strongly type the color parameters of gui.drawEllipse() 2014-06-02 00:43:25 +00:00
gochaism 00a1f8a3ba LuaInterface: fix regression of optional parameter binding. (gui.text, for example) 2014-05-02 01:54:05 +00:00
gochaism acc124ca99 LuaInterface: Disable auto table unpacking for vargs. Lua 5.1 does not have such a feature. print({1, 2, 3}) should pass just an array, not multiple arguments. 2014-04-30 23:54:34 +00:00
gochaism 98df140955 LuaInterface: vargs support. Lua function can use (params object[] args) from now.
This update is ported from [NLua](https://github.com/NLua/NLua), thanks a lot.

Dirty test code <http://pastebin.com/d03N93z8>
2014-04-29 04:42:39 +00:00
zeromus 3a8fe7c464 lua-fix crashes when scripts terminate 2012-07-10 19:40:35 +00:00
zeromus c823d6b46a try fixing lua "buffer overflow" stack corruption crash when GC occurs while calling a cfunction 2012-06-11 22:15:49 +00:00
zeromus 3f6127152f build lua differently so that it has at least a prayer at interoperating with plug-in dlls. at least, it can load them. there may be other problems later due to the dlls generally being compiled against a different CRT (vc8) than our lua and luainterface (vc10). we could fix this if we needed to by compiling the CUSTOMIZED lua in vc8 and referencing it from the vc10 luainterface. 2012-04-05 01:05:08 +00:00
zeromus 46a638ee96 fix bug in lua coroutines which made error propagation get mixed up and possibly result in a bunch of other subtle bugs 2012-03-27 07:25:36 +00:00
zeromus b7eaa1eaf7 luainterface - throw exceptions when lua_resume errors 2012-03-27 03:15:57 +00:00
zeromus e7eb6d8dcd fix input.get 2012-03-24 18:39:55 +00:00
zeromus b64ee06a8c since our luainterface and lua are so hacked up now, we need to check it in so we dont lose it 2012-03-23 19:03:22 +00:00