Commit Graph

168 Commits

Author SHA1 Message Date
zeromus 2a1f40982c dont know how valuable it will be, but just in case.. 16.16 fixed point support 2015-01-22 01:24:20 +00:00
adelikat aff2e9544e Ram Search - change "Add to Ram Watch" hotkey from ctrl+R to ctrl+W for consistency 2015-01-21 23:20:58 +00:00
adelikat a8b1fc609a Ram Poke - handle the case of an absurd amount of addresses picked 2015-01-19 02:04:04 +00:00
adelikat ebf7273cbe Hex Editor - open poke dialog in a logical location, update the hex editor when Poke is clicked on the Poke pop up dialog 2015-01-19 01:39:47 +00:00
adelikat f647f16592 Ram Watch - add/edit watch - support 32 bit domains 2015-01-18 19:50:31 +00:00
adelikat 515a41592c Convert a whole bunch of ram stuff from int to long 2015-01-18 18:59:23 +00:00
adelikat 6507fa5d92 Hex Editor - convert addresses from int to long, fixes Go to address on 32bit domains, highlighting on addresses after 7FFFFFFF is still busted though 2015-01-18 18:01:27 +00:00
adelikat fbdb29b64c refactor IMemorydomains to be a domain list instead of having a domain property, refactor cores to register an IMemoryDomains instead of being one 2015-01-14 21:55:48 +00:00
adelikat ab518e9e7c Ram Search - Issue 342 - add an "Account for lag" option to the auto-search feature, on by default because I decided that you probably really want that most of the time and don't realize that you do 2015-01-02 21:53:39 +00:00
adelikat 153e823f78 Ram Search - a minor code refactor - remove a functional call that is only used once in another function and just do the code there 2015-01-02 21:33:03 +00:00
adelikat 38c1ffa1e9 Fix autoloading of Ram Watch 2015-01-02 15:19:18 +00:00
adelikat 47d1e480da Ram Watch - a null check 2015-01-02 14:40:18 +00:00
adelikat 89fcceecfc ToolManager - support autoloading from custom settings that inherit ToolDialogSettings, Ram Search - convert recent files to ConfigPersist 2015-01-01 02:08:45 +00:00
adelikat 31823693ae Cheats, Ram Watch - Fix bugs in column hide/show in new system 2015-01-01 01:21:06 +00:00
adelikat 6440c9c44b Ram Watch - convert to ConfigPersist, and do column stuff the new way 2015-01-01 00:47:22 +00:00
adelikat fd28a593f6 Ram Watch - add a null check on Restart() 2014-12-22 00:59:39 +00:00
goyuken 78ea103114 ramwatch fix 2014-12-21 21:43:03 +00:00
scepheo eaaaef8f1d RamSearch: Have Restart() handle settings loading so RAM Search actually works again. 2014-12-17 20:04:25 +00:00
adelikat ffe3be09a4 Remove some now useless logic in the Restart() method of some tools (checking IsHandleCreated and IsDisposed) 2014-12-17 03:48:08 +00:00
adelikat 95c57da72c Ram Watch - add back the text property as "Ram Watch" don't know when that went blank 2014-12-17 03:03:12 +00:00
scepheo 14e2b280ac Removed reference to Global.Emulator from RamSearchEngine. 2014-12-16 01:50:22 +00:00
scepheo 77be509e44 RAM Search: Implement previous type "last change". Fixes issue 331. 2014-12-16 01:19:29 +00:00
goyuken ea47246658 remove the IEmulator inheritance from some services, and fix code as needed 2014-12-15 22:25:06 +00:00
goyuken 7b580e7dca tim the tool form taylor 2014-12-15 03:19:23 +00:00
adelikat 3af65a6498 removed some deletable code I missed 2014-12-14 01:42:05 +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
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
goyuken 0b16e36776 fix issue 330 2014-11-29 18:57:57 +00:00
adelikat e6e2972e3d Make IMemoryDomains inherit IEmulator and simplify some code slightly as a result 2014-11-23 16:03:04 +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 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 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 321c8c64bf Added documentation to IControlMainForm, renamed a few variables, moved IControlMainForm related code in MainForm to the same region. 2014-08-19 19:24:17 +00:00
adelikat 813d1b1669 Input Roll - FullRowSelect and MultiSelect properties, SelectedIndexChanged event 2014-08-14 23:10:56 +00:00
hegyak 42caa87c67 Correct Error with RAMWatch and seperatorToolStripButton. Also unified all RamWatch internal button names. 2014-08-07 22:48:10 +00:00
adelikat a84e3b3a3b Ram Watch - account for separators in my background drawing bypassing logic 2014-08-02 01:36:06 +00:00
adelikat d89dfd5595 Change Ram Watch and Ram Search to invalidate rather than refresh, also refactor ram search some to have more coherent update methods for when the listview changes size vs when the values need updating 2014-07-30 22:31:52 +00:00
adelikat 2fd1ffe824 VirtualListView - add a UseCustomBackground flag true by default, if set to false it will bypass custom background drawing logic resulting in that speedboost I keep doing checkins for. Refactor RamWatch to check if there is any need to draw ahead of time and set this flag. Most of the time this will result is a good speed boost for this dialog, only if they are watching a frozen address (which isn't very exciting anyway) or an out of range address (which they need to fix) do they suffer the speed cost of background drawing 2014-07-30 21:31:13 +00:00
adelikat aeea08a823 Cleanup the InputPrompt class, removing unused methods, and converting some silly methods into properties allowing some pretty array initializers instead of function calls 2014-07-28 02:40:30 +00:00
adelikat 5d4ff76ed6 Convert a copy/pasted method in a bunch of tool dialogs to an extension method 2014-07-28 02:31:51 +00:00
adelikat 726122e579 remove a toolhelper method that wasn't adding much value 2014-07-28 02:15:21 +00:00
adelikat c988466942 Convert some more toolhelper methods to extensions 2014-07-28 02:10:31 +00:00
adelikat 3bbe3990ed convert ToolHelper methods for freezing/unfreezing a collection of watch items into extensions 2014-07-28 01:55:20 +00:00
adelikat ce4ce0bacc Convert some static methods in ToolHelpers to extension methods 2014-07-28 01:51:11 +00:00
adelikat b0b057ef2c When opening the hex editor from another dialog, open it in the same byte size 2014-07-28 01:24:57 +00:00
adelikat 0397ea1ff4 Remove the CustomControls/Util file and move all the classes into the Form Extensions file, since they were all extension methods for window form objects 2014-07-27 15:22:30 +00:00
adelikat a26c4b0b7a Ram search - unnoticeable performance improvement, but I feel the need to put this logic in 2014-07-27 14:53:13 +00:00
adelikat 55545d5f67 This seems to give a very slight performance improvement to Ram Watch and Ram search 2014-07-27 14:50:18 +00:00
adelikat 570f77cc68 Implement FastUpdate() on IToolForm. The intent here is for tools to do the minimum amount necessary when updating. This allows them to avoid slow things like drawing, but do critical activities such as Ram tools incrementing change counters, and loggers can continue logging. When Turboing, instead of bypassing tool updates, the client will run the fast update instead. Note: a few tools still need to be thought out as to what they need to do in a fast update 2014-07-25 01:55:21 +00:00
adelikat 8c064875c2 TAStudio - ability to add markers, very crude implementation for now 2014-07-15 23:43:17 +00:00
adelikat 6bbd3ca80d Hex and Watch Boxes - prevent user from pasting invalid input, also if they do manage to get the textbox into an invalid state, interpret the value as 0 rather than throwing an exception 2014-07-03 16:43:39 +00:00
adelikat 1964f3754a Merge InputValidate into StringExtensions 2014-07-03 16:00:57 +00:00
adelikat f546a8080c Move some extension methods from the generic extensions file to NumberExtensions and fix up namespaces 2014-07-03 15:35:50 +00:00
adelikat 0eb37ad36d Convert IntHelpers to NumberExtensions and change namespace appropriately, remove StringHelpers.cs 2014-07-03 15:16:47 +00:00
adelikat d5e2808944 Fix namespaces 2014-07-03 14:56:13 +00:00
adelikat 461b73f1df Ram Search - make manually deleting items a lot faster, since it was taking many many minutes when user was manually deleting an absurd number at once 2014-07-03 01:46:14 +00:00
adelikat 8362d078a4 Ram Search - IEnumerable instead of IList, Any() instead of Count > 0, makes a few things a bit faster in large search lists 2014-07-02 23:50:09 +00:00
adelikat afa1a5f73d Ram Watch - issue 200 - add a pause button 2014-07-02 14:37:02 +00:00
adelikat dd5842ec9b Ram Watch - ability to hide/show the address column 2014-06-29 16:04:41 +00:00
adelikat a19d02a36e Ram Search - rip out column reorder event since it wasn't doing anything useful 2014-06-20 18:39:31 +00:00
adelikat 0f5e2b0cdb Ram Watch - fix column reordering, ugh 2014-06-20 18:38:08 +00:00
adelikat 70fbbd5817 Similar fixups to Ram Search and Cheats 2014-06-20 18:09:53 +00:00
adelikat c5518440c1 Ram Watch - fix Restore defaults when columns are hidden, and rip out the reordered event, it shouldn't be needed, if it is needed it isn't done correctly anyway 2014-06-20 18:05:32 +00:00
adelikat 58e5599f2f Rollback 6918 since it doesn't work either, and do a fix to Cheats column saving/loading. Neither dialog currently work however 2014-06-20 17:41:40 +00:00
adelikat ab7977b267 Ram Watch - Fix saving and loading of column order 2014-06-20 17:18:57 +00:00
adelikat 1895e15ea5 Create StatusStripEx similar to MenuStripEx and ToolStripEx to allow click through, and replace all our status bars with it 2014-05-17 00:42:28 +00:00
adelikat 653fb0ff38 Ram Watch - set the CurrentFileName property during LoadFile, fixes some subtle bugs that resulted from a loaded watch with an empty name 2014-05-11 12:09:41 +00:00
adelikat 81a841057c Ram Watch - convert message label into a Status bar with a error icon with similar functionality as ram search 2014-05-04 16:01:46 +00:00
adelikat e5b3138d15 Ram Watch, Ram Search - don't crash on out of range addresses (such as when the user leaves ram watch open and changes cores), highlight out of range addresses and warn user. On Ram Search - give the option to remove these addresses from the list. 2014-05-04 15:30:18 +00:00
adelikat bbf7c43b6d Rip out the Alert font from OSD Manager since it wasn't being used for anything useful anymore, Ram Watch on screen display - show frozen addresses in a cyan color instead of red to be consistent with the rest of the system 2014-04-27 13:01:10 +00:00
adelikat edf2e2e4a7 Watch Value box - fix behavior of pressing up/down on signed values, was wrapping from 0 to max value, now it goes to -1, and on min value it wraps to max value (and vice versa) 2014-04-26 00:01:00 +00:00
adelikat c657678555 some code cleanup on WatchValueBox before I do some fixes 2014-04-25 23:47:34 +00:00
adelikat 8952e61067 Fix issue 157 2014-04-25 20:29:18 +00:00
adelikat d11bec528e Fix Ram Watch to update after instead of before, to be consistent with Hex Editor and Ram Search 2014-04-25 20:02:57 +00:00
adelikat 555c9dfb45 Ram Watch - fix bug where it asks you to save changes, but if this is a fresh unsaved list it ignores the Yes button and closes 2014-03-23 16:58:54 +00:00
adelikat 6d1675e54c Change UnfreezeAll option on many tools to remove cheats not simply disable them. 2014-03-23 13:21:48 +00:00
adelikat 827e2c44f8 Fix some inconsistent spelling in a Ram Watch and Search context menus, and some slight formatting cleanup on hex editor 2014-03-01 15:21:17 +00:00
adelikat f714093b23 Movies 2.0 - some progress towards supporting floats 2014-02-25 02:56:32 +00:00
adelikat 02ea7d360f some code cleanup 2014-02-22 23:59:52 +00:00
adelikat 5849d2d80d make the Select All feature built right into VirtualListView instead of writing the same code over and over in the tool dialogs, also make said code faster on large lists 2014-02-15 19:15:04 +00:00
adelikat 3dfcd8b22a drastically cleanup the InputValidate class 2014-02-03 19:37:43 +00:00
adelikat f3755975a1 Lua - implement Always on Top and Floating Window 2014-01-30 22:32:29 +00:00
adelikat 003156d28e Trace Logger - remember window size, implement floating window and restore default settings, refactor, also clean up some ToolDialogSettings logic 2014-01-30 15:28:05 +00:00
adelikat dead076979 Ram Watch - floating window and refactor 2014-01-30 14:29:34 +00:00
adelikat d44e6c6342 Ditto for trace logger 2014-01-30 03:34:58 +00:00
adelikat 364c2367ea Hex Editor - refactor to use ToolDialogSettings Add floating window option 2014-01-30 03:10:17 +00:00
adelikat 53fa1a566a create a ToolDialogSettings object and refactor Ram Search to use it as a proof of concept 2014-01-30 00:55:31 +00:00
zeromus 3ab8e60d1b add FloatingWindow concept to RamSearch tool, which lets you control how it sorts along with the main emuhawk window. it's not entirely ordinary for this to be controllable, but it should certainly be appreciated 2014-01-20 05:14:36 +00:00
adelikat 8daccb972d Ram Search - fix behavior of the Memory Domain label 2014-01-04 16:19:00 +00:00
adelikat fcbcbc2ac4 some stupid code cleanup while I'm at it 2014-01-01 02:16:47 +00:00
adelikat a3a8170c44 Check Global.Config.SupressAskSave in ToolManager instead of doing it in the tool dialogs themselves 2014-01-01 02:09:03 +00:00
adelikat 098fca2895 Ram Search - make manual removal of addresses undo-able, slight cleanup of Start method 2013-12-27 16:48:47 +00:00
adelikat 2de37ac57a Fix address freezing from the Ram Watch dialog 2013-12-03 19:50:10 +00:00
adelikat 29a0fa49f8 Simplify IMovie and refactor some code to allow that, this also disables more functionality in TAStudio but it is disabled in trunk currently anyway (pending a rewrite). Also a bunch of pedantic code cleanup in tool dialogs 2013-11-29 19:55:05 +00:00
adelikat 9ccc214667 Make an extension method ShowHawkDialog() to use for modal dialog calls that does the Sound Stop/Start methods (and potentially any other EmuHawk specific logic that needs to be done). Use this in the bazillion places we were calling StopSound and StartSound. 2013-11-28 22:39:00 +00:00
adelikat d6954e4209 Ram WAtch and Hex Editor code cleanup 2013-11-28 22:06:38 +00:00
adelikat d37f186107 Hex Editor - a bunch of clean up, refactoring, rethinking of stuff, and some slight bug fixes 2013-11-28 20:02:32 +00:00
adelikat 3ddf1f394b Refactoring of Hex Editor, and support poking of 4-byte addresses (how was that left as todo this whole time?) 2013-11-28 14:43:27 +00:00