Commit graph

686 commits

Author SHA1 Message Date
John Lewin
2ab8002655 Rename sent/received events
- Issue MatterHackers/MCCentral#2597
Rename ReadLine event to resolve ambiguity in terms
2018-01-06 22:03:26 -08:00
John Lewin
59093ab73f Move ReadLine replacement string parsing back into PrinterConnection
- Ensure update on settings change
2018-01-06 16:03:03 -08:00
John Lewin
f46aacf5c4 Remove SliceSettings coupling from PrinterConnection
- Add properties to PrinterConnection for dependencies in SliceSettings
- Set properties on construction
- Sync properties on change
2018-01-06 13:26:28 -08:00
John Lewin
723a48bcea Remove Connect failed/troubleshoot UI from PrinterConnection
- Remove showHelpIfNoPort param
2018-01-06 12:00:14 -08:00
John Lewin
f5d31e7d29 Move Printing objects from GCodeVisualizer namespace to MC.Printing 2018-01-05 12:44:57 -08:00
John Lewin
38666e89c4 Maintain state across ReloadAll
- Issue MatterHackers/MCCentral#2561
Configure -> Printer should survive ReloadAll
2018-01-03 15:25:17 -08:00
Lars Brubaker
7741b3a278 Update the default name we use to save the workspace 2018-01-03 14:49:47 -08:00
John Lewin
1399414af7 Use different alpha values for dark TabBodyBackground
- Issue MatterHackers/MCCentral#2559
Unexpected color change after opaque background change
2018-01-03 11:23:38 -08:00
John Lewin
13a0bbaa73 Move DataStore.Initialize before db dependent GetStartupBounds call
- Issue MatterHackers/MCCentral#2538
Can't run with no MatterControl directory (new install)
2018-01-01 19:52:49 -08:00
John Lewin
066d16599e Calculate TabBodyBackground on theme change 2018-01-01 11:33:45 -08:00
John Lewin
a59e580a3a Use opaque color for TabBodyBackground 2018-01-01 11:33:45 -08:00
John Lewin
e939dd0d8d Move PrinterConnectionStatus from PrinterConnection to printer model
- Issue MatterHackers/MCCentral#2535
Remove localization from PrinterConnection
2017-12-31 06:14:19 -08:00
John Lewin
fb092a6334 Inline local variable 2017-12-28 16:45:34 -08:00
John Lewin
496b0940db IsLoading should be true until initialization is complete 2017-12-27 17:35:21 -08:00
John Lewin
8754ef2912 Revise naming 2017-12-26 08:15:28 -08:00
John Lewin
c82e35831a Use backing field style 2017-12-24 10:44:26 -08:00
John Lewin
0173d42777 Constructed GCodeRenderInfo instance should use current ActiveLayerIndex
- Clip to current LayerCount if now smaller
- Issue MatterHackers/MCCentral#2497
Maintain GCode layer position across ReloadAll/Slice operations
2017-12-24 10:44:25 -08:00
John Lewin
36b7c2325d Fix timing issues by constructing local state before firing events
- Assign LoadedGCode only after constructing GCodeRenderer
   Otherwise assignment fires LoadedGCodeChanged and Renderer is null
2017-12-24 10:44:25 -08:00
John Lewin
522542f0d4 Simplify 2017-12-24 10:44:25 -08:00
John Lewin
3ec56fb0d9 Make LoadedGCode setter private, force callers through LoadGCode method 2017-12-24 10:44:25 -08:00
John Lewin
d89ae77034 Defer loading GCode until switching to views that need it
- Issue MatterHackers/MCCentral#2491
Lazy load GCode as needed, ideally only after the user switches to GCode
based views
2017-12-24 10:44:25 -08:00
John Lewin
4415300a1f Move heavy tasks out of constructor, make awaitable
- Add support for awaitable startup
- Issue MatterHackers/MCCentral#2423
Select printer not changing to new printer
2017-12-20 18:26:48 -08:00
John Lewin
968433ab93 Load GCode as long running task
- Issue MatterHackers/MCCentral#2470
MatterControl should display long running task for initial gcode load
2017-12-20 18:26:48 -08:00
John Lewin
2594ffa7c3 Set state early, before long running awaited tasks
- Issue MatterHackers/MCCentral#2469
MatterControl throw null reference exception on EditContext
2017-12-20 18:26:47 -08:00
John Lewin
0195afc094 Rename member to reflect actual behavior 2017-12-20 18:26:47 -08:00
Lars Brubaker
5cce6e1f7a Made the default library folders sorted 2017-12-20 16:13:07 -08:00
Lars Brubaker
bbdf01c85e Changed copy button to duplicate 2017-12-19 10:30:08 -08:00
John Lewin
4ed9724634 LoadRootWindow should not call ShowAsSystemWindow 2017-12-18 22:02:10 -08:00
John Lewin
d1bdf5fa72 Use RunOnIdle for widget updates 2017-12-18 18:36:41 -08:00
John Lewin
5bbe550539 Change typename to reflect new shared platform role 2017-12-18 17:45:59 -08:00
John Lewin
6441cc92bd Make startup components more generic for reuse on touchscreen 2017-12-18 17:45:32 -08:00
John Lewin
bbd48bd12c Extract embedded class to new file 2017-12-18 17:21:39 -08:00
John Lewin
bc5ba21c58 Move FindAndInstantiatePlugins to INativePlatformFeatures 2017-12-18 13:17:31 -08:00
John Lewin
4df0a9f9db Guard for null 2017-12-18 13:16:40 -08:00
John Lewin
c0e1029382 Move IsLoading to ApplicationController 2017-12-18 12:51:39 -08:00
John Lewin
51d91796c2 Add CachePath overload for with/height 2017-12-18 10:53:26 -08:00
John Lewin
614d29fa7c Remove redundant DesktopView/ApplicationView constructs 2017-12-18 10:53:26 -08:00
John Lewin
93f215e5c6 Move initialization logic into MatterControlApplication 2017-12-18 10:53:26 -08:00
John Lewin
08018ea1c3 Remove MatterControlApplication.Instance dependencies 2017-12-18 10:53:26 -08:00
John Lewin
7b4020523e Add AppContext object, move platform features to AppContext 2017-12-18 10:53:26 -08:00
John Lewin
d074eabdb5 Move LaunchBrowser from widget to model 2017-12-18 10:53:25 -08:00
John Lewin
8839ed6e6c Rename WaitVanishForName to WaitForWigetDisappear 2017-12-15 23:35:24 -08:00
John Lewin
494c2b6d82 Remove redundant helper method 2017-12-15 14:55:10 -08:00
Lars Brubaker
d2b5bd0a44 try catch on long running task
don't crash subtract cancel
2017-12-12 18:18:39 -08:00
John Lewin
bd79414c34 Enable pause/resume on task, remove pause/resume/cancel from bar
- Issue MatterHackers/MCCentral#2407
Extend Tasks.Execute to support custom pause/stop implementations
2017-12-12 17:53:32 -08:00
Lars Brubaker
f9378f4405 Adding some progress reporting to subtract
Moved ProgressStatus to agg
2017-12-12 12:32:14 -08:00
John Lewin
0501ce97de Include layer number in concise status label 2017-12-12 09:01:55 -08:00
John Lewin
cbc2db9797 Long running print task 2017-12-11 22:22:56 -08:00
John Lewin
ebea5a5bdb Remove extra scaling, special styling, for touchscreen
- Issue MatterHackers/MCCentral#2334
Create folder is not open to right size
2017-12-11 21:09:40 -08:00
John Lewin
f401278d25 Long running tasks prototype
- Issue MatterHackers/MCCentral#2393
Finish up and check in long running tasks prototype
2017-12-11 15:42:17 -08:00