Commit Graph

25 Commits

Author SHA1 Message Date
zeromus 701fcf4853 try installing luasockets, since it seems the prebuilt exception handling interferes with ours (fix confirmed by revo-tpp users) 2017-02-18 14:19:46 -06:00
zeromus 79cdfaba6b add (or fix, not sure which) luaperks-building version of our luainterface, but dont use it just yet--we'll wait for some need. turns out luasockets isnt worth the trouble of embedding due to the dependency on a bunch of other files anyway 2017-02-03 01:21:45 -06:00
zeromus 96416e13d9 fix regressions in lua's support for UTF-8 strings, likely created around the time of the sandboxing. 2016-05-23 14:33:36 -05:00
nattthebear bef6ddef67 Add x64 target to luainterface. Build and add to references 2016-02-28 20:12:39 -05:00
zeromus dfc139376a fix lua dlls on windows xp after changing to vs2015 building 2015-12-20 05:04:23 -06:00
zeromus 4f9061c45e update lua vcxproj to vs2015. rebuild dlls. should hide the floating point precision on n64 problem, but i still suspect theres badness 2015-12-16 16:34:33 -06:00
Connor Olding 23caf74a34 disable CLR on luaglue.cpp
this should work around Lua numbers being casted to floats when the N64
core is loaded.

note that the included lua51.dll has yet to be rebuilt.
2015-12-16 13:39:45 -08:00
zeromus a281a18dfe cleanup lua vcxproj 2015-12-16 15:26:58 -06:00
zeromus e74322b531 gitignore and cleanup 2015-11-02 00:33:17 -06:00
zeromus 3a61c850f3 add luaperks (cd, im, iuplua, luasockets) since our lua is customized and acts flaky with external dlls 2015-11-02 00:27:11 -06:00
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