John Lewin
4016f0e4bb
Make deprecated ActivePrinter return first open printer or Empty
2018-11-21 19:24:53 -08:00
John Lewin
1559e58e88
Convert static ImageBuffers to instances
...
- Issue MatterHackers/MCCentral#4585
Memory leak in ImageWidget when source image is static
2018-11-21 19:24:53 -08:00
John Lewin
ab82ad7a75
Use HoverImageWidget
...
- Issue MatterHackers/MCCentral#4585
Memory leak in ImageWidget when source image is static
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
johnlewin
f35d4aaf7b
Merge branch 'master' into master
2018-11-16 16:23:06 -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
115abf3c4a
Revise naming for clarity
2018-11-16 15:59:15 -08:00
John Lewin
8a908136e6
Consolidate duplicate SettingChanged listeners
2018-11-16 15:53:44 -08:00
John Lewin
97dc6aeb4b
Make Connection reference readonly
2018-11-16 15:53:44 -08:00
John Lewin
1a4ac719c4
Extract local function event listeners to common format
...
- Move Disposed listener body to Dispose function
2018-11-16 15:53:44 -08:00
John Lewin
87ba5160bd
Move listener registration into constructor
2018-11-16 15:53:44 -08:00
John Lewin
e2c50f166e
Use Dispose method for unregister listeners
2018-11-16 15:53:44 -08:00
John Lewin
022a82bb27
Extract local function event listeners to common format
2018-11-16 15:53:44 -08:00
John Lewin
bbcc3018f6
Listen for SettingChanged and update profile name/port as needed
...
- Move behavior back into ProfileManager
- Issue MatterHackers/MCCentral#4600
Hardware tab not syncing name changes
2018-11-16 15:53:44 -08:00
John Lewin
f49f216363
Clear Disposed listeners after invoking event
2018-11-15 21:22:58 -08:00
John Lewin
06e79394f2
Unregister listeners on Printer.Disposed
...
- Issue MatterHackers/MCCentral#4589
Ensure all printer.Disposed calls unregister listeners
2018-11-15 21:01:01 -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
Lars Brubaker
0ddf1dee30
refactoring
2018-11-15 16:48:38 -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
Lars Brubaker
0babdab806
cleaning up MappedSetting
2018-11-14 13:33:25 -08:00
John Lewin
75571dbe49
Set Fix thumbnails - set blender before scaling/saving image
...
- Issue MatterHackers/MCCentral#4572
Poor quality item thumbnails due to incorrect alpha/edge blending
2018-11-14 11:17:01 -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
1c9b105926
finishing up the removal of Rooded SettingsChanged
...
Added AnyPrinterSettingChanged event
2018-11-13 09:48:10 -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
64ec76627f
Remove InsertNewItem coupling to ActivePrinter
...
- Issue MatterHackers/MCCentral#4549
Remove ActivePrinter from ApplicationController
2018-11-11 08:59:00 -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