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
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
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
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
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
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
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
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
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
0f5e2b0cdb
Ram Watch - fix column reordering, ugh
2014-06-20 18:38:08 +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
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
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
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
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
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
2de37ac57a
Fix address freezing from the Ram Watch dialog
2013-12-03 19:50:10 +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
af6369e14c
Fix behavior of remove in Ram Watch and Cheats too
2013-11-25 23:41:08 +00:00
adelikat
5bbed4a58f
Fix behavior of Movie Up/Down in tool dialogs
2013-11-25 23:24:26 +00:00