Commit graph

8805 commits

Author SHA1 Message Date
Lars Brubaker
d18e28e9d8
Merge pull request #2826 from larsbrubaker/design_tools
adjust edit control height on any line count change.
2017-12-31 09:41:05 -08:00
LarsBrubaker
7f1e7eda0f adjust edit control height on any line count change. 2017-12-31 09:34:40 -08:00
johnlewin
c29114a237
Merge pull request #2825 from jlewin/design_tools
Consolidate Printer -> Connect behavior
2017-12-31 07:34:48 -08:00
John Lewin
aad001a634 Rename AbortConnectionAttempt to ReleaseAndReportFailedConnection
- Set failed connections to CommunicationStates.Disconnected
- Add ConnectionFailure.ConnectonLost enum value
- Issue MatterHackers/MCCentral#2539
WriteRawToPrinter should not use AbortConnectionAttempt
2017-12-31 06:15:17 -08:00
John Lewin
e529fc2cff Reduce localization in PrinterConnection, move to application layer
- MatterHackers/MCCentral#2535
Remove localization from PrinterConnection
2017-12-31 06:15:16 -08:00
John Lewin
ab2ddc71bc Fix emulator - prime queue with firmware startup message 2017-12-31 06:15:16 -08:00
John Lewin
2dfb8dea10 Add notes around concerns 2017-12-31 06:14:19 -08:00
John Lewin
5809c51d39 Wait to set CommunicationStates.Connect until after ReadThread spinup 2017-12-31 06:14:19 -08:00
John Lewin
743b2ff0d7 Extract partial connection logic from loop, group with other steps 2017-12-31 06:14:19 -08:00
John Lewin
e02731207a Remove dead code 2017-12-31 06:14:19 -08:00
John Lewin
0a1d0e2cfb First functioning pass at consolidated connection logic 2017-12-31 06:14:19 -08:00
John Lewin
25cf68ee7a Move connection validation logic from ReadFromPrinter to Connect 2017-12-31 06:14:19 -08:00
John Lewin
8d54e297e2 Collapse AttemptToConnect into Connect 2017-12-31 06:14:19 -08:00
John Lewin
65f29d82d8 Collapse Connect_Thread method into Connect 2017-12-31 06:14:19 -08:00
John Lewin
d0053fcbf2 Remove parallel connectThread logic, collapse into single call 2017-12-31 06:14:19 -08:00
John Lewin
940160042b Remove null test for printer.Settings 2017-12-31 06:14:19 -08:00
John Lewin
e939dd0d8d Move PrinterConnectionStatus from PrinterConnection to printer model
- Issue MatterHackers/MCCentral#2535
Remove localization from PrinterConnection
2017-12-31 06:14:19 -08:00
johnlewin
b681924092
Merge pull request #2824 from jlewin/design_tools
Move SerialPortCommunication to MatterControl.Printing project
2017-12-31 06:13:30 -08:00
John Lewin
5cce88726c Remove SerialPortCommunication.dll from knownAssemblies 2017-12-31 06:09:18 -08:00
John Lewin
7c4dd9a8cf AllowUnsafe in public release .csproj 2017-12-31 06:02:08 -08:00
John Lewin
ae2f760bb6 Remove SerialPortCommunication from public .sln 2017-12-31 05:51:06 -08:00
John Lewin
369835d314 Move SerialPortCommunication to MatterControl.Printing project 2017-12-29 15:33:02 -08:00
johnlewin
3e012ca610
Merge pull request #2823 from jlewin/design_tools
Ensure control is invisible at startup
2017-12-29 14:39:03 -08:00
John Lewin
5801bf14c5 Ensure control is invisible at startup
- Issue MatterHackers/MCCentral#2200
Phantom text drawn for first few seconds
2017-12-29 13:34:43 -08:00
johnlewin
50610511e7
Merge pull request #2822 from mmoening/design_tools
IP Selector dropdown displays current value when created
2017-12-29 13:16:12 -08:00
johnlewin
8d85137b96
Merge branch 'design_tools' into design_tools 2017-12-29 13:11:54 -08:00
johnlewin
484a9a4688
Merge pull request #2821 from jlewin/design_tools
ScaleControls should allow caller to specify text color
2017-12-29 13:11:28 -08:00
Matt Moening
8ac25a5428 IP Selector dropdown displays current value when created 2017-12-29 12:55:56 -08:00
John Lewin
f5a95ae8f0 ScaleControls should allow caller to specify text color
- Issue MatterHackers/MCCentral#2528
Adjust ScaleControls for fixed white background
2017-12-29 11:52:59 -08:00
John Lewin
50d61f95b5 EditableNumberDisplay should allow caller to specify text color
- Issue MatterHackers/MCCentral#2528
Adjust ScaleControls for fixed white background
2017-12-29 11:52:03 -08:00
johnlewin
d1641a19c0
Merge pull request #2820 from jlewin/design_tools
Fix PrintPopup text colors
2017-12-29 10:40:51 -08:00
John Lewin
51dc1b1c48 Ensure correct black text overrides for fixed white background
- Issue MatterHackers/MCCentral#2514
Adjust print popup menu for forced white background
2017-12-29 09:45:06 -08:00
John Lewin
8804646716 SliceSettingRow should allow caller to specify text color
- Issue MatterHackers/MCCentral#2514
Adjust print popup menu for forced white background
2017-12-29 09:13:16 -08:00
John Lewin
85981f5108 ToggleSwitch factory should allow caller to specify text/border color
- Issue MatterHackers/MCCentral#2514
Adjust print popup menu for forced white background
2017-12-29 09:11:34 -08:00
John Lewin
2f42ee11b1 UIFields should allow caller to specify text color
- Issue MatterHackers/MCCentral#2514
Adjust print popup menu for forced white background
2017-12-29 09:10:37 -08:00
John Lewin
1c0138d7c1 SimpleButton should allow caller to specify text color
- Issue MatterHackers/MCCentral#2514
Adjust print popup menu for forced white background
2017-12-29 09:07:34 -08:00
John Lewin
817fe3e105 DropDownList should allow caller to specify text color
- Issue MatterHackers/MCCentral#2514
Adjust print popup menu for forced white background
2017-12-29 09:06:37 -08:00
johnlewin
9ad811042c
Merge pull request #2819 from jlewin/design_tools
Revise zip file drag-drop
2017-12-28 17:53:05 -08:00
John Lewin
9df9815bfb Allow loading of zip streams via GetContentStream
- Issue MatterHackers/MCCentral#2420
DragDrop zip onto bed suggests it works but does not
2017-12-28 17:46:01 -08:00
John Lewin
cfaa97dd30 Remove hard-coded IsProtected flag on LibraryContainer
- Default FileSystemContainers to IsProtected = false
- Issue MatterHackers/MCCentral#2420
DragDrop zip onto bed suggests it works but does not
2017-12-28 17:45:30 -08:00
John Lewin
05b89209a3 Refine library AcceptDrop validation
- Allows zip file drop in library
- Issue MatterHackers/MCCentral#2420
DragDrop zip onto bed suggests it works but does not
2017-12-28 17:44:01 -08:00
John Lewin
50f067a632 Remove redundant drag-drop validation 2017-12-28 17:42:56 -08:00
John Lewin
77748c16de Remove zip file from design/printable lists
- Ensures drop on scene is not allowed
- Issue MatterHackers/MCCentral#2420
DragDrop zip onto bed suggests it works but does not
2017-12-28 17:42:21 -08:00
John Lewin
fb092a6334 Inline local variable 2017-12-28 16:45:34 -08:00
johnlewin
e549964e8a
Merge pull request #2818 from jlewin/design_tools
Fix collapsed controls
2017-12-28 13:45:18 -08:00
John Lewin
f436366774 Drop arrow should be disabled color
- Issue MatterHackers/MCCentral#2523
Disabled controls should use disabled color for drop icon
2017-12-28 13:23:50 -08:00
John Lewin
ee773e50a3 Move toolbar spacing into base
- Issue MatterHackers/MCCentral#2522
Incorrect toolbar spacing after recent layout engine changes
2017-12-28 12:51:47 -08:00
John Lewin
b569b070ef Fix collapsed controls
- Issue MatterHackers/MCCentral#2521
Control glitches potentially related to layout engine revisions
2017-12-28 12:41:20 -08:00
johnlewin
733574e170
Merge pull request #2817 from jlewin/design_tools
Update automation tests to account for printer settings changes
2017-12-28 09:20:33 -08:00
John Lewin
c5ea8bb3c0 Update automation tests to account for printer settings changes 2017-12-28 09:02:44 -08:00