Commit Graph

6435 Commits

Author SHA1 Message Date
Tig
a4d1990e2a Merge branch 'v2_develop' into v2_2491-Arrangement-Overlapped 2024-08-13 15:59:06 -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
a8931698a4 Fixes #3541. Checking if clipboard is available on windows. (#3657) 2024-08-12 06:45:15 -06:00
Tig
1f310fdb74 Fixes #3655 - Fixes rendering issue in Dialog/MessageBox (#3656)
* Fixed rendering issue

* Removed dead code

* Removed dead code
2024-08-10 13:03:15 -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
1b973eed5a Trying to fix publish issue 2024-08-06 08:45:31 -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
363cdddb2c Merge pull request #3640 from tig/v2_3261-NumericUpDown
Fixes #3261. Adds `NumericUpDown`
2024-08-05 18:10:19 -06:00
Tig
12df9beebe Fixed linux/mac test failure 2024-08-05 18:03:08 -06:00
Tig
5dd3db92cb Fixed linux/mac failure 2024-08-05 17:49:48 -06:00
Tig
b6db4a327c Fixed warning 2024-08-05 17:48:14 -06:00
Tig
c0fc83bd78 Added Scenario and expanded API 2024-08-05 17:44:48 -06:00
Tig
de10e22b22 Code cleanup 2024-08-05 12:41:37 -06:00
Tig
126120b6dc Merged.
Feature complete
2024-08-05 12:36:13 -06:00
Tig
7ed969f1aa Fix typos 2024-08-05 09:40:07 -06:00
Tig
551679110f Merge pull request #3634 from tig/v2_2491-Refactor-TopLevel-Application-And-Focus
Preps for and partially Fixes #2491 - Refactors `Toplevel` and `Application` Navigation
2024-08-05 09:30:24 -06:00
Tig
af9887bc9e Fixed merged issue 2024-08-05 09:22:50 -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
17e14aba63 Initial commit. 2024-08-04 15:49:34 -06:00
Tig
990b7eec74 Merge pull request #3639 from tig/v2_3523-MessageBox-Center-Buttons
Fixes #3523. `MessageBox` buttons centered by default.
2024-08-04 17:46:52 -04: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
ae46bba182 MessageBox now centered by default.
Dialog & MB now Thick linestyle by default.
2024-08-04 12:01:35 -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
bc1483ea94 Merge branch 'v2_2491-Refactor-TopLevel-Application-And-Focus' of tig:tig/Terminal.Gui into v2_2491-Refactor-TopLevel-Application-And-Focus 2024-08-03 18:09:21 -06:00
Tig
f70e8ded40 Doc updates 2024-08-03 18:08:51 -06:00
Tig
fc05d06a85 Merge branch 'v2_develop' into v2_2491-Refactor-TopLevel-Application-And-Focus 2024-08-03 20:01:00 -04:00
Tig
8c14ab3b6a Doc updates 2024-08-03 17:59:43 -06:00
Tig
3072d8b432 Back ported navigation.md 2024-08-03 17:52:38 -06:00
Tig
18997e07a6 Merge branch 'v2_2491-Refactor-TopLevel-Application-And-Focus' of tig:tig/Terminal.Gui into v2_2491-Refactor-TopLevel-Application-And-Focus 2024-08-03 17:50:59 -06:00
Tig
5f567be2d0 Code cleanup & doc fix 2024-08-03 17:50:37 -06:00
Tig
bbe8fbf663 Merge branch 'v2_develop' into v2_2491-Refactor-TopLevel-Application-And-Focus 2024-08-03 19:44:40 -04:00
Tig
981963a47b Fix api doc publish 2024-08-03 17:22:34 -06:00
Tig
87726454c9 Fixed KeyBinding issue @bdisp found 2024-08-03 17:16:06 -06:00
Tig
288e3fbfc0 Fixed hack 2024-08-03 07:32:30 -06:00
Tig
4985da476e Hacked in Application.Navigation.Set/GetFocused 2024-08-03 07:21:49 -06:00
Tig
ac9d0118dc Updated Window.Arrangement 2024-08-02 14:57:25 -06:00
Tig
09c1003716 Enabled ViewArrangement.Overlapped zorder hack 2024-08-02 14:47:49 -06:00
Tig
eaa5b01cc5 backported ViewExperiments 2024-08-02 14:20:16 -06:00
Tig
8cbbcd89d2 backported adornmentseditor 2024-08-02 14:19:24 -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
94fdcbe413 Merge pull request #3625 from tig/v2-IOrientation
Adds `IOrientation` and `OrientationHelper` - opinionated changing/changed event pattern
2024-08-02 13:35:12 -04:00
Tig
5768add496 Merge branch 'v2_develop' into v2-IOrientation 2024-08-02 13:22:59 -04:00