Commit Graph

4980 Commits

Author SHA1 Message Date
Tig
76095f7dbc Revamped Mouse scenario 2024-04-03 10:48:57 -06:00
Tig
43e4a83664 Merge pull request #3360 from tig/v2_3359_CM_Reset
Fixes #3359.  Updates Unit Tests to do CM.Reset
2024-03-31 10:52:52 -06:00
Tig
0ef67d785b Merge pull request #3353 from BDisp/v2_tabindex-fix_3351
Fixes #3351. TabIndex with the same setter value but with wrong index return without set the correct value.
2024-03-31 10:48:59 -06:00
Tig
5b367b3df1 Merge pull request #3361 from tznind/visible-to-designer
Make terminal gui internal methods visible to TGD
2024-03-30 13:31:36 -06:00
tznind
f3e832bfd8 Make terminal gui internal methods visible to TGD 2024-03-30 11:02:01 +00:00
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
BDisp
d7fec3c3f1 Add unit test that proof setting TabIndex before all views are added, will have unexpected result. 2024-03-27 15:43:55 +00:00
BDisp
f272f8941f Revert "Add one more unit test and replace True/False to Equal/NotEqual."
This reverts commit b9c0bcb613.
2024-03-27 15:41:35 +00:00
BDisp
b9c0bcb613 Add one more unit test and replace True/False to Equal/NotEqual. 2024-03-27 15:15:59 +00:00
BDisp
ae5e41fd6b Fixes #3351. TabIndex with the same setter value but with wrong index return without set the correct value. 2024-03-27 00:17:31 +00: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