Commit Graph

105 Commits

Author SHA1 Message Date
Tig
022050db73 Fixed nullable warnings 7 2024-07-24 15:09:48 -06:00
Tig
c03dd32031 Moved Toplevel keybindings out of Toplevel to Application.
Still need to move navigation code out of Toplevel
2024-07-24 12:28:30 -06:00
Tig
44ce74a5c0 Refactored Application into smaller files.
Made Application #nullable enable
2024-07-22 16:52:02 -06:00
Tig
85a0ad1654 Diagnosing xunit failures in github action on ubuntu/macos (#3593)
* Just ubuntu

* windows & ubuntu

* commented test out

* uncommented test

* back to ubuntu

* deleted all Views tests

* deleted all Views tests

* VSTEST_DUMP_PATH

* Revert "deleted all Views tests"

This reverts commit 985f6143e6.

* Deleted first half Views tests

* Revert "Deleted first half Views tests"

This reverts commit bff2484cd7.

* Deleted 2nd half Views tests

* VSTEST_DUMP_PATH 2

* VSTEST_DUMP_PATH 3

* Revert "Deleted 2nd half Views tests"

This reverts commit b1dbd79dc9.

* Reapply "Deleted first half Views tests"

This reverts commit 3e8e890b03.

* Revert "Reapply "Deleted first half Views tests""

This reverts commit 731b50f392.

* ubuntu/mac

* removed dupe test

* removed dupe test

* removed statusbar tests

* Revert "removed statusbar tests"

This reverts commit 889813143b.

* Fixed shortcut tests

* windows, mac, linux

* fail-fast: false temporarily

* fail-fast: false temporarily

* trying stuff

* fixed quote error

* fixed sed issue

* Skip WindowDispose_CanFocusProblem

* Skip SynchronizationContext_CreateCopy

* mac

* mac

* mac

* mac

* mac

* gsed

* gsed

* gsed

* gsed

* finally fixed! Hopefully.
2024-07-08 18:29:00 -06:00
Tig
cd43ee363d Revamped to further simplify and make more correct 2024-06-30 11:53:54 -07:00
Tig
d7bd938664 Renamed StateChangedEventArgs 2024-06-27 15:44:55 -07:00
Tig
09252d15f0 Ctrl+Q -> Esc 2024-06-20 16:17:23 -07:00
Tig
15228be5e0 Merge branch 'v2_3037-Bar-Shortcut' of tig:tig/Terminal.Gui into v2_3037-Bar-Shortcut 2024-06-20 14:43:13 -07:00
Tig
303573bdea Fixed linux unit tests.
Backed out change that registered quitkey as application scope.
Beefed up tons of tests
2024-06-20 13:06:22 -07:00
Tig
9372cce69c Fixed Scenario tests 2024-06-19 11:35:46 -07:00
BDisp
4cf6a26333 Fixes #3545. Superview most focused view not sync with the overlapped view. 2024-06-17 18:33:09 +01:00
BDisp
37d237aad9 Removes unnecessary driver parameter. 2024-06-14 12:50:23 +01:00
BDisp
14361b1ee3 Fixes #3536. Application.Run<T> is broken by not calling Init before initializing T. 2024-06-13 19:24:52 +01:00
Tig
ab655feadc Application Keybinding tests 2024-06-08 09:19:38 -06:00
Tig
dde1fe435c Fixed unit test warnings 2024-05-30 11:46:04 -06:00
Tig
52322a3b73 Rebased.
Fixed ApplicatonTests.
2024-05-30 06:21:19 -06:00
Tig
36b9171276 Removed ContentSize setter, replaced with SetContentSize 2024-05-13 13:42:14 -06:00
Tig
3891b238ac Merge branch 'v2_develop' into v2_3460-xxxToxxx-Consistency 2024-05-11 10:40:46 -06:00
BDisp
063e58b258 Fixes #3467. Views without subviews can't show the cursor. 2024-05-10 17:36:47 +01:00
Tig
d391cc7ad2 MouseEvent: int X, int Y -> Point Position 2024-05-09 08:50:50 -06:00
Tig
a1249198bd PositionCursor unit tests and flashing cursor fixes 2024-05-07 10:07:14 -06:00
Tig
56922b4357 Merge pull request #3323 from tig/v2_3269_Bounds-ContentArea
Fixes #3169. `Bounds` -> `Viewport`: Content Scrolling in `View`
2024-04-16 06:37:37 -06:00
Tig
069089ee27 Made Arrangement = ViewArrangement.Fixed the default for Toplevels 2024-04-15 17:08:12 -06:00
Tig
50fcb19af5 Keep Force16Colors set across apps to ease debugging of flicker issue 2024-04-15 14:48:26 -06:00
BDisp
7236dd19c7 Fix unit test. 2024-04-14 23:55:18 +01:00
BDisp
d5800743ea Fixes #3394. View.Dispose doen't call UngrabMouse if MouseGrabView is the view itself. 2024-04-10 17:33:47 +01:00
Tig
50f9b3559e Merge branch 'v2_3269_Bounds-ContentArea' of tig:tig/Terminal.Gui into v2_3269_Bounds-ContentArea 2024-04-05 11:48:57 -04:00
Tig
e1a2793c5c Fixed fragile toplevel drag unit tests 2024-04-04 19:34:39 -04:00
Tig
c5b7b084a9 Way too big a committ.... but I got carried away.
- Started MouseEventEventArgs -> MouseEvent transition - for OnMouseEvent. Partially fixes #3029.
- Refactored Appliation.OnMouseEvent and View.OnMouseEvent to match design guidelines.
- Re-impleented highlight, enabling extensibility (see Border).
- Beefed up unit tests
2024-04-04 18:50:13 -04:00
Tig
df5f04b645 Merged v2_develop 2024-03-26 14:36:23 -06:00
Tig
6ebee8d42b Fixed more bad code 2024-03-25 16:54:08 -06: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
BDisp
c68849a314 Remove Top from the Init method. 2024-03-22 17:04:15 +00:00
BDisp
c8890628e9 Fixes #3338. Application.Run/End -> Callers must dispose Toplevel 2024-03-20 17:34:20 +00:00
Tig
6b1a429e56 Rebased with v2_develop 2024-03-18 16:05:54 -07:00
BDisp
d8c1a0c118 Merge branch 'v2_develop' into v2_mousegrabview-fix_3333 2024-03-17 22:47:20 +00:00
Tig
9aec5b1c6d Merge branch 'v2_3269_Bounds-ContentArea' of tig:tig/Terminal.Gui into v2_3269_Bounds-ContentArea 2024-03-17 15:38:30 -07: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
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
Tig
3a40dec249 Reamed Bounds -> Viewport in comments 2024-03-14 07:39:12 -08:00
Tig Kindel
cba58caac8 Toplevel drag via Adornment finished 2024-03-01 17:30:44 -07:00
Tig Kindel
4398ccade7 Moved Toplevel drag out of Toplevel into Adornment (but still only works for Toplevel) 2024-03-01 16:19:24 -07:00