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
John Lewin
ac07aee38d
Prevent exceptions on removed/missing directories
2018-01-30 18:06:09 -08:00
John Lewin
10c99659e7
Notify listeners on change
...
- Issue MatterHackers/MCCentral#2738
Library not updating when contents change
2018-01-30 18:06:09 -08:00
John Lewin
f6b0b68c9e
Add RegisterOperation for type -> operation mapping
2018-01-30 12:29:16 -08:00
John Lewin
1da9d0dfb5
Consolidate file extension definitions
...
- Issue MatterHackers/MCCentral#2527
Too many authorities on valid files types
2018-01-23 18:20:49 -08:00
John Lewin
ea0415321c
Rename RegisterRootProvider to RegisterContainer
...
- Eliminate unused nomenclature, use existing terms
2018-01-15 12:38:43 -08:00
John Lewin
2ab8002655
Rename sent/received events
...
- Issue MatterHackers/MCCentral#2597
Rename ReadLine event to resolve ambiguity in terms
2018-01-06 22:03:26 -08:00
John Lewin
edceab2e85
Rename SendLineToPrinterNow -> QueueLine
...
- Issue MatterHackers/MCCentral#2550
SendLineToPrinterNow queues printer commands
2018-01-04 18:32:54 -08:00
John Lewin
9df9815bfb
Allow loading of zip streams via GetContentStream
...
- Issue MatterHackers/MCCentral#2420
DragDrop zip onto bed suggests it works but does not
2017-12-28 17:46:01 -08:00
John Lewin
cfaa97dd30
Remove hard-coded IsProtected flag on LibraryContainer
...
- Default FileSystemContainers to IsProtected = false
- Issue MatterHackers/MCCentral#2420
DragDrop zip onto bed suggests it works but does not
2017-12-28 17:45:30 -08:00
John Lewin
623ff513f6
Fix incorrect IsReadOnly indicator
...
- Issue MatterHackers/MCCentral#2502
Zip files/containers should not appear as Save locations
2017-12-25 09:58:44 -08:00
John Lewin
b0d7c192af
Disable Up Folder button in RootContainer
...
- Issue MatterHackers/MCCentral#2479
Up Folder buttons should be disabled in root container
2017-12-24 19:40:14 -08:00
John Lewin
cdf28f036b
FileSystemContainers need to .Load and fire .ContainerChanged on filter
...
- Issue MatterHackers/MCCentral#2455
Search not functioning in Downloads folder
2017-12-21 23:20:56 -08:00
John Lewin
466fc2fbd6
Guard against enumeration changed
2017-12-21 18:04:52 -08:00
John Lewin
02d21fc774
Implement default WritableContainer.Move
2017-12-21 15:07:34 -08:00
John Lewin
5fb13d07f3
Constrain library Save/Move operations to writable containers
2017-12-21 14:24:09 -08:00
Lars Brubaker
5cce6e1f7a
Made the default library folders sorted
2017-12-20 16:13:07 -08:00
John Lewin
45f71f29a9
Conditionally set MeshPath on dragdrop operations from the shell
...
- Issue MatterHackers/MCCentral#2409
MeshWrapper Children not persisted and loaded to MCX
2017-12-19 14:50:50 -08:00