Commit graph

33 commits

Author SHA1 Message Date
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
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
68f7c2fa12 Collapse ILibraryReadOnlyStream into ILibraryContentStream 2018-02-12 19:26:36 -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
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
Lars Brubaker
31a3156510 Removing the requirement of flattening the scene 2018-02-05 17:37:42 -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
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
Lars Brubaker
cefd99b361 Making STL and MeshFileIo take a cancelation token 2018-01-31 09:54:22 -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
f38cd7fc41 Add ShowMessageBox overload without callback requirement 2017-10-18 19:54:06 -07:00
John Lewin
c674bc329c Revise LibraryContainer Load events 2017-10-09 13:20:56 -07:00
John Lewin
593863c508 Remove Task.Run calls, move Load processing back onto callers thread 2017-10-09 10:48:32 -07:00
John Lewin
37b539f89d Whitespace 2017-10-08 19:36:23 -07:00
John Lewin
7c56aeb483 Implement 'Create Folder' in all containers, loop over all items
- Rename NewFolderItem -> CreateFolderItem
- Disable FileSystemContainer -> Remove delete behavior
- FileSystemContainer -> Remove now *only* opens shell window
2017-09-28 11:22:45 -07:00
John Lewin
d258b60bb1 Extract embedded types to new file 2017-09-17 13:31:32 -07:00
John Lewin
ad9a445587 Add support for ListView filtering & property for container IsReadOnly
- Filter SaveAs dialog to writable containers only
2017-07-31 22:16:15 -07:00
John Lewin
4ff6c5cbb8 Convert from ReportProgressRatio to Action<T> 2017-07-18 20:51:44 -07:00
John Lewin
4eb8ebe254 Revise ReportProgressRatio implementation 2017-07-14 13:55:02 -07:00
John Lewin
3ba370e349 Don't force extension to upper case
- Issue MatterHackers/MCCentral#1722
2017-07-12 14:53:10 -07:00
Lars Brubaker
1a9ebebaed Changed ReportPregress delegate to have touple and use CancellationTokenSource 2017-06-30 16:09:31 -07:00
John Lewin
11668e305b Revise DragTo3DViewAddsItem test
- Fix naming bug introduced in earlier updates
  - Friendly name should only be applied to default file names
  - Friendly name should not include extension
2017-06-05 23:34:33 -07:00
John Lewin
9389281ba8 Revise LibraryQueueViewRefreshesOnAddItem test
- Fix naming issue with SaveAs->LocalLibrary
2017-06-05 22:51:28 -07:00
John Lewin
4635831e9c Revise RemoveButtonClickedRemovesMultipleItems test 2017-06-03 15:45:26 -07:00
John Lewin
dd9e2d30b5 Revise RenameButtonRenamesLocalLibraryFolder test
- Restore support for LocalLibrary -> Create Folder
- Share Selection logic between Row/Icon views
- Make folders selectable
- Improve naming of DirectoryContainerLink
2017-06-03 15:11:12 -07:00
John Lewin
ce6a3834fc Fix LibrarySelection -> Rename
- RenameButtonRenameLocalLibraryItem test passing
- Get LibrarySelection->Remove action to compile after refactoring
- Make LibraryRenameSelectedItem an extension method and update callers
2017-06-03 13:31:07 -07:00
John Lewin
fc84f30333 Expand zips on add to Sqlite, fix test
- LocalLibraryAddButtonAddZipToLibrary test passing
2017-06-03 09:46:02 -07:00
John Lewin
d54f651b42 Restore classic SqliteLibrary item naming behavior, get test passing
- LocalLibraryAddButtonAddSingleItemToLibrary passing
2017-06-03 09:03:02 -07:00
John Lewin
03a593f1b5 Move to new library model and view
- Add new listview control for library content
- Migrate library providers to containers
  - Cloud, Sqlite, Directories, Queue, History
- Migrate SideBar components to containers
  - Primatives, Text, Braille, ImageConverter
- Create new library container types
  - Zip files, Calibration parts, Printer SDCards
- Reduce leftnav to Library, Settings, Controls, Options
- Add DragDrop support for image content
2017-05-20 00:41:02 -07:00