Commit graph

90 commits

Author SHA1 Message Date
Lars Brubaker
41378d2286 Getting more tests passing 2017-08-30 13:42:11 -07:00
John Lewin
44069d2805 Organize usings 2017-08-23 23:59:45 -07:00
John Lewin
05883f2c4a Remove ConnectionWizardPage base type, move Cancel code where needed 2017-08-23 23:54:31 -07:00
John Lewin
65135f93a2 Require WizardPage actions to be registered with AddPageAction
- Add HorizontalSpacer and Cancel buttons to all windows
2017-08-23 17:27:30 -07:00
John Lewin
559c300cb4 Revise WizardWindow api
- WizardPage instance should drive window namespace and title
- Key open windows page initial WizardPage type
2017-08-23 15:51:29 -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
Lars Brubaker
f7d4163125 Refactoring VAnchor and HAnchore names
Making more debug info for show bounds
2017-08-07 15:47:27 -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
Lars Brubaker
7edb7c7dde Make change to page close children
Set correct wizardwindow when rebuilding content
Make sure click events are running on uithread
2016-12-09 12:09:28 -08:00
Lars Brubaker
f401a3323c Moved Mocros to the top of the controls window
Putting in Macro Menu
Changed closeButton back to cancelButton
2016-11-30 13:31:19 -08:00
Lars Brubaker
06b1512698 Load and Unload Macros working better.
Fixed colors on redeem purchase disabled button
2016-11-29 14:17:37 -08:00
John Lewin
ee798dea03 Auto select make if only one, remove release notes, add files to csproj 2016-11-28 15:56:17 -08:00
John Lewin
0ee4855c64 Fix regression due to failure to set printer name 2016-10-04 18:35:24 -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
c0d6780901 Decouple validation logic from save invocation
- Rename AcquireNewProfile to CreateProfileAsync
- Return status result of CreateProfileAsync
- Abort processing on profile creation failures
- Localize error messsages
2016-10-04 15:33:07 -07:00
John Lewin
0fca1c0f44 Improve keyboard support for make/model selectors
- Turn on TabStop for make/model DropLists
- Add focus indicator for make/model DropLists
2016-09-29 16:46:19 -07:00
Lars Brubaker
89f7d9b120 New printer layout
Better recovery description
2016-09-22 16:34:06 -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
Lars Brubaker
619c20aff0 Restore functionality to put default items in queue when new printer is created.
Made default calibration files include the calibration box
2016-09-01 10:53:10 -07:00
John Lewin
01f2d4485f Sort make/models droplists 2016-07-29 13:47:58 -07:00
Lars Brubaker
583bcde991 Don't try to install the windows driver on mac & linux 2016-07-28 12:04:43 -07:00
Lars Brubaker
1f26141399 Switch to first model if there is only one when changing to new list. 2016-07-15 17:15:25 -07:00
Lars Brubaker
f16aed3669 Sort the make and model in the printer selection menus. 2016-07-12 09:40:57 -07:00
Matt Moening
bc5ef8a5b3 Implemented MC side receive of Public Profile list and public profiles 2016-06-22 18:05:52 -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
John Lewin
a9f3cbf4c4 Remove ActivePrinter variable from ConnectionWizard
- Remove excess properties from PrinterInfo
 - Remove call to Parent.Close from onPrinterStatusChanged
2016-06-14 11:28:13 -07:00
John Lewin
6ff04a73d2 Rename WizardPanels to WizardPage 2016-06-08 09:37:43 -07:00
John Lewin
0b4b7d2155 Rename SetupWizardConnect to AndroidConnectDevicePanel 2016-06-08 08:56:22 -07:00
John Lewin
3352c63635 Remove named methods from WizardWindow, switch to ChangeToPanel<T> 2016-06-07 17:50:41 -07:00
John Lewin
6d827a238a Continue merge of Android and Desktop panels
- Add ChangeToPanel implementation that takes panel type param
 - Remove WizardPanel constructors that take WizardWindow params
 - Use initializer syntax
 - Remove dead code
 - Remove problematic ReloadAll calls
2016-06-07 17:50:41 -07:00
Lars Brubaker
6cc61c53d0 Don't set new printer name to current printer
If no white list is set than do not filter
Make default MC white list be none
2016-06-07 17:39:17 -07:00
Lars Brubaker
275b320425 Got the new printer setup wizards back to working. 2016-06-07 14:27:37 -07:00
Lars Brubaker
1ffcd02209 Getting the printer setup wizard to run on desktop when required. 2016-06-06 12:43:05 -07:00
John Lewin
d27db87a65 Migrate StyledDropDownList to Agg 2016-06-03 18:11:51 -07:00
John Lewin
2ba410f52d Rename SetupConnectionWigetBase to ConnectionWizardPanel 2016-06-03 11:36:25 -07:00
John Lewin
e82dfc8ebb Pull make/model data from http endpoint
- Fixes #842
2016-06-02 14:46:51 -07:00
Lars Brubaker
b54e6a14ad Unified the android and desktop setup wizard classes 2016-06-01 18:17:11 -07:00
John Lewin
a04f0ac88b Decouple make/model droplists
- Fixes #833
2016-06-01 14:00:47 -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
4496720772 Json Profiles 2016-04-27 14:35:57 -07:00
John Lewin
7a98b347c3 Consistent use of HorizontalSpacer for layout 2016-04-25 15:25:00 -07:00
John Lewin
f8f70f46e6 Concise queries, reduce to functionality
- Remove DataStorage qualifier, add using statements
 - Remove unnecessary query variables and string.formatting statements
 - Remove duplicate code, reuse .RecordCount method
2016-02-23 14:42:36 -08:00
rytz
8e2f238ef6 UI label changes 2016-02-19 09:59:29 -08:00
John Lewin
ac279ccbe3 Revise ManufacturerNameMapping DropList support
- Ensure list items use the ASCII file system values
 - Use mapped Unicode manufacturer names where appropriate
2016-02-04 12:38:24 -08:00
Gregory Diaz
5a1cd1b974 Added Automated unit tests for Exporting GCode from the Downloads folder and for adding zip files to the Downloads Folder I flagged it to be Ignored currently but they are nearly done 2015-12-31 12:57:00 -08:00
Gregory Diaz
8f6ecbc1fe Added logic to show manufacturer names with utf characters 2015-11-02 17:54:42 -08:00
Gregory Diaz
606a6ab9c5 Added name changes to Esagono Manufacturer name in printer settings and on the printer whitelist. Also added workaround for sqlite queries containing unicode characters. 2015-10-29 12:02:51 -07:00
John Lewin
efb8505868 Revert async SQLite provider calls back to sync 2015-10-08 11:00:43 -07:00
John Lewin
7362c6a771 Run DB save operations in a transaction
- Fixes #104492002 - Linux bottleneck
2015-09-29 17:21:55 -07:00
John Lewin
0ab547bb26 Restore ability to attach VS to Android via debugger
- Prevent accidental construction of ProviderSQLite objects inside of ProviderSQLite constructor
 - Initialize .baseLibraryCollection during rootLibraryCollection construction to prevent null reference errors
   caused by access before assignment
 - Remove AddItem -> AddStlOrGcode -> AddItem recursion - Fixes crash due to concurrent writes to default.mcp
 - Add sqlite async methods and supporting logic to ensure disk IO operations aren’t run in parallel
 - Consolidate logic around sample part extraction from StaticData from various areas into a single method
 - Rename that method from SyncCalibrationFilesToDisk to EnsureSamplePartsExist
 - Break apart the large LINQ query into discrete and easier to understand steps
 - Add shared base class for sqlite backed library providers and resuse common code in base
 - Guard against cache deletion during one-time library initialization
 - Discard StreamReader cases in favor of ReadAllText - Ensures .Dispose is always called and is ultra succinct
 - Purge orphaned code
2015-08-09 21:05:53 -07:00