Commit Graph

484 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 c12d715c12 TAStudio:
-Bugfix: Didn't refresh when changing lag frames to hide.
-Bugfix: Another error with setting LastVisisbleFrame.
-Bugfix: Truncating a movie didn't remove truncated marker selection.
2015-02-27 19:34:31 +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 7624a92021 TAStudio edits:
-Bugfix: TAStudio was refreshing before autoscrolling to cursor.
-Partial fix: Made setting last visible frame more accurate when lag frames are hidden.
-Removed a line that set an unused local variable.
-Bugfix: Scrolling away from selection with lag frames hidden messed up the display.
2015-02-26 21:12:12 +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 aa2984dd96 Tastudio - Columns menu - show button names in addition to the column mnemonics 2015-02-24 22:46:35 +00:00
adelikat 0055bc1949 Tastudio - hack to remove N64 "fake analog" buttons from the list 2015-02-24 22:44:47 +00:00
adelikat 8af99c9066 Tastudio - make < and > buttons repeatable buttons 2015-02-24 21:44:26 +00:00
adelikat 6a02656417 Tastudio - track lag log history (1 level deep) and color "invalidated greenzone" using this information (a lighter shade of normal greezone colors) 2015-02-24 21:23:16 +00:00
SuuperW 734101a8fd TAStudio: Fixed arrow keys not being picked up in KeyPress, plus minor edits/bugfixes to arrow key editing of float values. 2015-02-24 20:55:24 +00:00
adelikat a4ce9de091 Tastudio - wire up the Lag Frames to Hide UI, and have it save in the Tasproj file 2015-02-24 20:38:46 +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
adelikat c03fc0be81 Tastudio - fix issue 356, don't crash when clicking a float column when the movie has no input yet 2015-01-05 00:43:02 +00:00
jdpurcell fd4a523fd6 Scaling fix for scrollbar positioning. 2015-01-03 21:52:33 +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
adelikat feef0e7e4c rollback the playbackbox changes in last revision, we have deemed it working 2015-01-03 02:54:38 +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 698e080312 Tastudio - fix in the designer 2015-01-02 21:25:10 +00:00
adelikat a075435ce8 Tastudio - fix loading 2015-01-02 17:28:51 +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
jdpurcell 30d3b02a7f Auto scaling: All forms should have AutoScaleMode set to Font.
Auto scaling: All user controls should have AutoScaleMode set to Inherit (i.e. they inherit their containing form's AutoScaleMode, in this case Font). Explicitly setting an AutoScaleMode on user controls causes problems with child controls anchored to the bottom and/or right.
Remove explicitly set font in GenGameGenie form. Fonts set on the form/user control level cause problems with auto scaling.
Fix text box anchoring in DualGBFileSelector control.
2014-12-28 21:19:34 +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
kylelyk 9bb8a0f355 Fixed MarkerControl crashing on startup in TAStudio (temporary fix). 2014-12-22 22:30:22 +00:00
goyuken d1580567dd add a few missed ServiceInjection uses 2014-12-21 18:25:04 +00:00
goyuken 08d09bc64f a few more itoolform cleanups 2014-12-15 18:13:54 +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
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 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 5a6c2adb0b Tastudio - expose in release builds and mark it as beta in the title 2014-11-19 16:12:59 +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 0578eb6436 Tastudio - take the emuhawk context menu item "stop without saving" into account 2014-11-08 17:44:25 +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
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
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
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