Commit Graph

285 Commits

Author SHA1 Message Date
SuuperW bff3d64a4a -Various fixes, mostly to Undo/Redo.
-Changed Program.cs to not use a couple try statements when debugger is attached.
-Implemented the Undo/Redo menu item buttons.
-Ctrl-deselecting frames in TasView now supports dragging.
2015-03-01 19:29:33 +00:00
SuuperW cf081ce1fc TAStudio:
-Moved Toggle/SetStates from TasMovie.cs to TasMovie.Editing.cs
-bugfix: Yet another bug in setting LastVisibleFrame
-Removed unused declaration
-Fixed MarkerControl to not mess up display when a deleted marker is still selected.
-feature: Basic undo/redo history functions seem to work. (Ctrl+Z/Y in TasView)
2015-03-01 05:47:32 +00:00
SuuperW 836659264d TAStudio:
-Bugfix: Dragging to change a float was backwards.
-Fix: Setting LastVisibleRow with lag frames hidden now goes to the correct frame.
-TasView now sets FirstVisibleRow when jumping backwards
-Bugfix: Deleting a marker didn't remove selection; refresh messed up.
-Moved InputRoll.cs, SelectAll/DeselectAll to the Api region.
-Bugfix: Couldn't edit next-frame float values.
2015-02-27 19:06:02 +00:00
SuuperW 81a8d38ca4 TAStudio work:
-Fixed InputRoll.VisibleRows property.
-Removed useless check for NeedsScrollbar.
-Removed TAStudio.ListView.cs property for hiding lag frames; changed InputRoll.cs to do that work more efficiently.
-Feature: User can now edit float values by holding the mouse button and dragging up/down.
-Bugfix: Moving the cursor past first displayed row while painting would not cause first displayed row to be painted. (and similarly with last)
2015-02-25 21:17:50 +00:00
adelikat 0055bc1949 Tastudio - hack to remove N64 "fake analog" buttons from the list 2015-02-24 22:44:47 +00:00
SuuperW 369c883ac0 TAStudio feature added:
-Hiding lag frames feature implemented. (Still needs a user interface to change the settings.)
2015-02-24 19:00:12 +00:00
SuuperW db09b12925 More updates to TAStudio: (again all my changes marked with SuuperW)
-bugfix: Local variable hid another; float input couldn't be painted.
-bugfix: Bool input couldn't be painted starting from past the last frame.
-feature: Double-clicking a float input allows user to type value in. (arrow keys would also work, but those aren't seen by the InputRoll, no idea why)
-change: Selected cells are now half-highlighted, so user can still see the non-highlighed color.
2015-02-24 06:47:32 +00:00
SuuperW e3b9b7c795 A few edits to TAStudio:
-Double-click markers to jump to that frame.
-Drag painting input was one frame behind cursor.
-Some commented-out code for stuff I was messing with may also be present. (All edits were marked with SuuperW comment line.)
2015-02-24 03:06:57 +00:00
adelikat 5d07cff19f Tastuduio - issue 359 - fix issues with Asking to save changes on close combined with threaded saving, not the prettiest work around but it should work 2015-01-06 16:35:22 +00:00
christoph.boehmwalder 7f6e651c08 A little more elegant (and secure) solution for the bug fixed in r8728 2015-01-03 14:03:13 +00:00
christoph.boehmwalder 29923329e9 Fix NullReferenceException when aborting TAStudio movie conversion while recording. 2015-01-03 03:30:34 +00:00
christoph.boehmwalder c3f51f8b39 Made saving a little more convenient by putting it in its own thread. Might be very buggy still.
Also temporarily disabled reading TAStudio settings in PlaybackBox because of a NullReferenceException
2015-01-03 02:29:55 +00:00
adelikat 036e1cab8d Tastudio - oops, instantiate Settings 2015-01-01 20:48:14 +00:00
adelikat 6ce93c0496 TAStudio - move some settings from Config.cs to the dialog using [ConfigPersist] 2015-01-01 18:24:35 +00:00
adelikat 6fb88a0105 TAStudio - convert to IToolFormAutoConfig 2015-01-01 18:10:07 +00:00
kylelyk 2938f21962 Changed behavior when failing to import file to be less drastic. 2014-12-23 22:13:57 +00:00
kylelyk b8be890343 TAStudio gives Message Box before exiting when loading bad file. 2014-12-22 22:31:47 +00:00
goyuken d1580567dd add a few missed ServiceInjection uses 2014-12-21 18:25:04 +00:00
goyuken 7b580e7dca tim the tool form taylor 2014-12-15 03:19:23 +00:00
adelikat 106b9d4848 Tastudio requires IInputPollable 2014-12-14 01:30:09 +00:00
adelikat 3768e393c7 Convert remaining tools to EmulatorServices 2014-12-14 01:20:19 +00:00
adelikat e2033c9d2e AsStatable() and also update statusbar saveslots on CloseRom() 2014-12-05 00:52:16 +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 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
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 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
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 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 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 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
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 d0aee55059 Tastudio - a bit of simplifying some code 2014-10-20 19:04:59 +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 e2004133f2 tastudio - make sure changes are not flagged when starting a new project 2014-10-18 21:29:02 +00:00
adelikat 2599893b02 Tastudio - handle if user chooses stop movie in emuhawk 2014-10-18 20:40:20 +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 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 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 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 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 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 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 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 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
adelikat 421f69ed69 tastudio - make sure tools are updated when navigating 2014-10-11 17:43:24 +00:00
adelikat d677e6dbe6 Tastudio - fix a nasty bug, probably 2014-10-11 16:58:57 +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
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 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 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 5660fee947 Tastudio - right-click a column to toggle autohold on that button 2014-09-25 17:52:21 +00:00
adelikat 4f35614aeb tastudio - another navigation related fix 2014-09-25 13:52:25 +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 624ad32d4e Tastudio - fix some go to frame logic, but probably broke stuff too 2014-09-22 23:24:34 +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 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 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 39fd62c8de Tastudio - a hack for now 2014-09-18 01:19:40 +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 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
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
adelikat 3c23c5028d Tastudio - go to frame stuff 2014-08-31 16:51:19 +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 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