Commit graph

72 commits

Author SHA1 Message Date
Lars Brubaker
d129a75311 We can now move all the way through the initial setup on first run
Fixed a bug with timing of injecting regex replacements
moved T (extruder) tracking to queued command stream
check that we have loaded filament on extruder 1

issue: MatterHackers/MCCentral#5029
Don't do actual switch of extruders until there is a pending move command
2019-02-07 14:28:22 -08:00
John Lewin
f06e67a65e Use EventHandler<StringEventArgs> for SettingChanged event
- Issue MatterHackers/MCCentral#4730
Event should declare specialized EventArgs used via EventHandler<T>
2018-12-21 18:37:11 -08:00
John Lewin
801363fe49 ReloadAll should not rebuild workspaces
- Issue MatterHackers/MCCentral#4704
2018-12-19 15:53:54 -08:00
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