Commit graph

171 commits

Author SHA1 Message Date
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
88b8777d97 Remove TouchscreenView 2017-08-06 10:44:27 -07:00
John Lewin
1ec80d8e62 First pass at new menubar 2017-08-04 15:47:43 -07:00
Lars Brubaker
c65380ef66 Renaming members for clarity 2017-08-03 16:35:22 -07:00
Lars Brubaker
28668ca3da Making printer connection have lest instance data 2017-08-03 15:24:41 -07:00
John Lewin
1e643617c5 Adjust tab styling
- Pass separator bars to tabs, disable drawn borders
- Remove ActionBar from leftnav
- Remove PrintProgressBar from leftnav
- Revise BreadCrumb button attributes
- Revise UpFolder icon
- Revise overflow/pancake menu icon
- Create OverflowButton to encapsulate common menu item
- Use horizontal/VerticalLine for consistent color/weight separators
- Reduce visual clutter
  - Minimize regions created by color and line separators
  - Reduce the contrast of separator lines
  - Reduce the contrast of region backgrounds
  - Use consistent background colors across sibling tab pages
2017-05-23 14:54:36 -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
d647cf8a86 Add DragDrop support for image content 2017-04-05 19:03:04 -07:00
John Lewin
4367769bc9 Move PrintingWindow display into ApplicationController 2017-02-16 16:39:46 -08:00
John Lewin
78c04a0e37 Consolidate DisplayMode logic into IsTouchscreen setting 2017-02-16 15:02:49 -08:00
John Lewin
bc3021cb3a Move CancelPrint code for reuse in screensaver
- Revise screensaver styling to better match template
2017-02-14 14:34:02 -08:00
Lars Brubaker
97dffa1d53 Better images in macros 2017-02-06 14:23:55 -08:00
Lars Brubaker
3edcb69140 Made load filament macro work. 2017-02-02 16:38:48 -08:00
John Lewin
1a373ec933 Fix Android build breaks 2017-01-26 16:50:35 -08:00
John Lewin
6765f5ec15 Convert public EventHandler fields to events
- Use Action instead of EventHandler
- Convert FunctionToCallOnSave to instance member named RefreshMacros
- Remove empty private setter
- Rename functionToLaunchCreator to Show()
2017-01-24 11:49:13 -08:00
Lars Brubaker
0ffb3a5b41 Make more touch screen settings be about touch not android. 2017-01-23 14:58:29 -08:00
Lars Brubaker
4fb4d3a15f Merge remote-tracking branch 'origin/1.6'
# Conflicts:
#	Submodules/agg-sharp
2017-01-03 15:22:52 -08:00
Lars Brubaker
135f5b4fc1 refactoring 2017-01-03 13:05:57 -08:00
John Lewin
ac035d1956 Move download helper to instance 2017-01-01 16:22:58 -08:00
John Lewin
4797841cbe Move DownloadToImageAsync to ApplicationController
- Long-term this will get moved into the network stack
2017-01-01 12:55:16 -08:00
John Lewin
704cc13c04 Refactor ReloadAll 2016-12-29 11:11:56 -08:00
John Lewin
05250f4dd7 Remove PrivateClick, clean up progress bars 2016-12-29 10:49:15 -08:00
John Lewin
535a161115 Remove event keyword from private fields 2016-12-29 06:57:42 -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
9896346610 Get the starting color set correctly
Made the android printer select window fix its colors on change
2016-12-09 10:40:01 -08:00
John Lewin
c4bdc41b3e Ensure 'Import Printers' window appears after authentication
- Simplify wizard - move external code into button events
- Migrate from user specific constructor to static Load('user')
- Actually deserialize profile during Load
2016-11-30 13:44:31 -08:00
Lars Brubaker
bfa1d735fc Moved redeem code into ApplicationController 2016-11-14 16:51:01 -08:00
Lars Brubaker
313b3b901e fixed the redeem share code
MatterHackers/MCCentral#817
Redeem Purchase/Share code are non functional
2016-11-14 15:58:24 -08:00
Lars Brubaker
22a54815b1 Make sure we initialize PrintHistoryData for print recovery 2016-11-10 15:51:58 -08:00
Lars Brubaker
7ea08edc29 Made the queue always populate on touch 2016-11-09 11:13:45 -08:00
John Lewin
cced08d2d4 Track sync calling context 2016-10-31 10:51:24 -07:00
Lars Brubaker
1f00e57088 Created new ReloadAllRequested event 2016-10-27 13:43:34 -07:00
Lars Brubaker
95fc69e7f8 Always call UserChanged when ChangeCloudSyncStatus
Don't clear the LastSessionUserName
It should only be used in the name field of the login screen and nowhere else.
2016-10-21 17:09:53 -07: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
7e45623187 Only save the last sesion user name when it is set 2016-10-20 13:49:04 -07:00
Matt Moening
a23b66e966 Creating a new printer maintains the current color
- The color is also set as the printer's active theme
2016-10-18 11:19:04 -07:00
Matt Moening
6b586be835 Fixed color behavior for users with unset default
-  When both the user and oem settings are unset we now both set the active theme color to be blue and set this as the user default
 - Removed redundant null check/fallback.
2016-10-17 12:55:18 -07:00
Lars Brubaker
89d7f7c41c Made the colors get set early so we only have to load the main ui once. 2016-10-10 14:15:16 -07:00
John Lewin
ccd59227f0 Add LazyTabs for Touchscreen view
- Remove unset ApplicationControler.WidescreenMode variable
- Add local AddTab function to TouchScreenTabView for LazyTab creation
- Use common AddTab function for tab creation in TouchScreenTabView
- Refactor WidescreenPanel for clarity
  - Use OnBoundsChanged instead of event
  - obj.NumberOfVisiblePanels() becomes obj.VisiblePanelCount
- Fix thumbnail exception experienced by ensuring Directory exists
- Run ActiveSliceSettings.Instance assignment on UI thread if loading
  - Prevents extra ReloadAll right at the completion of form Load
2016-10-06 21:47:16 -07:00
Lars Brubaker
bb17896181 Changing migrate to copy 2016-10-03 09:58:51 -07:00
Lars Brubaker
68ca0442f9 Make sure we can add a printer on android when signed out. 2016-09-29 15:51:08 -07:00
Lars Brubaker
16b8ea983a Making the request to reload all wait until there is a draw
This is to try and speed up priter creation on Android.
2016-09-29 14:47:21 -07:00
John Lewin
87316dadff Revise ClientToken use for multi-instanced MatterControl
- Add public const EnvironmentName for Services environment
- Remove GetSessionUsername method
- Remove ClearCachedCredentials
- Pull in AuthData type
- Add system to store and use ClientTokens
- Add using statements for common namespaces
2016-09-29 11:47:06 -07:00
Lars Brubaker
4a5181db26 Protect against nulls 2016-09-28 12:51:46 -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
larsbrubaker
a8749a4edc Changing to "Migrate Printers" description
MatterHackers/MCCentral#489
Inconsistent action description
2016-09-24 10:57:40 -07:00
John Lewin
fc4b5c681c Make CacheablePath public, throttle PublicProfile acquisition to every 20 sec. 2016-09-19 13:22:28 -07:00
Matt Moening
b051b2bf54 Remove Run on Idle due too regression
- Added Additional guard to saving profile
2016-09-16 13:12:00 -07:00
Lars Brubaker
cca52cac0b Put in an OutboundRequest action to hook for connectivity state 2016-09-15 12:03:39 -07:00
Lars Brubaker
9ca333ff97 Make sure we dons't call user changed until we are done loading. 2016-09-12 14:06:42 -07:00