Commit graph

159 commits

Author SHA1 Message Date
John Lewin
de643868e8 Change EnsureSamplePartsExist to call synchronous .AddItem() signature
- Use streams instead of file paths
- Copy directly from StaticData stream to Library
2017-02-13 13:56:59 -08:00
Lars Brubaker
8134b3f450 Fixed the Macros window to cancel on user closes with the X windows button.
Put cancel into max length and temp stream
Made close function take a bool if the system did it
Moved To EventHandler<> in GuiWidget
Made a ClosedEventsArgs
2017-02-03 13:06:08 -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
e736d2718f Add ExtruderStatusWidget 2017-01-23 16:28:25 -08:00
Lars Brubaker
0ffb3a5b41 Make more touch screen settings be about touch not android. 2017-01-23 14:58:29 -08:00
John Lewin
8510ca5b3d Remove duplicate .Click event from ButtonBase 2017-01-17 15:31:08 -08:00
John Lewin
ace89e1e5a Use .Localize extension function 2017-01-04 10:52:06 -08:00
Lars Brubaker
43d95e8486 Expanded translation set
Made more settings be count or mm
made more buttons translated
2017-01-04 10:25:19 -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
ba61e8b508 put try catch around download update 2017-01-03 12:27:36 -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
535a161115 Remove event keyword from private fields 2016-12-29 06:57:42 -08:00
Lars Brubaker
03e1fee901 Moving keyboard offset to common base class 2016-12-12 13:32:40 -08:00
John Lewin
4344fc9765 Use new ImageBuffer constructor with common defaults 2016-09-23 10:35:33 -07:00
larsbrubaker
89ebfa7361 Some HTML rendering tests 2016-09-12 21:55:40 -07:00
larsbrubaker
d6d91f0df5 Deleted ImageWidget_AsyncLoadOnDraw
Implemented the funcion on ImageBuffer
Wrote a DownloadToImageAsync function in in StaticData
2016-09-10 12:19:50 -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
Lars Brubaker
c6d0408ab9 changed get("ClientToken") GetClientToken() 2016-08-26 18:30:21 -07:00
Lars Brubaker
d5d42d475f Made the app report that an update is required if the server says it is. 2016-08-03 14:45:33 -07:00
Lars Brubaker
64b6eb0f18 Making it possible to debug if an update is required 2016-08-03 11:12:53 -07:00
Lars Brubaker
41b44cdb0d Make sure we clean the cache folder again but have specific folders that we will not remove. 2016-07-18 14:06:35 -07:00
Lars Brubaker
1b7f64922c Updating the help menu 2016-07-15 12:43:46 -07:00
John Lewin
4bcb8a4431 Suppress DeleteCacheData until MatterHackers/MCCentral#176 is fixed 2016-07-08 15:50:00 -07:00
John Lewin
ff42287f02 Replace hardcoded paths with common reference 2016-06-22 19:29:13 -07:00
Lars Brubaker
5613857af1 Made all panels update when edited in any panel (printer wizard)
Added BaudRate to printer edit wizard
2016-06-09 14:52:58 -07:00
John Lewin
d27db87a65 Migrate StyledDropDownList to Agg 2016-06-03 18:11:51 -07:00
John Lewin
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -07:00
Lars Brubaker
b51b38b249 Moved TextWidget.GlobalPointSizeScaleRatio -> GuiWidget.DeviceScale
Significantly improved the layout consistency when enlarging the device scale.
Created a DeviceMargin and DevicePadding on GuiWidget
Deleted dead code
Made many images have default larger disk sizes and scale in memory.
Made the menus have horizontal spacers rather than dashed lines
2016-05-06 17:56:27 -07:00
John Lewin
7a98b347c3 Consistent use of HorizontalSpacer for layout 2016-04-25 15:25:00 -07:00
Lars Brubaker
850cb7bebd Made the DeleteCacheData function take a number of days to consider for deletion
Updated the jumpstart profile
2016-04-25 13:55:40 -07:00
John Lewin
eea7dd9fe4 Remove DataStorage qualifier, add using statements 2016-02-24 10:53:22 -08:00
Lars Brubaker
133764fa3b Fixed the white spacing collapse in the HtmlWidget. 2016-02-11 15:38:32 -08:00
rytz
e98626eebf Minor label changes, FlashForge profile update 2016-02-09 15:05:03 -08:00
Lars Brubaker
dd41142816 More work on mini-html widget 2016-02-02 17:49:19 -08:00
Lars Brubaker
203f35474a Compile and continue bug. Didn't check in the final code that I planned. 2016-02-02 12:10:21 -08:00
larsbrubaker
b0a53c5577 Did a bit of work on the mini-html parser. 2016-02-01 23:11:26 -08:00
John Lewin
366ea3bca3 Restore Clear Cache functionality
- Remove buttonRowContainer blocking mouse input to html content
 - Fixes #104208890 - Help>About>Clear Cache no longer works
2016-01-10 17:29:23 -08:00
Lars Brubaker
1afeb5166a Removed some redundant icons
Made touch scale the edit pencil icon.
2015-12-29 16:41:51 -08:00
John Lewin
1380ea0c43 Revise Android softkeyboard support
- Remove keyboardHeight from constructor
 - Latest agg
2015-10-14 10:07:00 -07:00
Lars Brubaker
79928f8fb7 Made the Debugger.Break() only exist in debug mode. 2015-09-17 13:45:26 -07:00
Lars Brubaker
fa97829073 Put in lots of code to break on exceptions in the debugger.
Made the cloud provider able to report that it is loading
2015-09-11 10:48:24 -07:00
Lars Brubaker
3504d4dfe4 Made dispose on library providers get called much more consistently.
Made squlite provider do more operations async.
2015-09-10 12:42:52 -07:00
Lars Brubaker
66ee409c8c Put in some try catch code to prevent failing to read a mesh while writing it. 2015-09-08 13:56:22 -07:00
larsbrubaker
5d4d56632c Latest agg 2015-08-31 07:55:04 -07:00
Lars Brubaker
92be8c6269 Made asnyc image widget load through static data 2015-08-27 18:22:30 -07:00
Lars Brubaker
d1a26eb2a1 Got the sql and file system unit tests running
Made the ApplicationUserDataPath a static
2015-08-21 11:04:27 -07:00
John Lewin
0ab547bb26 Restore ability to attach VS to Android via debugger
- Prevent accidental construction of ProviderSQLite objects inside of ProviderSQLite constructor
 - Initialize .baseLibraryCollection during rootLibraryCollection construction to prevent null reference errors
   caused by access before assignment
 - Remove AddItem -> AddStlOrGcode -> AddItem recursion - Fixes crash due to concurrent writes to default.mcp
 - Add sqlite async methods and supporting logic to ensure disk IO operations aren’t run in parallel
 - Consolidate logic around sample part extraction from StaticData from various areas into a single method
 - Rename that method from SyncCalibrationFilesToDisk to EnsureSamplePartsExist
 - Break apart the large LINQ query into discrete and easier to understand steps
 - Add shared base class for sqlite backed library providers and resuse common code in base
 - Guard against cache deletion during one-time library initialization
 - Discard StreamReader cases in favor of ReadAllText - Ensures .Dispose is always called and is ultra succinct
 - Purge orphaned code
2015-08-09 21:05:53 -07:00