Commit Graph

1880 Commits

Author SHA1 Message Date
Tig
8edb06213e class Dim -> struct Dim 2024-08-14 09:28:47 -06:00
Tig
6ec69d7644 Code cleanup & doc fix 2024-08-13 15:41:11 -06:00
Tig
a8f929bed9 Fixed DimAuto and tests 2024-08-13 14:12:32 -06:00
Tig
29dc789d45 Merge branch 'v2_develop' into v2_3521-DimAuto-Equality 2024-08-13 14:04:07 -06:00
BDisp
a661fcecf7 Fixes #3652. Setting Menus causes unexpected Exception. (#3653)
* Moving ShortcutDelimiter from MenuBar to Key.

* Rename to ShortcutKey and change type to Key.

* Improving add and remove menu items dynamically.

* Code cleanup.

* Fix status bar shortcuts issues.

* Fix build error.

* Change HotKey type to Key.

* Change HotKey.setter to private.

* Fix warnings.

* Fix some bugs.

* Rename ShortcutDelimiter to Separator.

* Add Separator property into the Configuration Manager.

* Change XML doc for Separator.

* Replace KeyEvent with Key.

* Add unit test preventing the Key.Separator is never Null ('\0).
2024-08-13 13:46:00 -06:00
BDisp
63e75b7413 Fixes #3109. AOT support with .Net 8. (#3638)
* Add a native AOT project.

* Fixes Text.Json to work with native AOT.

* Fix silent errors on unit tests when testing the Red color which has a length of 3.

* Allowing test custom configuration without the config.json file match the unit tests configurations.

* Fix unit test if tested alone.

* Add native project into solution.

* Fix merge errors.

* Setting ConfigurationManager.ThrowOnJsonErrors as true to throw any serialization issue when published file runs.

* Remove unnecessary using's.

* Added unit test to ensure all serialization is properly configured.

* Fix warnings.

* Remove ThrowOnJsonErrors.

* Fix warnings.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2024-08-06 12:05:36 -06:00
Tig
d47b184176 Added unit tests that fail 2024-08-06 09:38:05 -06:00
Tig
0bd50c5b93 Fixes #3641. CheckBox.State -> CheckBox.CheckState (#3648)
* State->CheckState.
Toggled->CheckStateChanging.

* Code cleanup & doc fix

* Updated migration guide

* Updated migration guide
2024-08-06 08:39:55 -06:00
Tig
12df9beebe Fixed linux/mac test failure 2024-08-05 18:03:08 -06:00
Tig
c0fc83bd78 Added Scenario and expanded API 2024-08-05 17:44:48 -06:00
Tig
126120b6dc Merged.
Feature complete
2024-08-05 12:36:13 -06:00
Tig
9865f72801 Merged with v2_develop.
Code cleanup
2024-08-05 09:14:33 -06:00
Tig
331ab51176 Updatd keyboard.md 2024-08-05 09:08:34 -06:00
Tig
e86a2fca2f Simplfiied app scope key setters 2024-08-05 08:54:05 -06:00
Tig
cebf1773af Added other types 2024-08-04 17:10:00 -06:00
Tig
a9f63ad138 Made unit tests more resiliant to config changes 2024-08-04 15:27:56 -06:00
Tig
f5b1984db7 Made unit tests more resiliant to config changes 2024-08-04 15:08:18 -06:00
Tig
271a73cba1 Made unit tests more resiliant to config changes 2024-08-04 12:14:13 -06:00
Tig
9526b4eabd Found and fixed another Shortcut bug 2024-08-03 21:59:28 -06:00
Tig
18ac4abab4 simplified test 2024-08-03 21:49:27 -06:00
Tig
87726454c9 Fixed KeyBinding issue @bdisp found 2024-08-03 17:16:06 -06:00
Tig
4985da476e Hacked in Application.Navigation.Set/GetFocused 2024-08-03 07:21:49 -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
bb16e695fa merged with v2_develop 2024-08-02 11:56:45 -06:00
Tig
5768add496 Merge branch 'v2_develop' into v2-IOrientation 2024-08-02 13:22:59 -04:00
Tig
9a6e09f664 Merge branch 'v2_develop' into v2_2491-Refactor-TopLevel-Application-And-Focus 2024-08-02 13:18:39 -04:00
Tig
2f71fc0bc3 Code cleanup 2024-08-02 10:59:53 -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
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
6c889c9442 Fixed FileDialog test 2024-07-31 02:20:47 -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
207266b68f Fixed unit test 2024-07-27 10:30:30 -04:00
BDisp
745f013775 Merge branch 'v2_develop' into v2_3611_localization-self-contained-single-file-fix 2024-07-26 15:12:05 +01: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
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
2ec07b8575 Merge branch 'v2_develop' into v2-IOrientation 2024-07-25 13:52:10 -06:00