Commit graph

129 commits

Author SHA1 Message Date
Lars Brubaker
293fd3ff12 Made more tests pass
deleted unused print status row
Made printer connection only have one status message output
Made sure the ApplicationTemDataPath is right for tests
Refactoring
2017-08-30 10:38:01 -07:00
John Lewin
3a9833697d Platform providers
- New Provider model
- Remove WindowsFileDialogs project
- Remove PlatformAbstract assembly, use AggContext
- Rename OsInformation to OperatingSystem
2017-08-22 13:42:34 -07:00
John Lewin
0cd2ffd093 Restore the previous bedplate on load 2017-07-31 10:51:56 -07:00
John Lewin
820ad61c55 Support relative paths to Object3D assets 2017-07-12 14:54:21 -07:00
Lars Brubaker
6231611456 Removed Bottom Clip 2017-07-11 15:15:37 -07:00
John Lewin
03a593f1b5 Move to new library model and view
- Add new listview control for library content
- Migrate library providers to containers
  - Cloud, Sqlite, Directories, Queue, History
- Migrate SideBar components to containers
  - Primatives, Text, Braille, ImageConverter
- Create new library container types
  - Zip files, Calibration parts, Printer SDCards
- Reduce leftnav to Library, Settings, Controls, Options
- Add DragDrop support for image content
2017-05-20 00:41:02 -07:00
John Lewin
ee631255e1 Add manual_movement_speeds to properties.json
- Add to SettingsKeys and migrate usage
- Convert non event EventHandler with StringEventArgs to Action<string>
- Remove SetManualMovementSpeeds function
2017-02-16 11:48:04 -08:00
John Lewin
1a373ec933 Fix Android build breaks 2017-01-26 16:50:35 -08:00
John Lewin
836dcee8b8 Improve startup state initialization
- Use single instance for .EmptyProfile
- Remove ActiveSliceSettings static constructor, rely on ProfileManager
- Remove SettingsKey.active_theme_name and db usage
- Revise LoadUITheme to only load oem or default color theme
- Only assign ActiveSliceSettings.Instance during ProfileManager assign
2016-12-14 16:18:54 -08:00
Lars Brubaker
53e6ff3eba Added recovery count to the history data
MatterHackers/MCCentral#914
Track the recovered count to aid diagnostics
2016-12-14 11:26:53 -08:00
John Lewin
42cc88b9d4 Refactor ProfileManager to prefer isolated instances
- Replace DB nomenclatures with ProfilesDoc/Profiles terms
- Convert SetLastProfile() to LastProfileID property
- Remove LoadLastProfileWithoutRecovery function
  - Use LoadWithoutRecovery(LastProfileID)
  - One caller, far more clear with only one LoadWithout function
- Move safe FileSystem UserName to AuthenticationData, like UserName
- Skip importing guest profiles that are missing PrinterSettings files
2016-10-21 13:00:53 -07:00
Lars Brubaker
231aadc554 Always set make and model on imported printers
Made the import printer get non-colliding names
MatterHackers/MCCentral#417
MatterControl is unable to upload imported printers
2016-10-04 17:54:57 -07:00
John Lewin
ec9d6c35da Revise test output formatting
- Improve layout in NUnit console output
- Remove stacktrace workarounds for NUnit2
2016-09-30 17:54:41 -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
68ca5e3ad9 Convert additional automation tests to NUnit3 compat
- Improve logging readability
2016-09-22 08:52:15 -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
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