1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-12 23:28:56 +00:00
6502bench/SourceGenWPF/WpfGui
Andy McFadden be0e6bead1 Minor reshuffling
This was an attempt to add a "loading..." dialog during the initial
open of the project.  This can have some lag because we create a
sandbox (which is currently taking about 300ms) and do a full project
refresh (which can take more than a second on a large 65816 project).

The trick is that we need to do these things on a background thread
while the main thread manages the UI.  We can't manipulate the UI
from the background thread.  For the most part this works, as the
project refresh stuff isn't tied to the UI, but we run into trouble
when generating the line list.  As currently implemented, the line
generator interacts directly with DisplayList, which is acting as an
ItemsSource for the main ListView.

To make this work correctly we'd need to dissociate DisplayList from
LineListGen, e.g. by having DisplayList record but defer changes
until a "go" method is called on the main thread.

The speed is only an issue for large programs, which aren't really
supported yet -- the UI is awkward to use with large files -- so I'm
not going to pursue this further for now.

Also, an unrelated fix: there was an issue where the current ListView
scroll position would be retained if you opened a project while one
was already open.  Harmless but weird.  We now scroll to the top.
2019-07-19 15:24:51 -07:00
..
AboutBox.xaml Implement copy-to-clipboard 2019-07-11 11:36:07 -07:00
AboutBox.xaml.cs Implement "about" dialog 2019-07-06 15:51:57 -07:00
CodeListItemStyle.xaml Set background color on Notes in the code list 2019-07-14 15:39:27 -07:00
DataFileLoadIssue.xaml Minor documentation updates 2019-07-06 10:58:24 -07:00
DataFileLoadIssue.xaml.cs Wire up Open, Save, and Save As 2019-06-21 16:27:58 -07:00
DiscardChanges.xaml Improve save & restore of top line 2019-07-17 14:08:53 -07:00
DiscardChanges.xaml.cs Rename ProjWin directory to WpfGui 2019-06-21 15:17:04 -07:00
EditAddress.xaml Be a bit more WPF-ish on the OK button management 2019-07-05 15:05:42 -07:00
EditAddress.xaml.cs Implement Edit Label 2019-07-06 17:24:42 -07:00
EditAppSettings.xaml Rough project properties layout 2019-07-01 14:07:30 -07:00
EditAppSettings.xaml.cs Implement first project properties tab ("General") 2019-07-03 14:27:54 -07:00
EditComment.xaml Implement Edit Comment 2019-07-11 15:55:43 -07:00
EditComment.xaml.cs Implement Edit Comment 2019-07-11 15:55:43 -07:00
EditDataOperand.xaml Finish Edit Data Operand dialog 2019-07-11 13:56:16 -07:00
EditDataOperand.xaml.cs Finish Edit Data Operand dialog 2019-07-11 13:56:16 -07:00
EditDefSymbol.xaml Implement second project properties tab ("Project Symbols") 2019-07-05 14:53:45 -07:00
EditDefSymbol.xaml.cs Implement second project properties tab ("Project Symbols") 2019-07-05 14:53:45 -07:00
EditInstructionOperand.xaml Tweak EditInstructionOperand dialog 2019-07-10 12:57:18 -07:00
EditInstructionOperand.xaml.cs Tweak EditInstructionOperand dialog 2019-07-10 12:57:18 -07:00
EditLabel.xaml Fix Edit Label tweak 2019-07-08 13:43:10 -07:00
EditLabel.xaml.cs Fix Edit Label tweak 2019-07-08 13:43:10 -07:00
EditLongComment.xaml Implement Edit Note 2019-07-13 17:04:47 -07:00
EditLongComment.xaml.cs Implement Edit Note 2019-07-13 17:04:47 -07:00
EditNote.xaml Implement Edit Note 2019-07-13 17:04:47 -07:00
EditNote.xaml.cs Improve save & restore of top line 2019-07-17 14:08:53 -07:00
EditProjectProperties.xaml Implement remaining properties tabs ("Symbol Files", "Extension Scripts") 2019-07-05 16:20:31 -07:00
EditProjectProperties.xaml.cs Implement remaining properties tabs ("Symbol Files", "Extension Scripts") 2019-07-05 16:20:31 -07:00
EditStatusFlags.xaml Rework Edit Status Flags layout 2019-06-22 13:09:49 -07:00
EditStatusFlags.xaml.cs Rework Edit Status Flags layout 2019-06-22 13:09:49 -07:00
FindBox.xaml Implement Find / Find Next 2019-07-07 13:34:47 -07:00
FindBox.xaml.cs Implement Find / Find Next 2019-07-07 13:34:47 -07:00
FontPicker.xaml Implemented the first ("Code View") tab of settings 2019-06-26 17:11:58 -07:00
FontPicker.xaml.cs Implemented the first ("Code View") tab of settings 2019-06-26 17:11:58 -07:00
FormatSplitAddress.xaml Finish split-address table formatter 2019-07-13 15:55:32 -07:00
FormatSplitAddress.xaml.cs Finish split-address table formatter 2019-07-13 15:55:32 -07:00
GotoBox.xaml Implement "go to" feature 2019-07-07 14:30:38 -07:00
GotoBox.xaml.cs Implement "go to" feature 2019-07-07 14:30:38 -07:00
MainWindow.xaml Show a wait cursor when refreshing larger projects 2019-07-19 11:41:18 -07:00
MainWindow.xaml.cs Minor reshuffling 2019-07-19 15:24:51 -07:00
NewProject.xaml Implement "new project" 2019-06-22 17:38:07 -07:00
NewProject.xaml.cs Implement "new project" 2019-06-22 17:38:07 -07:00
ProjectLoadIssues.xaml Minor documentation updates 2019-07-06 10:58:24 -07:00
ProjectLoadIssues.xaml.cs Implement second project properties tab ("Project Symbols") 2019-07-05 14:53:45 -07:00
WorkProgress.xaml Minor documentation updates 2019-07-06 10:58:24 -07:00
WorkProgress.xaml.cs Minor reshuffling 2019-07-19 15:24:51 -07:00