YoshiRulz
a6d1c6595a
Pass LuaLibraries instance to Lua libs via ctors
2020-11-25 19:35:14 +10:00
YoshiRulz
f5752294ff
Simplify Lua lib ctors
2020-11-25 19:27:38 +10:00
YoshiRulz
6c05361cda
Move GuiLuaLibrary to Client.Common
2020-11-25 19:11:06 +10:00
YoshiRulz
20111fb4a2
Replace class Win32LuaLibraries.ResumeResult with tuples
2020-11-25 19:01:37 +10:00
YoshiRulz
fd4a534fa7
When restarting Lua, use a single ApiContainer for all Lua libs
...
fixes a7ffdd948
, 104c17e77
, 151911069
2020-11-25 18:04:02 +10:00
adelikat
e4d4c3a9d8
Lua - tastudio library - supress lua console updates when invoking tastudio methods that cause tool udpates, fixes #2172
2020-09-27 12:59:16 -05:00
YoshiRulz
209fbc6de0
Add and use ReflectionCache classes
2020-09-07 22:01:26 +10:00
YoshiRulz
45063aa6fa
Add helper for when calling .GetTypes() on EmuHawk assembly
2020-08-30 07:19:36 +10:00
SuuperW
12ef0fe35b
fix Lua crash (run Lua script, close Lua console, open different ROM)
2020-08-03 13:55:00 -05:00
YoshiRulz
e5de63ea94
Cleanup VersionInfo and code gen
2020-08-01 11:57:14 +10:00
YoshiRulz
911cb096de
Merge ApiContainer and ApiSubsetContainer
...
(also merge DelegatingLuaLibrary and DelegatingLuaLibraryEmu)
Not sure why this wasn't done earlier, there doesn't seem to be any technical
roadblocks. The contract of the API provider requires an implementation for
IEmuClientApi et al. so they (all 15 interfaces) are free to be used from
Client.Common.
2020-07-26 05:29:04 +10:00
YoshiRulz
e36098becf
A little dedup
2020-07-24 13:33:12 +10:00
adelikat
ed9b7b3eb1
Lua address several memory leaks - when a script stops, take any registered functions and spawn new threads for them to execute, and regularly dispose them. Also, the main lua thread needs to have scheduled disposes run on it, even if there is no active scripts (it was being run as part of disposing individual scripts, needs refactoring). All of this fixes #1920
2020-07-12 15:48:50 -05:00
YoshiRulz
962ac0d9d4
Extract interface from MainForm
2020-06-30 11:02:17 +10:00
adelikat
bb2e82c94a
GlobalWin.MainForm begone
2020-06-12 16:59:44 -05:00
adelikat
61b852c571
remove some unused usings
2020-06-12 12:56:58 -05:00
adelikat
87c48879fc
move Global.Emulator to GlobalWin.Emulator now that no Client.Common files reference it
2020-05-25 18:05:34 -05:00
YoshiRulz
5b5b6bd483
Unify ApiContainer instantiation
...
fixes c1cd1b9e0
2020-05-24 14:19:14 +10:00
adelikat
22ee71b0cf
refactor lua shenanigans in mainform, instead move frame based logic to lua console update hooks, control SupressScripts in lua itself not in mainform. Also, this breaks the logic that automatically stop countihng rerecords if loadstate happens from script, the logic appeared to be broken and can/should be managed by the script itself
2020-05-05 12:40:57 -05:00
YoshiRulz
3a3b22c03b
Move projects to src subdir (breaks build)
2020-05-03 10:57:38 +10:00