Commit graph

48 commits

Author SHA1 Message Date
John Lewin
ccd59227f0 Add LazyTabs for Touchscreen view
- Remove unset ApplicationControler.WidescreenMode variable
- Add local AddTab function to TouchScreenTabView for LazyTab creation
- Use common AddTab function for tab creation in TouchScreenTabView
- Refactor WidescreenPanel for clarity
  - Use OnBoundsChanged instead of event
  - obj.NumberOfVisiblePanels() becomes obj.VisiblePanelCount
- Fix thumbnail exception experienced by ensuring Directory exists
- Run ActiveSliceSettings.Instance assignment on UI thread if loading
  - Prevents extra ReloadAll right at the completion of form Load
2016-10-06 21:47:16 -07:00
Lars Brubaker
014ea6e75c Got the remaining automation tests running 2016-09-06 16:36:25 -07:00
Lars Brubaker
5637e25d9e Copy the thumbnail image, for the default queue parts if available
Fixed spelling
Made the ray tracer multi thread when not printing
Changed 'don't ask me again' to 'don't remind me again'
Added a thumbnail for the MatterControl coin
2016-09-02 16:26:56 -07:00
Lars Brubaker
d0ea36c269 default to render thumbnails in perspective 3D
Made only a default constructor for ray tracer
Put back in the code the guarantees we always have an item in the queue, even before we select a printer.
Added thumbnail render mode to the user settings key
2016-09-01 13:50:11 -07:00
Lars Brubaker
619c20aff0 Restore functionality to put default items in queue when new printer is created.
Made default calibration files include the calibration box
2016-09-01 10:53:10 -07:00
Lars Brubaker
8d03b045ac Always at least one item to the queue. 2016-08-31 17:51:08 -07: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
John Lewin
513bd1cea3 Add missing localizations 2016-01-14 14:20:11 -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
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
Lars Brubaker
dcec0ae890 Now we hook the sqlite adds rather than the file. 2015-09-22 15:20:49 -07:00
Kevin E. Pope
bcb3b44d89 Add share button to library. 2015-09-17 18:03:02 -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
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)