Commit Graph

176 Commits

Author SHA1 Message Date
zeromus bc2e8c773d fix crash in loading hex editor (openadvanced regression) 2015-11-18 21:17:34 -06:00
zeromus 32a1101713 fix hex editor not repainting when editing bytes to the same value as before 2015-10-18 18:44:57 -05:00
zeromus 7e9c966887 fix some weirdly bloated dialog box resx files simply by deleting their icons and re-setting them 2015-10-13 00:14:12 -05:00
zeromus 5b4845692a hex editor - clean up copy/paste. fix data scrambling bugs and handling of weird selection areas. copy now creates writes raw (non-byteswapped) values. add 'export' command which creates the text you have copied, complete with spaces. 2015-09-29 02:29:19 -05:00
zeromus bacd3f6704 hex editor - clear selection range when changing data size 2015-09-28 23:54:26 -05:00
zeromus 5e40adf1f7 fix #490 2015-08-31 11:37:46 -05:00
adelikat 84cd3e9efa Hex Editor - re-calculate address positioning on memory domain change 2015-08-23 14:04:00 -04:00
adelikat 674b9b4c07 Hex Editor - issue #481 - keep scroll bar position when resetting the current rom as opposed to changing to a new one 2015-08-23 12:59:27 -04:00
adelikat 7edd746f68 Hex Editor - when saving domains to file, account for roms in archives 2015-08-23 12:34:13 -04:00
adelikat b991493c97 backing out of last change, it was not well thought out 2015-06-29 17:09:47 -04:00
adelikat 947f18d971 Hex Editor - super hack, allow keyboard events even when scrollbar has focus, to workaround the fact that the scrollbar mysteriously gets focus from numpad buttons 2015-06-29 17:06:46 -04:00
adelikat a2c73eb793 Remove some commented and useless 2015-06-29 16:23:59 -04:00
adelikat c01bd0d5ef Hex Editor - fix text search in the find box 2015-04-01 13:59:40 +00:00
jdpurcell 67802eca8f (Issue 403) Fix misaligned highlighting in Hex Editor at non-default DPI settings. 2015-03-06 02:45:53 +00:00
scepheo 32b788b352 Hex Editor and new RAM Watch now default to memory domain byte size. 2015-02-24 10:18:20 +00:00
adelikat 2bc68b99c7 Hex Editor - fix Load .tbl file menu item when rom is in an archive 2015-02-22 03:36:54 +00:00
adelikat dba610d5d7 Hex Find - focus and highlight on load 2015-01-31 01:25:08 +00:00
adelikat 29a6c7369b Hex Find - even more simple 2015-01-31 01:23:03 +00:00
adelikat 8b48bd3e26 Hex Find - simplify some code 2015-01-31 01:16:41 +00:00
adelikat 4a39b5a619 Hex Editor - if a domain is not writable, switch to a "read only" mode 2015-01-25 15:42:07 +00:00
adelikat d200c1be38 HexEditor.cs - fix line endings 2015-01-25 13:24:18 +00:00
zeromus 3a8fcec1bf HexEditor: add a bit of a hacky n64 matrix viewer test code to context menu 2015-01-22 01:15:06 +00:00
zeromus c445dcf183 HexFind: respond to escape key 2015-01-22 01:14:49 +00:00
goyuken af451143bf a bit of memory domain cleanup 2015-01-21 17:36:22 +00:00
adelikat 5462e16b91 Hex Editor - fix a bunch more int to long conversions 2015-01-19 02:42:58 +00:00
adelikat 1c6d6f57bc Hex Editor - better location for the poke dialog, don't attempt to highlight non-visible addresses (fixes some bad drawing when highlighting and scrolling) 2015-01-19 01:49:56 +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 0620246ef4 Hex Editor - fix highlighting of addresses greater than 7FFFFFFF in 32 bit domains 2015-01-18 20:15:03 +00:00
adelikat 515a41592c Convert a whole bunch of ram stuff from int to long 2015-01-18 18:59:23 +00:00
adelikat 89b3c31872 Hex Editor - more long conversion, highlighting will now work until the scrollbar value itself overflows 2015-01-18 18:13:38 +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 27d30df0cf Rip out the MemoryDomain.Size hack, and fix up the hex editor. Hex editor now works for N64 System bus, but will very much fail as soon as we have a domain greater than 32 bits 2015-01-18 16:00:20 +00:00
adelikat 91ffc17aae Refacotor MemoryDomain.Size to be long instead of int, still some small todos, but it compiles and seems to work 2015-01-18 15:25:47 +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 9c8bb5ff1f Hex Editor - remove some bad code, still plenty to be found in here, but this should be better at least 2015-01-14 00:08:20 +00:00
adelikat d62ba4e2b4 Change IMemoryDomains to have an IMemoryDomainList instead of a MemoryDomainList, this is an incremental step into eventually having IMemoryDomains take over the properties of IMemoryDomainList, still todo: reduce the amount of needed functionality in IMemoryDomainList from old and not good code 2015-01-13 22:18:07 +00:00
adelikat dbdc92e7e2 Hex Editor - remove some unsused code 2015-01-01 17:53:21 +00:00
adelikat 54b7a1c50f Convert Hex Editor to IToolFormAutoConfig and [ConfigPersist] 2015-01-01 14:54:26 +00:00
adelikat 8a13733f9b Hex Editor - don't use a ram search config setting (good ol copy pasta) 2015-01-01 01:25:36 +00:00
adelikat 84c6c94df0 Hex Editor - remove a usage of Global.Emulator 2014-12-17 03:57:07 +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
goyuken 1504f8d441 itoolform remove spurious restart calls 2014-12-17 03:35:57 +00:00
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