Commit graph

49 commits

Author SHA1 Message Date
John Lewin
f38cd7fc41 Add ShowMessageBox overload without callback requirement 2017-10-18 19:54:06 -07: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
ebdbd5b53d Rename HistoryContainer -> PrintHistoryContainer 2017-10-08 10:04:18 -07:00
John Lewin
153162ac5e Extract embedded type to new file 2017-10-08 10:01:30 -07:00
John Lewin
06aa27d426 Rename HistoryRowItem -> PrintHistoryItem 2017-10-08 10:01:08 -07:00
John Lewin
2bbd6b5423 Remove unused type 2017-10-08 09:21:47 -07:00
John Lewin
6006701b60 Restore filtered out SDCard content
- Issue MatterHackers/MCCentral#2023
Investigate CloseShouldNotStopSDPrint regression
2017-10-01 23:41:48 -07:00
John Lewin
882a389495 Fix listview selection duplication bug
- Issue MatterHackers/MCCentral#2022
Investigate AddToQueueFromLibraryButtonAddsItemsToQueue regression
2017-10-01 23:17:51 -07:00
John Lewin
1a92cbaadf Filter library items to loadable content only
- Issue MatterHackers/MCCentral#2015
Filter library items to loadable content only
2017-09-29 20:18:51 -07:00
John Lewin
70e739cbad FileSystemContainer->Remove simply opens shell window for user 2017-09-29 17:31:44 -07:00
John Lewin
123f21dcab Wire up notification system for ContentChanged -> UI listeners 2017-09-29 17:26:45 -07:00
John Lewin
040d3dc934 Prevent acquisition of content streams for remote only data 2017-09-28 17:36:42 -07:00
John Lewin
c9ff5e4d1f Filter out FileSystemWatcher subdirectories 2017-09-28 11:31:19 -07:00
John Lewin
8e1e4af595 Extract embedded types to new files 2017-09-28 11:30:20 -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
7e2a629e08 Named item for 'Create Folder' 2017-09-27 18:22:43 -07:00
John Lewin
74c561f656 Rewrite library/view3D DragDrop for multi-select and clarity 2017-09-19 20:01:22 -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
d258b60bb1 Extract embedded types to new file 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
cc96dc65e5 Specify type rather than instance for default container view widget
- Construct and switch to container requested view if not active
2017-08-08 11:35:25 -07:00
John Lewin
898267c330 Avoid ReloadAll when rebuilding thumbnails 2017-08-02 17:24:53 -07:00
John Lewin
486bc23e57 Colorize primitives 2017-08-02 17:08:44 -07:00
John Lewin
7a5493cde8 Fix thumbnail rendering/scaling bugs 2017-08-02 14:37:35 -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
07dc5f3333 Evaluate creators in library root 2017-06-17 10:46:01 -07:00
John Lewin
8afc92ae33 Decouple MatterControl components from PrinterConnection
- Move relevant aspects to ApplicationController
2017-06-16 18:04:47 -07:00
John Lewin
d950e76722 Workarounds for DesignTools Android 2017-06-14 19:39:30 -07:00
John Lewin
9aaf0f6311 Rename PrinterConnectionAndCommunication 2017-06-13 17:22:49 -07:00
John Lewin
11e3ca8a6e Revise RemoveButtonRemovesMultipleItems test
- Fix product bug with PrintQueueContainer failing to reload
- Add test helper to select ListView items
- Reuse test helper
- Iterate on .OfType instead of cast and eval
2017-06-06 18:42:44 -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
add70a2f90 Revise AddToQueueFromLibraryButtonAddsItemToQueue test
- Restore Add To Queue functionality
- Expose reusable AddAllItems() to PrintQueueCollection
- Revise base implementation of FileSystemItem to support default
  name based on filename unless set
2017-06-03 16:18:09 -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
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
bbbcb62123 Fix AddMultipleItemsToQueue test
- Use new library widget name format
- Fix blocking issues in PrintQueueContainer
  - Perform actual container reload via .ReloadContainer
  - Allow ReloadContainer to execute on the current thread
  - Wrap original invocation of ReloadContainer in ctor with Task.Run()
- Issue MatterHackers/MCCentral#1504
2017-05-21 16:55:33 -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