Commit Graph

1978 Commits

Author SHA1 Message Date
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
Benjamin Popp
5e1979db52 First pass at making a combobox for selecting elements in the table tool 2021-05-03 21:59:08 -05:00
Benjamin Popp
4d950d2916 Add support for signed fields
Most numbers are unsigned by default. But if a signed value is desired, you can use |z. Used in the pokedex stats.
2021-05-03 16:58:01 -05:00
Benjamin Popp
5e443248f0 Fix crash
Don't crash if trying to get the calculated value from a null pointer
2021-05-03 16:57:20 -05:00
Benjamin Popp
99758135a0 Fix post-append selection bug
When updating selection after an append, first do a goto to get the data into the same location on screen.
2021-05-03 16:26:26 -05:00
Benjamin Popp
a6ad0cc318 Home icon on goto screen
The goto screen is represented by a home button on the toolbar. Add the home icon to the goto screen itself to strengthen the connection for users.
2021-05-03 16:25:34 -05:00
Benjamin Popp
d85464a7b3 Scrolled selection bugfix
When clicking on the header of a row, select exactly that row, even if the view is scrolled a bit to the right.
2021-05-03 16:24:56 -05:00
Benjamin Popp
7de69da17c Repoint All -> Performance fix
Include a loading bar for repoint all. Don't call Refresh() until we're done with the whole process.
2021-05-03 16:24:06 -05:00
Benjamin Popp
0317d0128d Updates from Kbueno 2021-05-03 07:10:08 -05:00
Benjamin Popp
09a03cd952 Don't crash if an enum option is null 2021-05-02 23:13:36 -05:00
Benjamin Popp
45b66ce489 fix typo 2021-05-02 21:43:58 -05:00
Benjamin Popp
3ed6d9f9c7 Don't crash when writing a ! end token into the anchor editor 2021-05-02 21:43:47 -05:00
Benjamin Popp
01d401193d Don't crash when a tilemap has nothing pointing to it 2021-05-02 21:22:12 -05:00