Commit Graph

1251 Commits

Author SHA1 Message Date
adelikat 7925b6f939 convert some gb tools to EmulatorServices 2014-12-13 23:26:18 +00:00
adelikat b3a47b911b Debugger - use EmulatorServices 2014-12-13 23:15:39 +00:00
adelikat 557309eb6f Fix a bug in ToolManager.Restart() 2014-12-13 23:02:32 +00:00
adelikat 94bd987a73 Convert Cheats to EmuatorServices 2014-12-13 22:57:51 +00:00
adelikat 8eda262ebe convert Ram Watch and Hex Editor to use EmulatorServices 2014-12-13 22:54:07 +00:00
adelikat c00b8ad78e Ram Search - convert to using EmulatorServices 2014-12-13 22:40:04 +00:00
adelikat 6e875625cd CheatEdit - fix a logical error 2014-12-13 22:33:46 +00:00
scepheo b65bf1b5ae ToolManager: Added tool dependency injection on tool restart and load. 2014-12-13 22:32:08 +00:00
scepheo 99506df596 ToolManager: Forgot compiler-time unknown type variants of GetDependencies and IsAvailable. 2014-12-13 22:14:30 +00:00
adelikat 73cd68e5f9 Debugger - Disassembler - cpu setting 2014-12-13 22:10:39 +00:00
scepheo 769cbeb1a0 - IToolForm: Added RequiredServices attribute to define dependencies, and added EmulatorServices for ToolManager to supply them.
- IServiceProvider, BasicServiceProvider: Added compile-time unknown type versions of GetService and HasService.
- ToolManager: Added IsAvailable to test whether all dependencies for a tool are available.
2014-12-13 21:54:59 +00:00
adelikat 15a64b954e Debugger - start some disassembler stuff 2014-12-13 21:41:39 +00:00
adelikat 6933d5ee56 Debugger - rip out tracer and put instead a placeholder groupbox that will house a disassembler 2014-12-13 19:31:10 +00:00
adelikat c4680f56d4 Debugger - Breakpoints - Add icon 2014-12-13 18:28:50 +00:00
adelikat e659dcb8f7 Debugger - breakpoints - add a toggle button 2014-12-13 18:25:02 +00:00
adelikat 822c8562b0 Debugger - breakpoints - add num breakpoints and num active 2014-12-13 17:48:11 +00:00
adelikat 9997c4fa8d do last commit more correctly 2014-12-13 17:33:02 +00:00
adelikat 18e112536a Debugger - add breakpoint dialog - pop up in a reasonable place, and limit address size based on the core's bus size 2014-12-13 16:59:01 +00:00
adelikat ab312add39 Breakpoints - add in a notion of readonly since we are showing all callbacks in the core, even ones the debugger didn't create, and the debugger managing ones it didn't create is bad news 2014-12-10 23:11:04 +00:00
adelikat cdcb806d8c Debugger - breakpoints - add stuff like activating/deactivating, key presses, double click 2014-12-10 22:59:28 +00:00
adelikat 91353d776b Debugger - basic showing and adding of breakpoints, including pre-existing ones 2014-12-10 22:47:09 +00:00
adelikat 1473db5aa8 Move AddBreakpointDialog to the Debugger folder 2014-12-07 20:17:15 +00:00
adelikat 68e1eae014 MemoryCallbackSystem - implement IEnumerable, Debugger - use it to pre-populate the breakpoint dialog with pre-existing breakpoints 2014-12-07 19:38:42 +00:00
adelikat 1c179da80c MemoryCallback System - another refinement, make an IMemoryCallback and make that the argument for add methods 2014-12-07 19:09:36 +00:00
adelikat 2d1a43dc65 MemoryCallbackSystem - simplify by having a single Add method with a MemoryCallbackType parameter, and some simplifying of client code as a result 2014-12-07 18:53:56 +00:00
adelikat ba31d7d28b Debugger - better handling of what is or isn't implemented on startup, no longer crashes when opened using the QuickNes core 2014-12-07 14:52:09 +00:00
adelikat 415fda2373 Debugger - on close, turn off trace logging 2014-12-06 16:28:42 +00:00
adelikat 97476a8b69 Debugger - breakpoints 2014-12-06 15:07:01 +00:00
adelikat 93692b0220 Debugger - update register values 2014-12-06 13:42:59 +00:00
adelikat 4b8f5b2962 Debugger - add a crude Register box, dynamically reads the cores flags and registers and creates ui, is they are settable it creates textboxes (registers) and checkboxes (flags) with change events that set the core values. If register setting is not implemented, it creates labels instead. Plenty of details to refine about this process. 2014-12-06 01:14:58 +00:00
adelikat 748fab4dfb Debugger - use the Tracer.Header property 2014-12-06 00:21:25 +00:00
adelikat 00523ca5aa Debugger - implement trace logger 2014-12-06 00:18:51 +00:00
adelikat 4a96e58a24 Start a generic Debugger tool, does nothing now except for open and have the standard ui options all tool forms have (such as autoload) 2014-12-06 00:03:36 +00:00
adelikat 0b84beec88 Move MemoryCallbackSystem from CoreComm to IDebuggable and refactor accordingly, Lua - tell the user when memory callbacks are not available for a given core 2014-12-05 01:56:45 +00:00
adelikat f5cc38c9cd AsInputPollable() 2014-12-05 00:59:00 +00:00
adelikat e2033c9d2e AsStatable() and also update statusbar saveslots on CloseRom() 2014-12-05 00:52:16 +00:00
adelikat 04f9081943 in IEmulator extensions add methods such as AsMemoryDomains(), AsStatable() that do the service calling magic. In the client code replace appplicable casts of IMemoryDomains with AsMemoryDomains(), more commits of this nature for the other IEmulatorServices soon to follow 2014-12-05 00:32:29 +00:00
adelikat a91de9ad9c Move TraceHeader out of CoreComm and into ITracer and TraceBuffer 2014-12-05 00:10:48 +00:00
adelikat 309088211c Move TraceBuffer from CoreComm to IDebugable and refactor accordingly 2014-12-05 00:05:40 +00:00
adelikat 05533c8562 Lag Counter hotkey logic, and Tastudio depends on both IStatable and IInputPollable 2014-11-30 20:32:25 +00:00
adelikat a83d714c42 Break off IsLagFrame and LagCount from IEmulator and put into its own interface IInputPollable, and refactor cores as necessary. EmuHawk - account for the possibility that a core is not an IInputPollable, and do things like disable the lag counter menu item. Still some front end todos. Also still todo, move the InputCallbackSystem from CoreComm to IInputPollable 2014-11-30 20:29:30 +00:00
adelikat 21889bba58 Lua Console - replace a NullEmulator check with a Global.Game != null check as that is more precisely why a check is happening 2014-11-30 18:44:20 +00:00
adelikat 773a53d2e3 Hotkeys that operate on tools - check that the core has the proper prerequisites before opening them 2014-11-30 18:35:25 +00:00
adelikat c0b1f6a285 remove IsNull() usage for tools that require IMemoryDomains, better to fail catastrophically as they shouldn't be able to get this far. 2014-11-30 18:24:28 +00:00
adelikat 39f145d58b Hex Editor don't check for Null Emulator, tool should not be able to be opened anyway in this situation 2014-11-30 18:22:44 +00:00
adelikat caa4296018 Toolbox - show tastudio only if HasSavestates() 2014-11-30 18:10:04 +00:00
adelikat 76148ae111 Break off savestate functionality from IEmulator into IStatable and refactor things accordingly. Still todo (a big todo): EmuHawk should gracefully handle a core that is not an IStatable by disabling functionality dependent upon it (Savestates, Rewind, Tastudio, etc) 2014-11-30 16:42:58 +00:00
adelikat 4681fef0c2 Add an IsNull() extension method to IEmulator (checks for null and if NullEmulator) and replace EmuHawk NullEmulator checks with this method instead 2014-11-30 14:18:44 +00:00
goyuken b21cfdd927 ward off possible bugs 2014-11-29 19:36:11 +00:00
goyuken 0b16e36776 fix issue 330 2014-11-29 18:57:57 +00:00
adelikat 96b626434f Lua Console - on drag and drop, don't be case sensitive with the file extension 2014-11-26 17:42:30 +00:00
adelikat e6e2972e3d Make IMemoryDomains inherit IEmulator and simplify some code slightly as a result 2014-11-23 16:03:04 +00:00
adelikat 584b5feaa3 Tastudio - properly load a file on drag and drop 2014-11-22 15:19:32 +00:00
adelikat 7de427fb3c Tastudio - fix exception on load in relase builds 2014-11-22 15:09:01 +00:00
hegyak 0d8e111c55 Change the VirtualPads/schema/LynxSchema.cs from LYNX to Lynx 2014-11-21 04:19:01 +00:00
hegyak fa5c614641 Added schema/LynxSchema.cs 2014-11-20 17:45:44 +00:00
adelikat 5a893c1a43 Tastudio - don't expose Rotate menu item for non-developer builds since it is not ready. A pro would get around this 2014-11-19 23:21:08 +00:00
adelikat d7596684c2 Lua - Expose tastudio library in non-developer builds 2014-11-19 16:17:40 +00:00
adelikat 5a6c2adb0b Tastudio - expose in release builds and mark it as beta in the title 2014-11-19 16:12:59 +00:00
hegyak d1f0bfd89c Allow Virtual Pad to support QuickNES with One, Two or No controllers. 2014-11-19 01:01:27 +00:00
adelikat e4cd7a3449 Lua Console - when reporting a script error, update the number of active scripts label 2014-11-18 01:09:06 +00:00
adelikat eb292eddcc Tastudio - fix crash when loading a state for a frame after the current movie length, tastudio was getting refreshed before the row count was being updated 2014-11-15 21:48:34 +00:00
adelikat ae9e31d984 Tastudio - fix up some behavior of metadata dialogs when the first show 2014-11-15 15:36:22 +00:00
adelikat e0207b748f Tastudio - remove some user controls that do nothing that I've decided won't be used 2014-11-15 15:02:52 +00:00
adelikat 252ea85f99 Lua Console - add a duplicate script menu and toolbar item, functions similarly to new script except it starts with the text from the highlighted script 2014-11-09 16:18:09 +00:00
adelikat 0578eb6436 Tastudio - take the emuhawk context menu item "stop without saving" into account 2014-11-08 17:44:25 +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 829ee72914 Tastudio - make comment editor always in edit mode, make it modeless, add a save button 2014-11-02 15:20:17 +00:00
adelikat 549b948ffd Tastudio - add a context menu "create new project from here", it will take the currently selected frame and create a savestate-anchored project on this frame (keeping any input after this frame), and load this new project. 2014-10-30 23:29:21 +00:00
goyuken 81fc95ab43 NES: add UI support for datach barcode reader 2014-10-29 22:28:14 +00:00
adelikat 223a4fc358 Tastudio - when auto-converting an existing movie when loading tastudio - add the newly created tasproj to the recent menu 2014-10-26 23:44:04 +00:00
adelikat e3b6d29956 Refactor last commit and some other code so that reset happens in a singular place when loading a state from the state manager 2014-10-26 23:37:42 +00:00
adelikat 59494767f5 Tastudio - refactor TasStateManager GetStateClosestToFrame() to return a KeyValuePair (frame number and savestate data) so the calling code has a clue which savestate was returned, reset counters if a savestate-anchored movie's "anchor" was loaded 2014-10-26 23:26:43 +00:00
adelikat ad7782df35 Tastudio - A much simpler and less hacky implementation of previous commit, and have Tastudio take over the mainform's RestartMovie method using the IControlMainform interface 2014-10-26 16:36:50 +00:00
adelikat 78b4748675 Tastudio - when loading with an existing movie loaded, restart the movie 2014-10-26 15:48:19 +00:00
adelikat 3d30bd082e InputRoll - slight tweak to the SelectedIndexChanged event logic 2014-10-25 14:10:32 +00:00
adelikat 7b4f5c4a1b Tastudio - context menu for the Marker list, fix bug where double clicking the marker list beyond the actual markers resulted in an exception 2014-10-25 13:41:23 +00:00
adelikat d5aad8d0e2 Tastudio - cancel seek context menu item 2014-10-23 23:18:42 +00:00
adelikat 5c4a876d2d Tastudio - when editing while seeking, continue to seek to the originally intended frame 2014-10-23 23:14:32 +00:00
adelikat 5c85a8ca66 Tastudio - improve navigation performance by emulating a frame when possible rather than loading a state 2014-10-23 21:21:43 +00:00
adelikat 2e7546c67a TAstudio - on some editing functions, dont' pause the emulator if it wasn't paused to begin with 2014-10-23 21:09:54 +00:00
adelikat 32cdc80639 Tastudio - don't override read-only toggle, I think this is an ok thing to do, we shall find out 2014-10-23 20:41:52 +00:00
zeromus c39617b638 try fixing crash in trace logger. seemingly a race condition between a create, a flush, and a subsequent open for tracing (for issue #299) 2014-10-23 05:14:03 +00:00
adelikat 53fa3b9ada Tastudio - fix crashing after using Export to Bk2, running out of memory on export though, a definite concern now 2014-10-23 01:32:27 +00:00
adelikat dee45888de TAStudio - disable tab, shift+tab, and space, because people like to use these as important hotkeys and because FCEUX's taseditor does this, and people seem to want it that way 2014-10-23 00:47:30 +00:00
adelikat 2e36ab5cbb Tastudio - set Always on Top immediately, not when it is restarted 2014-10-22 23:15:59 +00:00
adelikat 8b5c9dc129 InputRoll - also Home and End hotkeys 2014-10-22 23:11:29 +00:00
adelikat ade5cfa8e6 InputRoll - implement PageUp/PageDown logic 2014-10-22 23:03:17 +00:00
adelikat 6099d4006e Tastudio - just in case do a triggered auto-restore on mouse leave, I think this code should never fire, but you never know what edge cases could trick winform events 2014-10-22 22:43:42 +00:00
zeromus a2722ae10f do some work which _should_ have supported rotated text. not sure why it isn't working though... 2014-10-22 07:59:06 +00:00
adelikat c71aaf4e4a Tastudio - support drag n drop of tasproj files onto the Tastudio dialog 2014-10-21 13:12:12 +00:00
adelikat 5a2e8071d6 Tastudio - break some code into a function in preparation for stuff 2014-10-21 01:31:41 +00:00
adelikat 1610555dbe Tastudio - double click a marker in the marker list will allow user to edit the message 2014-10-20 23:03:39 +00:00
adelikat f76211822f Tastudio - slight fix to the enabling of "Export to Bk2" menuitem 2014-10-20 21:26:01 +00:00
adelikat d0aee55059 Tastudio - a bit of simplifying some code 2014-10-20 19:04:59 +00:00
adelikat 31c564ad06 Tastudio - fix stack overflow when user opens tastudio then clicks close rom in emuhawk 2014-10-20 00:31:05 +00:00
adelikat 590766d147 Tastudio - speed up selection by reducing unnecessary refresh calls 2014-10-20 00:11:07 +00:00
adelikat 4e3188e091 Tastudio - some metadata dialogs are modeless, make the mainform the owner 2014-10-19 22:25:13 +00:00
adelikat 8ac0576c54 Tastudio - refresh after cloning or inserting frames 2014-10-19 21:45:02 +00:00
adelikat 6c9e902ebe Tastudio - truncate -> fix off by one 2014-10-19 16:36:47 +00:00
adelikat 09ec0322a7 Tastudio - delete no longer clears selection 2014-10-19 16:33:59 +00:00
adelikat 8feeb080d0 tastudio - insert # frames - change max digits from 3 to 5 2014-10-19 16:30:34 +00:00
adelikat e0cab40431 TAStudio - flag changes when tasview changes that are saved into the tasproj occur 2014-10-19 15:29:03 +00:00
adelikat 12e0215914 Tastudio add a Restore Defaults menu item to the Columns menu 2014-10-19 15:13:53 +00:00
adelikat 3593588d5f InputRoll - ColunReorder event handler, Tastudio - subscribe to this event handler and flag changes to the movie (since this information is saved into the tasproj file) 2014-10-19 14:46:01 +00:00
adelikat bcb8a00c77 InputRoll - column reordering, including saving and loading 2014-10-19 14:04:59 +00:00
jlennox a64017366c Create ISettable<T,T2>/ISettable interfaces. This checkin has not been extensively tested. 2014-10-19 01:22:47 +00:00
adelikat 2401de6ba2 Tastudio - don't open the context menu when user right-clicks a column header 2014-10-19 00:24:33 +00:00
adelikat 26a37544ac ditto for RightColumnClick 2014-10-19 00:19:17 +00:00
adelikat e54a731ada InputRoll - change the column click event to fire on mouse up instead of down 2014-10-19 00:16:58 +00:00
adelikat e2004133f2 tastudio - make sure changes are not flagged when starting a new project 2014-10-18 21:29:02 +00:00
adelikat 559884c0c0 tastudio - I dont' like this unnecessary osd message 2014-10-18 21:09:19 +00:00
adelikat 2599893b02 Tastudio - handle if user chooses stop movie in emuhawk 2014-10-18 20:40:20 +00:00
adelikat 97721ddcc3 InputRoll - fix logic in vertical view that was not drawing text in a column if any pixel of the column went off screen, save HorizontalOrientation in settings 2014-10-18 20:29:23 +00:00
adelikat 560a04e20a tastudio - another fix to autoload 2014-10-18 19:23:14 +00:00
adelikat 59ef98562b tastudio - a slight fix for autoload 2014-10-18 19:12:36 +00:00
adelikat 6b3c631702 Tastudio - Marker list - fix rather messed up background coloring logic 2014-10-18 16:34:41 +00:00
adelikat 27ca9bc1a3 tastudio - since there is no immediate plans to add anything else to the dialog, extend the marker list to the bottom of the dialog and anchor it 2014-10-18 16:24:25 +00:00
adelikat a3d58399a2 Tastudio - some ui fixups for the Marker list 2014-10-18 16:22:24 +00:00
adelikat 32898f0584 When doing Save logic, also revert to Save As if project name matches the default name 2014-10-18 15:53:58 +00:00
adelikat ceb79a4c26 Tastudio - make a new project called default.tasproj rather than gamename, only use gamename when suggesting a movie in a Open/SaveFileDialog 2014-10-18 15:50:12 +00:00
adelikat 2ba9d090ac Tastudio - reset row count when starting a new project 2014-10-18 15:31:51 +00:00
adelikat 2e7ee97de9 Tastudio - various fixes to restart and initializing logic, still some flaws but makes things less catastrophic 2014-10-18 15:27:53 +00:00
adelikat cfd756feb0 Tastudio - greenzone shall now be called Savestate history when exposed to the user 2014-10-18 01:35:59 +00:00
adelikat 35b28e92ee Tastudio - on Movie/System mismatch, recalculate columns of the new platform when making a new default project 2014-10-18 01:26:30 +00:00
adelikat 305dea53ab Tastudio - a dialog to change the default "greenzone" settings 2014-10-18 01:01:45 +00:00
adelikat f930622b5e Move TasStateManagerSettings to its own file 2014-10-17 22:39:40 +00:00
adelikat e0525ebbe4 TAStudio - when input painting and other mouse events, wait to do AutoRestore until mouse up 2014-10-17 20:10:21 +00:00
adelikat 13f86451f4 tastudio - some cleanup 2014-10-17 19:31:42 +00:00
adelikat a820d95306 InputRoll - another round of fix! 2014-10-17 18:29:09 +00:00
adelikat a08e2f9a79 Tastudio - another round of fix cleanup 2014-10-17 18:14:21 +00:00
adelikat 02062a4589 Tastudio - some reorg and cleanup 2014-10-17 17:58:48 +00:00
adelikat 464102effe tastudio - some code cleanup 2014-10-17 17:40:11 +00:00
adelikat c0f484fc91 tastudio - greenzone settings - slight ui change 2014-10-17 17:14:47 +00:00
adelikat b8925d2635 InputRoll - oops, fix to highlighted text 2014-10-16 22:28:48 +00:00
adelikat 30d5c90156 InputRoll - draw icons in horizontal view 2014-10-16 20:50:07 +00:00
adelikat 3bc665a9c8 InputRoll - highlighted cells should have highlight colored text 2014-10-16 20:43:02 +00:00
adelikat 7fa6e0093d Tastudio - change context menu activation to be on right-mouse up instead of down, only show it if the user did not move the mouse wheel first (fixes the conflict between right-click-mousewheel scrolling vs context menu activation), wire up the clear greenzone context menu item. Instead of only activating right-click if there are selected items, show it anyway, and disable menu items that need selected items (which is a majority of them but not all) 2014-10-15 22:52:23 +00:00
adelikat 985e6ffc80 Tastudio - MaxCharactersInHorizontal is a hack and things still look bad, making it 1 instead of 5, because that makes it usable at least for boolean input 2014-10-15 22:19:34 +00:00
adelikat acee277685 InputRoll - some cleanup 2014-10-15 22:14:44 +00:00
adelikat 4ec375c708 Tastudio - slight color change 2014-10-15 19:06:33 +00:00
adelikat 63d07a0160 Tastudio - remove a todo I decided not to do 2014-10-15 17:21:56 +00:00
adelikat 7eb28577d0 Tastudio - rotate menu item 2014-10-15 17:07:01 +00:00
adelikat c14028d6c8 Input Roll - add a method that generates built in context menu items (for now just a separator and a rotate menu item), add rotate as a hotkey Ctrl+Shift+F, note: this is built into input roll, it can conflict with mapped hotkeys since tastudio sends input to the mainform! Need to deal with that at some point, in the meantime that's an unlikely key combo. Still todo: a tastudio menu item for rotate, and fix the context menu in horizontal orientation 2014-10-15 16:50:51 +00:00
adelikat b87177a0b5 Tastudio - implement the "Empty new Marker notes" menu item 2014-10-15 16:09:14 +00:00
adelikat 3726b15d3b TAStudio - when adding input from column click, re-greenzone 2014-10-15 14:36:08 +00:00
adelikat 4ab4db320c tastudio - fix loading of inputroll settings, column hide/show will now properly save and load 2014-10-14 18:42:24 +00:00
adelikat e6cec0f52f Tastudio - Saving and loading of column info to the .tasproj file, loading is still problematic because it is being whacked by code that rebuilds the columns later, need to unspeghettify some things 2014-10-14 18:09:30 +00:00
adelikat ce58f0e803 Tastudio/TasMovie - simplify some more code 2014-10-14 13:31:14 +00:00
adelikat a639cfd275 remove some code in tasmovie that isn't necessary now 2014-10-14 13:24:15 +00:00
adelikat 0b3e25fcfd InputRoll - methods for saving and loading column info, not wired up yet 2014-10-14 13:17:02 +00:00
adelikat 56cb685d67 InputRoll - make custom column click event args that pass a RollColumn object rather than trying to shoehorn a ListView column click event args object for legacy support 2014-10-14 00:31:59 +00:00
adelikat 35fa11dc51 InputRoll - a small todo, no functional change 2014-10-14 00:20:34 +00:00
adelikat 06dd71f849 Input Roll - change remaining callback methods to pass the RollColumn object instead of index 2014-10-13 19:30:59 +00:00
adelikat c0dcf99656 Input Roll - change QueryItemText event handler to pass the RollColumn object instead of a column index, still todo: background and icon callbacks 2014-10-13 19:10:11 +00:00
adelikat 0b8c9f3db1 InputRoll - convert SelectedRows from IList to IEnumerable 2014-10-13 18:28:29 +00:00
adelikat 358b1145a0 tastudio - column hide/show, still todo: saving the column settings into the tasproj file. Also, this probably broke a bunch of things. also todo: refactor a bunch of InputRoll event handlers, it is silly not to pass a column object, just to have legacy support with virtuallistview even though it is diverged too much from that notion to even be able to be dropped in as a replacement 2014-10-12 16:37:45 +00:00
adelikat 0aaad5752f durp 2014-10-12 14:58:00 +00:00
adelikat 0ebdf5ca26 Tastudio - open project menu item - switch to play or record accordingly, don't just keep the state of the previous project 2014-10-12 14:12:37 +00:00
zeromus 200d11df62 cleanup ramwatch during rom loads for other platforms a bit. should fix #285. the whole concept of ramwatch when loading other platforms needs some help though (the current watches mutate into some format senseless for the new platform) 2014-10-11 19:49:22 +00:00
adelikat 2fb986715e tastudio - implement follow cursor 2014-10-11 19:43:05 +00:00
adelikat 421f69ed69 tastudio - make sure tools are updated when navigating 2014-10-11 17:43:24 +00:00
adelikat 44968d5f96 Tastudio - fixed input painting 2014-10-11 17:38:03 +00:00
adelikat d677e6dbe6 Tastudio - fix a nasty bug, probably 2014-10-11 16:58:57 +00:00
scepheo bad2bda4f4 Added Lua functions to work with the letterboxing of the emulator, and for transforming emulator space points to client space. 2014-10-10 11:02:18 +00:00
zeromus e28bcf9982 unsticky analog controls when rightclicking the circle visualizer 2014-10-10 00:07:45 +00:00
zeromus 98a5016b20 fix bug that made virtualpad permanently override actual physical analog control 2014-10-09 02:19:10 +00:00
zeromus 977f7ff0dd dont draw garbage in shrunken virtualpad analog circle 2014-10-09 01:53:52 +00:00
zeromus d753b74e33 small experiment for virtualpad: clicking buttons returns control to main window. super hacky, but might work for now. analog circle control will still need help. numberupdown for analog control is probably hopeless. 2014-10-09 01:51:27 +00:00
adelikat 74d1c1a830 Tastudio - when opening tastudio, changes flag should be false 2014-10-05 16:57:58 +00:00
adelikat 99e6b7ce27 Tastudio - for devleoper builds add a Greenzone Integrity Check menu item, runs through the movie and verifies the greenzone states are identical to the data gathered from emulating and replaying the movie and savestating 2014-10-05 14:11:30 +00:00
zeromus 1358294a5c ladies and gentlemen, it is my extreme pleasure to you, for tonight's entertainment to present, the lua DrawText without cleartype. May you all enjoy it as much as I have. 2014-10-04 02:09:25 +00:00
adelikat 4addd7fcbc Tastudio - implement a Clear Greenzone menu item 2014-10-02 22:58:36 +00:00
adelikat c775cca820 Tastudio - when navigating to a "future" frame, don't seek if you didn't need to (can happen when navigating to a marker that is one frame after the inputlog length) 2014-09-28 17:34:47 +00:00
adelikat a2762d708e Input Roll - oops, update current cell regardless of if the caller has subscribed to the PointedCellChanged event 2014-09-28 17:28:57 +00:00
adelikat f5a3d28f21 Tastudio - fix a problem with stale marker list when restarting a project or loading a new one 2014-09-28 17:16:00 +00:00
adelikat a71031d6d0 fix the same stale memory domain problem from 7909 but in Ram Search 2014-09-28 16:51:06 +00:00
adelikat f4d3b70469 Ram Watch - fix issue with stale memory domains when rebooting a core, some cores were unaffected, cores like atari 2600 were affected by this bug 2014-09-28 16:39:53 +00:00
adelikat d308a16f8d Tastudio - handle system mismatch error when autoloading 2014-09-28 01:05:26 +00:00
adelikat ac69e8fcb4 Tastudio - when doing a loadstate action, update other tools 2014-09-27 15:19:07 +00:00
adelikat 505a8cd96c TAStudio - edit menu items should also invoke auto-restore 2014-09-27 14:37:02 +00:00
adelikat e23c5ead86 Tastudio - instead of disabling rewind, take it over with IControlMainform 2014-09-27 12:19:50 +00:00
adelikat d91256ceb9 Input Roll - Different highlight color when hovering an emphasized column 2014-09-25 18:12:18 +00:00
adelikat 5660fee947 Tastudio - right-click a column to toggle autohold on that button 2014-09-25 17:52:21 +00:00
adelikat 35c147136f InputRoll - tinkering with the VisibleRows calculation, I think this gives more pleasant results 2014-09-25 17:24:17 +00:00
adelikat 4f35614aeb tastudio - another navigation related fix 2014-09-25 13:52:25 +00:00
adelikat 9076a5b486 InputRoll - make visible rows one less, partial rows are annoying 2014-09-25 13:01:57 +00:00
adelikat 117add59fb Tastudio - fix project loading 2014-09-25 12:28:58 +00:00
adelikat 8adc241d08 Tastudio - fix bug in setting visible frame logic when editing above the current frame 2014-09-25 01:38:01 +00:00
adelikat e9e9f574da Tastudio - don't navigate to the current frame when editing values 2014-09-25 01:26:39 +00:00
adelikat 88c923c74b InputRoll - convert CellPadding property into CellWidthPadding and CellHeightPadding. Make width 3 by default and height 1 by default 2014-09-24 21:10:57 +00:00
adelikat 624ad32d4e Tastudio - fix some go to frame logic, but probably broke stuff too 2014-09-22 23:24:34 +00:00
adelikat ea3f86c11e Tastudio - Fix some erroneous StateManager logic 2014-09-22 22:52:34 +00:00
adelikat 7a1fe8d51d lua/tastudio - implement tastudio.islag() and tastudio.hasstate() 2014-09-22 21:58:45 +00:00
adelikat 5ae547d89f Tastudio - change color drawing a bit, don't color differently for whether or not there's a state for that frame, only key off the lag (which will adequately tell you if it is an "emulated" frame or not. In developer builds, color the marker column differently for easier debugging of TasStateManager logic 2014-09-22 21:47:07 +00:00
adelikat acb0678aa4 TAStudio - when starting a new project, start in record mode 2014-09-22 17:53:20 +00:00
adelikat 4d97d062e7 TAStudio - On mouse enter of the listview, focus it, should fix right-click + Mousewheel events being lost when clicking something else like a checkbox 2014-09-22 17:11:28 +00:00
adelikat ef36cb5262 InputRoll - fix column cell highlight logic, wasn't calculating height properly 2014-09-22 15:49:55 +00:00
adelikat 45212bf0f2 InputRoll - center text in cell 2014-09-22 15:35:23 +00:00
adelikat fb4b4f4e34 Input Roll - take a padding's width off the bottom of the column header 2014-09-22 15:33:04 +00:00
adelikat 52e5286d72 Input Roll - fix horizontal scroll bar placement logic 2014-09-22 15:19:04 +00:00
adelikat a7baed9007 InputRoll - don't highlight past RowCount! 2014-09-21 16:27:49 +00:00
adelikat 9603f41769 Input Roll - implement shift + clicking, for FullRowSelect only 2014-09-21 16:21:10 +00:00
adelikat 44fe60f253 InputRoll - ctrl-click now toggle if clicking an already highlighted row 2014-09-21 16:00:42 +00:00
adelikat 8b212da594 tastudio/lua - implement tastudio.getmarker(), tastudio.setmarker(), and tastudio.removemarker() 2014-09-21 15:17:29 +00:00
adelikat 56442d9f8d Fix ToolManager Has<T> function to check if a tool is disposed not just if it is in the tool list 2014-09-21 14:58:03 +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
adelikat ad16be7712 Start a tastudio lua library 2014-09-19 21:43:16 +00:00
adelikat 83ab148708 Tastudio - fix run away turbo seek, and fix going to the next emulated frame to just emulate a frame rather than loadstate then emulate 2014-09-19 21:22:53 +00:00
adelikat c18410d4af Tastudio - don't attempt to load the nearest greenzone if there isn't even a single greenzone entry 2014-09-19 21:05:48 +00:00
adelikat d6859b64a3 Tastudio - refactor some context menu logic 2014-09-19 20:49:51 +00:00
adelikat 10a8b9a26c Tastudio - calculate rowcount even during fast update, prevents exceptions when turbo seeking 2014-09-19 20:40:40 +00:00
adelikat 5ba9717445 Tastudio - when clicking the frame column header, add a marker 2014-09-19 01:15:14 +00:00
adelikat b2debb7fec Tastudio - handle the edge case of loading a movie with no inputlog, and remove a hack 2014-09-18 22:11:37 +00:00
adelikat ff0cbcadc2 Tastudio - fix an exception when painting on the last frame 2014-09-18 21:56:13 +00:00
adelikat 39fd62c8de Tastudio - a hack for now 2014-09-18 01:19:40 +00:00
adelikat 4d08822425 Tastudio - pad frame column based on input log length 2014-09-18 00:51:16 +00:00
adelikat acacb8e126 InputRoll - another tweak to icon positioning 2014-09-18 00:35:36 +00:00
zeromus a32b5faf95 add AlphaBlend to GDIRenderer 2014-09-18 00:31:32 +00:00
adelikat 1bf77201d1 Tastudio - adjust marker view column widths, and a bit of code cleanup there 2014-09-18 00:23:40 +00:00
adelikat fa8c0a6c14 InputRoll - slight tweak to icon positioning 2014-09-18 00:14:06 +00:00
adelikat f78e4bb1b2 Tastudio - tweak logic for determining which frame should be visible 2014-09-17 23:51:16 +00:00
adelikat d1d414d10e Input Roll - tweak how visible rows are calculated 2014-09-17 23:31:59 +00:00
adelikat 72842619ed a tweak to last commit 2014-09-16 23:26:17 +00:00
adelikat 64706e2a9e Tastudio - fix up how the winform text property is generated 2014-09-16 23:25:08 +00:00
adelikat cee8c0dcb9 Input Roll - fix vertical scrollbar placement logic 2014-09-16 20:54:18 +00:00
adelikat 39b7b1c1fc Tastudio - green marker icon logic 2014-09-16 19:20:19 +00:00
zeromus 7fea5f8543 fix problems with stale memorydomains in hex editor. fixes issue #262 2014-09-13 20:37:14 +00:00
scepheo b076603a1e HexEditor highlighting now works mostly correctly. 2014-09-13 16:18:36 +00:00
scepheo dceb292618 Attempting to fix the HexEditor interface, take 2. 2014-09-13 15:39:18 +00:00
scepheo 2c4bb6044e Attempt to fix the HexEditor highlight code. 2014-09-13 14:50:58 +00:00
adelikat 1693a2a1ed Cheats dialog - default to System Bus domain 2014-09-13 14:21:08 +00:00
adelikat de09aadc0e Hex Editor - dirty hack to prevent scrollbar value from being -1, why is it being -1 in the first place? meh 2014-09-13 13:50:29 +00:00
zeromus c36667ddb5 hexeditor: support 32bit systembus domain. only lightly tested. 2014-09-11 21:55:38 +00:00
zeromus 87e9d235f6 make some effort to support memdomain of full 32bits size, and use it for n64 system bus. make sure to check that its disabled in ramsearch engine and in hex editor. we could probably fix it to work in hex editor later. 2014-09-09 21:34:41 +00:00
adelikat afdfe11c7e lua - forms.label - add an optional fixedwidth font param 2014-09-07 02:42:44 +00:00
adelikat 5beffa156a Tastudio - lots of icons! 2014-09-04 22:03:22 +00:00
adelikat 33de5d4bd9 InputRoll - support a QueryItemIcon callback, and wire it up to Tastudio's current frame marker, needs to be cleaned up 2014-09-03 03:16:16 +00:00
adelikat eebe877d28 InputRoll - remove testing code 2014-09-03 02:57:39 +00:00
adelikat 21404611ab GDI Renderer - very bad attempt to start bitmap support 2014-09-03 02:24:13 +00:00
goyuken 8634d52bed remove the dummymemorydomainlist as its not needed anymore (if a core has no memory domains, it simply doesn't have the interface) 2014-09-01 21:09:25 +00:00
kylelyk 3dc88b817a More drawing cleanup in InputRoll and many little bugs with scrolling. 2014-09-01 20:34:10 +00:00
adelikat d003be9cda remove some todos, I decided not to do any of them, it is too pedantic to do them 2014-09-01 19:07:05 +00:00
adelikat 5ba74c631c Remove MemoryDomains from IEmulator into a new Interface, IMemoryDomains, Add this interface to existing cores, except null emulator (and removed memory domain related code from it). Refactored EmuHawk for ram tools to use an instance of IMemoryDomains rather than IEmulator, don't expose ram tools unless the core implements IMemoryDomains. Still a few misc todos, and probably some cleanup 2014-09-01 18:43:41 +00:00
kylelyk 5b8898e1d8 Fixed bug with selection drawing, added ability to specify max characters in every "column" in Horizontal Orientation, moved toggling of InputRoll orientation to TAStudio. 2014-09-01 15:35:48 +00:00
kylelyk b5af69a7c5 Fixed small bug introduced from last commit, added a different cursor for Horizontal Orientation. 2014-09-01 00:45:58 +00:00
kylelyk cdbb1bc13c Added helper function to convert from PixelsToRows and vice versa, helper properties for column header dimensions, ability to have different size column headers in vertical and a pre-scaled column width in horizontal orientation. 2014-08-31 23:03:59 +00:00
kylelyk 8edbc8bfe1 TAStudio: Fixed double middle/right click creating new marker. Fixed selected row not displaying properly. 2014-08-31 18:06:31 +00:00
adelikat 9534384e3d input roll - fix vertical padding in vertical mode 2014-08-31 17:22:53 +00:00
adelikat f5059bf53c Tastudio - fix a null reference exception 2014-08-31 17:15:21 +00:00
kylelyk 1b6d873fb1 VScrollbar in InputRoll now uses pixels. Various bugs with vertical scrolling. 2014-08-31 17:11:47 +00:00
adelikat 3c23c5028d Tastudio - go to frame stuff 2014-08-31 16:51:19 +00:00
adelikat 907ab29aaa Tastudio - fix exception when attempting to scroll before frame 0 2014-08-31 16:07:11 +00:00
kylelyk 69e9bc22d2 More graphics fixes for InputRoll and overhauled how scrollbars are maintained and calculated. VScrollbar is still in rows for now. 2014-08-31 15:40:02 +00:00
adelikat 7a720a63b1 Tastudio - fix backwards lag background color logic 2014-08-31 14:58:44 +00:00
adelikat 0a6cda6fe2 Tastudio - refreshing after some calls that virtuallstiview would have automatically refreshed 2014-08-31 13:12:18 +00:00
kylelyk d2eb036b90 Refactored a lot of InputRoll, started the foundation of changing orientation behavior, horizontal scrollbar now works completely. Have not tested horizontal orientation (not until vscrollbar is in pixels and switching between orientations is tested). 2014-08-30 18:42:14 +00:00
adelikat 21ab01817f Tastudio - some improvements to go to frame logic, to deal with gaps being in the greenzone, still some bugs though, certainly 2014-08-30 00:03:33 +00:00
adelikat 17f109905b TAStudio - some minor designer stuff 2014-08-29 23:48:10 +00:00
adelikat f456fea9be TAStudio - fix selection via frame column dragging 2014-08-29 18:02:23 +00:00
adelikat 15ba976416 Input Roll - move selection logic from Mouse click to Mouse down 2014-08-29 17:42:07 +00:00
adelikat 32795e1364 Input Roll - mouse wheel scrolling 2014-08-29 15:53:59 +00:00
adelikat 1c89ba9ec5 TAstudio - a better place to put autorestore logic, still a lot of brokenness though 2014-08-29 15:27:51 +00:00
adelikat ae45a8452b Input roll - a couple of small tweaks 2014-08-29 14:49:36 +00:00
adelikat e46a8a4286 InputRoll - don't draw a string from the text callback, if it is empty 2014-08-29 14:30:52 +00:00
adelikat c7949501b2 Tastudio - proof of concept for cachine the input state during a screen refresh. A huge speed up here, about 400-500%. Implementation is a bit sloppy but works 2014-08-29 02:58:52 +00:00
adelikat c033b26ad0 TasMovie - don't create a Bk2MnemonicConstants object everytime a display value is requested, gives a modest speed up to tastudio performance 2014-08-29 01:59:08 +00:00
adelikat d7f9b2ccd7 Tastudio - switch to record mode when opening tastudio with a movie loaded, fixes bugs related to the movie being set to inactive in this scenario 2014-08-29 01:14:26 +00:00
adelikat a86897e5ba TAStudio - Fix InputRoll background callback logic, fix marker list background drawing logic 2014-08-29 00:04:42 +00:00
adelikat e11cc198a9 Double the speed of InputRoll when scrollbars are visible 2014-08-27 22:33:27 +00:00
adelikat 6437203236 Tastudio - Fix autoload 2014-08-27 21:18:53 +00:00
goyuken e865599ef6 gba gpu view: a bits of cleanup 2014-08-24 16:39:16 +00:00
kylelyk 4455d5deac Editing Markers now is managed by TasMovie as a change to the movie file. Fixed bugs to do with adding and deleting markers. 2014-08-24 14:41:56 +00:00
adelikat db3192b727 Tastudio - fix background color 2014-08-24 14:31:25 +00:00
adelikat 4196e03b58 InputRoll - fix LastVisibleIndex setter (tastudio now scrolls as it records) 2014-08-24 14:25:45 +00:00
kylelyk 72eee2cc05 TasView and MarkerView are now completely set up at runtime and display properly. 2014-08-23 23:40:01 +00:00
adelikat 338dc124bd Input Roll - implement the gridlines property 2014-08-23 23:03:19 +00:00
kylelyk 2409d03974 Fixed TasMovie not loading on TAStudio startup. 2014-08-23 20:17:06 +00:00
adelikat f28f47b941 replace the marker list with an input roll instead of virtuallistview, part of this commit was loosing the item active event, it needs to be replaced with a double click event 2014-08-23 19:01:47 +00:00
kylelyk b66db36046 Dialog Title now has a asterisk at the end if the movie has pending changes to be saved. Added UI functionality for Auto-pause At End of Movie; does work yet. 2014-08-23 18:02:02 +00:00
adelikat 3e80e59f2d TAStudio - rip out uneeded stuff 2014-08-23 16:00:56 +00:00
adelikat 0893daff71 Remove TasStudioExperiement dialog 2014-08-23 15:49:08 +00:00
adelikat ed26abd944 Drop int input roll onto tastudio, this causes countless regressions, and possibly crashes, but yeah 2014-08-23 15:19:48 +00:00
adelikat e4937563f6 InputRoll - temporarily add ensureVisible with an implementation for legacy support for now 2014-08-23 14:49:01 +00:00
adelikat c61e200161 InputRoll - Rip out a debug property in favor of a real one 2014-08-23 14:39:16 +00:00
adelikat b657268b35 Ditto 2014-08-23 14:36:55 +00:00
adelikat 982d134cd2 More stuff for input roll and other tinkerings in preparation for obsoleting TasView 2014-08-23 14:30:12 +00:00
adelikat bb35df0a5d Input Roll - more properties and stuff 2014-08-23 13:50:47 +00:00
adelikat e2ffd4c175 Input Roll - expose a Columns property 2014-08-23 13:19:48 +00:00
adelikat a381fcf349 Some renaming of stuff in preparation for obsoleting TasView 2014-08-23 13:14:25 +00:00
adelikat d258733570 InputRoll - some more properties that will be needed 2014-08-23 13:05:28 +00:00
adelikat 72f58bc69d Input Roll - horizontal scrolling in Horizontal Orientation 2014-08-23 12:30:21 +00:00
kylelyk 5ed74d0188 Set Markers and Remove Markers ContextMenuItems are now working. If multiple rows are selected, the new marker dialog will come up for each row. The option to remove markers is disabled if selected rows do not contain at least one marker. 2014-08-23 02:51:52 +00:00
kylelyk 6fa3cf4d28 Inserting frames in TAStudio now inserts before FirstSelectedIndex like FCEUX and most other programs with insertion options. 2014-08-23 02:06:56 +00:00
kylelyk 7b03f11091 Added RightClickMenu ContextMenuStrip to TAStudio, enabled all but three options which need to be implemented in code. Fixed a couple of short key combinations not working. 2014-08-23 01:18:05 +00:00
kylelyk 92bdba7938 GreenzoneSettings.MaxStatesInCapacity is now updated at dialog load and is a integer instead of a decimal. 2014-08-22 17:04:31 +00:00
kylelyk af837640b4 Fixed GoToFrame with frame = 1. Added color constants for invalid greenzone and lagzone. 2014-08-22 16:05:06 +00:00
kylelyk b2c3530164 AutoRestoreLastPosition now works. 2014-08-22 14:42:31 +00:00
kylelyk 491d0588e4 Modified Add/Edit Marker Dialog so that if the marker is already present, the initial text matches the label of the marker. 2014-08-22 03:59:12 +00:00
kylelyk 17489f6175 Added Name property to Bk2Movie, fixed off-by-one in greenzone truncation, TAStudio displays name of movie in dialog title. 2014-08-22 02:56:27 +00:00