Commit Graph

9098 Commits

Author SHA1 Message Date
zeromus db1191dc48 emuhawk - add experimental prescale option to display manager 2015-07-06 12:31:30 -05:00
scrimpeh 60c3734e8c Ram Watch - Fix moving up and down blocks of identical Watches 2015-07-05 18:55:43 +02:00
scrimpeh f472b4802d Apple II Breakpoints - Fix Write Breakpoints 2015-07-05 17:12:46 +02:00
scrimpeh 43dd015b51 AppleII - Add MemoryCallbacks, Breakpoint Support, Set Registers in Debugger to proper bit size. 2015-07-05 17:09:07 +02:00
adelikat 0a6fb3dce2 remove the GPGX trace logger since it isn't wired up and we don't want it to display if it doesn't work 2015-07-05 09:13:44 -04:00
pjgat09 a064560f88 N64 - Added the GLideN64 plugin as a submodule 2015-07-04 18:29:36 -04:00
pjgat09 fd74723537 Fixed mupen64plus-video-glide64mk2 to work with the updated mupen64plus-win32-deps 2015-07-04 18:14:22 -04:00
pjgat09 30d0ae3f16 Added mupen64plus-win32-deps as a submodule 2015-07-04 18:10:47 -04:00
pjgat09 0a7eeffd78 Removed mupen64plus-win32-deps to be added later as a submodule 2015-07-04 18:09:40 -04:00
Tom Rochette d1bce27223 Add missing changes to BizHawk.Client.EmuHawk.csproj for the Lua sandbox. 2015-07-02 19:40:25 -04: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
adelikat 2790dcbf0d lua - implement userdata.containskey() 2015-07-02 14:29:19 -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
nattthebear a0f3931257 Blah 2015-06-30 23:29:01 -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
zeromus 0341d24bc8 I think more stuff needed thread locking for more time in 7z library manager 2015-06-30 19:43:59 -05:00
adelikat e03da4f5fe Lua - add a userdata library, with basic api for a script to add arbitruary data to a dictionary. This dictionary is saved and loaded in savestates (if present). Scripts can use this to create counters and whatnot that need data saved in savestates 2015-06-30 18:54:42 -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
ConHuevosGuey 200916bb8d Added Ninja Gaiden II collision viewer (LUA). 2015-06-29 19:13:47 -05: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
ConHuevosGuey 3a9bb13277 Ninja Gaiden III collision box viewer 2015-06-28 12:34:17 -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
nattthebear ac52749941 Clean up and add entries to gitignore 2015-06-27 12:13:35 -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
zeromus ee2d0aafdf update psx to mednafen 0.9.38.5 2015-06-27 04:02:03 -05:00
scrimpeh 0e4a641a81 Debugger - Fix a lot of stuff regarding Breakpoints 2015-06-26 22:12:09 +02:00
nattthebear 98ad258966 fix dll paths in GPGXDynamic.cs 2015-06-25 17:24:19 -04:00
zeromus f75b06ce75 dont use gpgxdynamic for genesis games til its done 2015-06-25 14:14:42 -05:00
zeromus 4cce5c2cf7 get (and use) shorthash 2015-06-24 21:44:03 -05:00
zeromus 1c4a067547 adjust template and aboutboxes to use the following format: branchname-revision. for example: "GIT master-9058" 2015-06-24 21:19:42 -05:00
zeromus 2d78810c59 Merge branch 'master' of https://github.com/TASVideos/bizhawk 2015-06-24 20:51:52 -05:00
zeromus db4d2a72b8 make fun of self 2015-06-24 20:50:53 -05:00
zeromus 8847a35425 employ git build tool in veersion project building 2015-06-24 20:45:08 -05:00
zeromus 57288a12ca change build tool to support git 2015-06-24 20:44:13 -05:00
zeromus 542e00c9af add PSX to the supported list, just for a test 2015-06-24 20:21:51 -05:00
adelikat b728efb314 AppleII.ISettable - group with the other apple II files 2015-06-24 20:43:51 -04:00
nattthebear 7f316559cd some elf infrastructure for mono - not tested, but should be a helpful start 2015-06-24 19:34:38 -04:00
nattthebear 5a5e480df9 a few more for gitignore 2015-06-24 19:07:20 -04:00
scrimpeh 486bf49094 Apple II trace logger - remove vestigial stuff 2015-06-24 16:04:39 +02:00
scrimpeh 4b9ed33954 Apple II trace logger - fix crashes on loadstate, sanity check on printing opcodes 2015-06-24 16:00:19 +02:00