Commit graph

69 commits

Author SHA1 Message Date
John Lewin
c66b29e90e Remove OpenPrinterIDs from ProfileManager
- Issue MatterHackers/MCCentral#4729
Investigate failing PrinterNameChange test
2018-12-19 09:09:17 -08:00
John Lewin
7b20dd9b41 CodeFactor clean up 2018-12-10 14:32:56 -08:00
John Lewin
527c57fb10 Add OpenEmptyPrinter method for common open use case 2018-12-10 14:15:37 -08:00
John Lewin
e48a5f04ed Rename method to match latest behavior 2018-12-10 14:15:37 -08:00
John Lewin
aae2ffdf76 Revise tab ordering and persistence logic
- Issue MatterHackers/MCCentral#4555
2018-12-10 14:15:37 -08:00
John Lewin
d850573340 Hook ProfileManager listener up to SettingChanged 2018-11-30 14:08:29 -08:00
John Lewin
ed16199978 Extract PrinterSettings from MatterControl 2018-11-30 14:08:29 -08:00
John Lewin
e53d1f614f Fire SettingChanged from ActiveMaterialKey setter 2018-11-30 14:08:29 -08:00
John Lewin
4ee6169778 Move MatterControl dependencies into application layer 2018-11-30 14:08:28 -08:00
Lars Brubaker
04211ec613 Removing PrinterCommunication from ActiveMaterialKey
issue: MatterHackers/MCCentral#4631
Remove PrinterConnection dependency in PrinterSettings.SetMaterialPreset
2018-11-26 14:23:03 -08:00
John Lewin
d7e243fd19 Extract embedded types to new files 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
3113235ab6 Extract GCodeMacro.Run to extension method 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
3a3061978b Move SHA1 helpers into Agg, remove DataConverters3D dependency 2018-11-25 09:07:44 -08:00
John Lewin
91a9c33af7 Move LevelingSystem near PrinterSettings 2018-11-25 09:07:44 -08:00
John Lewin
c152da0228 Remove Localization dependency 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
John Lewin
34c0c8cd30 Move settings recovery methods into ProfileManager 2018-11-25 09:07:43 -08:00
John Lewin
a0cd7eee52 Skip fields during merge that already equal target value
- Issue MatterHackers/MCCentral#4627
PrinterSettings merge pushes every imported value into target layer
2018-11-25 07:01:59 -08:00
John Lewin
0789160653 Only Save if changed
- Reduce file in use exceptions
2018-11-21 12:22:36 -08:00
John Lewin
d57620bc00 CodeFactor fixes 2018-11-21 11:18:14 -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
466431b7e9 Remove UserChanged method, collapse into ProfileManger.Load(userID) 2018-11-21 11:12:50 -08:00
John Lewin
0137413966 Ensure _activeProfileIDs initialized before use 2018-11-21 11:12:50 -08:00
John Lewin
c30eb13688 Fire ActiveProfileModifed on Save if printer is open, pass Settings 2018-11-19 17:43:23 -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
a15c98ea42 Dispose previous ProfileManager instance before assigning new 2018-11-16 15:53:44 -08:00
John Lewin
65ff632681 Make ProfileManager Disposable 2018-11-16 15:53:44 -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
6de4906ee9 Remove dead code 2018-11-15 20:03:49 -08:00
Lars Brubaker
0babdab806 cleaning up MappedSetting 2018-11-14 13:33:25 -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
6e9d7b4b63 Remove ActivePrinter reference 2018-11-12 09:44:59 -08:00
John Lewin
1e7ac7f885 Remove LoadPrinter 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
b7ae930450 Allow caller to suppress PrinterChanged from LoadPrinter(profileID) 2018-11-07 13:28:52 -08:00
John Lewin
1bf988ddb6 Add LoadPrinter(profileID) overload 2018-11-07 09:08:54 -08:00
Lars Brubaker
234ab03072 Improving default loading markdown text
improving layout of progress bar in loading and unloading
2018-11-06 09:33:44 -08:00
Lars Brubaker
734bd88c86 Made the unloading wizard code rather than macro
Took out the macro processing stream
2018-11-05 11:08:21 -08:00
John Lewin
c279f8a511 Fix typo
- Issue MatterHackers/MCCentral#4485
Consider renaming recently added config setting with typo in name
2018-11-03 08:45:17 -07:00
John Lewin
958acf97a3 Fix typos 2018-11-02 22:52:08 -07:00
Lars Brubaker
775f1982bd Re-wrote the load filament wizard as not a macro so we have more control over it
Added it to the setup steps

issue: MatterHackers/MCCentral#4429
Put in a loading filament as part of initial setup process
2018-11-02 16:14:37 -07:00
Lars Brubaker
4ab0cf715d Improved slicing error messages
Get the location from the settings organizer
Get the display name of the setting from the settings organizer
Moved more settings strings to SettingsKey

issue: MatterHackers/MCCentral#4231
setting layer thickness to 0 is not displaying an error message
2018-10-26 14:51:16 -07:00
John Lewin
a7d9154e5a Add Recent menu item to bed menu to replace history bar
- Issue MatterHackers/MCCentral#4376
2018-10-25 08:25:36 -07:00