Commit graph

62 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
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -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
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
Lars Brubaker
834aba4f38 Settings profile using methods rather than properties 2016-04-28 09:41:27 -07:00
John Lewin
4496720772 Json Profiles 2016-04-27 14:35:57 -07:00
Greg
d33c785fe2 Added tests for saving to Local Library and Downloads folders. Also fixed regression(could not add gcode files to the queue) 2016-03-02 12:43:45 -08: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
John Lewin
da0abfc976 Use instance method in constructor 2016-01-06 10:41:18 -08:00
John Lewin
1d466f2862 Allow/workaround duplicate db entries 2016-01-05 18:55:34 -08:00
John Lewin
8600a35576 Revise TranslationMap, UserSettings
- Move Master.txt translation file to Translations/en/Translation.txt
 - Threadsafe MatterControlTranslationMap initialization
 - Refactor UserSettings:
     - Threadsafe initialization
     - Concise initialization
     - UseTryGetValue for dictionary lookups
     - Use backing fields
     - Cache frequently accessed Language value as local property
2016-01-05 13:31:45 -08: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
33792492e4 Starting work on putting in the collection API (not data base yet) 2015-06-11 16:25:12 -07:00
Lars Brubaker
b5d3bb9c04 Got the touch screen to remember tab state.
Got the Options page to remember its state
Fixed a early binding bug in PopOutManager
2015-04-16 13:08:26 -07:00
Lars Brubaker
591528ee91 Ran code maid against this code. 2015-04-08 15:20:10 -07:00
Lars Brubaker
b891465f27 Turned off switching to gcode view (was confusing when switching queue items). 2015-01-10 12:47:06 -08:00
larsbrubaker
f788ccb6cd Made it so if we crash we can tell.
Made it so if we know we crashed we disable the 3d display o gcode (just in case).
We can make more crash recovery now as well.
2014-12-22 22:49:57 -08:00
larsbrubaker
1697622477 Working on App Exit detection. 2014-12-22 18:53:49 -08:00
larsbrubaker
df9e18c3ee Made the terminal window remember it's settings when opened
Made it remember its position when opened
Made it automatically open on start if it was left open on close.
2014-12-17 08:41:12 -08:00
Lars Brubaker
4ac8f2bf8d Cleaned up the code for storing bool user settings.
Made the main 3d view remember what tab it is on while switching models.
2014-12-16 12:37:57 -08:00
larsbrubaker
b0f5c1105d Made the wide screen mode switching to and from viewing the slice settings much clearer.
Made the visible panels settings save.
Tried to make the panel changing and the single slide more similar.
2014-12-15 14:04:27 -08: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
cce96f03ff Trying to clean up the interface for setting the interface mode. 2014-12-12 16:07:48 -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