Commit graph

665 commits

Author SHA1 Message Date
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
John Lewin
243d5d7ec2 Await ClearPlate call
- Issue MatterHackers/MCCentral#2343
Library Selection -> Print frequently fails to place selection on bed
2017-11-30 06:10:46 -08:00
John Lewin
1b69fba4dd
Merge branch 'design_tools' into design_tools 2017-11-29 22:48:10 -08:00
John Lewin
e5163afd4d Move x64 adornment to Help -> About MatterControl menu item 2017-11-29 21:32:27 -08:00
LarsBrubaker
2c159c4093 Set touchscreen mode when creating interface 2017-11-29 21:16:01 -08:00
John Lewin
a28e92bd27 Restore to prior bed plates
- Maintain all ViewMode across ReloadAll
- Move more GCode renderer data to model
2017-11-29 15:22:18 -08:00
John Lewin
4d6ed9f913 Add support for switching to plating history items 2017-11-29 14:16:21 -08:00
John Lewin
a76736e9a6 Disable controls when !EditableScene, add IsEnabled to NamedAction 2017-11-29 13:50:25 -08:00
John Lewin
6be6a91f1f Make LoadContent conditionally load GCode and mark as !EditableScene
- Make Save have no effect if ContentStore is null
2017-11-29 13:48:21 -08:00
John Lewin
a8ce44f7a3 Move EditContext to LoadContent call 2017-11-29 10:22:17 -08:00