adelikat
8430d145ab
cleanup RamSearch with switch expressions and switch labels
2020-03-04 19:34:13 -06:00
adelikat
a84fca5f8f
make WatchList constants not all caps
2020-03-04 18:43:31 -06:00
adelikat
3d664d9270
simplify ram search engine settings usage a bit with some extension methods
2020-03-03 18:41:53 -06:00
adelikat
23c819de4a
Move SearcMode enum out of SearchEngineSettings
2020-03-03 18:41:53 -06:00
adelikat
a151bd7424
move settings class out of RamSearchEngine
2020-03-03 18:41:52 -06:00
adelikat
3a0df3f543
move enums out of RamSearchEngine class
2020-03-03 18:41:52 -06:00
adelikat
92221f38df
separate namesapce for RamSearchEngine files
2020-03-03 18:41:52 -06:00
J.D. Purcell
f7174eb398
Make display scaling apply to InputRoll column header widths.
2020-02-17 12:34:37 -05:00
adelikat
4b50ea36e1
remove MemDomain CanPoke() extension method now that all it does is check the Writable flag which is better named and more conscise
2020-02-15 12:37:39 -06:00
adelikat
656f2b814e
Move IEmulator extensions to the Emulation.Common namespace, the intent is that these are used and serve as built in functionality, so it's overly tedious to when most situations require both Common and an additional extensions namespace
2020-02-15 12:33:15 -06:00
adelikat
626efe8caf
put control extension methods into the EmuHawk names space isntead of a custom one. We want these to be found and used, and most dialogs use them
2020-02-03 12:54:32 -06:00
YoshiRulz
7062ba5b6a
Clarify "Autoload" text (from #971 )
2020-01-13 01:54:15 +10:00
adelikat
1aa318d7e1
use ToolFormBase properties instead of globals
2019-12-22 10:57:06 -06:00
adelikat
f3b49648cc
Ram Search/Watch - refresh in UpdateValues with RowCount instead of Invalidate() now that RowCount has optimized redraw logic
2019-12-07 10:31:00 -06:00
adelikat
44621446b1
Ram Search - deselect watches when removing them with the delete key
2019-12-02 17:07:14 -06:00
adelikat
5c674e5f8f
Watch UI classes - some cleanups, mostly C#7isms
2019-10-27 18:02:06 -05:00
adelikat
b54be19e9e
InputRoll - reorg - put in its own folder, break out column and cell classes into separate files
2019-10-26 16:49:52 -05:00
adelikat
6977ac20a1
Ram Search - remove some code that i don't think is necessary with inputroll
2019-10-18 21:21:44 -05:00
adelikat
d76531064e
Ram Search - show Prev column by default
2019-10-18 20:07:16 -05:00
adelikat
3d33c3fa21
Ram Search - fix GoTo Address
2019-10-18 20:04:15 -05:00
adelikat
a51bca38f0
convert RamSearch to use InputRoll
2019-10-18 18:56:21 -05:00
James Groom
90b0574bc3
Remove unnecessary calls to ToList (e.g. in foreach)
...
squashed PR #1591
2019-10-13 15:50:57 +00:00
adelikat
febdadc49e
Ram Search - some cleanup
2019-10-04 13:19:14 -05:00
adelikat
46a23e2b19
fix a few more warnings
2019-06-28 14:38:17 -05:00
YoshiRulz
2bb63c2bf1
Fix go to address UX in RAM Search
2019-04-22 01:09:18 +10:00
YoshiRulz
6f1d61420d
Catch OverflowException when parsing address (hex str), resolves #1549
2019-04-21 05:18:42 +10:00
YoshiRulz
e6374ef477
Use string interpolation
2019-03-19 00:06:37 +10:00
nattthebear
ebe789eed2
heh
2017-05-10 07:45:23 -04:00
adelikat
8f3d1613a0
misc code cleanups in ram watch tool files
2017-04-19 07:50:25 -05:00
J.D. Purcell
b53502eed8
Spaces -> tabs.
2017-04-15 16:37:30 -04:00
adelikat
c61d432fd6
Don't position tools to last saved position if that position is not visible on screen
2017-02-21 16:57:47 -06:00
adelikat
5277be6833
Ram Search - update the size and display type dropdowns on restart. Fixes #762
2017-02-07 18:54:58 -06:00
adelikat
44a1e691f3
Ram Search - show restored/removed messages when undoing/redoing, fixes #749
2017-01-14 20:00:55 -06:00
adelikat
3f191be372
Ram Search - Better event to tie toolbar enabling logic to for indices changing - fixes #629
2016-09-21 14:31:42 -04:00
adelikat
3bf11dbf68
Fix slow Ctrl+A on Ram Search and Ram Watch, fixes #630
2016-09-21 10:56:57 -04:00
zeromus
a7d2b8d7f7
* add a new IToolForm update mechanism which has extensible update points (so a tool can both pre- and post- update)
...
* make trace logging "core-pushes" model, to a sink installed by the frontend. This sink can go straight to the disk without wasting memory if that's what the Trace Logger tool has selected; or the Trace Logger will buffer it if it needs to. Formerly, we had a "core-pushes-to-buffer" and "client-pulls-once-per-frame" which necessarily caused huge buffers no matter what was going on.
2016-08-13 15:31:26 -05:00
Isotarge
5a20a520bd
Tools: Ram -> RAM #669
2016-07-22 01:32:54 +09:30
adelikat
9cb0072f0f
Ram Search - also fix leadings zeros in the Difference box
2016-01-31 09:15:17 -05:00
adelikat
0013646db5
Rip out obsolete notion of a WatchList domain, change ram watch menu item to Default Domain, who's functionality is simply to decide the default domain used when adding a new watch, also add some Visual Studio designer shenanigans for a previous commit I made that broke it
2016-01-30 22:17:31 -05:00
adelikat
aaf4d39b58
Ram Watch/Search - misc code cleanup
2016-01-30 21:21:17 -05:00
adelikat
6f75ef6dba
Move another function to ToolFormBase
2016-01-30 21:07:03 -05:00
adelikat
894a9c2318
Rework ToolHelpers from a static object to ToolFormBase that inherits form and have a lot of tools inherit it, in hopes of moving a lot of copy pasta into a base class, move a few functions that show up a lot there
2016-01-30 20:24:53 -05:00
adelikat
7bb3e04105
Ram Search - fix having lots of leading zeros in the different by box
2016-01-30 18:28:29 -05:00
adelikat
48487f2a90
Sort out and fix problems with Ram Search watch files showing up in the Ram Watch recent list
2015-12-04 23:18:46 -05:00
Hathor86
32271899c3
Comments on Watch derived class; started on watchlist
...
+ Moved WatchList.cs to specific directory (just a matter of ordering)
+ Mark some properties and methods in watchlist as obsolete
+ Create Comparer class that are used for sorting (Only domain and
address atm, other a still stored with linq). Unlike OrderBy in LINQ, it
doesn't create a new list for sorting (so it saves memory), furthermore,
it runs faster.
Finally, change to type of Watch.Address from nullable lon to regular
long (the rare times watch.Address.Value was used, there wasn't any
check of null and so, program would have crashed -
InvalidOperationException -)
2015-12-01 22:18:55 +01:00
Hathor86
1e2f4e12be
Watch refactoring
...
Some improvement when you get Available types. Used to return a new
array each time you call the function. It has been transformed into an
IEnumrable and yield return.
DisplayType, PreviousType and Watchsize have been moved outside the
Watch Class
2015-11-28 22:52:00 +01:00
Hathor86
d4b4c06f0c
Draft of API
...
So, I create a new dll named BizHawk.Client.ApiHawk and moved few stuff
to it.
Also moved some stuff to BizHawk.Client.Common. Don't think it can be
desiociated.
I started comment Watch and rearrange code (put some #region etc...
It compiles and it seems working :)
2015-11-26 23:05:29 +01:00
adelikat
1ee56ea4ef
Ram Search - fix save menu item adding to ram watch recent files instead of ram search
2015-10-11 09:53:32 -04:00
adelikat
6d4dea9a14
Don't attempt to remember tool window size/position if tool is minimized/maximized, this fixes issue #491 but also fixes the bug in every tool (unless there is a tool that does not implement IAutoToolFormConfig that I missed in this changeset)
2015-09-05 17:05:14 -04:00
adelikat
5d5a4d10f2
Ram Search - make IInputPollable an optional service not a required one
2015-04-17 15:21:19 +00:00