Commit graph

133 commits

Author SHA1 Message Date
John Lewin
1631327dc0 Only fire ReloadContent after threshold elapsed 2018-05-14 17:25:20 -07:00
John Lewin
6b64a36b6c Use FileSystemContainer base on history containers
- Issue MatterHackers/MCCentral#3368
Add common FileSystemContainer delete logic to PlatingHistoryContainer
2018-05-14 17:00:00 -07:00
John Lewin
7f2cf2ecae Select file (if applicable) when shelling to Explorer.exe
- Issue MatterHackers/MCCentral#3372
On FileSystemContainer delete, ensure focus is moved to selected item
2018-05-14 16:42:04 -07:00
John Lewin
74dcbc52dc Add LibraryCollectionContainer
- Issue MatterHackers/MCCentral#3287
Bucket library containers into a common root - like History
2018-05-03 23:32:17 -07:00
John Lewin
e1f20570f6 Fix failing NoContentChangedOnLoad test 2018-04-30 07:14:20 -07:00
John Lewin
6f5f320def Fix file header 2018-04-29 11:19:17 -07:00
John Lewin
c7f289c73d Evaluate history containers in a common root
- Issue MatterHackers/MCCentral#3254
Consider moving all history containers into a single root
History container
2018-04-29 11:08:09 -07:00
John Lewin
acc471fadd Add library property for Part History 2018-04-29 11:00:37 -07:00
John Lewin
c3e8beb823 Add Part History container 2018-04-29 11:00:37 -07:00
John Lewin
f8488cad8e Extract PlatingHistory functionality for reuse in Part History 2018-04-29 11:00:37 -07:00
LarsBrubaker
3da440fc4d Make it possible to set the DtaeCreated on a GeneratorItem 2018-04-26 23:00:10 -07:00
John Lewin
8d9db18d69 Improve stroke weighs and balancing, add missing SetPreMultiply() 2018-04-21 14:59:45 -07:00
LarsBrubaker
caaa58a551 Added VertexStorage offset extension method 2018-04-21 08:14:15 -07:00
John Lewin
0fef0fa266 Evaluate using scaled folder icons
- Issue MatterHackers/MCCentral#3154
2018-04-21 00:50:29 -07:00
John Lewin
37a0b64b02 Use dedicated theme for menus, prefer theme colors over explicit refs
- Revise icon loader to take an Invert bool instead of custom enum
- Remove icon loader static ref to ActiveTheme.Instance
- Pass contextual theme.InvertIcons for theme specific invert behavior
2018-04-12 13:17:17 -07:00
John Lewin
363bbbfda4 Always try to show operation buttons, let buttons control visibility 2018-03-22 15:00:07 -07:00
John Lewin
897804f44b Add stream based implementation for Calibration items 2018-03-20 19:44:00 -07:00
John Lewin
06e9a73b03 Extract embedded types to new files 2018-03-07 12:25:57 -08:00
John Lewin
98fe471f12 Revise filter 2018-02-27 17:39:37 -08:00
John Lewin
0657611a73 Add sorting fields
- Issue MatterHackers/MCCentral#2865
Add sorting fields to ILibraryItem as promised by sort menu
2018-02-27 17:38:47 -08:00
John Lewin
134e86fa61 Add required default constructor, McxContainerTest stub 2018-02-26 15:52:01 -08:00
John Lewin
3b26f3aa08 Add library container browsing for MCX items 2018-02-23 14:26:56 -08:00
Lars Brubaker
c7a6f2e8e9 Creating a Design Apps folder
Put in card holder
Moving parts into the Design Apps folder
2018-02-22 18:03:15 -08:00
Lars Brubaker
84fd794f15 Made the splash screen scale better 2018-02-22 10:15:39 -08:00
John Lewin
78341ef3e2 Use specialized type for missing files in Queue
- Prevent DragDrop with filter for MissingFileItem
- Allow MissingFileItem in ListView in addition to IsContentFileType
2018-02-15 14:27:01 -08:00
John Lewin
f8d9070c61 Rename GetContentStream() -> GetStream() 2018-02-12 19:26:38 -08:00
John Lewin
f440981e51 Rename ILibraryContentStream -> ILibraryAssetStream 2018-02-12 19:26:38 -08:00
John Lewin
7a4d4df4c0 Rename ILibraryContentItem -> ILibraryObject3D
- Rename member .GetContent() -> .GetObject3D()
2018-02-12 19:26:38 -08:00
John Lewin
995d5c18bf Add common base interface and necessary implementations 2018-02-12 19:26:38 -08:00
John Lewin
39af20993d Remove unused ILibraryContentItem.SetContent() definition 2018-02-12 19:26:37 -08:00
John Lewin
e2b9513fa3 Change accessibility of collector function to private 2018-02-12 19:26:37 -08:00
John Lewin
68f7c2fa12 Collapse ILibraryReadOnlyStream into ILibraryContentStream 2018-02-12 19:26:36 -08:00
John Lewin
1337837c33 Use lower interface definition used by subtree editing context
- Issue MatterHackers/MCCentral#2815
Investigate SaveAsToQueue failure
2018-02-10 00:23:48 -08:00
John Lewin
3091128c1a Add zip support to SqliteContainer
- Issue MatterHackers/MCCentral#2814
Investigate LocalLibraryAddButtonAddZipToLibrary failure
2018-02-10 00:12:48 -08:00
John Lewin
69b459352e Add extension methods to ImageBuffer for CreateScaledImage 2018-02-08 16:11:45 -08:00
John Lewin
92ebda5e90 Add support for saving created content to library containers
- Issue MatterHackers/MCCentral#2767
LibraryContainer -> Save fails in SqliteContainer
- Issue MatterHackers/MCCentral#2743
Part -> Edit -> Save fails to save back to original
2018-02-07 18:46:31 -08:00
John Lewin
3e30a488d4 Mark container as non-protected content
- Issue MatterHackers/MCCentral#2782
Unable to drag-drop files from file system to "Local Library"
2018-02-06 21:28:47 -08:00
John Lewin
ad0a42a929 Save valid streams to library as content rather than convert to AMF
- Adds support for non-mesh content
- Resolves invalid conversion from MCX to AMF
- Leaves content unmodified
- Issue MatterHackers/MCCentral#2781
Automation tests fail due to thrown exception
2018-02-06 21:27:43 -08:00
John Lewin
f43c719c09 Pass scene instead of sceneContext 2018-02-06 08:47:30 -08:00
Lars Brubaker
31a3156510 Removing the requirement of flattening the scene 2018-02-05 17:37:42 -08:00
John Lewin
6128d20463 Turn off rainbow coloring and review
- Issue MatterHackers/MCCentral#2733
Reconsider primitive colors
2018-02-01 18:49:31 -08:00
John Lewin
e998f137aa Rename Connection.PrinterIsConnected -> Connection.IsConnected 2018-02-01 14:51:44 -08:00
John Lewin
2f87329ee5 Restore default constructor for failing automation tests
- Issue MatterHackers/MCCentral#2754
Disabled default constructor on SqliteLibraryContainer breaks tests
2018-02-01 14:14:15 -08:00
John Lewin
fa76e080cc Restore autoreset event in SDCardContainer 2018-02-01 09:04:38 -08:00
John Lewin
41da8c676b Remove unused constructor, consolidate Initialize into constructor 2018-02-01 09:03:56 -08:00
John Lewin
085be24c2d Restore automatic Load in OnContentChanged, rename to ReloadContent
- Add new OnContentChanged so derived types can fire ContentChanged
- Issue MatterHackers/MCCentral#2748
Investigate ~30 failing tests due to OnContentChanged revision
2018-02-01 09:01:57 -08:00
John Lewin
54aff1d05f Use IconColor.Theme loader
- Issue MatterHackers/MCCentral#2740
SD Card icons should not be black on dark theme
2018-01-31 16:12:38 -08:00
Lars Brubaker
cefd99b361 Making STL and MeshFileIo take a cancelation token 2018-01-31 09:54:22 -08:00
John Lewin
dad8829f69 LibraryContainer -> OnContentChange should not call this.Load()
- Doing so causes cascade of recursive calls
- Callers should load changes and notify via OnContentChange
2018-01-30 18:06:09 -08:00
John Lewin
0bfa366048 Always show SDCard container if enabled on printer
- Refresh on Connect/Disconnect
- Remove lag - drop AutoResetEvent until need is established
- Issue MatterHackers/MCCentral#2610
SD card folder should always be visible if enabled
2018-01-30 18:06:09 -08:00