Commit Graph

132 Commits

Author SHA1 Message Date
Tig
4d3ec57f27 code cleanup. 2024-08-29 15:47:49 -04:00
Tig
3902e62b4a Improving Application.Navigation 2024-08-29 13:46:53 -04:00
Tig
d7fb629bce Fixed nested tabgroup nav! - one last unit test 2024-08-28 23:51:38 -07:00
Tig
c6c393699c Debugging DatePickers fail 5 2024-08-27 23:25:53 -07:00
Tig
8bdb0f64d7 Revoved defunct api 2024-08-27 20:51:32 -07:00
Tig
f8d7a03dba Skipped bogus test 2024-08-27 20:41:44 -07:00
Tig
1b1a2524e7 Removed TabIndex etc... 2024-08-26 13:00:59 -07:00
Tig
d1d7ab5fa8 Done with refactor. Nav unit tests all pass. Fixing View unit tests... 2024-08-20 13:11:55 -06:00
Tig
591baa65f0 GetFocused() -> back to Focused property (get only; computed). 2024-08-18 15:45:26 -06:00
Tig
b31caea3f6 Good progress. Tons of primitive tests. still pretty broken 2024-08-17 16:58:00 -06:00
Tig
aa4f5228e6 Merged and fixed issues.
Progess on thinking through new design, but not working yet.
2024-08-13 16:41:29 -06:00
Tig
7ed969f1aa Fix typos 2024-08-05 09:40:07 -06:00
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
Tig
4226d8172e Discovered serious issues with how HasFocus, OnEnter/OnLeave, etc... work in some edge cases.
This will require re-visiting the design at a deep level and fixing some long-standing but ignored issues such as how OnEnter/OnLeave don't follow proper cancelation design. Also, there's a need for keeping track of the old focus state of a tree of subviews when that tree loses focus; FocusDireciton is a hack that causes tons of confusion.
2024-08-01 06:08:48 -06: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