adelikat
|
3bfce81eae
|
LuaConsole - have a RequiredService of IEmulator and pass it into the lua implementation instead of using Global.Emulator
|
2016-12-06 10:35:11 -06:00 |
adelikat
|
e281950902
|
Close a lua instance before creating a new one, fixes #455
|
2016-10-06 15:17:05 -05:00 |
adelikat
|
11b4f5a5b1
|
Lua - fix #691 - When calling client.reboot_core we still want to re-inject dependencies to the lua libraries
|
2016-08-28 12:07:26 -04:00 |
zeromus
|
1a1a688b96
|
remove NeedsToPaint; client now repaints ~100fps while paused all the time. as it already did when input display was enabled. fixes #615.. probably
|
2016-04-20 12:17:41 -05:00 |
zeromus
|
5e89e563d0
|
overhaul lua sandboxing so that each lua script has its own sandbox. elaborate tracking of winform/event ownership to ensure that lua doesnt receive calls without going through the owner's sandbox. add win32-specific speed hacks for currdir set/get at higher speed. There may be bugs in this commit, but I think we're on the right track now.
|
2016-01-31 19:54:55 -06:00 |
zeromus
|
260ad45a88
|
fix lua's reboot_core function... maybe
|
2015-12-19 21:14:13 -06:00 |
Isotarge
|
02c04d0088
|
Fix forms.destroyall() and call it when lua console closes
Fixes #454
|
2015-11-07 01:38:44 +10:30 |
zeromus
|
169f36ee85
|
code formatting
|
2015-10-15 18:32:59 -05: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 |
christoph.boehmwalder
|
e11811e2f8
|
Lua - Added an input box to the script console for on-the-fly command input
Set ImageScaling to None for all buttons in the toolbar in order to fix scaling issues
|
2015-01-02 19:36:32 +00:00 |
adelikat
|
72893a10f3
|
EmuLuaLibrary - remove some commented code that should have been deleted
|
2015-01-01 19:19:51 +00:00 |
goyuken
|
cfaf59f887
|
lua: internal infrsatructure changes to nes library
|
2014-12-17 23:03:58 +00:00 |
goyuken
|
ecf8728de6
|
factor out serviceinjector to emulation.common
|
2014-12-17 18:17:16 +00:00 |
adelikat
|
5c92adcaaa
|
Wire up the Log callback into lua libraries, this got lost in the last refactor I did, and so errors were not getting reported
|
2014-11-08 14:54:00 +00:00 |
adelikat
|
538c4632af
|
Add a LuaLibraryAttributes attribute to lua libraries with a Released property, only register libraries that are released except in Developer Builds, set tastudio library Released flag to false
|
2014-09-20 01:00:50 +00:00 |
zeromus
|
0fe74f95e7
|
fix LuaConsole PWD-related bugs
|
2014-06-03 02:39:15 +00:00 |
adelikat
|
0649d1c77e
|
Lua - add some more documentation, add a method that generates tasvideos wiki markup of the documentation and outputs to a file (method not wired to anything, there to save me tons of time when releasing)
|
2014-06-03 02:19:13 +00:00 |
adelikat
|
d037c6ed60
|
Oops
|
2014-06-03 01:21:49 +00:00 |
adelikat
|
83ada011e8
|
Lua - Refactor how lua libraries are registered by searching assemblies and finding implementations and building a list of these
|
2014-06-01 22:02:59 +00:00 |
adelikat
|
0782c9820d
|
Lua - implement event.onexit() - fires when the calling script stops execution, supports multiple callbacks per script
|
2014-05-26 03:08:16 +00:00 |
adelikat
|
e88b7cc93e
|
one more tweak to make lua library constructors unified
|
2014-05-21 01:15:52 +00:00 |
adelikat
|
17568997bf
|
Lua - unify constructors and have all libraries receive a lua context and an output callback, simplify some convolved registration code
|
2014-05-21 00:17:35 +00:00 |
adelikat
|
4ee4088c4c
|
read/write byte range functions - range check, and log warnings if user attempts to access outside the domain range, rather than throw a vague lua exception and crash
|
2014-05-19 01:42:41 +00:00 |
adelikat
|
059952f0a4
|
Change memory.getmemorydomainlist() to return a lua table instead of a string
|
2014-05-19 01:06:44 +00:00 |
adelikat
|
3d10d67fea
|
Implement bizstring.split()
|
2014-05-18 21:06:16 +00:00 |
gochaism
|
38a0a3593e
|
Lua: Update print and console.log to take variable arguments.
|
2014-04-29 05:07:43 +00:00 |
adelikat
|
8c1c034090
|
Lua - make Print() be an alias of console.log()
|
2014-04-29 01:24:06 +00:00 |
adelikat
|
9c3a7fec37
|
Lua - add a gameinfo lua library with getromname(), getromhash(), getdisplaytype(), getindatabase(), getstatus(), getisstatusbad(), getboardtype(), and getoptions() methods
|
2014-04-13 14:22:13 +00:00 |
adelikat
|
4ca0f5792b
|
rip out some lua console code I didn't mean to check in
|
2014-02-16 23:06:14 +00:00 |
adelikat
|
5849d2d80d
|
make the Select All feature built right into VirtualListView instead of writing the same code over and over in the tool dialogs, also make said code faster on large lists
|
2014-02-15 19:15:04 +00:00 |
adelikat
|
05823d3022
|
fix ButtonCount lua script to use console.log instead of the now deleted console.output, Lua - remove some todos that had been done and some rather useless cleanup
|
2014-02-14 01:27:38 +00:00 |
adelikat
|
23f7017651
|
Some code cleanup tinkerings in Client.Common
|
2014-02-03 20:48:01 +00:00 |
adelikat
|
91fdad9d45
|
LUa - whack now unused code
|
2014-01-26 16:21:20 +00:00 |
adelikat
|
5f9757d7d0
|
Lua - finish up refactoring remaining lua libraries
|
2014-01-26 16:15:45 +00:00 |
adelikat
|
bce8320b85
|
Lua - new Register method on some more libraries
|
2014-01-26 13:30:45 +00:00 |
adelikat
|
583be2516c
|
Lua - new registration system added to NES and SNES libraries
|
2014-01-26 03:26:52 +00:00 |
adelikat
|
ac9e4c1d3d
|
Lua - same to movie library
|
2014-01-26 02:50:26 +00:00 |
adelikat
|
988ed03198
|
ditto for Memory library
|
2014-01-26 02:43:28 +00:00 |
adelikat
|
94d20e92f4
|
Lua - new register system for Main Memory library and a bunch of cleanup for that lib
|
2014-01-26 01:48:32 +00:00 |
adelikat
|
c6859a6d4f
|
Lua ditto for joypad library and slight fix documentation
|
2014-01-26 00:01:40 +00:00 |
adelikat
|
c66e529fb7
|
lua - ditto to Events library
|
2014-01-25 21:37:25 +00:00 |
adelikat
|
65d50ca329
|
Lua - refactor emu library to use the new registration method, documentation is all "TODO"
|
2014-01-25 21:10:51 +00:00 |
adelikat
|
4701b319be
|
Lua - add a new way to do reflection to get method names, now the function list simply needs to match the method name, and the method name does not need to redundantly specificy the library name. Only the Bit library hooked up currenlty.
|
2014-01-25 15:05:53 +00:00 |
adelikat
|
8ab655d963
|
A better fix for something I broke
|
2014-01-21 16:31:12 +00:00 |
adelikat
|
186503c041
|
Some formatting cleanup on EmuLuaLibrary, nothing useful here
|
2014-01-21 00:43:57 +00:00 |
pasky1382
|
08504fc25a
|
Added more string lua functions
|
2014-01-20 17:06:09 +00:00 |
zeromus
|
7a07a910f8
|
temporarily fix build by removing lua string library which has a missing file
|
2014-01-20 05:13:43 +00:00 |
pasky1382
|
a2dd821474
|
Added new EmuLuaLibrary.String, contains decimal to hex string and binary string.
|
2014-01-19 16:36:43 +00:00 |
adelikat
|
788aea970e
|
Lua Console - when removing a script, remove its registered function. Currently however, this behavior will only happen if the script is currently running. If you disable it and then remove it, the functions remain.
|
2013-11-26 01:21:24 +00:00 |
adelikat
|
92c34c8c2d
|
Refactor Lua Console code to move most of the logic to a custom LuaFile list object. Also fix number of bugs in the process
|
2013-11-25 21:01:38 +00:00 |