Commit graph

122 commits

Author SHA1 Message Date
John Lewin
92a89367ec Add experimental shell support
- Issue MatterHackers/MCCentral#4591
Make MC run single instance
- Issue MatterHackers/MCCentral#4638
Open passed in stl files to a new design tab
2018-11-27 12:25:52 -08:00
John Lewin
da3bccb601 Move UI behavior into application layer 2018-11-25 09:07:44 -08:00
John Lewin
2a2e052b53 Remove PrinterConfig reference from PrinterSettings 2018-11-25 09:07:44 -08:00
John Lewin
0b92b094eb Extract leveling validation from PrintLevelingData 2018-11-25 09:07:44 -08:00
John Lewin
2abdf9484b Extract settings validation from PrinterSettings
- Validation currently coupled to UI and MatterControl data
- Extracting to isolate dependencies
2018-11-25 09:07:43 -08:00
John Lewin
96383bd8c0 Remove SDCardContainer until replacement becomes available 2018-11-23 11:08:50 -08:00
John Lewin
984369e21e Move private members below public, restore Android namespaces 2018-11-23 11:06:09 -08:00
John Lewin
a73659d6b9 Add error reporting to ApplicationController 2018-11-23 11:04:22 -08:00
John Lewin
4016f0e4bb Make deprecated ActivePrinter return first open printer or Empty 2018-11-21 19:24:53 -08:00
John Lewin
9923e13ac6 Clean up state after Delete Printer action
- Ensure OpenPrinters lists are up-to-date
- Ensure ID changes get synced
- Notify listeners when UserChanged due to sign in/out
- Clear ActivePrinters on UserChanged
- Eliminate WaitForReloadAll in non-reload scenario
2018-11-21 11:12:50 -08:00
John Lewin
ba862715c7 Revise naming to clarify behavior 2018-11-21 11:12:50 -08:00
John Lewin
be1062e7d1 Remove invalid comments, note concerns 2018-11-21 11:12:50 -08:00
John Lewin
466431b7e9 Remove UserChanged method, collapse into ProfileManger.Load(userID) 2018-11-21 11:12:50 -08:00
John Lewin
4141c10e86 Remove dead code 2018-11-21 11:12:49 -08:00
John Lewin
d0e0eae3a1 Remove ActivePrinter release
- Becomes unneccessary when property is removed (coming shortly)
2018-11-19 11:33:41 -08:00
Lars Brubaker
7b7efc1328 Make Connection OnIdle work for multiple printers
MatterHackers/MCCentral#4602
2018-11-16 17:02:05 -08:00
Lars Brubaker
cfdf796d92 Make sure we still auto connect
issue: MatterHackers/MCCentral#4601
Make AutoConnect work with new multiple open printer tabs
2018-11-16 16:05:16 -08:00
John Lewin
5fe1d0e225 Use naming consistent with return types & behavior
- Issue MatterHackers/MCCentral#4554
Remove Profile nomenclature from ProfileManager
2018-11-15 20:03:49 -08:00
John Lewin
4113a18436 CodeFactor cleanup 2018-11-15 15:06:47 -08:00
John Lewin
8b9f455b43 Release references 2018-11-15 14:51:08 -08:00
Lars Brubaker
987953e1ef Remove PrintingItemName from application controller
issue: MatterHackers/MCCentral#4582
2018-11-14 16:54:32 -08:00
Lars Brubaker
0eb7b1cb3c remove active printer from PrintItemWrapper
issue: MatterHackers/MCCentral#4574
2018-11-14 14:29:13 -08:00
John Lewin
febe76e55d Invoke printer.Dispose from ClosePrinter method 2018-11-13 16:54:45 -08:00
John Lewin
091ed952cc Support export to any printer profile
- Issue MatterHackers/MCCentral#4565
2018-11-13 12:35:04 -08:00
Lars Brubaker
6405dad7ac Convert static SettingChanged event to instance based
issue: MatterHackers/MCCentral#4551
2018-11-12 17:45:13 -08:00
John Lewin
f492e9389c Ensure ActivePrinters updated on OpenPrinter call 2018-11-12 09:45:00 -08:00
John Lewin
d90102d8f5 Add mechanism for export to select context before options 2018-11-12 09:45:00 -08:00
John Lewin
1c4075ad54 Remove RefreshActiveInstance, use SwapToSettings 2018-11-12 09:44:59 -08:00
John Lewin
426c117434 Simplify naming for clarity 2018-11-12 09:44:59 -08:00
John Lewin
a7385aa057 Convert ConditionallyCancelPrint to extension method
- Extract printer extension methods to common class
2018-11-12 09:44:59 -08:00
John Lewin
4ce363e29b Pass printer reference, remove static ActivePrinter references 2018-11-12 09:44:59 -08:00
John Lewin
731a4e2506 Remove DragDropData.Printer 2018-11-12 09:44:59 -08:00
John Lewin
ab79d84a04 Remove SetActivePrinter 2018-11-12 09:44:59 -08:00
John Lewin
39308e5b79 Restore open printers on load 2018-11-12 09:44:59 -08:00
John Lewin
0d9e6aadf2 Experimental multi-printer support 2018-11-12 09:44:59 -08:00
John Lewin
c5cd0b2ebc Add AnyPrintTaskRunning helper property 2018-11-11 13:16:32 -08:00
John Lewin
6e7c81bfdb Use passed in printer references rather than static ActivePrinter 2018-11-11 12:57:28 -08:00
John Lewin
63997e2f62 Mark ActivePrinter as obsolete 2018-11-11 12:57:01 -08:00
John Lewin
712dadd3a7 Convert Paste/DuplicateItem to receive sceneContext
- Required to remove ActivePrinter from InsertNewItem
- Issue MatterHackers/MCCentral#4549
Remove ActivePrinter from ApplicationController
2018-11-11 08:51:50 -08:00
John Lewin
5489c3b09a Pass SceneContext instead of Scene to SceneSelectionOperations
- Required to remove ActivePrinter from InsertNewItem
- Required to break ActivePrinter dependencies
- Issue MatterHackers/MCCentral#4549
Remove ActivePrinter from ApplicationController
2018-11-11 08:51:50 -08:00
Lars Brubaker
566be7c9cb Remaining RootedEvents removed 2018-11-09 14:32:05 -08:00
John Lewin
704d4c1d7b Fix post-rebase errors 2018-11-09 12:04:56 -08:00
Lars Brubaker
5232361758 Thought experiment on moving a rooted event to an event 2018-11-09 09:15:47 -08:00
John Lewin
0441528b3d Conditionally switch to GCode view only after slicing success
- Issue MatterHackers/MCCentral#4533
Consider if switching to GCode view while slicing is best experience
2018-11-08 05:40:01 -08:00
Lars Brubaker
d2f6dcf8bc Made to so we save all workspaces before exit
issue: MatterHackers/MCCentral#4318
Part tab fails to persist on close
2018-11-07 15:13:23 -08:00
John Lewin
a1170d9d24 Add mechanism to track and restore to printer tab after sign in/out
- Issue MatterHackers/MCCentral#4526
Sign out switches to Store page
2018-11-07 14:32:51 -08:00
John Lewin
b7ae930450 Allow caller to suppress PrinterChanged from LoadPrinter(profileID) 2018-11-07 13:28:52 -08:00
John Lewin
7b578ac098 Execute UserChanged synchronously
- Ensures that ProfileManager is at correct state after callers
  invoke ChangeCloudSyncStatus - otherwise RunOnIdle invokes late
  and ProfileManager.Instance will remain on previous user for
  and indeterminate amount of time
2018-11-07 09:08:15 -08:00
John Lewin
37a119aaa7 Remove disruptive dialog interfering with workflow and in wrong spot
- Issue MatterHackers/MCCentral#4486
Copy Printers To Account should not load after signing in
2018-11-07 09:04:17 -08:00
John Lewin
bed543ac10 Add network status panel to status bar, remove from sign-in droplist 2018-11-06 16:34:07 -08:00