Commit graph

32 commits

Author SHA1 Message Date
Lars Brubaker
a0659dc8bb Made PrintItemWarppers have a ProviderLocator rather than a Provider
Fixed some null reference bugs
Fixed a bug with copy to library changing the queues file path
Made save as work better.
2015-09-11 14:36:57 -07:00
Lars Brubaker
3504d4dfe4 Made dispose on library providers get called much more consistently.
Made squlite provider do more operations async.
2015-09-10 12:42:52 -07:00
Lars Brubaker
1b305cee32 Don't change our file watchers unless we have to.
Don't create print item wrappers in sqlite provider except when needed.
2015-09-09 15:35:31 -07:00
Lars Brubaker
a82490c70a Made Print Wrappers track file changes better
Fixed a bug with 3D panel not closing out from editing correctly.
Fixed a bug with thumbnails not rebuilding under some update conditions.
2015-09-04 09:55:40 -07:00
Lars Brubaker
a98e29b22e Made it possible to check if the database is closed
More cleaning of automation api
Made the sqlite provider refresh on changes
Made the unit test for that work
2015-09-03 12:21:20 -07:00
Lars Brubaker
2ae756f357 Made Action setCurrentLibaryProvider common to all providers. 2015-09-02 11:05:50 -07:00
Lars Brubaker
f2cce2fe5e Code Maid
Search is working.
2015-08-25 12:11:35 -07:00
Lars Brubaker
11d4a7352a Merged sqlite provider back together. 2015-08-25 12:01:15 -07:00
Lars Brubaker
b30bae0abf Made providers take a function to change the provider (used in searching)
Improved tests (made functions to help create a clean run)
2015-08-25 11:56:21 -07:00
Lars Brubaker
d1a26eb2a1 Got the sql and file system unit tests running
Made the ApplicationUserDataPath a static
2015-08-21 11:04:27 -07:00
Lars Brubaker
c51ddebaab Making it easier to create library providers.
Making less functions abstract.
2015-08-13 17:48:34 -07:00
John Lewin
0ab547bb26 Restore ability to attach VS to Android via debugger
- Prevent accidental construction of ProviderSQLite objects inside of ProviderSQLite constructor
 - Initialize .baseLibraryCollection during rootLibraryCollection construction to prevent null reference errors
   caused by access before assignment
 - Remove AddItem -> AddStlOrGcode -> AddItem recursion - Fixes crash due to concurrent writes to default.mcp
 - Add sqlite async methods and supporting logic to ensure disk IO operations aren’t run in parallel
 - Consolidate logic around sample part extraction from StaticData from various areas into a single method
 - Rename that method from SyncCalibrationFilesToDisk to EnsureSamplePartsExist
 - Break apart the large LINQ query into discrete and easier to understand steps
 - Add shared base class for sqlite backed library providers and resuse common code in base
 - Guard against cache deletion during one-time library initialization
 - Discard StreamReader cases in favor of ReadAllText - Ensures .Dispose is always called and is ultra succinct
 - Purge orphaned code
2015-08-09 21:05:53 -07:00
larsbrubaker
bc1f45f8b8 Making the progress registration per item and more flexable. 2015-08-07 09:56:49 -07:00
Lars Brubaker
432ed5f505 LibraryPrividerPlugin is a plug in creator. 2015-08-05 15:55:55 -07:00
Lars Brubaker
1753447e89 Made the bread crumbs for sqlite provider work 2015-08-04 16:17:51 -07:00
Lars Brubaker
f43860c00f Don't take empty extensions. 2015-08-03 16:46:57 -07:00
larsbrubaker
09db21f663 Rename working for SQLite provider. 2015-07-28 14:38:47 -07:00
Lars Brubaker
27677b44fd Fixed a bug with hiding hint text on edit widget
Working on rename
Fixed the blending on thumbnails.
Some experimental work with adding more base library providers (dynamic folder adds)
Test History and Queue providers
2015-07-27 19:03:54 -07:00
Lars Brubaker
67f86d0ab2 Only register for updates from the currently visible library provider rather than all that have been allocated.
Got rid of rooted event handler on LibraryPrivider
2015-07-27 10:27:22 -07:00
Lars Brubaker
ed47e8f4b2 Name refactoring 2015-07-23 14:19:28 -07:00
Lars Brubaker
17bd020218 Made AddFilesToLibrary not abstract
Removed SaveToLibrary
2015-07-23 11:48:31 -07:00
Lars Brubaker
53f7ba8579 Remvode unused config.ini
Made the create folder window have the text box selected so you can type right away.
Asking for more library stuff by index.

Small work on HTML widget
2015-07-22 18:30:22 -07:00
Lars Brubaker
5f4ea81a4c Made PrintItemWrapper able to take a containing LibraryPrivider handle
Made the providers pass themselves when building PrintItemWrappers
Fixed the bug with print history not setting the correct item to print
Took out LibrarySQLiteData (not replaced with LibraryProviderSQLite)
Made code go through the new SQLite provider to add parts during setup
Starting work on Save as Window to save to queue or provider and do provider selection
2015-07-20 16:09:52 -07:00
Lars Brubaker
6f0b443bb3 Took out the provider locator code as it is not needed. 2015-07-17 16:45:24 -07:00
John Lewin
d9ebf4c553 Remove duplicate reload, guard against null reference on dragdrop 2015-07-14 17:54:27 -07:00
John Lewin
9daf037e49 Add GetPrintItemName for Sqlite provider 2015-07-14 17:02:57 -07:00
Lars Brubaker
d4b471842b Made the GetPrintItemWrapperAsync take an optional ReportProgressRatio.
Made it possible to show the wrapper loading progress.
Made the ray trace images more white.
2015-07-14 16:16:58 -07:00
John Lewin
908b604328 Async PrintItemWrapper 2015-07-14 13:46:59 -07:00
John Lewin
23186bc68d Toggle LibraryProvider availability on authentication status
- Add Visible property to LibraryProviders
 - Filter LibraryProviders based on .Visible
 - Add authentication status to ChangeCloudSyncStatus calls
2015-07-12 19:13:53 -07:00
Lars Brubaker
60ad94be68 Made the LibraryProvider implement iDisposable and we try to dispose them when appropriate.
Made dispose of a collection warn if there are child items or collections.
Made the bread cumbs a clickable navigation rather than just names.
2015-07-02 18:34:10 -07:00
Lars Brubaker
ccaa5f048a Change some background workers to async methods. 2015-07-02 11:23:44 -07:00
Lars Brubaker
081fadccbe Moving the Queue, Library and History to not have Print pre-pended. 2015-07-02 09:45:53 -07:00
Renamed from PrintLibrary/Provider/LibraryProviderSqlite.cs (Browse further)