Commit Graph

357 Commits

Author SHA1 Message Date
Benjamin Popp
ebc9d1f33d first part of autocomplete is in
mostly the tests
need to make the pointers actually fill the model
need to make the UI still
need to handle enums still
2019-04-29 16:32:14 -05:00
Benjamin Popp
32020c62da fix theme bug in the theme window... the irony 2019-04-28 12:11:34 -05:00
Benjamin Popp
c1ee36bb43 improve defaults
fix a bug that prevented you from showing the theme window twice
2019-04-27 21:50:35 -05:00
Benjamin Popp
cfdde5776b allow custom themes
save app metadata (show/hide grid, theme)
2019-04-27 21:29:39 -05:00
Benjamin Popp
1915473a38 improve backspace. Implement for ints/enums in tables 2019-04-26 21:02:15 -05:00
Benjamin Popp
8598d21d4a remove the "toggle custom headers" for now.
we might not need it, now that we can see both the address and the
item name in the status bar.
2019-04-26 07:11:48 -05:00
Benjamin Popp
ecb2ceb2fb update: make it impossible to select a single cell of a pointer/int/enum.
all the cells come together as a single package.
this clears up some confusion as to which byte you're editing... hopefully.
2019-04-26 07:10:59 -05:00
Benjamin Popp
81e8f8bd1b make the message text blue to make it more visible 2019-04-24 22:04:00 -05:00
Benjamin Popp
b71b3144d7 editing an enum/int moves you to the first space of that item
same as pointers
2019-04-24 22:02:35 -05:00
Benjamin Popp
dacaa09ee7 bottom bar shows table entry name for tables 2019-04-24 21:04:37 -05:00
Benjamin Popp
45171ae5e1 wide text in a narrow cell no longer overflows into unrelated cells.
instead, wide text becomes right-aligned and clipped so you can
see what you're typing
2019-04-24 07:29:28 -05:00
Benjamin Popp
bb7dc2a0dd make an extension method for List.Sort that works the way
I expected it to - taking a sorting lambda
2019-04-24 05:49:23 -05:00
Benjamin Popp
47e75f3b1a find is much smarter now 2019-04-23 21:20:00 -05:00
Benjamin Popp
171b5e14d3 text tool and table tool update eachother on data changes 2019-04-22 21:37:25 -05:00
Benjamin Popp
033232d514 moved some ViewModel code to the model:
model should be able to create new text runs given possible start
  locations.
ToolTray should be able to expose errors
PCSTool should be able to expose errors
PCSTool should give messages when the address is incorrect.
PCSTool needs a button to say "dude, this address has text"
Make the ViewModel code that searches for starting text locations in
  a span public and static so that the PCSTool can reuse it.
2019-04-21 21:42:45 -05:00
Benjamin Popp
458c6553d7 searching for text tells you the number of results 2019-04-21 12:55:17 -05:00
Benjamin Popp
c08e6ae62b version bump 2019-04-20 14:40:14 -05:00
Benjamin Popp
695ff9cdf8 only show the '*' in the tab if there is a data change.
but allow saving even if there's only a format change.
2019-04-20 14:20:02 -05:00
Benjamin Popp
26ebacc028 fix all formatting issues 2019-04-20 12:33:07 -05:00
Benjamin Popp
7de8d5d773 startup performance improvement 2019-04-19 08:39:40 -05:00
Benjamin Popp
82e2d3cb73 fix button X on tab -> was too small
array format element defaults to single byte '.'
update table headers as format updates
update table tool as format updates
2019-04-18 15:47:38 -05:00
Benjamin Popp
1c67d531dc redo save dialog to fix a bug where you can open the
dialog multiple times
2019-04-16 16:33:01 -05:00
Benjamin Popp
5f57d2c665 add full screen animation for find/goto/messages/errors. 2019-04-16 15:12:00 -05:00
Benjamin Popp
e1a378643a - show info messages even if they're the same
as the last one after being closed.
- fix a test now that everything is one line lower
2019-04-16 15:10:39 -05:00
Benjamin Popp
43477eb4b8 make it easier to change items in the item table
- typing a closing " closes the element
- newline or selection change closes the element
2019-04-16 09:06:16 -05:00
Benjamin Popp
7a368f8905 Selected Hex Address shown at the bottom. 2019-04-16 08:56:09 -05:00
Benjamin Popp
c0e2981414 Search Results includes notice of what file the results come from. 2019-04-16 08:55:54 -05:00
Benjamin Popp
2762e6c50d enums in tables aren't guaranteed to hold expected values.
Handle unexpected values better.
2019-04-15 13:41:56 -05:00
Benjamin Popp
aea29f5e9c improve heuristics for automatic text recognition 2019-04-15 13:27:04 -05:00
Benjamin Popp
622e959fa8 if you left-click on the header, highlight the row 2019-04-15 13:05:07 -05:00
Benjamin Popp
a4612d58e9 handle resizing between tabs better 2019-04-15 12:50:04 -05:00
Benjamin Popp
6715550408 fix alignment when following search results back to a table in the main view.
Problem was that if the table was made fullscreen, the "goto" would often
bring you to before the table starts... so the auto-width wouldn't work.
2019-04-15 11:14:05 -05:00
Benjamin Popp
6cde3cf1b0 started looking into issue where jumping from search to content
sometimes doesn't align tables correctly
2019-04-15 07:09:19 -05:00
Benjamin Popp
8ee6e55341 tools are now disabled for search results tabs
tools menu now works for any tab, not just the first opened.
2019-04-10 21:16:39 -05:00
Benjamin Popp
884a31f998 fix bug causing false positives in pointer searches 2019-04-10 20:53:18 -05:00
Benjamin Popp
32ff353ca3 visual improvement: margins on start screen right side 2019-04-10 20:38:39 -05:00
Benjamin Popp
cc9912bebd version bump 2019-04-08 21:16:20 -05:00
Benjamin Popp
4006ea00ca updates from code review 2019-04-08 21:11:44 -05:00
Benjamin Popp
7f79e53812 don't drop anchors when writing hex or pointers 2019-04-07 22:39:14 -05:00
Benjamin Popp
b983bff963 names need to uniquifiy recursively.
It isn't enough just to be unique from a given name.
You have to be unique from all names.
2019-04-07 22:38:47 -05:00
Benjamin Popp
8225b99231 don't crash when trying to open a file locked by another app 2019-04-07 22:10:54 -05:00
Benjamin Popp
bb639c6c07 removing the last pointer should only remove an anchor if it isn't named. 2019-04-07 22:01:56 -05:00
Benjamin Popp
37b513e658 fix tests
many old tests assume that adding a table will leave the view at 0,0.
But usability tests show that the user would prefer that the view update
  as the table format changes.
2019-04-07 22:01:35 -05:00
Benjamin Popp
1f29c5c132 fix some text recognition bugs 2019-04-07 20:31:43 -05:00
Benjamin Popp
a31043c331 when editing a table anchor, resize and bring that table to the top 2019-04-07 14:35:38 -05:00
Benjamin Popp
74d6200047 better button name 2019-04-07 14:35:05 -05:00
Benjamin Popp
dd1996efe3 fix the background color beside the tabs 2019-04-07 14:00:26 -05:00
Benjamin Popp
ddc37c7504 a table with named elements should show the element name along with the element number. 2019-04-07 13:54:53 -05:00
Benjamin Popp
9e604435da when the find tab finds data in an array, have that line start at the start of the element, not directly with the search results. 2019-04-07 13:47:04 -05:00
Benjamin Popp
f3abaf3a5f fix threading issue 2019-04-07 13:40:13 -05:00