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
John Lewin
559402b2b1
WaitForDraw should return on Draw or Close
...
- Revise default wait value due to observed hangs
- Catch AppDomainUnloaded exception and exit background thread/loop
2017-12-09 14:20:25 -08:00
John Lewin
8a8c898043
Add ContentReloaded to ListView, wait in tests for ContentReloaded
2017-12-07 14:54:41 -08:00
Lars Brubaker
b665025e17
Made do undo work for subtract, support, color, intersect & paint
2017-12-07 13:22:07 -08:00
Lars Brubaker
71979e35e9
Unify to single GetNonCollidingName
...
Improve it to check for and replace numbers
add new calling method
Make sure Object3D Close does not end up modifying object in processes
Don't try to render meshes with no faces
2017-12-06 16:31:04 -08:00
John Lewin
35cdcb11b1
Convert cached localizations into dynamic calls
2017-12-04 15:07:56 -08:00
John Lewin
96ef163ef3
Localize anytime Title getter is invoked
2017-12-04 15:07:55 -08:00
John Lewin
9e21acbaeb
Expose CreatePartTab, guard for null
2017-12-04 15:07:55 -08:00
John Lewin
3ea03cb120
Use the passed in printer reference
2017-11-30 17:53:29 -08:00
John Lewin
4c98e099c7
Remove ApplicationClosed event from ApplicationController
2017-11-30 08:52:01 -08:00
John Lewin
781017999c
Move Selection -> Print from ui to model
2017-11-30 07:03:42 -08:00
John Lewin
bf1bba0792
Remove unused View3DWidget dependency
2017-11-30 06:58:27 -08:00
John Lewin
6f608bbeaa
Move AddToPlate from ui to model
2017-11-30 06:51:06 -08:00