1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-09 00:06:05 +00:00
6502bench/SourceGenWPF
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
..
AsmGen Implement the "configure" button in the asm/gen dialog 2019-07-16 17:16:47 -07:00
Properties
Res Show a wait cursor when refreshing larger projects 2019-07-19 11:41:18 -07:00
Sandbox Implement the "configure" button in the asm/gen dialog 2019-07-16 17:16:47 -07:00
Tests Improve save & restore of top line 2019-07-17 14:08:53 -07:00
Tools Implement debug info windows 2019-07-15 17:18:28 -07:00
WpfGui Minor reshuffling 2019-07-19 15:24:51 -07:00
AddressMap.cs
Anattrib.cs
App.config
App.xaml Rename ProjWin directory to WpfGui 2019-06-21 15:17:04 -07:00
App.xaml.cs
AppSettings.cs Implement Toggle ASCII Chart 2019-07-14 18:12:03 -07:00
AutoLabel.cs Implement first project properties tab ("General") 2019-07-03 14:27:54 -07:00
ChangeSet.cs
CodeAnalysis.cs
DataAnalysis.cs
DefSymbol.cs
DisasmProject.cs
DisplayList.cs Improve save & restore of top line 2019-07-17 14:08:53 -07:00
DisplayListSelection.cs Improve restoration of top position 2019-07-17 17:59:24 -07:00
ExternalFile.cs
FormatDescriptor.cs
HelpAccess.cs
LineListGen.cs Improve save & restore of top line 2019-07-17 14:08:53 -07:00
MainController.cs Minor reshuffling 2019-07-19 15:24:51 -07:00
MultiLineComment.cs Improve save & restore of top line 2019-07-17 14:08:53 -07:00
NavStack.cs Improve save & restore of top line 2019-07-17 14:08:53 -07:00
PlatformSymbols.cs
ProjectFile.cs Minor tweaks 2019-07-13 11:29:05 -07:00
ProjectProperties.cs
PseudoOp.cs
RuntimeDataAccess.cs
SourceGenWPF.csproj Implement Extension Script Info debug feature 2019-07-15 16:50:54 -07:00
Symbol.cs Move symbol sort comparison function into Symbol class 2019-06-17 12:44:02 -07:00
SymbolTable.cs
SystemDefaults.cs
SystemDefs.cs
UndoableChange.cs
WeakSymbolRef.cs
XrefSet.cs