Commit Graph

4971 Commits

Author SHA1 Message Date
Tig
e7a116eb46 Code cleanup 2024-03-29 10:36:12 -06:00
Tig
57a57375f4 Updated code style for internal statics 2024-03-29 10:28:32 -06:00
Tig
f3536f8a86 Added Reset() call to AutoInitShutdown.After 2024-03-29 10:01:06 -06:00
Tig
646b8dd597 Added Reset() calls to CM tests 2024-03-29 10:00:31 -06:00
Tig
ab1c89b203 Merge pull request #3346 from tznind/color-scheme-ctor
Fixes #3345 - Add full constructor to ColorScheme
2024-03-29 07:37:02 -06:00
Tig
6070e80e23 Merge pull request #3339 from tig/v2_3338-Toplevel-Must-Be-Disposed
Fixes #3338. `Application.Run/End` -> Callers must dispose Toplevel
2024-03-26 12:12:59 -06:00
Tig
fda20df9ab Another attempt to fix Dispose in BWC 2024-03-26 12:07:08 -06:00
Tig
1e5ac783c5 Fixed dispose calls (one I missed). 2024-03-26 11:45:56 -06:00
Tig
5b03d739a6 Fixed quit scenario bug. WorkerApp, when hidden, was eating QuitKey 2024-03-26 09:23:45 -06:00
Tig
0b90274a15 Merged @bdisp latest fixes 2024-03-26 08:42:29 -06:00
Tig
253fd2b7b2 Fixed bug in scenario where hitting ENTER to start worker crashed listview 2024-03-26 08:19:32 -06:00
Tig
35d78fd985 Merged @bdisp's latest 2024-03-25 17:15:27 -06:00
Tig
66f5fb826d Merged @bdisp's latest and code cleanup 2024-03-25 17:12:41 -06:00
Tig
d3599c9daf Merge pull request #27 from BDisp/tig_v2_3338-Toplevel-Must-Be-Disposed
Set Visible to false on Closing event.
2024-03-25 17:01:38 -06:00
Tig
6ebee8d42b Fixed more bad code 2024-03-25 16:54:08 -06:00
BDisp
155e0a4232 Prevents run stagingUI if OverlappedTop is null. 2024-03-25 21:59:07 +00:00
BDisp
feed69d53f Prevents throwing if MainLoop is null. 2024-03-25 21:57:26 +00:00
BDisp
c8b3e15028 Prevents run iteration if toplevel's stack is empty. 2024-03-25 21:56:37 +00:00
BDisp
e764202ff1 Merge branch 'v2_3338-Toplevel-Must-Be-Disposed' into tig_v2_3338-Toplevel-Must-Be-Disposed 2024-03-25 21:54:37 +00:00
BDisp
ff404ac8f5 Resolving merge conflicts. 2024-03-25 21:48:13 +00:00
Tig
9c0fb02593 Updated CM scenario 2024-03-25 15:46:18 -06:00
Tig
09c7104d07 fixed unit tests 2024-03-25 15:24:57 -06:00
Tig
fffae452e2 Added Main to Scenario. Updated a few scenarios to test out. 2024-03-25 15:20:24 -06:00
BDisp
09b9e41641 Set Visible to false on Closing event. 2024-03-25 20:43:46 +00:00
Tig
561d671746 Removed un-needed and un-used RequestStop override from Scenario 2024-03-25 14:18:43 -06:00
Tig
5c6560299b Makes Run<T> and Run() return the Toplevel that gets created 2024-03-25 13:50:50 -06:00
Tig
29534c4c45 Added comments to Scenario 2024-03-25 13:44:00 -06:00
Tig
8487e78cf3 Fixed unit tests failure caused by BackgroundWorkerCollection 2024-03-25 13:32:04 -06:00
Tig
92cc648966 Merge branch 'v2_3338-Toplevel-Must-Be-Disposed' of tig:tig/Terminal.Gui into v2_3338-Toplevel-Must-Be-Disposed 2024-03-25 13:17:41 -06:00
Tig
c9d485870c Merge pull request #25 from BDisp/tig_v2_3338-Toplevel-Must-Be-Disposed
Remove Top from the Init method.
2024-03-25 13:14:32 -06:00
BDisp
0ae19289e9 Rename _latestClosedRunStateToplevel to _cachedRunStateToplevel. 2024-03-25 18:54:49 +00:00
BDisp
c5aeac060f Move assertion outside the lock. 2024-03-25 18:21:49 +00:00
BDisp
c7098d1c8c Rename parameter to toplevel. 2024-03-25 17:43:27 +00:00
BDisp
41971a6e5a Fix all tests. 2024-03-25 17:36:35 +00:00
BDisp
ed697a21cd QuitToplevel on OverlappedTop must only closing the Current view. 2024-03-25 17:35:35 +00:00
Tig
d5f3129985 Merge pull request #3348 from BDisp/v2_netdriver-OperationCanceledException-fix_3347
Fixes #3347. NetDriver throws System.OperationCanceledException: 'The operation was canceled.'
2024-03-25 09:05:49 -07:00
BDisp
a551b977bb Invoke Activate and Deactivate on Begin method and fix ContextMenu to use it. 2024-03-25 15:35:02 +00:00
BDisp
802b996ed1 Ensures _latestClosedRunStateToplevel is cleanup on ResetState and support OverlappedTop. 2024-03-25 15:30:13 +00:00
BDisp
408ae43e74 Fix ColorPickerTests. 2024-03-23 20:51:33 +00:00
BDisp
6a6fd3b480 Fix CheckBoxTests. 2024-03-23 20:49:20 +00:00
BDisp
11383402dd Fix ButtonTests. 2024-03-23 20:41:29 +00:00
BDisp
1f8ea90991 Fix AllViewsTests. 2024-03-23 20:00:47 +00:00
BDisp
d209a171fe Fix AutocompleteTests. 2024-03-23 19:55:45 +00:00
BDisp
88f8cf9015 Fix AppendAutocompleteTests. 2024-03-23 19:53:03 +00:00
BDisp
1f28cb41f8 Fix EscSeqUtilsTests. 2024-03-23 19:50:31 +00:00
BDisp
3ffc6405b4 Fix ConsoleDriverTests. 2024-03-23 19:45:32 +00:00
BDisp
ad970ec2ad Fix ThicknessTests. 2024-03-23 19:42:20 +00:00
BDisp
ef1d2140ff Fix RulerTests. 2024-03-23 19:39:52 +00:00
BDisp
5f1381199a Fix LineCanvasTests. 2024-03-23 19:35:11 +00:00
BDisp
325eb1aaac Fix MessageBoxTests. 2024-03-23 19:29:19 +00:00