adelikat
2059558771
Lua - fix emu.getdisplaytype() that has been broken for a long time, also fix it to properly use the IEmulatorService system instead of reflection shenanigans
2016-12-15 13:09:52 -06:00
adelikat
2d9213c379
IController - Remove the indexer property and refactor code accordingly, also simplify and cleanup many of the IController implementations
2016-12-14 14:12:16 -06:00
adelikat
e94de78ebd
Lua - fix movie.getinput() to return float values instead of passing "False" no matter what
2016-12-14 13:22:01 -06:00
adelikat
72a59087b5
Use the IController indexing property less in preparation for removing it from the interface. Replaced with its more explicity counter-part .IsPressed()
2016-12-14 12:42:15 -06:00
adelikat
5ff33e7569
Rename IController.Type to IController.Definition to more clearly describe the property
2016-12-12 12:30:32 -06:00
adelikat
44fa93e15f
Lua - make the MemorySavestate library dependent on IStatable
2016-12-04 12:08:21 -06:00
adelikat
63202570cc
Lua NES library - properly use an OptionalService instead of Global.Emulator
2016-12-04 11:50:07 -06:00
adelikat
7bff28bdee
Lua - memory library - actually default to system bus, previous commit was unsufficient
2016-11-12 11:55:20 -06:00
adelikat
bf9956089d
Lua - default the memory library to system bus (if available)
2016-11-12 09:25:18 -06:00
adelikat
045f5e9df1
Lua documentation - clean up return values to match conventions in parameters
2016-11-11 11:40:53 -06:00
adelikat
b0552224e0
Lua documentation - fix notation for nullable bools
2016-11-11 11:30:18 -06:00
adelikat
fa6cb75a77
When generating wiki documentation, add some info about parameter types, #401
2016-11-11 11:27:06 -06:00
feos
91a29a8692
n64: yet another dynarec check, this time for lua
2016-08-25 22:11:53 +03:00
parasyte
71c7edbb24
Add address mask setting for breakpoints
2016-08-08 04:37:39 -07:00
nattthebear
111648cf98
Break a bunch of memory domain stuff with pointless refactoring
2016-04-13 19:50:06 -04:00
zeromus
5024f6022e
console log lua exceptions, workaround for #607
2016-03-31 14:11:34 -05:00
feos
a6c3561db0
lua: movie.getinput() now fails gracefully if adapter is null.
...
fixes #595
movie.mode() returns a string, so make its modes look like strings in the description.
2016-03-12 12:05:24 +03:00
zeromus
aa3c599882
readd y=x functionality to SetReadOnly
2016-03-10 19:03:07 -06:00
feos
78f20510e5
lua: emu.disassemble(uint pc, string name = "")
2016-02-21 18:14:03 +03:00
adelikat
ddbaf6b2f9
Lua - registering completiosn to sublime text 2 - exclude strings from completion logic
2016-02-14 22:35:47 -05:00
feos
07d4ac846b
lua: memory.GetMemoryDomainSize()
...
fix #542
2016-02-09 17:54:11 +03:00
zeromus
97998071a7
fix bugs in lua's memorysavestate apis ( fixes #565 )
2016-02-08 01:28:26 -06:00
adelikat
36b82c3563
Lua Console - add a button that installs auto-complete for all bizhawk's lua library to Sublime Text 2's lua syntax, still todo - notepad++
2016-02-07 08:27:57 -05:00
adelikat
487fce328b
Lua - add option to detect changes in scripts and automatically reload them. Have this option off by default for now. Also fix reloading of scripts which was recently broken.
2016-02-06 13:50:02 -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
42c0b62261
fix some lua currdir bugs, but its all broken, dont pay any attention to it
2016-01-31 03:18:34 -06:00
zeromus
da865e28b8
try sandboxing currenty directory harder
2016-01-31 02:40:48 -06:00
adelikat
5ddd9e097b
clean up some warnings
2016-01-30 21:28:49 -05:00
zeromus
0da6e745e5
move EnvironmentSandbox and LuaSandbox to Client.Common
2016-01-30 18:37:30 -06:00
zeromus
b0ab66801f
Revert "comment out feos' sandbox change so things compile"
...
This reverts commit 418eed6cc5
.
2016-01-30 18:28:51 -06:00
adelikat
418eed6cc5
comment out feos' sandbox change so things compile
2016-01-30 18:10:23 -05:00
adelikat
ca3b43973c
Load Lua session - when loading a relative path, drop the .\ part, I'm disappointed in Path.Combine
2016-01-30 18:08:54 -05:00
feos
7409a32658
lua: attempt to use sandbox in callbacks.
2016-01-30 23:26:27 +03:00
feos
c641d94e05
lua: movie.save
...
see #384
2016-01-30 16:10:28 +03:00
feos
a821fce6c8
typo
2016-01-30 16:10:27 +03:00
feos
7421bd7244
lua docs derp
2016-01-27 17:06:22 +03:00
feos
3c779a897b
lua: emu.setislagged()
2016-01-27 16:41:41 +03:00
feos
c1e70077c8
instafix #546
2015-12-13 00:00:22 +03:00
feos
3c07f7e649
lua: optional domain for memory functions.
...
fixes #538 .
I tested heavy memory reading, and it's not adding noticeable overhead.
2015-11-29 22:56:28 +03:00
Hathor86
1e2f4e12be
Watch refactoring
...
Some improvement when you get Available types. Used to return a new
array each time you call the function. It has been transformed into an
IEnumrable and yield return.
DisplayType, PreviousType and Watchsize have been moved outside the
Watch Class
2015-11-28 22:52:00 +01:00
zeromus
93e7c91ee9
clean up lua console pause/stop behaviour a little bit and add listview icons to make it more clear what's going on
2015-10-22 16:28:52 -05:00
adelikat
aa01b725a6
Also handle lack of input callbacks when removing a lua function, not just on clear all
2015-10-17 20:03:07 -04:00
adelikat
32a2711303
When clearing lua callbacks, handle the case that input callbacks might not be implemented, also handle memory callbacks in a more consistent way
2015-10-12 19:02:03 -04:00
zeromus
e6ea96771b
fix crashes removing lua callbacks on some cores
2015-10-01 01:16:34 -05:00
adelikat
f1c77c349e
Oops, add EmuLuaLibrary.MemorySavestate.cs
2015-09-10 17:36:20 -04:00
adelikat
3ba965321a
make bizstring.split() 1-based
2015-09-09 19:57:14 -04:00
adelikat
12479cbc25
lua implement movie.getcomments() and movie.getsubtitles()
2015-08-04 18:33:22 -04:00
adelikat
f3d8388dfe
Lua - implement movie.getheader()
2015-08-04 18:22:22 -04:00
adelikat
0205762409
lua - remove movie.insertframe() as it is no longer needed and was not coded in an acceptable way, if such a feature is needed in the future, it needs to be thought through better
2015-08-01 22:21:44 -04:00
adelikat
8ec8032061
lua - implement movie.startsfromsavestate() and movie.startsfromsaveram()
2015-08-01 18:16:40 -04:00