Commit Graph

4931 Commits

Author SHA1 Message Date
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
c2cfa808a9 Merge branch 'v2_netdriver-OperationCanceledException-fix_3347' into tig_v2_3338-Toplevel-Must-Be-Disposed 2024-03-23 14:06:19 +00:00
BDisp
bbf852c532 Fixes #3347. NetDriver throws System.OperationCanceledException: 'The operation was canceled.' 2024-03-23 14:02:37 +00:00
BDisp
034861bba2 Standardizes the entire Application.Run to be consistent between them. 2024-03-23 10:34:05 +00:00
BDisp
f1fcbb91d3 Fix UICatalog. 2024-03-22 23:52:35 +00:00
BDisp
fda698d1c4 Avoids throw if _source is null. 2024-03-22 23:51:01 +00:00
BDisp
d796c5ac43 Avoids throw if table is null. 2024-03-22 23:49:58 +00:00
BDisp
58d25fccf8 Remove erroneous code. 2024-03-22 20:45:44 +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
Tig
37c8969169 Merge pull request #3341 from BDisp/v2_wheeledleft-wheeledright-fix_3340
Fixes #3340. Mouse ButtonShift doesn't work anymore on Windows Terminal.
2024-03-21 07:46:25 -07:00
Tig
f46dd8f047 Merged @bdisp fix, and tweaked Scenario for better UI 2024-03-21 06:51:17 -07:00
Tig
aaecc302e8 Merge pull request #24 from BDisp/tig_v2_3338-Toplevel-Must-Be-Disposed
Fixes #3338. Application.Run/End -> Callers must dispose Toplevel
2024-03-21 06:41:25 -07:00
BDisp
5c27e16605 Resolving merge conflicts. 2024-03-20 18:02:44 +00: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
bf77b3153d Fixed all instances of the bad pattern I could find 2024-03-19 14:56:55 -07:00
Tig
6badd0de12 Merge pull request #3337 from tig/v2_3332-Clipping-SetSubViewNeedsDisplay
Fixes #3332.  `ClearNeedsDisplay` needs to iterate through sub views
2024-03-18 15:49:47 -07:00
Tig
8cf63d565a Added some NeedDisplay unit tess 2024-03-18 12:46:35 -07:00
Tig
262e878078 Fixed Clipping scenario - ClearNeedsDisplay was not calling into subviews 2024-03-18 12:19:04 -07:00
Tig
a27708a3f9 Fixed Clipping scenario - SetSubViewNeedsDisplay 2024-03-18 10:04:03 -07:00
Tig
ae008f72b5 Merge pull request #3334 from BDisp/v2_mousegrabview-fix_3333
Fixes #3333. Application.UnGrabbedMouse event doesn't allow grab another view after exit.
2024-03-18 08:42:20 -07:00
Tig
ea9c040afb Merge pull request #3335 from tig/v2_3331-CharMap-ScrollBars
Fixes #3331. Fixed incorrect clip code in CharMap scenario and added comments.
2024-03-18 08:41:16 -07:00
BDisp
d8c1a0c118 Merge branch 'v2_develop' into v2_mousegrabview-fix_3333 2024-03-17 22:47:20 +00:00
BDisp
704f1407d8 Break the loop if the superview is found. 2024-03-17 22:46:44 +00:00
Tig
d81a1ee977 Merge pull request #3330 from tig/v2_3313-Application-End-Top
Fixes #3313. `Application.End` leaves `Top` invalid
2024-03-17 14:34:42 -08:00
Tig
40b28d2120 Fixed incorrect clip code.
Changed to draw on OnDrawContent override.
Added comments to clarify drawing code.
2024-03-17 15:32:02 -07:00
BDisp
1573bb025b Check for the superview instead of check if it contains on the subviews. 2024-03-17 21:11:11 +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