Commit Graph

134 Commits

Author SHA1 Message Date
goyuken 215e155b47 fix recent hex editor regression (would not load) 2014-12-17 02:44:49 +00:00
goyuken 7b580e7dca tim the tool form taylor 2014-12-15 03:19:23 +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
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 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
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 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 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 0fd05b4800 HexEditor -> Hex Editor 2014-08-16 03:53:50 +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 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 60000af4c9 Hex Editor - tweak background drawing of frozen addresses when the display size doesn't match the cheat size 2014-07-28 01:01:32 +00:00
adelikat ef14f661c0 Hex Editor - properly handle (and not throw exceptions) the display of cheat values in a byte size not equal to the cheat byte size 2014-07-28 00:49:48 +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 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 a9aa65397c Convert a Util method to an extension method 2014-07-03 18:29:51 +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 0b6795fffc Some misc cleanup of redundant qualifiers 2014-05-04 14:10:28 +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 e4c7110174 Hex Editor - fix issue 150 - exceptions thrown when freezing multi-byte addresses 2014-04-11 16:45:05 +00:00
adelikat 6e23df6472 Hex Editor - lots of fixes to Path and filename selection in OpenFile and SaveFile dialogs 2014-03-26 00:34:43 +00:00
adelikat e8c0c21c7c Hex Editor - fix a very annoying bug when using File on Disk that was caused by a very annoying thing, ugh 2014-03-24 02:25:26 +00:00
adelikat a8aa121ecd Hex Editor - support table files in the find box when searching for text strings 2014-03-23 23:47:20 +00:00
adelikat 7541dba798 Hex Editor - add a Close Table file menu item, enabled only when a table file has been loaded 2014-03-23 22:47:28 +00:00
adelikat b95a0b648c Hex Editor - support loading of Text translation table files (.tbl) including Recent menu and autoload options 2014-03-23 20:27:20 +00:00
adelikat 2581dccd90 Hex Editor - fix Find Prev and close Find box when Prev or Next is clicked 2014-03-23 19:55:56 +00:00
adelikat 2d87eeab70 Hex Editor - fix weird focusing bug when using the Find box, goofy winforms 2014-03-23 18:29:32 +00:00
adelikat 1e9374e4e4 Hex Editor - highlight "mis-alighned" selections properly that result from being on an odd-numbered address when switching to a higher data size. Also only highlight the portion of an address that is frozen in the case of viewing mutli-byte sizes while there are active cheats of smaller sizes. 2014-03-23 15:39:47 +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 f15a1bc36b Hex Editor - fix ability to highlight past the end of a domain 2014-03-01 19:05:20 +00:00
adelikat fc8cb97ce3 Hex Editor - when freezing/unfreezing, update highlighter colors 2014-03-01 18:09:09 +00:00
adelikat 75b9b132b6 Hex Editor - make freezing a range of addresses not slow 2014-03-01 18:04:21 +00:00
adelikat bb3a76cb3d Hex Editor - speed up Freeze Addresses more by not calling update tools that are already updated due to event handlers 2014-03-01 16:36:26 +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 a6176d09e8 Object -> object 2014-02-24 03:25:57 +00:00
adelikat 186939f157 Hex Editor - fix the Find dialog box behavior, now correctly allows all characters and casings when switching to text mode 2014-02-24 03:18:43 +00:00
adelikat 3cf2ba7afc Some nitpicky code cleanup on a few files before I do something useful with them 2014-02-24 02:50:56 +00:00
adelikat f704786630 Hex Editor - change the name of the "Rom File" domain to "File on disk" to hopefully clarify it better 2014-02-10 01:15:11 +00:00
adelikat d22b35c240 Hex Editor - fix exception when user clicks cancel in the Save as Binary dialog 2014-02-10 01:01:36 +00:00
goyuken 78a0b428a3 hex editor: show partial rows 2014-02-08 21:57:16 +00:00
zeromus f0001687ed fix hexeditor bugs related to my last commits to it 2014-02-08 21:47:39 +00:00
adelikat 3dfcd8b22a drastically cleanup the InputValidate class 2014-02-03 19:37:43 +00:00
zeromus 01b5c44d5c refine hex editor keyboard handling a bit 2014-01-31 04:26:39 +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 a742758288 oops 2014-01-30 03:36:18 +00:00
adelikat d44e6c6342 Ditto for trace logger 2014-01-30 03:34:58 +00:00
adelikat ab4f9534fe a bit of cleanup 2014-01-30 03:11:28 +00:00
adelikat 364c2367ea Hex Editor - refactor to use ToolDialogSettings Add floating window option 2014-01-30 03:10:17 +00:00
adelikat 377ab3b4ea Fix Hex Editor to show cheat value on frozen addresses, and some fix ups in misc bugs that also contributed to this problem. Note: hex editor still will show some dubious behavior when viewing in one byte size and having cheats in another, that kind of mess will have to be sorted out in another commit 2014-01-01 03:19:08 +00:00
adelikat 7e24c75a3d tiny code cleanup in Hex Editor 2013-12-31 18:52:52 +00:00
adelikat 1e5ff72519 Hex editor - better scrollbar logic for really small domains that don't need a scrollbar 2013-12-21 20:06:52 +00:00
adelikat d45ba09f50 Hex Editor - a bit of code cleanup 2013-12-21 17:51:07 +00:00
adelikat 1ad3b83d83 Better updating of cheat status in various situations, and fix an exception thrown when unfreezing an address with the hex editor 2013-12-21 16:42:36 +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 bbcc7f3b5f MemoryViewer.cs isn't being used anymore 2013-11-28 20:05:35 +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 a3917f6052 Oops 2013-11-28 14:58:15 +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
adelikat e98da5856f misc code refactoring 2013-11-20 01:37:54 +00:00
adelikat 8562276320 Change the default Position property of every winform from windows default to center parent 2013-11-08 18:43:24 +00:00
adelikat 10b609cb6e Hex Editor - fix so context menu items dependent on addresses don't if no address is highlighted (prevents some exceptions being thrown when user attempts to use them) 2013-11-07 23:14:04 +00:00
adelikat 0adffa65c1 Use ToHexString() extension is more places 2013-11-07 18:15:17 +00:00
adelikat 17c68d34d0 make the word "autoload" consistently spelled/capitalized/hyphenated across all menus 2013-11-07 16:11:21 +00:00
adelikat 56cb2ba538 Refactor CheatList and Cheats to have changed event handlers, and have the client wire up an event handler to update all the relevant dialogs. 2013-11-04 15:52:59 +00:00
adelikat be547db4a1 Move MemoryDomain to its own file, and move the Endian enum into it, also clean up the class a bit, and refactor things as necessary 2013-11-04 02:11:40 +00:00
adelikat 9751fd5a1a Move interfaces and base implemenations from emulation to emulation.common 2013-11-04 01:39:19 +00:00
adelikat 589758f74d rename GlobalWinF to GlobalWin, yeah, I'm being nitpicky 2013-11-03 16:07:58 +00:00
adelikat c669680e07 Rename Multiclient folder 2013-11-03 04:05:56 +00:00