Commit Graph

119 Commits

Author SHA1 Message Date
Tig
9865f72801 Merged with v2_develop.
Code cleanup
2024-08-05 09:14:33 -06:00
Tig
e86a2fca2f Simplfiied app scope key setters 2024-08-05 08:54:05 -06:00
Tig
8da833a4c6 Added Next/PrevTabKeys.
Refactored ApplicationNavigation in prep for further work
2024-08-02 13:57:23 -06:00
Tig
79e50b4d8f Nuked AlternateFwd/BkKeys.
Added Next/PrevTabGroupKey.
Fixed tests.
2024-08-02 13:41:53 -06:00
Tig
9a6e09f664 Merge branch 'v2_develop' into v2_2491-Refactor-TopLevel-Application-And-Focus 2024-08-02 13:18:39 -04:00
BDisp
5910d13bd1 Remove unused using. 2024-07-31 18:10:04 +01:00
BDisp
60da57de43 Fixes #3632. Automatize getting cultures from the embedded resources strings for self-contained app. 2024-07-31 18:04:21 +01:00
Tig
cf1435ae96 WIP: Fixed stuff. Broke stuff. Making progress. 2024-07-29 16:59:58 -04:00
Tig
f2eb9ce6e2 WIP: More refining 2024-07-29 10:17:10 -04:00
Tig
207266b68f Fixed unit test 2024-07-27 10:30:30 -04:00
Tig
5e28ba1ef9 Added low-level Focus tests 2024-07-26 08:02:18 -04:00
Tig
3f19a6f04a Added low-level Focus tests 2024-07-26 08:00:45 -04:00
Tig
f37ec5e04f Moved Overlapped stuff to ApplicationOverlap static class. Fixed nullable warnings. 2024-07-24 15:42:04 -06:00
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
BDisp
39b39ddc70 Fixes #3611. Localization not working on self-contained single-file. 2024-07-13 19:40:33 +01: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