John Lewin
08018ea1c3
Remove MatterControlApplication.Instance dependencies
2017-12-18 10:53:26 -08:00
Lars Brubaker
f9378f4405
Adding some progress reporting to subtract
...
Moved ProgressStatus to agg
2017-12-12 12:32:14 -08:00
John Lewin
0164f4e85e
Abort profile download loop if exiting
2017-11-30 09:44:16 -08:00
John Lewin
ca07d3fedb
Rename SyncReportType -> ProgressStatus
2017-10-25 01:57:45 -06:00
John Lewin
b40ce9b21e
Use oem favicon on printer tab
...
- Issue MatterHackers/MCCentral#2016
Remove hard-coded oem tab images
2017-09-29 23:58:40 -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
0e2dd646d7
Load OemProfiles from cache or fall back to StaticData if missing
2016-10-28 13:13:21 -07:00
Matt Moening
1ece91dff3
Added Static Data fallback path to public profile list
2016-10-06 16:33:00 -07:00
John Lewin
b5e38d136c
Remove ForceTestEnvironment features
2016-09-23 16:36:16 -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
7acfd1ca6a
Fixed bug in Public Profiles Static data Fallback
...
- Fixed bug discovered while writing test
- Added check for null ProfileManager.Instance to allow tests to work when initializing in a differently than MC
2016-09-08 18:10:46 -07:00
Matt Moening
0737a7f9e4
Fixed Bug in syncing public profiles when loading from cache
2016-09-06 15:27:14 -07:00
John Lewin
4cc6f807d0
Only call SetManufacturers when OemProfiles change
2016-09-03 17:12:13 -07:00
John Lewin
453eb086ba
Remove early exit bypassing name mapping
2016-09-03 17:12:12 -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
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
c6d0408ab9
changed get("ClientToken") GetClientToken()
2016-08-26 18:30:21 -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
Lars Brubaker
5325d7d190
Moved other to the bottom of the list.
2016-08-08 15:46:20 -07:00
John Lewin
01f2d4485f
Sort make/models droplists
2016-07-29 13:47:58 -07:00
John Lewin
761cc63a07
Make DownloadMissingProfiles awaitable and await
2016-07-29 11:09:12 -07:00
Matt Moening
2c927b48ad
removed random extra semicolin
2016-07-26 14:34:37 -07:00
John Lewin
4ece8d18a7
Make LoadCacheable collector return instance of T rather than string
...
- Issue #1195 , #1188
2016-07-26 13:22:24 -07:00
Matt Moening
cc93bed424
Fixed oemProfiles to oemprofiles for last outlying spot
2016-07-26 12:43:59 -07:00
Matt Moening
ffc280da73
Fixed bug where would try to write to a OemProfile Twice throwing an exception
...
- Removed ReloadOemProfiles form on load (ReloadOemProfiles is called in sync and sync is called on start up so two calls were going out at once)
- DownloadMissingProfiles is no longer a separate task so that we don't resync and try to run a second download of missing profiles
2016-07-26 10:42:55 -07:00
Matt Moening
7a2f59bb8e
Converted ReloadOemProfiles into a Task
2016-07-25 17:41:35 -07:00
John Lewin
5d8070cdfd
Add Load event to ApplicationController
...
- Extract code from Deserialize into ReloadOemProfiles
- Wire up ReloadOemProfiles to Load event
- Revert to lowercase oemprofiles.json filename
- Issue #1179
2016-07-25 16:50:24 -07:00
Matt Moening
4d84b11706
Fixed Capitalization errors in oemProfiles.json
2016-07-25 15:56:03 -07:00
John Lewin
3e79fb6590
Make DownloadPrinterProfile async, move to MHWebServices
...
- Issue MatterHackers/MCCentral#218
- Rename function to DownloadPublicProfileAsync
2016-07-25 14:39:23 -07:00
John Lewin
2950df095d
Disable breaking test, guard for null on public builds
2016-07-22 15:21:24 -07:00
John Lewin
4871997976
Revise OemSettings.OemProfiles initialization for clarity, async
...
- Define OemProfileDictionary alias to clean up declarations
- Unify StaticData and WebServices persistence format for OemProfiles
- Delete allModels.json
- Add oemprofiles.json
- Simplify creation of list for SetManufacturers
- Revise OemProfile loading for async, remove AutoResetEvent
- Remove PublicProfilesRequest object
- Use new async MHWebServices.GetPublicProfileList replacement
- Execute OemProfiles assignment on the UiThread
2016-07-22 14:52:52 -07:00
Lars Brubaker
2a238fdcc4
Moving this code to ApplicationController
...
MatterControlApplication should be as thin as possible it is not shared accross platforms.
Put shared code into ApplicationController
2016-07-21 15:13:10 -07:00
Matt Moening
97d3615755
Load public profiles from Static Data before launching request to web server in new task
...
This reduced loading time for public profiles from 5200-5300ms to 2ms
Loadcacheable can now fall back to Static data if passed a path for it
2016-07-21 14:23:35 -07:00
Matt Moening
d96531152b
converted oemprofiles to be .printer files and to be retrieved as such from various locations.
...
Updated to test to reflect the actions actually done by the request (not sure why they were not failing before)
2016-07-20 17:39:19 -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
469345e73f
Async download of profiles not in cache
...
When creating a printer checks if profile is already on disk before downloading
2016-07-11 17:05:16 -07:00
John Lewin
99ee64c5ea
Remove ProfileData property, show wizard if visible printers < 1
2016-06-29 13:02:04 -07:00
John Lewin
ca55930bf4
Revise PublicProfileRequests, make functional offline
...
- Add prototype for loading cacheable content
- Make RetrievePrinterProfile test use public server
- Expose JsonResponseDictionary on PublicProfilesRequest
2016-06-23 18:35:43 -07:00
Matt Moening
bc5ef8a5b3
Implemented MC side receive of Public Profile list and public profiles
2016-06-22 18:05:52 -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
John Lewin
eb7455f47c
Ensure cache directory exists before use
2016-06-02 16:07:12 -07:00
John Lewin
e82dfc8ebb
Pull make/model data from http endpoint
...
- Fixes #842
2016-06-02 14:46:51 -07:00
John Lewin
a04f0ac88b
Decouple make/model droplists
...
- Fixes #833
2016-06-01 14:00:47 -07:00
John Lewin
70f3b7df68
Handle missing ManufacturerNameMapping data from settings.json
2015-11-13 18:29:39 -08:00
Gregory Diaz
8f6ecbc1fe
Added logic to show manufacturer names with utf characters
2015-11-02 17:54:42 -08:00
Lars Brubaker
591528ee91
Ran code maid against this code.
2015-04-08 15:20:10 -07:00
larsbrubaker
1e4cb18312
Made the Draw event clearer.
...
Made a DrawBefore and DrawAfter Handler and made the params clearer.
Made switching to simple mode work.
Made simple mode get the right initial state from oem settings.
2014-12-14 11:46:24 -08:00
Lars Brubaker
3c41775a54
Making the Standard and Advanced ui control work and be available.
2014-12-11 17:35:57 -08:00
Lars Brubaker
a54a59e25f
Putting a menu to switch view settings.
...
Made the trace data build faster.
Made ungroup understand mesh collections better
Made the slice settings layer index be an enum so it is clearer what is being accessed
Put menu items into separate files
2014-12-09 15:16:08 -08:00
Lars Brubaker
de0070eb35
Some working on streamlining the ui and creating a new 'simple' mode.
2014-12-08 18:18:38 -08:00