Commit graph

37 commits

Author SHA1 Message Date
John Lewin
38de656e48 Improve naming to clarify behavior 2018-03-12 17:07:19 -07:00
John Lewin
c09e0731ef Consolidate SHA1 helpers
- Issue MatterHackers/MCCentral#2879
Ensure consistency and consolidate all sha1 helpers
2018-03-12 17:07:18 -07:00
John Lewin
2e631c5a49 Remove slicing members from PrintItemWrapper
- Issue MatterHackers/MCCentral#2825
2018-02-13 16:41:09 -08:00
John Lewin
b801e0fa8c Add utility function for FileHashCode -> GCodePath 2018-02-13 12:46:54 -08:00
John Lewin
a3cbe6acbe Compute opaque theme colors, save before slice, revise icon styling
- Change slicing hash generation method/name
- Add ComputeFileSha1 to ApplicationController
- Issue MatterHackers/MCCentral#2307
Same color supplied for both tab and border
- Issue MatterHackers/MCCentral#2304
Have to Save file to make slicing go after change to scene
2017-11-21 11:11:07 -08:00
John Lewin
46188d1eea Reduce Print/Slice helper method couplings to PrintItemWrapper 2017-11-15 07:41:36 -08:00
John Lewin
1900858a8f Fix typos 2017-11-04 21:11:00 -07:00
John Lewin
fe6e93acef Revise slicing to run as async tasks
- MatterHackers/MCCentral#1308
Change slicing thread system to run as async method
- MatterHackers/MCCentral#1941
Selecting 'Print' then viewing gcode does not show any gcode
2017-10-16 17:09:00 -07:00
John Lewin
77d1af763a Simplify, delete unused methods 2017-09-22 17:36:13 -07:00
John Lewin
d258b60bb1 Extract embedded types to new file 2017-09-17 13:31:32 -07:00
John Lewin
bbe5ab375f Remove unused FileHasChanged features of PrintItemWrapper 2017-07-27 14:32:20 -07:00
John Lewin
7fdae3bfe5 Discard GCodeFileIsComplete logic 2017-06-30 23:07:48 -07:00
Lars Brubaker
7f8763cd12 Took out alternate engines 2017-06-15 16:54:36 -07:00
John Lewin
03a593f1b5 Move to new library model and view
- Add new listview control for library content
- Migrate library providers to containers
  - Cloud, Sqlite, Directories, Queue, History
- Migrate SideBar components to containers
  - Primatives, Text, Braille, ImageConverter
- Create new library container types
  - Zip files, Calibration parts, Printer SDCards
- Reduce leftnav to Library, Settings, Controls, Options
- Add DragDrop support for image content
2017-05-20 00:41:02 -07:00
Lars Brubaker
4d96a26cd0 Moved all the easy static localized strings to non-static strings 2017-03-01 13:48:49 -08:00
John Lewin
778439bb48 Refactor ActionBar/ActionRow
- Convert SlicingOutputMessage event to EventHandler<StringEventArgs>
- Remove redundant PrintStatusRow base type, use FlowLayoutWidget
- Rename DesktopPrintStatusRow to PrintStatusRow
2017-02-15 07:04:36 -08:00
John Lewin
408fc580f4 Remove duplicate semicolons 2016-12-01 15:14:53 -08:00
John Lewin
f304e9f3d6 Migrate SettingsProfile functionality to new SettingsHelpers type
- Add as child property of settings scope, ready for merge of types
 - Progress on Issue #1113
2016-07-18 16:58:25 -07:00
larsbrubaker
f2fecc9f51 Spelling 2016-06-22 11:08:39 -07:00
Lars Brubaker
86f08b2565 use a 64 bit hash of slice settings. 2016-05-03 11:26:41 -07:00
Lars Brubaker
834aba4f38 Settings profile using methods rather than properties 2016-04-28 09:41:27 -07:00
John Lewin
4496720772 Json Profiles 2016-04-27 14:35:57 -07:00
John Lewin
eea7dd9fe4 Remove DataStorage qualifier, add using statements 2016-02-24 10:53:22 -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
Lars Brubaker
9a3efa0dbd Got rid of file watchers. 2015-09-23 13:33:14 -07:00
Lars Brubaker
79928f8fb7 Made the Debugger.Break() only exist in debug mode. 2015-09-17 13:45:26 -07:00
Lars Brubaker
063c7d1649 Handle a bad file in the queue 2015-09-11 16:57:13 -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
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
66ee409c8c Put in some try catch code to prevent failing to read a mesh while writing it. 2015-09-08 13:56:22 -07:00
Lars Brubaker
1b5c1e6a3e Total Seconds is what we really wanted.
Making the tests have more common code for less errors.
2015-09-04 11:28:01 -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
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
081fadccbe Moving the Queue, Library and History to not have Print pre-pended. 2015-07-02 09:45:53 -07:00
Renamed from PrintQueue/PrintItemWrapper.cs (Browse further)