Commit Graph

2137 Commits

Author SHA1 Message Date
Benjamin Popp
a278d91f9f Add 'matchExactCase' parameter for ViewPort.Find 2021-06-21 22:20:12 -05:00
Benjamin Popp
cde4328bc0 "Align Here" should always be shown
This keeps the context menu items a consistent distance from the top, hopefully causing less confusion.
2021-06-21 22:08:35 -05:00
Benjamin Popp
53136ee7ce adding deoxys form stats 2021-06-21 22:03:34 -05:00
Benjamin Popp
1270d68103 Searching for 'é' should work
allow both é and e to find both é and e during search.
2021-06-21 20:30:34 -05:00
Benjamin Popp
c859c2ba76 close color picker popup when window moves 2021-06-19 21:44:02 -05:00
Benjamin Popp
be7c4cc033 TryCopy for TextStreamElements should only work if they're the same type. 2021-06-19 20:44:23 -05:00
Benjamin Popp
b38e0b4ca5 bugfix: Ctrl+F -> 00/FF -> highlight chosen byte
This already worked for most raw values, but didn't work for 00 and FF because of an order-of-operations issue
2021-06-19 20:28:53 -05:00
Benjamin Popp
cce5b69c4b fix stream parsing bug
When parsing single-element streams, skip parsing blank lines. This fixes a bug related to animation scripting: it would decode correctly, but it wouldn't encode correctly.
2021-06-19 20:28:21 -05:00
Benjamin Popp
83db9f766c remove name conflict 2021-06-18 23:56:35 -05:00
Benjamin Popp
a3394df79d Don't make the script-parser read _really slow_ if it's reading a bunch of nops in a row 2021-06-18 23:53:31 -05:00
Benjamin Popp
1665610885 add emerald trainercard sprite data 2021-06-18 23:32:58 -05:00
Benjamin Popp
6d141c9e31 close palette tool when switch application focus
this didn't work right when one of the swatch textboxes had keyboard focus
2021-06-18 22:40:09 -05:00
Benjamin Popp
c9ddab7ae3 Don't crash when copying a bit-field with unknown set bits 2021-06-18 22:24:07 -05:00
Benjamin Popp
c422f8bff2 bugfix: picking a desktop color should change the model 2021-06-18 21:48:45 -05:00
Benjamin Popp
43a7ee2cc0 Make IV_Cap constant to make the code easier to edit 2021-06-18 21:27:57 -05:00
Benjamin Popp
12f67ea439 Improve auto-complete filtering
Filter using special characters like `.'-` for  pokemon, items, and moves
2021-06-11 22:32:10 -05:00
Benjamin Popp
1760804abb Fix autocomplete text control
The Generate method returns a IEnumerable, but we need it to be a list
2021-06-11 22:05:32 -05:00
Benjamin Popp
2c839ee2d3 bugfix: trainer teams should repoint when you change the number of pokemon in the team 2021-06-11 21:25:55 -05:00
Benjamin Popp
53a6ff6f67 Add ability to show overview of a rom (developer mode only) 2021-06-06 14:28:23 -05:00
Benjamin Popp
f61d858d25 Don't crash on saveall / closeall 2021-06-05 22:04:07 -05:00
Benjamin Popp
ef9e6d8842 Add boilerplate to connect view to diff commands in the viewport 2021-06-05 21:53:42 -05:00
Benjamin Popp
6ece8d2725 make it not possible to diff with non-viewport tabs 2021-06-05 20:55:08 -05:00
Benjamin Popp
2a7815c850 Disable DiffLeft / DiffRight for edge tabs 2021-06-05 20:46:52 -05:00
Benjamin Popp
ecc4353de3 implement page up / page down for diff tabs 2021-06-05 20:21:43 -05:00
Benjamin Popp
6dbbf449d1 More tests for diff tab
* Make sure the data in the tabs is aligned. This required changing the implementation to no longer depend on the SearchResultsViewPort, but instead the DiffTab owns the children viewports itself. This lets the DiffTab control the alignment between the parallel children.
* Make sure we can see differences from multiple changes in the tab at the same time.
2021-06-04 21:27:38 -05:00
Benjamin Popp
49de6fbf9f progress with Diff 2021-06-01 20:52:39 -05:00
Benjamin Popp
f3c93c0257 Get the diff tab's name right 2021-06-01 20:24:54 -05:00
Benjamin Popp
bc4333bfc4 decompile swi thumb instructions correctly 2021-06-01 19:48:01 -05:00
Benjamin Popp
6db0cdc7b3 Introducing the Diff tab
The Diff tab is not fully functional yet. But this is a skeleton of the implementation.
2021-05-24 19:56:18 -05:00
Benjamin Popp
af6e30893d Base implementation for diffing 2 tabs 2021-05-23 19:55:05 -05:00
Benjamin Popp
f2bb90efbc improve image error handling
* provide better error messages when import fails
* don't crash when trying to decode an image that doesn't have a width as a multiple of 8
2021-05-22 21:15:57 -05:00
Benjamin Popp
96abea91a1 allow horizontal scrollbar manual interaction after animation 2021-05-20 19:59:28 -05:00
Benjamin Popp
9ceb1f1b0b Don't blap enhanced levelup format during version upgrade 2021-05-16 22:19:38 -05:00
Benjamin Popp
7ec6f132f9 fix trainertower table
include pokemon for each trainer based on info from Tarma
2021-05-15 22:09:45 -05:00
Benjamin Popp
fb3d36e052 Modify the goto logic for search results so that we scroll the correct amount 2021-05-15 21:28:04 -05:00
Benjamin Popp
cf26c6ba9f Add label for the buttons on the home screen 2021-05-15 21:16:58 -05:00
Benjamin Popp
c40053db3e Change the text of the calculated elements to make it more clear 2021-05-15 21:10:39 -05:00
Benjamin Popp
67e5c15dd0 Add animation for horizontal scrolling 2021-05-15 21:08:21 -05:00
Benjamin Popp
4733934ad8 During single-table-mode, only allow selecting within the table 2021-05-15 20:49:46 -05:00
Benjamin Popp
a0055a57af Add menu icons for Find/Goto 2021-05-15 20:26:55 -05:00
Benjamin Popp
28efdbd62e Remove Blue outline from Help Menu
Didn't provide the user value I wanted
2021-05-15 20:24:50 -05:00
Benjamin Popp
db32ff52bc Version Bump 2021-05-15 20:22:50 -05:00
Benjamin Popp
e5c4c0046e Update Start Screen for 0.4.2 2021-05-15 20:21:49 -05:00
Benjamin Popp
d245bffaff add hpbox.player for emerald 2021-05-14 13:02:32 -05:00
Benjamin Popp
f7dcc6fdb5 Fix crash
Happens when trying to save a new document during close
2021-05-14 13:02:14 -05:00
Benjamin Popp
5d3fdfdab3 Add keyboard shortcuts for Display As options 2021-05-09 22:24:06 -05:00
Benjamin Popp
08472cb0a0 Fix ugly code
The existing implementation for the selected table item was terrible. Replace it with one that's easier to understand by making the View and ViewModel interact with the new object in unique ways, making it possible for the object to know in which direction to notify.
2021-05-08 22:37:36 -05:00
Benjamin Popp
9df22c432f Make the index combobox change selection correctly on enter 2021-05-06 16:36:08 -05:00
Benjamin Popp
24bc12570e Update ComboBoxArrayElementViewModel with filter capabilities
Filtering comboboxes is hard. We want the elements to filter based on the typed text, but we want the filter to clear automatically when the user selects an element, but not when the selection changes automatically due to the options changing.
2021-05-05 22:45:02 -05:00
Benjamin Popp
9e447fbe84 Make TableToolItemSelector work when items have no names 2021-05-03 22:03:11 -05:00