Commit graph

81 commits

Author SHA1 Message Date
John Lewin
eea7dd9fe4 Remove DataStorage qualifier, add using statements 2016-02-24 10:53:22 -08:00
John Lewin
f8f70f46e6 Concise queries, reduce to functionality
- Remove DataStorage qualifier, add using statements
 - Remove unnecessary query variables and string.formatting statements
 - Remove duplicate code, reuse .RecordCount method
2016-02-23 14:42:36 -08:00
Lars Brubaker
1f2ab3dfea Put in another error response code
Made the Sqlite provider copy its data on a background thread.
2016-01-20 09:56:12 -08:00
Lars Brubaker
b186fe6fae Changed should be shown not to take a call back. 2016-01-18 10:02:30 -08:00
Lars Brubaker
8d0bf547e5 New translations 2016-01-15 18:04:44 -08:00
John Lewin
513bd1cea3 Add missing localizations 2016-01-14 14:20:11 -08:00
John Lewin
9a2ec32afb Only register FileSystemWatchers on Windows
- Update application icon
2016-01-12 16:44:05 -08:00
Lars Brubaker
f61a459fa2 Made the file library provider search match the cloud search and work in subdirectories correctly. 2016-01-11 17:28:59 -08:00
John Lewin
40939b906d Restore CloudLibrary save functionality, revise convert to AMF behavior
- Fixes #111237022 - Unable to save any changes to CloudLibrary items
 - Add useIncrementedNameDuringTypeChange to PrintItemWrapper to control naming behavior
 - Pass useIncrementedName value though from provider factory all the way to PrintItemWrapper
 - Prevent duplicate calls to GetPrintItemWrapperAsync within the same callstack i.e. pass instance through
 - Only rename files when switching to AMF and use different logic for different provider types
 - Add path helper methods to PrintItemWrapper for clarity and conciseness in callers
2016-01-11 14:07:39 -08:00
John Lewin
308b2cbc87 Add visual indicator for http failures 2015-12-23 17:04:29 -08:00
Lars Brubaker
f3fd6428c9 Need to be able to save to the queue on save as 2015-12-15 09:44:56 -08:00
John Lewin
b110118e41 Remove async modifiers from non-async methods
- Use Task.FromResult where needed
2015-12-08 16:59:28 -08:00
John Lewin
3a59bf7c6b User configurable library folders 2015-11-12 11:45:03 -08:00
John Lewin
3406f1ce57 Revise projection to include file extension 2015-11-10 15:33:16 -08:00
John Lewin
beffdda91e Drop file extension before performing string match
- Fixes #107851156
2015-11-10 13:01:27 -08:00
John Lewin
efb8505868 Revert async SQLite provider calls back to sync 2015-10-08 11:00:43 -07:00
John Lewin
b900841d74 Remove queue/history library providers and filter shared items provider from selector
- Fixes #104131666, #104140048
2015-09-24 16:28:51 -07:00
John Lewin
fa908d15be Refresh root library view as needed
- Add LibraryRootNotice event
 - Hook LibraryRootNotice into new Socketeer LibraryRootNotice DeviceEvent
 - Listen for LibraryRootNotice in LibraryProviderSelector and call ReloadData to ping ProviderFactories for visibility
 - Refactor LibraryProviderSharedPlugin for clarity
 - Refactor LibraryProviderSharedPlugin to support refreshing visibility logic after ShouldBeShown() calls
 - Revise AcquireCollectionData() to use 'internal' access modifier for reuse in LibraryProviderSharedPlugin
 - Ensure the input field on CloudShareRedeemForm is focused by default, make buttons available to test automation
 - Add new test for 'Shared with Me' folder visibility
 - Update existing Purchased folder test to look for revised item name
 - Replace magic 'ProviderSelectorKey' token with static member for compile time consistency
2015-09-22 22:40:15 -07:00
Lars Brubaker
dcec0ae890 Now we hook the sqlite adds rather than the file. 2015-09-22 15:20:49 -07:00
Lars Brubaker
23203526ef Make sure we don't use this pointer when threaded without ensure it is not null. 2015-09-22 12:15:21 -07:00
Kevin E. Pope
14a6834669 Add share redemption. 2015-09-17 19:19:15 -07:00
Kevin E. Pope
bcb3b44d89 Add share button to library. 2015-09-17 18:03:02 -07:00
John Lewin
e3c6333ba1 Reduce library flickering
- Prevent the LibraryProviderSelector from creating new providers when it already has ones loaded, stored and referenced
 - Add WebRequest2 type to support custom post/request values
2015-09-17 16:00:22 -07:00
Lars Brubaker
79928f8fb7 Made the Debugger.Break() only exist in debug mode. 2015-09-17 13:45:26 -07:00
Lars Brubaker
0fe63b58be put in the ability to say that the library selector is protected 2015-09-16 17:59:22 -07:00
John Lewin
7789120d84 Update SQL where predicate guard to check for null or empty 2015-09-14 15:35:07 -07:00
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
fa97829073 Put in lots of code to break on exceptions in the debugger.
Made the cloud provider able to report that it is loading
2015-09-11 10:48:24 -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
87767ff591 Handling some file locking errors better (file in use)
Upgrade to amf when saving from 3D editor
2015-09-09 11:05:17 -07:00
Lars Brubaker
563a5a3b2d Improving the intuition around library navigation 2015-09-08 18:01:09 -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
81d9518fcd Updated the queue icon image
Trying to get the purchase folder to show up correctly.
2015-09-02 18:47:44 -07:00
Lars Brubaker
179da8280a Made it possible for a library provider to describe that it should not be shown. 2015-09-02 14:06:35 -07:00
Lars Brubaker
2ae756f357 Made Action setCurrentLibaryProvider common to all providers. 2015-09-02 11:05:50 -07:00
Lars Brubaker
a35753c47d Working on making save as save to the right provider
Working on Copy to Library
2015-08-31 16:32:09 -07:00
Lars Brubaker
959f85e144 Made search work on file system folders (download) 2015-08-25 13:04:14 -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
Lars Brubaker
0411e64c5d Merge pull request #356 from jlewin/master
Restore ability to attach VS to Android via debugger
2015-08-13 17:07:25 -07:00
Lars Brubaker
1a633101e1 Put in the ability for a library provider to give a status message.
Cleaned up some API stuff for library.
2015-08-11 14:42:24 -07:00
Lars Brubaker
3b00abfc89 Made the 3d view respect the center on bed slice setting. 2015-08-10 15:35:56 -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
Lars Brubaker
2b089cfa4a Made the bed leveling test pass again.
Made library take zips again and filter items it can't take.
Deleted some dead code.
2015-08-07 16:35:36 -07:00
larsbrubaker
bc1f45f8b8 Making the progress registration per item and more flexable. 2015-08-07 09:56:49 -07:00