Commit graph

212 commits

Author SHA1 Message Date
John Lewin
5e6290a501 Update breaking changes after rebase 2018-11-25 09:07:44 -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
cfeb515224 Move BedShape near PrinterSettings 2018-11-25 09:07:43 -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
LarsBrubaker
f0f953ef6b Make sure we use the sha1 of the MCX so we rebuild correctly
issue: MatterHackers/MCCentral#4625
Changing the scene objects (position) not causing slice to re-calculate
2018-11-24 19:59:05 -08:00
John Lewin
a6caed8f5e Add theme support for noContentFieldDescription
- Issue MatterHackers/MCCentral#4613
Unfilled text should be a desaturated color
2018-11-23 18:45:29 -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
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