scrimpeh
60c3734e8c
Ram Watch - Fix moving up and down blocks of identical Watches
2015-07-05 18:55:43 +02:00
adelikat
19423092cd
Tastudio/lua - implement tastudio.ongreenzoneinvalidated
2015-07-02 14:51:42 -04:00
adelikat
105b8d3a64
Tastudio - cell height padding of 0 instead of 1
2015-07-02 14:37:28 -04:00
Tom Rochette
a783ef75f6
Simple Lua sandbox.
...
Uses an EnvironmentSandbox to restore the Environment.CurrentDirectory. Will also catch any script exception and redirect them to the Lua console.
With this change, I've tried to replace all the places where Lua is executed so that if an exception occurs, it is catched, sent to the console and a callback is executed if necessary.
This also fixes a small issue where any callback generating an exception would crash BizHawk.
2015-07-01 22:38:19 -04:00
adelikat
c53cef6cf9
tastudio/lua - implement tastudio.onqueryitemtext
2015-07-01 19:46:14 -04:00
adelikat
f847e905d2
tastudio/lua - add onqueryitembg event to the lua library, this is called during each cell's background color drawing callback, and gives the opportunity for lua to override the color.
2015-07-01 19:01:29 -04:00
Tom Rochette
de98e0ed66
[ #405 ] Set Environment.CurrentDirectory when executing Lua events within a WinForm.
...
Since events are not executed within the LuaConsole.ResumeScripts method, those did not have Environment.CurrentDirectory available for the executing script.
The fix is simple: when a lua script instantiates a LuaWinForm (through forms.newform), we store the current Environment.CurrentDirectory in the LuaWinForm object.
When a button or checkbox is triggered, it calls WinForm.DoLuaEvent which will set up the Environment.CurrentDirectory for the duration of the callback and then set it back to the initial Environment.CurrentDirectory.
2015-06-30 22:35:59 -04:00
adelikat
e50f81d54c
Tastudio - remove a line of code that makes the emulator spaz out when mousewheeling up very fast, I don't think removing this breaks anything, I suspect it was only there from some defensive programming and overthinking
2015-06-29 22:08:31 -04:00
adelikat
8911049f68
Merge pull request #447 from TomzxForks/fixes/lua-console-output-resize
...
Add a split container to LUA console window.
2015-06-29 21:35:46 -04:00
adelikat
b991493c97
backing out of last change, it was not well thought out
2015-06-29 17:09:47 -04:00
adelikat
947f18d971
Hex Editor - super hack, allow keyboard events even when scrollbar has focus, to workaround the fact that the scrollbar mysteriously gets focus from numpad buttons
2015-06-29 17:06:46 -04:00
adelikat
a2c73eb793
Remove some commented and useless
2015-06-29 16:23:59 -04:00
Tom Rochette
c03a162bc1
Add a split container to LUA console window.
...
With the split container, resizing the window will properly reformat the output section as well as allow users to resize it.
2015-06-29 00:28:35 -04:00
ConHuevosGuey
d97d94ecbc
Made size nullable...now requires a size input.
2015-06-28 13:25:28 -05:00
ConHuevosGuey
229865c443
Added a 'Draw Axis' function to lua GUI library
2015-06-28 13:23:07 -05:00
adelikat
13044547e4
Tastudio - fix issue #446 - don't greenzone between the mouse down and mouse up events when editing input
2015-06-28 10:43:45 -04:00
adelikat
cd4955fbe5
Tastudio - fix autoload
2015-06-27 07:49:37 -04:00
scrimpeh
716cf12f6a
Debugger - Tiny insignificant fixes
2015-06-27 13:03:24 +02:00
scrimpeh
0e4a641a81
Debugger - Fix a lot of stuff regarding Breakpoints
2015-06-26 22:12:09 +02:00
pasky1382
703dc33cc0
Small correction.
...
Removed the link to the key names that did not contain correct information, this list of key names is not used in Bizhawk for lua's input.get()
2015-06-22 13:40:22 +00:00
adelikat
46feea39cd
TAStudio - account for a button name of "P" rather than assume it is a player number indicator, fixes issue #431
2015-06-21 16:13:35 +00:00
adelikat
7e2cfa0dd5
Multi-Disk bundler - fix various issues with the form, most significantly the wrong system Id for AppleII
2015-06-21 12:51:48 +00:00
adelikat
aa75bd52e9
When adding an address to ram watch from another ram tool, don't load ram watch if it is already open
2015-06-21 00:21:36 +00:00
scrimpey
17ce177e5f
Debugger - Make Register Boxes use Hex input.
2015-06-19 20:32:05 +00:00
adelikat
1631297cdd
Start AutoHawk, just a stub with the anticipated required services and a config object
2015-06-15 22:12:24 +00:00
adelikat
6517178e6d
lua - savestate.looad() - if path does not exist put a helpful error message rather than a vague .net error
2015-06-15 01:17:02 +00:00
adelikat
59eb3dc2f2
Fix SNES Game Genie Add button (issue #420 )
2015-06-06 22:26:32 +00:00
adelikat
9f0e4f0735
Apple II VirtualPad - fix up names now that we have them
2015-05-18 01:34:35 +00:00
adelikat
549e9650ae
oops, didn't mean to check this in
2015-05-18 00:38:27 +00:00
adelikat
9024df91f5
Virtual pad for Apple II, many of the names will have to be cross referenced with the core when those buttons are added
2015-05-17 23:05:12 +00:00
adelikat
7af274c1cc
MultiDiskBundler - don't autofill stuff if the current "rom" is a .xml file
2015-05-17 20:37:19 +00:00
adelikat
a04a80bfce
add "new" to LuaCanvas.Refresh() because I"m tired of seeing the warning
2015-05-17 20:33:27 +00:00
adelikat
5354be978a
remove DualGBFileSelector tool
2015-05-17 20:32:49 +00:00
adelikat
c9f4a27fcd
Multi-Disk bundler - add a system picker, with GB and Apple II as they are currently the only systems that support this
2015-05-17 20:26:25 +00:00
adelikat
f912103914
Add a tools folder and map paths of things like watch files, debug stuff, etc there rather than defaulting to cluttering up the bizhawk root folder
2015-05-17 17:06:23 +00:00
adelikat
5f2e2f39b2
MultiDiskBundler - use relative paths when possible
2015-05-10 22:17:00 +00:00
adelikat
c80fb97bc9
MultiDiskBundler - fix exception on load when the current rom is in an archive
2015-05-10 20:04:27 +00:00
adelikat
ea72da9f89
Refector xml game, it now has a List of keyvalue pairs instead of dictionary, and the schema is now LoadAssets with an array of Asset tags. MultiDiskBundler changes to account for this, also remove restriction of using current rom based on system type, isntead it will assume any system is ok
2015-05-10 18:58:00 +00:00
adelikat
99e3c688bc
progress on MultiDiskBundler
2015-05-09 13:05:19 +00:00
zeromus
6833a24638
add NES music ripper tool prototype
2015-05-08 00:56:46 +00:00
adelikat
d604c89de5
MultiDiskBundler - progress
2015-04-23 01:41:56 +00:00
adelikat
732bc5389c
progress on MultiDiskBundler
2015-04-19 22:34:08 +00:00
adelikat
64c588ea5a
start the MultiDiskBundler tool, that will make it easy to make multi-game xml files such as for Apple II and dual gameboy (and eventually other systems)
2015-04-19 21:02:22 +00:00
adelikat
5d5a4d10f2
Ram Search - make IInputPollable an optional service not a required one
2015-04-17 15:21:19 +00:00
adelikat
e57d15d85b
oops, remove some debugging code
2015-04-12 17:47:34 +00:00
adelikat
53341ee24a
Lua - add client.CreateInstance() which receives a type name available to EmuHawk and will construct and return the given object, currently it is limited to objects that have a parameterless constructor but we should be able to improve upon that limitation
2015-04-12 17:46:27 +00:00
adelikat
a0d56df06b
Lua - client library - change GetOpenTools() to GetAvailableTools() which returns a list of tools available to the currently loaded core, change GetTool() to receive any avaialble tool, if the tool isn't open, GetTool() opens it
2015-04-12 17:37:06 +00:00
adelikat
8d86ee012e
Lua - implement client.GetOpenTools() to return a list of currently open tools. And client.GetTool(string name) which return an object to lua representing a currently loaded tool, lua then has access to any public methods of that object
2015-04-10 21:56:03 +00:00
scepheo
abf1e55934
A bit of testing with Lua.
2015-04-10 14:11:01 +00:00
pjgat09
57fa633a9e
Lua Forms: Fixed a bug with SetProperty
2015-04-05 04:11:00 +00:00