John Lewin
4e727def1b
Code clean up
...
- Remove unused SaveAs function from SlicePresetsWindow
- Remove unused LoadProfileFromMCWS()
- More consistent formatting
- Move SetValue call after adding Profile, to ensure ProfilePath works during save
2016-08-31 13:57:49 -07:00
John Lewin
98c26d0a7c
Add locking around file save operations
2016-08-31 13:57:43 -07:00
Lars Brubaker
db24db1cf2
Made the settings history be disabled when not signed in.
...
MatterHackers/MCCentral#330
Settings History menu should be disabled when not signed in
2016-08-31 13:09:06 -07:00
Lars Brubaker
b6dcacdef9
Fixed a problem with create new printer
2016-08-31 12:49:25 -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
Lars Brubaker
698426858e
Made the default theme blue - light.
...
Moved setting to UserrSettingsKey
2016-08-30 17:30:31 -07:00
Lars Brubaker
cd7406d82b
Created a UserSettingsKey and SystemSettingsKey
...
Moved some settings into this, lots more to do
2016-08-30 10:30:55 -07:00
Lars Brubaker
7981513b6e
Adding in the ability to turn on and off thin line code
...
Sorted some settings lists
Put in minimum thin line width option
Clean thin line output
2016-08-26 12:13:39 -07:00
Lars Brubaker
98c114f79b
Got the check and uncheck of reload ui settings to work
...
Wrote a test
Added heat_extruder_before_homing
2016-08-25 17:43:30 -07:00
Lars Brubaker
1ce37c3d31
Merge pull request #1292 from gregory-diaz/master
...
On first run we effectively sign out user so that they will be forced to sign in and import printers
2016-08-17 18:29:17 -07:00
Lars Brubaker
357a497505
Fixed a bug with pause resume gcode
...
Made a new test.
added test layouts.txt and master.txt and porperties.json
added paus_gcode and resume_gcode to settingskey
2016-08-17 14:04:03 -07:00
Greg
1b882e8050
If first run we effectively sign out user so that they will be forced to sign in and import printers
...
MatterMatterHackers/MatterControl#1207
2016-08-16 11:22:37 -07:00
John Lewin
4e83bab707
Avoid null conditional result on awaited call to workaround Mono error
...
- Issue MatterHackers/MCCentral#283
2016-08-15 13:36:40 -07:00
John Lewin
5237ef09da
Assign ActiveSliceSettings.Instance on the UI thread
2016-08-12 15:59:53 -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
d4c0751505
Update ActiveSliceSettings.Instance before calling SettingChanged event
2016-08-12 13:29:22 -07:00
John Lewin
ea381ef7b1
Refactor LoadProfileAsync to reuse LoadWithoutRecovery
2016-08-12 13:29:22 -07:00
John Lewin
6079694be5
Prevent profile recovery during startup
...
- Fix whitespace
- Remove unused comportNames variable
- Prevent assigning profile reload if already loaded
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
d0ce7a5600
Move recovery orchestration into ProfileManager.LoadProfileAsync
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
John Lewin
c22916c884
Move http profile acquisition into LoadProfileAsync
2016-08-12 13:29:22 -07:00
John Lewin
72deb94de3
Better convey that ChangeID expects a deviceToken param
...
- Avoid recovery - use PrinterSettings.LoadFile rather than ProfileManager.LoadProfile
2016-08-12 13:29:22 -07:00
Lars Brubaker
dd09f3dd25
Merge pull request #1277 from larsbrubaker/master
...
Defaulted resume failed print to off
2016-08-11 16:38:45 -07:00
Lars Brubaker
0511859f83
merge
2016-08-11 16:12:39 -07:00
Lars Brubaker
261b613689
Made resume failed print able to be turned on and off
...
Made show if set have an & operator
Made a new test for parsing the show if set parameter
2016-08-11 16:09:45 -07:00
Matt Moening
5b42eac301
Fixed import to not rely on layer_height validation
...
- Import preset no longer checks for slicer and will validate import on weather or not any settigns were valid
- calling Import from MenuOptionFIle will cause the same error message as importing a printer form the settings import page
- Import to new printer now attempts to load values and validates success on importing a valid setting
2016-08-11 14:59:33 -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
Lars Brubaker
b18f8fc889
Made the name save in settings editor
...
changed layername to a settings key
2016-08-10 14:04:33 -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
Lars Brubaker
1c12b620fb
Moved quoted settings to SettingsKey
2016-07-28 16:45:45 -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
4ece8d18a7
Make LoadCacheable collector return instance of T rather than string
...
- Issue #1195 , #1188
2016-07-26 13:22:24 -07:00
Lars Brubaker
a3c0cdcea5
Refactored PrinterActionRow
...
made show_reset_connection a SettingsKey
Made the show_reset_connection less expensive to change
2016-07-26 09:30:12 -07:00
Greg
3e91f6447e
Created M109 test
...
- issue #939
2016-07-25 16:14:19 -07:00
John Lewin
3e79fb6590
Make DownloadPrinterProfile async, move to MHWebServices
...
- Issue MatterHackers/MCCentral#218
- Rename function to DownloadPublicProfileAsync
2016-07-25 14:39:23 -07:00
John Lewin
135b4df7ad
Refactor for clarity, conciseness
2016-07-24 08:24:47 -07:00
John Lewin
063ac60ec9
Assign current theme to new printers
...
- Issue #1158
2016-07-24 07:48:42 -07:00
John Lewin
1e57909497
Migrate active_theme_index to SettingsKey
2016-07-24 07:45:33 -07:00
John Lewin
6f394c7c1f
Make LoadCacheable async
...
- Collector func<string> becomes async
- Propagate async to LoadCacheable callers
2016-07-22 14:09:25 -07:00
Lars Brubaker
e7279aa32f
Put in the ability to set how much the perimeter overlap is set to
2016-07-22 14:02:39 -07:00
Lars Brubaker
92a572e5f2
Changed upload to sync
...
Go to driver install rather than not
Make sure delete printer updates settings view
Printer History -> Settings History
Make Settings Options menu not too big
Border on Delete Printer button
2016-07-21 17:15:47 -07:00
Lars Brubaker
2a238fdcc4
Moving this code to ApplicationController
...
MatterControlApplication should be as thin as possible it is not shared accross platforms.
Put shared code into ApplicationController
2016-07-21 15:13:10 -07:00
Lars Brubaker
3e32347c88
Merge branch 'master' of https://github.com/MatterHackers/MatterControl
2016-07-21 15:07:02 -07:00
Lars Brubaker
ecf3e085d1
Make sure we are checking PrinterSelected rather than ActiveSliceSettings.Instance == null
...
The later does not happen anymore.
2016-07-21 15:05:59 -07:00
Matt Moening
97d3615755
Load public profiles from Static Data before launching request to web server in new task
...
This reduced loading time for public profiles from 5200-5300ms to 2ms
Loadcacheable can now fall back to Static data if passed a path for it
2016-07-21 14:23:35 -07:00
John Lewin
3ec400ee23
Revert prior workaround, explicitly create DB in dependent tests
2016-07-20 20:05:56 -07:00
John Lewin
7872f70299
Possible fix for build/test failures due to uninitialized DB
2016-07-20 19:31:26 -07:00