Commit graph

320 commits

Author SHA1 Message Date
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
34a37b6c81 Make TabPages private, use existing GetTabPage member 2016-10-07 10:47:27 -07:00
John Lewin
8e3d5f3898 Convert lastNumberOfVisiblePanels to instance member
- Issue MatterHackers/MCCentral#551
2016-10-07 09:07:50 -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
John Lewin
49591ee403 Refine ManualPrinterControls scrollable behavior
- Use ScrollableWidget for ManualPrinterControls base
- Remove conditional Android compilation
- Remove ManualControlsWidget type
- Rebuild ManualControls widget on ReloadAdvancedControls
2016-10-05 10:40:01 -07:00
John Lewin
8634b46290 Use concise HorizontalLine, reduce conditional comp. to only necessary 2016-10-05 09:09:47 -07:00
Greg
6bc17166ec Merge branch 'master' of https://github.com/MatterHackers/MatterControl
# Conflicts:
#	Submodules/agg-sharp
2016-10-03 11:49:32 -07:00
Lars Brubaker
bb17896181 Changing migrate to copy 2016-10-03 09:58:51 -07:00
Greg
b9f401624c Merge branch 'master' of https://github.com/MatterHackers/MatterControl 2016-09-29 17:38:18 -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
Greg
88ec6c6283 Fix: Scroll bar disappears from Controls page in touchscreen mode
MatterHackers/MatterControl#1369
2016-09-29 13:42:31 -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
2ee72536e0 Last changes to loged in drop down 2016-09-16 11:38:32 -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
abf963d729 Refoctoring and cleaning menu class
Made changing menu text color propogate to child text widget
2016-09-14 11:36:01 -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
John Lewin
1c7c1f20ad Revise ChangeCloudSyncStatus
- Add UserSettingKeys for CredentialsInvalid, CredentialsInvalidReason
- Move CredentialsInvalid, CredentialsInvalidReason setters into ChangeCloudSyncStatus
- Update method to take string parameter for invalid reason
- Toggle state when Connected value changes
- Clear invalid flag if connected, set invalid flag and reason if not
- Issue MatterHackers/MCCentral#354
2016-09-06 18:15:06 -07:00
johnlewin
eff65ce2c1 Merge pull request #1354 from jlewin/master
Clear cached credentials after acquiring new ClientToken
2016-09-06 15:50:59 -07:00
Lars Brubaker
fbd67c0dd7 Put in code to refresh the library selector
Renamed ResumePrinting to PrintRecovery
2016-09-06 14:42:14 -07:00
John Lewin
b1f41e540d Clear cached credentials after acquiring new ClientToken
- Extract existing file delete to resusable function - ClearCachedCredentials
- Reuse ClearCachedCredentials in SetClientToken
- MatterHackers/MCCentral#321
2016-09-06 14:32:00 -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
1446bef581 Fixed the spacing on the menu. 2016-09-02 17:54:34 -07:00
Lars Brubaker
5637e25d9e Copy the thumbnail image, for the default queue parts if available
Fixed spelling
Made the ray tracer multi thread when not printing
Changed 'don't ask me again' to 'don't remind me again'
Added a thumbnail for the MatterControl coin
2016-09-02 16:26:56 -07:00
Lars Brubaker
411a3bb32e Make sure we show the no settings page window printer is selected on touchscreen. 2016-09-02 14:30:23 -07:00
Matt Moening
fd76f828ed Loadcacheable properly loads profiles from static data
- Fixed a bug in downloading profiles from web would write "null" to file if it failed to get a proper file
2016-09-01 12:12:11 -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
cd7406d82b Created a UserSettingsKey and SystemSettingsKey
Moved some settings into this, lots more to do
2016-08-30 10:30:55 -07:00
larsbrubaker
eebb8b212a added "Don't ask me again" to ShowAuthPanel. 2016-08-29 22:04:09 -07:00
Lars Brubaker
2dadb72271 Changed Login -> Sign in & Logout -> Sign Out 2016-08-29 17:13:45 -07:00
Lars Brubaker
4207f1c4b9 Each unique version of MC requires a separate login
Made the ability to get the application instance count
2016-08-29 15:29:43 -07:00
johnlewin
6cf33b802c Merge pull request #1312 from gregory-diaz/master
ShowMessageBox if users try t to add new printer while a print is eit…
2016-08-23 13:31:11 -07:00
Matt Moening
2f68e99449 Sync printer page updates progress of syncing operations
- Both private and public profiles report
 - public profiles are not called to report but can be later
2016-08-22 16:42:55 -07:00
Greg
eb93687bd5 Prevent user from adding a printer from file menu while print is active.
Previous pull request prevents user from adding a printer via printers... dropdown while print is active
or paused . This commit achieves the same goal when users take the same action in the file menu.
2016-08-22 15:03:31 -07:00
John Lewin
4b4a5ebfad Conditionally execute UserChanged
- Issue MatterHackers/MCCentral#318
2016-08-22 12:39:36 -07:00
tellingmachine
b96ff64a4e Don't call uninitialized action.
This action gets set by code that is part of CloudServices and not part of the common code.
2016-08-12 11:27:40 -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
Lars Brubaker
ef0f2be119 Made a common static load of the mono spaced font 2016-08-10 15:40:09 -07:00
Lars Brubaker
0f2b715935 Making less calls to reload all
New function ReloadLibraryUI
Called when updating purchased and shared folder
2016-08-08 17:17:59 -07:00
Lars Brubaker
003f05b894 Added an import printer menu
Fixed a alignment problem with the top menus
2016-08-05 11:44:22 -07:00
Lars Brubaker
dc22e6b788 Getting more tests to pass
Down to 7 failing tests.
2016-08-01 17:21:31 -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
Lars Brubaker
414aa5bc79 Merge branch 'master' of https://github.com/MatterHackers/MatterControl 2016-07-26 16:51:07 -07:00