Commit graph

40 commits

Author SHA1 Message Date
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
John Lewin
59cf8782a3 Remove all remaining ApplicationStaticDataPath dependencies 2014-12-04 12:50:37 -08:00
John Lewin
28159053ab Add LoadIcon helper function 2014-12-04 12:22:35 -08:00
John Lewin
eba756966b Initial StaticData platform abstraction 2014-12-04 12:22:34 -08:00
larsbrubaker
1029b85e9f Moving slice settings properties file to json to make it easier to add in preset lists. 2014-11-19 21:09:42 -08:00
larsbrubaker
6e7abb73f1 Cleaning up update a bit so we can have first time check for new version.
Made more strings push through translations.
Put in a new OEM setting for check for update on first run
2014-06-10 09:25:38 -07:00
larsbrubaker
d3f98fe37c Made it possible to set the default theme color on startup for oems. 2014-05-27 10:38:59 -07:00
larsbrubaker
e2e45b46fd Fixing the window title bar. 2014-05-06 18:25:16 -07:00
larsbrubaker
978d7ddcfa Making the OEMSettings a single JSon file. 2014-04-23 17:44:49 -07:00