Commit graph

12605 commits

Author SHA1 Message Date
johnlewin
d8564f4076
Merge pull request #4014 from jlewin/master
Use HoverImageWidget
2018-11-21 19:34:53 -08:00
John Lewin
96861a5e46 Auto complete Setup... button for tests 2018-11-21 19:24:53 -08:00
John Lewin
4016f0e4bb Make deprecated ActivePrinter return first open printer or Empty 2018-11-21 19:24:53 -08:00
John Lewin
138898a4b7 Fix QualitySettingsStayAsOverrides test 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
johnlewin
ba93af0e3e
Merge pull request #4013 from jlewin/master
Restore printer tabs
2018-11-21 19:24:40 -08:00
John Lewin
4b0c28b489 Restore printer tabs
- Add missing code in accidental stash
2018-11-21 17:10:44 -08:00
johnlewin
4f07ef398b
Merge pull request #4012 from jlewin/master
Fix null ref during print due to invalid reference
2018-11-21 12:54:04 -08:00
John Lewin
cf1ba487c5 Fix null ref during print due to invalid reference
- Issue MatterHackers/MCCentral#4610
Disconnect after starting print
2018-11-21 12:22:36 -08:00
John Lewin
0789160653 Only Save if changed
- Reduce file in use exceptions
2018-11-21 12:22:36 -08:00
johnlewin
4d21cbebbb
Merge pull request #4011 from jlewin/master
Remove dead code
2018-11-21 12:00:22 -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
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
0137413966 Ensure _activeProfileIDs initialized before use 2018-11-21 11:12:50 -08:00
John Lewin
4141c10e86 Remove dead code 2018-11-21 11:12:49 -08:00
johnlewin
8fa3fab022
Merge pull request #4010 from jlewin/master
Fix MainViewWidget leak, check for updates on startup
2018-11-20 17:19:50 -08:00
John Lewin
178eff308e Revise refs and listeners so MainViewWidget finalizes after Close 2018-11-20 16:43:45 -08:00
John Lewin
ca5e25e0ed Ensure animation on update available 2018-11-20 16:40:12 -08:00
John Lewin
afeabf3f8a Always check for updates on startup
- Issue MatterHackers/MCCentral#4607
Clean install does not check for updates
2018-11-20 16:40:12 -08:00
John Lewin
34288ff48d Use auto property 2018-11-20 16:40:12 -08:00
John Lewin
2e1080f578 Simplify 2018-11-20 16:40:11 -08:00
John Lewin
2ccd0f9180 Refactor listener name 2018-11-20 16:40:11 -08:00
John Lewin
0e420fcc32 Remove invalid setter 2018-11-20 16:40:11 -08:00
John Lewin
f739107bd4 Simplify 2018-11-20 16:40:11 -08:00
John Lewin
18c15c62b7 Inline localizations 2018-11-20 16:40:11 -08:00
John Lewin
db15c85121 Eliminate SetInterval for animation, invoke when auto shown 2018-11-20 16:40:11 -08:00
John Lewin
4dbb2fee15 Extract animation helper to method 2018-11-20 12:02:29 -08:00
johnlewin
e5ce8b13fd
Merge pull request #4009 from jlewin/master
Remove ActivePrinter references
2018-11-20 07:53:26 -08:00
John Lewin
53ebb41469 Only rebuild if changed settings ID is this printer ID 2018-11-19 17:44:10 -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
d0e0eae3a1 Remove ActivePrinter release
- Becomes unneccessary when property is removed (coming shortly)
2018-11-19 11:33:41 -08:00
Lars Brubaker
458835edde
Merge pull request #4004 from larsbrubaker/master
Make Connection OnIdle work for multiple printers
2018-11-16 17:18:44 -08:00
Lars Brubaker
7b7efc1328 Make Connection OnIdle work for multiple printers
MatterHackers/MCCentral#4602
2018-11-16 17:02:05 -08:00
johnlewin
7c0c405fdf
Merge pull request #4003 from jlewin/master
Revise listeners for improved cleanup
2018-11-16 16:38:30 -08:00
johnlewin
f35d4aaf7b
Merge branch 'master' into master 2018-11-16 16:23:06 -08:00
johnlewin
d76f6a283a
Merge pull request #4002 from larsbrubaker/master
Make sure we still auto connect
2018-11-16 16:22:57 -08:00
John Lewin
e954344416 CodeFactor cleanup 2018-11-16 16:12:48 -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