Commit graph

48 commits

Author SHA1 Message Date
John Lewin
160c410319 Restore ListView mode switching, fix missing list items
- MatterHackers/MCCentral#2130
ListView item counts change as reflow occurs
- MatterHackers/MCCentral#2128
Switching listview modes results in empty list
2017-10-26 10:57:46 -06:00
John Lewin
dbf0c46ffd Remove PrintActivePartIfPossible, wire up callers to PrintPart 2017-10-16 17:28:18 -07:00
John Lewin
06aa27d426 Rename HistoryRowItem -> PrintHistoryItem 2017-10-08 10:01:08 -07:00
John Lewin
2b1fcff98b Move ownership of ViewWidget assignment to caller 2017-09-29 17:26:45 -07:00
John Lewin
02f315da61 Remove unused, breaking dependency 2017-09-20 05:27:51 -07:00
John Lewin
76e7af0436 Eliminate PrinterConnection.Instance 2017-09-17 21:08:16 -07:00
John Lewin
af38676244 Make View3DWidget.Scene private 2017-09-16 01:19:07 -07:00
John Lewin
55ac2571fa Remove static ActivePrintItem 2017-09-15 18:45:21 -07:00
Lars Brubaker
f7d4163125 Refactoring VAnchor and HAnchore names
Making more debug info for show bounds
2017-08-07 15:47:27 -07:00
John Lewin
4fd6879c3b Clean up ThemeChanged listeners, remove orphaned ThemeChanged bodies 2017-06-21 07:38:02 -07:00
John Lewin
8afc92ae33 Decouple MatterControl components from PrinterConnection
- Move relevant aspects to ApplicationController
2017-06-16 18:04:47 -07:00
John Lewin
1ac3274e7d Move CommunicationState enums into PrinterCommunication namespace 2017-06-13 17:33:23 -07:00
John Lewin
9aaf0f6311 Rename PrinterConnectionAndCommunication 2017-06-13 17:22:49 -07:00
John Lewin
e33e7d89cd Remove SelectedIndex/Selection functionality from QueueData 2017-06-05 21:57:45 -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
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
Lars Brubaker
4d96a26cd0 Moved all the easy static localized strings to non-static strings 2017-03-01 13:48:49 -08:00
Lars Brubaker
286e89ad63 Don't attempt recovery if not enabled. 2017-02-09 14:26:15 -08:00
Lars Brubaker
63fcda6532 change it's to its
Refactor
2017-02-08 17:17:06 -08:00
Lars Brubaker
cecf01769c Fixed keyboard movement 2017-02-08 14:34:16 -08:00
Lars Brubaker
397398cf85 Put in a warning message if print recovery on a min z printer. 2017-02-08 13:16:29 -08:00
Lars Brubaker
8134b3f450 Fixed the Macros window to cancel on user closes with the X windows button.
Put cancel into max length and temp stream
Made close function take a bool if the system did it
Moved To EventHandler<> in GuiWidget
Made a ClosedEventsArgs
2017-02-03 13:06:08 -08:00
John Lewin
ace89e1e5a Use .Localize extension function 2017-01-04 10:52:06 -08:00
John Lewin
535a161115 Remove event keyword from private fields 2016-12-29 06:57:42 -08:00
Lars Brubaker
53e6ff3eba Added recovery count to the history data
MatterHackers/MCCentral#914
Track the recovered count to aid diagnostics
2016-12-14 11:26:53 -08:00
Lars Brubaker
d23a567307 Working to reduce theme changed calls as they will reload all after.
same for on active printer changed
2016-12-08 17:40:04 -08:00
Lars Brubaker
89f7d9b120 New printer layout
Better recovery description
2016-09-22 16:34:06 -07:00
Lars Brubaker
fbd67c0dd7 Put in code to refresh the library selector
Renamed ResumePrinting to PrintRecovery
2016-09-06 14:42:14 -07:00
John Lewin
da695dc581 Convert more string literals into SettingsKey constants 2016-07-12 17:51:26 -07:00
John Lewin
c008234248 Rename ActiveValue to GetValue, consolidate GetValue overrides 2016-06-15 17:19:29 -07:00
John Lewin
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -07:00
Lars Brubaker
895eea253c Converted lots of get properties to methods in SettingsProfile 2016-04-27 18:57:51 -07:00
John Lewin
7a98b347c3 Consistent use of HorizontalSpacer for layout 2016-04-25 15:25:00 -07:00
John Lewin
c2089b5aa3 Consolidate GUIWidget WidgetHasBeenClosed and HasBeenClosed properties 2016-04-25 15:25:00 -07:00
Lars Brubaker
ea89d41bc6 Working on resuming for non-max z printers
Added settings to support resuming
Save the baby step offset for print resuming
Make sure we don't resume prints that are not started
Refactoring
2016-04-20 11:53:08 -07:00
Lars Brubaker
9d233efb4c Much more work on resume printing. 2016-04-14 18:01:45 -07:00
Lars Brubaker
4bb141339e Merge branch '1.5.2'
Conflicts:
	ApplicationView/MenuRow/MenuOptionSettings.cs
	StaticData/Translations/Master.txt
2016-04-14 15:42:42 -07:00
Lars Brubaker
e2d68ac50e Getting print history to register on connection then checking if need to resume failed print 2016-04-14 14:34:30 -07:00
Lars Brubaker
64817c5297 Show the percent done
Make sure we set to 100% on print done
2016-04-14 10:34:47 -07:00
John Lewin
93a17d2b6c Guard LoadHistoryItems with WidgetHasBeenClosed
- Observed exception on shutdown where PrintHistory was reloaded during
   shutdown after the db had been closed. Skip load if Closing/closed
 - Spelling, whitespace, use .Localize()
2016-04-11 13:07:17 -07:00
Lars Brubaker
34811976ae Tracking current completed percent. 2016-02-24 12:39:30 -08:00
Lars Brubaker
9ab75e0eeb Working on getting the history to have enough data to track print failures. 2016-02-24 12:39:29 -08:00
Lars Brubaker
b62f8e9704 Working on getting the history to have enough data to track print failures. 2016-02-24 12:38:21 -08:00
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
20b4bba75e Improving the scroll bars 2015-09-11 16:41:20 -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
081fadccbe Moving the Queue, Library and History to not have Print pre-pended. 2015-07-02 09:45:53 -07:00