Commit Graph

1288 Commits

Author SHA1 Message Date
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
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
6ebee8d42b Fixed more bad code 2024-03-25 16:54:08 -06:00
Tig
09c7104d07 fixed unit tests 2024-03-25 15:24:57 -06:00
BDisp
41971a6e5a Fix all tests. 2024-03-25 17:36:35 +00: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
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
BDisp
221fef3e7f Fix DialogTests. 2024-03-23 19:08:40 +00:00
BDisp
866946055f Fix UICatalog.Tests. 2024-03-23 18:17:52 +00:00
BDisp
0766ad32b0 Fix RunStateTests. 2024-03-23 17:52:36 +00:00
BDisp
2905979c45 Fix MouseTests. 2024-03-23 17:49:30 +00:00
BDisp
d35e2f449a Fix MainLoopTests. 2024-03-23 17:35:21 +00:00
BDisp
1cf7207ea1 Fix KeyboardTests. 2024-03-23 17:32:14 +00:00
BDisp
e6de9ed9dc Ensures Top disposing on the AutoInitShutdownAttribute and fix ApplicationTests. 2024-03-23 17:18:51 +00:00
BDisp
97a0595353 Ensures disposing toplevel before throwing. 2024-03-23 15:58:24 +00:00
BDisp
c471cf1aeb Add ObjectDisposedException testing for View.Title and fixes unit test. 2024-03-23 15:54:33 +00:00
BDisp
034861bba2 Standardizes the entire Application.Run to be consistent between them. 2024-03-23 10:34:05 +00:00
tznind
b5747cce50 Add full constructor to ColorScheme 2024-03-22 20:30:48 +00:00
BDisp
163c0384a5 Delegate the disposable handling to the caller. 2024-03-22 18:49:46 +00:00
BDisp
c68849a314 Remove Top from the Init method. 2024-03-22 17:04:15 +00:00
Tig
0a6193a7a3 Moved Canceled from FileDialog to Dialog (because that's just a good idea and it provides a good case for having a property test for Disposal on get/set).
Tweaked `Run_Dispose_Dialog` to illustrate how broken it is to have `Run/End` dispose `Top`.
2024-03-21 08:46:55 -07:00
Tig
74849ddf75 Merge branch 'v2_develop' into v2_3338-Toplevel-Must-Be-Disposed 2024-03-21 07:56:09 -07:00
BDisp
c8890628e9 Fixes #3338. Application.Run/End -> Callers must dispose Toplevel 2024-03-20 17:34:20 +00:00
BDisp
d2a2ff1f99 Fixes #3340. Mouse ButtonShift doesn't work anymore on Windows Terminal. 2024-03-19 23:42:44 +00:00
Tig
8cf63d565a Added some NeedDisplay unit tess 2024-03-18 12:46:35 -07:00
BDisp
d8c1a0c118 Merge branch 'v2_develop' into v2_mousegrabview-fix_3333 2024-03-17 22:47:20 +00:00
BDisp
0120a3648f Fixes #3333. Application.UnGrabbedMouse event doesn't allow grab another view after exit. 2024-03-17 20:06:03 +00:00
Tig
bd4eeb9fab Merge branch 'v2_develop' into v2_3313-Application-End-Top 2024-03-17 07:50:56 -08:00
Tig
ab07ec665b Removed erroneous Disosal and fixed poorly coded unit test: A toplevel manually creatged must be disposed by creator 2024-03-17 07:41:37 -08:00
Tig
73a6e66139 Tweaked unit tests 2024-03-16 08:46:29 -08:00