Commit graph

93 commits

Author SHA1 Message Date
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
John Lewin
7879c6dd9a Reload container instance contents when contents change 2017-12-18 22:03:43 -08:00
John Lewin
e513b6f0cb Remove dead code 2017-12-15 16:30:47 -08:00
John Lewin
33d068aa12 Skip items that aren't found by RelativePath
- Issue MatterHackers/MCCentral#2424
Cached thumbnails are invalid for zip items and containers
2017-12-15 16:30:47 -08:00
John Lewin
3ab016bde2 Account for zip files containing backslash path separators
- Issue MatterHackers/MCCentral#2424
Cached thumbnails are invalid for zip items and containers
2017-12-15 16:30:46 -08:00
John Lewin
498ef1d0f7 ID must be unique
- MatterHackers/MCCentral#2424
Cached thumbnails are invalid for zip items and containers
2017-12-15 16:30:46 -08:00
John Lewin
e0c08fd1fe Use zip icon for zip files and subfolders 2017-12-15 14:56:07 -08:00
John Lewin
494c2b6d82 Remove redundant helper method 2017-12-15 14:55:10 -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
35cdcb11b1 Convert cached localizations into dynamic calls 2017-12-04 15:07:56 -08:00
John Lewin
793b745da0 Add missing localizations 2017-12-04 15:07:56 -08:00
John Lewin
4d6ed9f913 Add support for switching to plating history items 2017-11-29 14:16:21 -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
79274a1419 Add PlatingHistory container
- Issue MatterHackers/MCCentral#2246
Investigate using a library container for plating history
2017-11-14 14:16:50 -08:00
John Lewin
2aba5f185d Add Save method to ILibraryWritableContainer 2017-11-14 13:47:33 -08:00
Lars Brubaker
cfca964294 More Refactoring of RGBA_Bytes 2017-11-01 18:13:47 -07:00
Lars Brubaker
359784877f Unify Vector2 3 and 4 to have upper case field members 2017-10-31 12:53:46 -07:00
Lars Brubaker
8d1fecab8c Changed RGBA_Bytes -> Color 2017-10-31 11:43:25 -07:00
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