Commit graph

437 commits

Author SHA1 Message Date
Lars Brubaker
44bbbb74e4 Working on a local library test 2015-09-01 16:03:29 -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
larsbrubaker
03c5f39776 Don't show the center message unless we enter the editor. 2015-08-29 09:23:04 -07:00
Lars Brubaker
5305e44315 Updated tool tip on 3D controls. 2015-08-21 13:31:36 -07:00
John Lewin
fed2db8b6c Make ViewControls3D display actual mode during overrides
- Show trackball controls during mouse overrides

Conflicts:
	PartPreviewWindow/View3D/View3DCreateSelecitonData.cs
	PartPreviewWindow/View3D/View3DWidget.cs
	Submodules/agg-sharp
2015-08-17 10:20:13 -07:00
Lars Brubaker
1d3fc7f9e2 Fixed navigation descriptions. 2015-08-17 09:33:31 -07:00
larsbrubaker
0bf526dc02 Put in some more tooltips. 2015-08-15 16:38:07 -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
52428f8fdb Made the print bed model and texture only get created when the bed size or shape changes.
Made the water mark image get cached.
2015-08-13 16:24:17 -07:00
Lars Brubaker
4f8acd3974 Don't hook close button when embedded. 2015-08-13 15:41:33 -07:00
Lars Brubaker
6474ddc043 Make sure we close the children when Reloading the PartPreviewContent 2015-08-13 15:23:21 -07:00
Lars Brubaker
3b00abfc89 Made the 3d view respect the center on bed slice setting. 2015-08-10 15:35:56 -07:00
Lars Brubaker
d139a525db Little text changes. 2015-08-10 13:36:31 -07:00
Lars Brubaker
b8f61ae1e5 Made more code use tool tips.
Wrote more tool tips.
2015-08-10 10:15:28 -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
1f935c23cd Put in some more tool tips. 2015-08-09 20:05:49 -07:00
Lars Brubaker
9c415ab270 Don't set the focus of the text widget until the first draw. 2015-08-07 11:38:58 -07:00
Lars Brubaker
8caa4d6f0e Fixed the bed and the 3D view to always show parts in the right place.
Made a warning if a part is off the bed and offer to fix it.
2015-08-06 15:20:04 -07:00
Lars Brubaker
10fa7f4f61 Save as widget is working correctly. 2015-08-05 13:19:38 -07:00
Lars Brubaker
f43860c00f Don't take empty extensions. 2015-08-03 16:46:57 -07:00
Lars Brubaker
87f2934cf3 Took out dead code. 2015-07-31 18:44:28 -07:00
Lars Brubaker
73fd06a39d The library selector can now return the right selected library. 2015-07-31 18:18:21 -07:00
Lars Brubaker
40220aa8f2 Refactoring 2015-07-31 16:01:57 -07:00
Lars Brubaker
b7005ae579 Made the bread crumbs start out initialized 2015-07-31 13:24:45 -07:00
Lars Brubaker
79fa6f3db8 Making the bread crumbs be a portable widget. 2015-07-30 17:42:58 -07:00
Lars Brubaker
721dcf4578 Make Focus work better
don't return a bool, assert that there is a parent
Set focus on save as window to text field.
Set focus to text field on terminal window.
2015-07-29 16:31:24 -07:00
Lars Brubaker
396b9984be Check for null before releasing handle. 2015-07-23 10:58:42 -07:00
larsbrubaker
dd626569f9 Took out some dead code
Renaming for clarity
Created a GCodeProxy class to clean up some of the gcode injection and processing.
2015-07-23 07:47:56 -07:00
Lars Brubaker
1d5c2b3f8a More code changed to await. 2015-07-21 14:59:01 -07:00
Lars Brubaker
c70d56c3be Change more background workers to async
Put in a cast (Action) so we don't have to do () => func();
2015-07-21 11:10:01 -07:00
larsbrubaker
4dbc03edb8 Change from background workers to async functions
Made the SlicingOutputMessage and SlicingDone events not rooted (as print item wrappers aren't)
2015-07-21 08:10:05 -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
b80ab532d8 Made the 3d view save to the current item. 2015-07-17 16:12:14 -07:00
John Lewin
d9ebf4c553 Remove duplicate reload, guard against null reference on dragdrop 2015-07-14 17:54:27 -07:00
Lars Brubaker
85a06710e3 Don't fail if print item wrapper is null. 2015-07-14 16:44:05 -07:00
Lars Brubaker
3a797d2544 Changes to progress control. 2015-07-14 13:38:22 -07:00
Lars Brubaker
b970252c88 Made the insert button and drag and drop in 3d view respect the read only flag.
Made the Edit button in the 3d view respect the protected flag
2015-07-13 10:08:08 -07:00
Lars Brubaker
ccaa5f048a Change some background workers to async methods. 2015-07-02 11:23:44 -07:00
Lars Brubaker
593aee44f9 Writing unit tests for the library provider stuff.
Got the file folder provider acting like nodes rather than a static set.
2015-06-29 18:03:56 -07:00
Lars Brubaker
dfff3e3a71 Making code go through the new LibraryProviderSqlite rather than the old sqliteData
Put in an add item.
Put in a FilySystemWatch for the LibraryProviderFileSystem
Lots of work on LibraryProviderSqlite
CodeMaid Models.cs
2015-06-25 12:19:19 -07:00
Lars Brubaker
f6d32a62a5 Changed Changing some delegate defs to use EventHandler<> instead.
Took out some EventHandler new s that were from old code
Now Provider code
Create Folder in library and working some in provider.
New tests in MatterSlice
2015-06-24 16:59:10 -07:00
Lars Brubaker
185fdfc5b6 Working on a Provider SaveToLibrary function.
Some refactoring
2015-06-22 18:21:56 -07:00
Lars Brubaker
c13f583bd7 Made some margin on the update marker
Made the default 3d view window size bigger to support the save as button distance by default.
2015-06-22 15:12:48 -07:00
Lars Brubaker
c8433b1cfa Renamed GetBreadCrumbs to Get ProviderLocator
Made in return a list of nodes rather than a string
made the data store this as json
2015-06-18 18:06:04 -07:00
Lars Brubaker
77c5c3dfb2 Put in bread crumbs for PrintItem to tell where it came from.
CodeMaid
2015-06-17 15:43:37 -07:00
Lars Brubaker
5cc1b651b4 UI thread is more explicit about what functions it accepts and now accepts no parameter functions. 2015-06-11 12:06:40 -07:00
Lars Brubaker
038b40ada6 New library code to support provider pluggins for things like
cloud library
drop box
file system folders
etc...
2015-06-10 17:53:17 -07:00
Lars Brubaker
4fdfe1efe2 Code maid 2015-05-30 12:48:16 -07:00
Lars Brubaker
6be44559fe Make sure we don't try to use the elements out of the speeds list when there aren't any. 2015-05-28 11:39:24 -07:00
Lars Brubaker
fed87448a5 mm\s -> mm/s 2015-05-28 11:15:54 -07:00