Commit graph

36 commits

Author SHA1 Message Date
Lars Brubaker
bed90234e7 Made MatterControl run as a .net standard app
Moving matter control to a lib and creating a new exe to run it
2018-09-06 16:09:58 -07:00
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
98fe471f12 Revise filter 2018-02-27 17:39:37 -08:00
John Lewin
3b26f3aa08 Add library container browsing for MCX items 2018-02-23 14:26:56 -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
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
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
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
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
Lars Brubaker
71979e35e9 Unify to single GetNonCollidingName
Improve it to check for and replace numbers
add new calling method
Make sure Object3D Close does not end up modifying object in processes
Don't try to render meshes with no faces
2017-12-06 16:31:04 -08:00
John Lewin
6df0dba376 Perform FileSystemFileItem edits and update thumbnails
- Move common FileSystemFileItem edit into base WritableContainer
- Issue MatterHackers/MCCentral#2251
Thumbnails not updated after edits
2017-11-14 17:02:25 -08:00
John Lewin
2aba5f185d Add Save method to ILibraryWritableContainer 2017-11-14 13:47:33 -08:00
John Lewin
0cfe09a4fb Add LibraryContainer tests 2017-10-09 14:39: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
70e739cbad FileSystemContainer->Remove simply opens shell window for user 2017-09-29 17:31:44 -07:00
John Lewin
c9ff5e4d1f Filter out FileSystemWatcher subdirectories 2017-09-28 11:31:19 -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
76e7af0436 Eliminate PrinterConnection.Instance 2017-09-17 21:08:16 -07:00
John Lewin
0073500f8e Remove redundant implementation 2017-09-17 13:31:32 -07:00
John Lewin
3a9833697d Platform providers
- New Provider model
- Remove WindowsFileDialogs project
- Remove PlatformAbstract assembly, use AggContext
- Rename OsInformation to OperatingSystem
2017-08-22 13:42:34 -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
Lars Brubaker
1a9ebebaed Changed ReportPregress delegate to have touple and use CancellationTokenSource 2017-06-30 16:09:31 -07:00
John Lewin
07dc5f3333 Evaluate creators in library root 2017-06-17 10:46:01 -07:00
John Lewin
d950e76722 Workarounds for DesignTools Android 2017-06-14 19:39:30 -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
55e217641a Better expose reusable components
- Move ActiveView3D reference to ApplicationController
- Use ActivewView3D reference rather than ChildrenRecursive search
- Reuse EditPrinter button on action bar to get more tests passing
- Move IsContentFileType helper to LibraryConfig
- Make PlatingHelpers operate on IEnumerable<IObject3D> versus Scene
- Pass Scene.Children rather than Scene
- When plating multiple items, pass the updated IEnumerable context
2017-06-02 13:23:08 -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