Lars Brubaker
d8d3e23522
Put in the action menus and controls.
2016-12-08 15:39:23 -08:00
Lars Brubaker
837c445e0b
Fixed shared temp showing correct controls for multiple extruders.
2016-12-07 15:45:46 -08:00
John Lewin
755c7ac2aa
Rewrite PrinterConfigTests to use .printer/PrinterSettings files
...
- Migrate first_layer_speed to SettingsKey
- Use specialized Asserts to assist in troubleshooting
- Improve failure text to assist in troubleshooting
- Process all layers in .printer files
2016-12-05 15:18:43 -08:00
Lars Brubaker
ff0c2738d8
Made importing a quality setting set the name correctly.
2016-11-07 12:41:05 -08:00
John Lewin
bd8c4b64f9
Ensure preset values initially take precedence over user overrides
2016-11-07 11:24:49 -08:00
John Lewin
861e8d4f1a
Include more scope in lock
2016-10-31 13:34:36 -07:00
Lars Brubaker
6509b8f287
Change wording to 'Restore Settings'
2016-10-28 16:32:00 -07:00
Lars Brubaker
47968f566f
Going back to the old leveling method.
2016-10-19 16:03:08 -07:00
Lars Brubaker
b659a3ea50
Make sure we clear z_offset_after_home on reset.
2016-10-18 15:58:50 -07:00
Lars Brubaker
aa2fde82fb
Import Settings now working
...
Moved merge into PrinterSettings
With test
2016-10-05 14:57:37 -07:00
Lars Brubaker
99709f9d21
Warn if printer recovery is enabled and there is a g29 or g30 in start gcode
2016-10-05 11:07:32 -07:00
Lars Brubaker
de12a5c8ba
Finished print leveling test – fixed reset to defaults
...
Moved more things to settings key
Disabled end-user license agreement on Mac for now
2016-09-27 12:47:15 -07:00
John Lewin
04ae06199c
Clear print_leveling_data on 'Reset To Defaults'
...
- Create and use SettingsKey for print_leveling_data
2016-09-23 18:19:51 -07:00
John Lewin
ee52f24835
Upgrade to NUnit3
...
- Revise hard-coded paths for compatibility with new VS adapter
- Add utility functions for path generation
- Extract SHA1 computation from Save function
- Add ToJson helper function
- Don't save SHA1 in computed document
- Remove Asserts from CloseMatterControl, extend wait period
- Add TestAutomationConfig type replacing serialized Dictionary
2016-09-21 14:13:39 -07:00
John Lewin
662c4e649b
Revise IsDirty property - perform actual thumbprint comparison
...
- Now compares last known server thumbprint to latest content thumbprint
- Fixes need to continually reset flag based on save conditions
- Will be accurate as long as ServerSHA1 is updated any time we pull updates
2016-09-15 12:05:00 -07:00
John Lewin
4ad70ca38c
Revise IsDirty and profile/printersettings nomenclature
2016-09-14 12:36:12 -07:00
John Lewin
312f652bbb
Use short identifiers for public profiles
...
- Add support for new GetProfileList schema
- Add CacheablePath function to abstract and reuse path generation logic
- Serialize LoadCacheable content in human readable form
- Move public-profile cache into like named folder
- Move public-profile items into oem specific folders
- Reuse LoadOemProfileAsync for persistence instead of custom implementation
- Issues MatterHackers/MCWS#72 , MatterHackers/MCWS#84
2016-09-03 17:12:11 -07:00
John Lewin
938c4c2267
Skip save operation when on the EmptyProfile
...
- Fixes regression in MorePauseHandlingStreamTests
2016-08-31 18:49:29 -07:00
John Lewin
98c26d0a7c
Add locking around file save operations
2016-08-31 13:57:43 -07:00
Lars Brubaker
22bca53d69
Changed the theme colors to save by name
...
fixed linux run bug MatterHackers/MCCentral#344
ActiveTheme does not recreate its data all the time
2016-08-31 11:42:02 -07:00
John Lewin
b498f80254
Fall back to dummy profile to assist Delete operations as last resort
2016-08-12 13:29:22 -07:00
John Lewin
70899bbedf
Prevent unhandled exceptions when indexing into OemProfiles
...
- Return null on caught exceptions
- Issue MatterHackers/MatterControl#1285
2016-08-12 13:29:22 -07:00
John Lewin
e7b82a47e4
Improve history recovery, try up to the last 5 history items
2016-08-12 13:29:22 -07:00
John Lewin
3bc253a3fe
Migrate recovery logic from PrinterSettings.LoadFile to PrinterSettings.RecoverProfile
2016-08-12 13:29:22 -07:00
Matt Moening
5b8ff5cd29
Changed TryGetValue to ContainsKey for clarity
2016-08-11 13:01:34 -07:00
Matt Moening
bdf3e8f2a5
Importing a printer/settings from a file will now notify the user if the file contains no valid user settings
...
- ImportFomEisting now returns a bool of whether or not it succeeded
- PrinterSettings now has a Contains method
- merging or importing quality/material settings check to make sure at least one setting was importable and notifies user if not
2016-08-10 16:39:08 -07:00
John Lewin
e29bf11631
Skip migrations if DocumentVersion missing
...
- Disable old migrations
- Issue MatterHackers/MCCentral#252
2016-08-04 08:57:14 -07:00
John Lewin
43e94f6ed4
DownloadPrinterProfile should return an instance of PrinterSettings
...
- Persistence of profile moves to caller
- Rename to GetPrinterProfileAsync
- Expose PrinterSettings.Save for use in external assemblies
- Issue MatterHackers/MCCentral#227 , MatterHackers/MCCentral#242
2016-07-28 09:46:12 -07:00
John Lewin
4d0fb6e67c
Revise Oem settings tests
...
- Remove no longer necessary LayerInfo class
- Remove now redundant MaterialLayers, QualityLayers properties
- Remove ConfigIni property
- Remove unused functions
- Refactor tests to receive a PrinterSettings param
2016-07-20 18:32:17 -07:00
John Lewin
98ee008046
Improve comments to better describe behavior
2016-07-20 18:31:20 -07:00
Matt Moening
d96531152b
converted oemprofiles to be .printer files and to be retrieved as such from various locations.
...
Updated to test to reflect the actions actually done by the request (not sure why they were not failing before)
2016-07-20 17:39:19 -07:00
johnlewin
edc7e13f3b
Merge pull request #1135 from gregory-diaz/master
...
Added the ability for users to load the last usable profile in their profile history in the event that their current profile is corrupt. Also added the ability to load a public profile in the event that a guest profile is corrupt.
2016-07-20 12:34:30 -07:00
Greg
e6a6abee72
Added the ability for users to load the last usable profile in their profile history in the event that their current profile is corrupt. Also added the ability to load a public profile in the event that a guest profile is corrupt.
2016-07-19 17:21:59 -07:00
Greg
e4c30c80ca
Added ability to recover from errors encountered when trying to load corrupted user and guest profiles.
2016-07-19 15:29:47 -07:00
Lars Brubaker
e5c617024a
Merge branch 'master' of https://github.com/MatterHackers/MatterControl
2016-07-19 13:29:04 -07:00
Lars Brubaker
451626504e
Renamed SettingsProflie to SettingsHelpers
2016-07-19 13:28:10 -07:00
Greg
b08cb616e9
refactored recover user profile code so that it works with the changes to PrinterSettings that were pushed yesterday.
2016-07-19 13:27:20 -07:00
Matt Moening
8789c4681e
Printer Settings defaults DocumentVersion to the lastest
...
Serializing Printer setting now Ignores Helpers and PrinterSelected
2016-07-19 12:50:04 -07:00
John Lewin
215a27f79c
Revert back to lazy loaded KnownSettings
2016-07-18 18:24:01 -07:00
John Lewin
80dab6c9e8
Make PrintLevelingChange event static
...
- Cleanup namespaces
- Guard for null reference with null conditional invoke
2016-07-18 16:58:25 -07:00
John Lewin
85b2ddefc3
Rename PrintLevelingEnabled event
2016-07-18 16:58:25 -07:00
John Lewin
54d165d15f
Consolidate member names
2016-07-18 16:58:25 -07:00
John Lewin
42f133aa70
Consolidate SettingsProfile and PrinterSettings types
2016-07-18 16:58:25 -07:00