Commit graph

113 commits

Author SHA1 Message Date
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
John Lewin
7318810503 Ensure preset name/ID set during import
- MatterHackers/MatterControl#1259
2016-08-08 13:41:03 -07:00
Lars Brubaker
1c12b620fb Moved quoted settings to SettingsKey 2016-07-28 16:45:45 -07:00
Lars Brubaker
49efa92ee3 Clear one time settings on import from DB
Make sure we don't show create printers if imported printers from DB
Make sure we don't crash if can't find date in oemlayer
2016-07-28 16:36:47 -07:00
John Lewin
1e57909497 Migrate active_theme_index to SettingsKey 2016-07-24 07:45:33 -07:00
John Lewin
42f133aa70 Consolidate SettingsProfile and PrinterSettings types 2016-07-18 16:58:25 -07:00
John Lewin
f304e9f3d6 Migrate SettingsProfile functionality to new SettingsHelpers type
- Add as child property of settings scope, ready for merge of types
 - Progress on Issue #1113
2016-07-18 16:58:25 -07:00
Lars Brubaker
32de0942ca Merge branch 'master' of https://github.com/MatterHackers/MatterControl
Conflicts:
	DataStorage/Classic/ClassicSqlitePrinterProfiles.cs
2016-07-14 11:39:19 -07:00
Lars Brubaker
d681a01cf6 Merge 2016-07-14 11:19:13 -07:00
John Lewin
65d6c75489 Set imported ComPort to machine specific name
- Issue #1079
2016-07-13 17:51:21 -07:00
John Lewin
1cb1415b24 Set DocumentVersion on import
- Fixes #1083
2016-07-13 17:22:02 -07:00
John Lewin
0d890a824e Better encapsulate profile path and filename logic from application
- Switch to unique file extension for user profile list (.profiles)
 - Use readonly property for Profile extensions
 - Add const for guest file name
2016-07-13 17:22:02 -07:00
John Lewin
da695dc581 Convert more string literals into SettingsKey constants 2016-07-12 17:51:26 -07:00
John Lewin
be3eed0f5d Move last selected profile management into ProfileManager
- Multi-user support: store the value in a user specific key
2016-07-11 15:30:30 -07:00
John Lewin
ba41f4ebee Migrate make/model settings keys to SettingsKey, revise service urls 2016-07-07 12:37:39 -07:00
John Lewin
0c752a4d27 Remove OemProfile property, promote OemLayer property to parent
- Extract PrinterSettingLayer to separate file
 - Create profile migration for OemProfile -> OemLayer
 - Rename confusing LayerCascade property in tests to PrinterSettings
 - Issue #1023
2016-06-27 15:42:56 -07:00
Lars Brubaker
768d555f2a Removing settings base layer from being strode in users data 2016-06-22 15:29:20 -07:00
Lars Brubaker
a78af79bdc Moved publish_bed_image string int SettingsKey conts strings. 2016-06-22 14:09:19 -07:00
John Lewin
12e907ed50 Rename MatterControl.CalibrationFiles to calibration_files 2016-06-16 17:33:26 -07:00
John Lewin
661bb70e47 Revise ComPort accessors for new format 2016-06-16 17:24:10 -07:00
Lars Brubaker
7f85f168d5 Took out the prepend of MatterControl on profile settings and made them consistent lower case underscore. 2016-06-16 16:35:10 -07:00
Lars Brubaker
d83982089a Changed the SettingsKeys from an enum to a static class of const strings. 2016-06-16 14:35:42 -07:00
John Lewin
250ed87f31 Revise SliceSettings nomenclature, add GetValue<T> method 2016-06-15 15:11:23 -07:00
John Lewin
4e74156521 Extract profile management to ProfileManager class
- Use on disk profiles.json
 - Support MarkedForDelete functionality
 - Issue #930
2016-06-15 13:09:47 -07:00
Lars Brubaker
85caa12dfe Moved default settings into Properties.json and removed default config.ini
deleted some dead code
updated some error messages
2016-06-13 12:31:17 -07:00
John Lewin
17f15a9e10 Convert preset layers from Dictionaries to Lists
- Add migration for existing profiles
2016-06-08 19:06:16 -07:00
John Lewin
cb56e85776 Add support for renaming and duplicating presets
- Fixes #720 - Changing preset names has no effect
 - Fixes #767 - Presets editor contains user overrides
 - Fixes #768 - Oem presets should be copied...
 - Migrate from int to string based printer IDs
 - Add json document migration capabilities
2016-05-16 17:46:17 -07:00
John Lewin
284b2d8c24 Per printer themes
- Fixes #738
2016-05-12 07:30:11 -07:00
John Lewin
d292e64ede Fix icons and improve profile imports
- Invert Camera image
 - Set first imported profile as active
 - Import profiles from db if missing
 - Edit presets button should do nothing on '- default -'
2016-05-11 21:31:29 -07:00
John Lewin
d1309a9942 Fix issue preventing tests from overriding AppData in Release 2016-05-10 13:20:02 -07:00
John Lewin
d684630a50 Add console debugging to investigate test failures 2016-05-09 16:25:32 -07:00
John Lewin
10f05550b5 Migrate Macros to new profile format
- Remove unused PrinterSetupStatus class
 - Fixes #683
2016-05-08 14:13:16 -07:00
John Lewin
5db7c79d00 Get updated profiles compiling on Android
- Remove unused properties from ApplicationView
 - Rename CompactApplicationView to TouchscreenView
 - Rename ResponsiveApplicationView to DesktopView
 - Move abstract ToggleTopContainer() specific to TouchscreenView
 - Remove unused HideTopContainer implementations
 - Conditionally compile invocation/assignment of ApplicationMenuRow
 - Migrate single setting from PrinterSettings "PublishBedImage" to SliceSettings
 - Remove PrinterSettings class
 - Import "PublishBedImage" during ImportPrinters
 - Remove code that doubles the size of the splitter bar when collapsed
 - Fix incorrect path to "config.ini"
2016-05-05 12:33:39 -07:00
John Lewin
ad48c820e2 Restore AutoConnect functionality
- Add AutoConnect settings UI
 - For consistency, use string int values for settings bools
2016-05-03 08:08:05 -07:00
John Lewin
d3568cc3ab Import PrintLevelingData, PrintLevelingEnabled, ManualMovementSpeeds
* Decouple PrintLevelingData from ActiveSliceSettings.Instance
 * #Fixes #687
2016-04-27 19:20:49 -07:00
Lars Brubaker
0ba8a78dc5 Fixed connection issues
Got rid of AnchoredDropDownList
Put in BaudRate user edit field
2016-04-27 17:34:33 -07:00
John Lewin
4496720772 Json Profiles 2016-04-27 14:35:57 -07:00
Lars Brubaker
ea89d41bc6 Working on resuming for non-max z printers
Added settings to support resuming
Save the baby step offset for print resuming
Make sure we don't resume prints that are not started
Refactoring
2016-04-20 11:53:08 -07:00
Lars Brubaker
34811976ae Tracking current completed percent. 2016-02-24 12:39:30 -08:00
Lars Brubaker
b62f8e9704 Working on getting the history to have enough data to track print failures. 2016-02-24 12:38:21 -08:00
John Lewin
473655c2ce Cleanup DataStore.cs
- Change formatting of dataStoreTables declaration
 - Delete dead code
 - Add necessary whitespace
2016-02-23 13:54:37 -08:00
John Lewin
6c84ce80df Add GetTempFileName helper method to DataStore 2016-01-14 13:50:42 -08:00
Lars Brubaker
dab2e8ea8a Made the resend ring buffer bigger
Made it so we do resend with no ok on non-move commands but at a lower time threshold.
white space
spelling
2016-01-14 10:32:25 -08:00
John Lewin
c15271a36b Spelling
- Latest Agg
2016-01-12 21:46:42 -08:00
John Lewin
9a5d872486 Automation updates
- Revise skirt_distance label per support team
 - Remove CreateInstance(showWindow) out variable
 - Remove embedded tools requiring showWindow out variable
 - Remove queueItemFolderToAdd variable/parameter
 - Change AfterFirstDraw event to null conditional invoke
 - Removed unused AutomationTest from MatterControlApplication
 - Refactor for style consistency and document new methods
 - Change queueItemFolderToAdd type to custom enum to ensure optional parameters are not mixed up
 - Ensure TestExportZip file is deleted before attempting export
2015-12-22 13:06:47 -08:00
Gregory Diaz
6748612a70 Added code so that we can set a special ApplicationDataStorage.Instance.ApplicationUserData for testing. Also removed code that renamed original MatterControl folder name in AppData. 2015-12-21 15:58:53 -08:00
Lars Brubaker
a42c286d05 Put in the sqlite locker code for windows and unix 2015-09-23 17:50:08 -07:00
Lars Brubaker
2976841c17 Put in more sqlite locking. 2015-09-23 15:03:34 -07:00
Lars Brubaker
2289fbfdf0 Put in database locking
fixed a test
2015-09-17 18:25:00 -07:00