Tig
8e70e2ae8f
Updated navigation.md
2024-08-01 12:57:05 -06: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
Tig
469b3572d5
Revamped Scenario
2024-07-31 10:33:37 -04:00
Tig
6f4c7be477
Cleaned up some unit tests
2024-07-31 10:14:05 -04:00
Tig
38e517c921
Added AllViews_AtLeastOneNavKey_Leaves
2024-07-31 09:05:57 -04:00
Tig
47e1c87590
Added AllViews_AtLeastOneNavKey_Leaves
2024-07-31 09:05:26 -04:00
Tig
37f349004a
WIP: More. Trying to fix TableView regression
2024-07-31 02:07:48 -04: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
d407683d5b
Made View.Navigation nullable enable.
...
Changed TabIndex to int?.
Changed TabStop to int?.
Changed TabStop flags.
2024-07-27 17:21:47 -04:00
Tig
d507426c6d
Changed semantics of TabIndexes, TabIndex, and CanFocus relative to TabStop.
...
CanFocus is not coupled with the tab index or tab stop other than to automatically set TabStop when set to True.
A TabIndex of -1 is only used to indicate TabStop_set has not been called.
Once nullable is enabled, we'll change _tabIndex to be nullable.
Changing CanFocus does not impact TabIndex (except in that it sets TabStop if it's None).
2024-07-27 11:55:41 -04:00
Tig
4ede0648f4
TabStop -> now of type TabStop.
...
Updated unit tests.
2024-07-27 10:58:52 -04:00
Tig
e41b24fd40
Removed coupling between TabStop and CanFocus
2024-07-27 10:38:50 -04:00
Tig
66f83ad2e6
Reduced duplicated code by leverating Navigationdirection enum
2024-07-25 16:37:22 -06:00
Tig
78f527e4a1
Fixed post merge errors.
2024-07-25 14:54:58 -06:00
Tig
a935ef83df
Merge remote-tracking branch 'refs/remotes/origin/v2_2491-Toplevel-Redesign' into v2_2491-Toplevel-Redesign
2024-07-25 14:50:19 -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
Tig
f0d4c48b50
Learning how to use [CombinatorialData] moar
2024-07-21 16:42:11 -06:00
Tig
8ca972bc74
Learning how to use [CombinatorialData]
2024-07-21 16:18:18 -06:00
Tig
149bedf19b
Added more AnchorEnd unit tests.
...
Found bugs with Pos.View and Dim.View.
Fixed.
2024-07-20 14:22:04 -06:00
Tig
c7ae986789
Review feedback
2024-07-20 13:12:31 -06:00
Tig
0e70444e08
Renamed Width/Height/Size
2024-07-20 11:36:05 -06:00
Tig
6550cde7b5
Nuked Textformatter.AutoSize.
...
Removed references to AutoSize throughout.
Updated unit tests.
2024-07-20 11:17:46 -06:00
Tig
3ed30767a0
Addressed review feedback from @dodexahedron.
2024-07-20 10:00:54 -06:00
Tig
b4e1b3ec5e
All unit tests pass.
...
Made TextFormatter have independent Width/Height.
2024-07-18 15:24:11 -06:00
Tig
2cecc7762a
WIP - Trying to make TextFormatter have indepdentent width/height
2024-07-17 16:18:58 -06:00
Tig
51433c0112
Refactored DimAuto unit tests
2024-07-17 11:25:45 -06:00
Tig
37088737b7
Removed lame title test
2024-07-17 10:54:38 -06:00
Tig
e566dce521
Fixed Horizontal FormatAndGetSize Fill issue; Vertical is still broken
2024-07-17 09:07:54 -06:00
Tig
f6064be449
Fixed SetTextFormatterSize
2024-07-17 08:14:09 -06:00
Tig
4654d4a85f
Undid PosCenter change
2024-07-16 18:49:03 -06:00
Tig
dd6d96a825
Undid PosCenter change
2024-07-16 18:48:38 -06:00
Tig
e93eebb708
Fixed little things.
2024-07-16 18:40:51 -06:00
Tig
0e7e1e2c1e
Fixed bogus Title test
2024-07-16 11:10:09 -06:00
Tig
ce5fc1c81e
Fixed ShadowTests
2024-07-16 09:43:34 -06:00
Tig
06339c98fe
Fixed ShadowTests
2024-07-16 09:38:50 -06:00
Tig
f51e38d25e
Fixed TextFormatter.FormatAndGetSize for wide vertical text
2024-07-16 09:35:45 -06:00
Tig
a3b606fe6e
New unit tests. Lots of fixes
2024-07-15 16:36:05 -06:00
Tig
725855d037
Removed accidental stuff
2024-07-14 11:32:13 -06:00
Tig
36503921ca
Merged with v2_develop
2024-07-14 11:28:31 -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
fb29b5c139
Made Thickness a record struct
2024-07-06 20:11:55 -06:00
Tig
8125357ce4
code cleanup
2024-07-06 16:31:16 -06:00
Tig
88bb3984c0
Fixed bug. Added unit tests
2024-07-06 16:19:35 -06:00
Tig
c2760783cd
Addressed PR feedback
2024-07-01 09:14:52 -06:00
Tig
e834dfcd1c
Removed HighlightEventArgs
2024-06-30 12:57:29 -07:00
Tig
cd43ee363d
Revamped to further simplify and make more correct
2024-06-30 11:53:54 -07:00
Tig
407f6f0fe7
ThicknessEventArgs -> CancelEventArgs<string>
2024-06-28 09:58:05 -07:00