Commit Graph

6499 Commits

Author SHA1 Message Date
BDisp
c587cb9f8e Merge branch 'v2_3679_want-continuous-pressed-fix' into v2_2489_scroll-scrollbar-new 2024-08-21 21:22:55 +01:00
BDisp
6add7a1438 Merge branch 'v2_develop' into v2_2489_scroll-scrollbar-new 2024-08-21 21:18:16 +01:00
BDisp
7e3a3b2eaf Fixes #3679. WantContinuousButtonPressed mustn't force calling GrabMouse. 2024-08-21 19:42:46 +01:00
BDisp
e95f821f2b Fixes #3673. NativeAot project isn't using the correct release nuget package. (#3674) 2024-08-19 19:31:51 -06:00
Tig
b267e1698e V2 fix warnings (#3671)
* Fixed NumericUpDown warning

* Fixed Aot Warning

* Fixed warnings in Application.cs

* Fixed more NumericUpDown warning

* Fixed CommandImpl warning

* Fixed Thickness warnings

* Fixed Label warning

* Fixed warning

* Fixed menubar test warning

* Fixed warnings

* Fixed warnings

* Removed dead code

* Fixed warnings
2024-08-19 10:09:15 -06:00
BDisp
ffa08b82a1 Merge branch 'v2_develop' into v2_2489_scroll-scrollbar-new 2024-08-19 16:28:03 +01:00
BDisp
a0c03b11b6 Fixes #3635. Focus gets confused with ContextMenu. (#3663)
* Fixes #3635. Focus gets confused with ContextMenu.

* Improving unit test.

* Updated migration doc to include additional findings. (#3660)

* Updated migration doc to include additional findings.

* Updated per PR recommendations.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
Co-authored-by: Brian Gentry <bgentry@trestledevelopment.com>
2024-08-19 09:14:00 -06:00
Tig
7574c7fff1 Merge pull request #3668 from BDisp/v2_3667_toplevel-menubar-statusbar-remove-fix
Fixes #3667. Null reference in v2 in FindDeepestView.
2024-08-19 09:04:54 -06:00
Brian Gentry
a82636a2ba Updated migration doc to include additional findings. (#3660)
* Updated migration doc to include additional findings.

* Updated per PR recommendations.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2024-08-19 08:39:12 -06:00
Tig
388c11da51 Merge branch 'v2_develop' into v2_3667_toplevel-menubar-statusbar-remove-fix 2024-08-19 08:37:55 -06:00
Tig
168d3ca756 Merge pull request #3649 from tig/v2_3521-DimAuto-Equality
Fixes #3521 - `DimAuto` equality broken
2024-08-19 08:36:43 -06:00
Tig
bb85f9099a Accepted changed 2024-08-19 08:21:09 -06:00
BDisp
e59c02ad27 Rename to AdjustScroll method. 2024-08-19 13:16:48 +01:00
Brandon Thetford
dccc06366a Categorize the test fixture 2024-08-18 18:31:23 -07:00
Brandon Thetford
219cfb559a More code reduction. Put these in a primary constructor. Update uses. 2024-08-18 18:30:59 -07:00
Brandon Thetford
e6b67f0fbf Reduce code by inlining these in a primary constructor
Not the final form. Just showing steps.
2024-08-18 18:19:17 -07:00
Brandon Thetford
9082d13e30 Clamping to maximum size of the buffer
Just an extra sanity check/guard
2024-08-18 18:18:03 -07:00
Brandon Thetford
8385153590 Make GetAnchor abstract
There are subtle reasons for this. Regardless, it will be abstract when it's an interface, anyway, so no harm in doing it now.
2024-08-18 18:16:33 -07:00
Brandon Thetford
4e2416f6de Mark non-generic Dim.Has obsolete and fix a comment 2024-08-18 17:39:18 -07:00
Brandon Thetford
730d8e3103 Add a generic form of Dim.Has 2024-08-18 17:38:56 -07:00
Brandon Thetford
e90a115f21 Declare IEqualityOperators for Dim 2024-08-18 17:37:05 -07:00
Tig
34b33e1ca4 Addressed review feedback 2024-08-18 17:27:20 -06:00
Tig
34773a4d07 Merge branch 'v2_develop' into v2_3521-DimAuto-Equality 2024-08-18 17:16:51 -06:00
BDisp
936f9f52e0 Merge branch 'v2_develop' into v2_3667_toplevel-menubar-statusbar-remove-fix 2024-08-18 16:10:46 +01:00
BDisp
9635a434ed Fixes #3667. Null reference in v2 in FindDeepestView. 2024-08-18 15:56:34 +01:00
Tig
c00290ffcc Added unit test & fixed bug (#3666) 2024-08-17 09:22:52 -06:00
BDisp
3386d06c31 Ensure correct Width/Height when orientation is changed. 2024-08-17 00:03:54 +01:00
BDisp
9b896573ec Fix scroll slider when moving mouse outside the host. 2024-08-16 23:57:15 +01:00
BDisp
b025beb32f Rename id to scrollSlider to avoid conflict with the Slider view. 2024-08-16 16:27:54 +01:00
BDisp
3317c504e0 Moving slider code to his class. 2024-08-16 15:17:49 +01:00
BDisp
4e22706021 Using overridden methods instead of events. 2024-08-14 23:41:22 +01:00
BDisp
fa6fb11197 Add internal ScrollSlider class. 2024-08-14 23:03:53 +01:00
Tig
9d36db62ed Merge branch 'v2_develop' into v2_3521-DimAuto-Equality 2024-08-14 15:46:48 -06:00
BDisp
b488796562 Move Scroll.cs to the Scroll folder. 2024-08-14 21:19:00 +01:00
BDisp
c20b733fd9 Merge branch 'v2_develop' into v2_2489_scroll-scrollbar-new 2024-08-14 21:05:07 +01:00
BDisp
91e4abf367 Ensures Position set before call AdjustSlider and 2024-08-14 21:01:02 +01:00
Thomas Nind
f9a1d0345e Split processing autocomplete and drawing it (#3662) 2024-08-14 13:19:32 -06:00
Tig
1b802d4b8f Tweaked primary constructors 2024-08-14 13:06:15 -06:00
Tig
6a13e777ff class Pos -> record Pos 2024-08-14 13:02:11 -06:00
Tig
8edb06213e class Dim -> struct Dim 2024-08-14 09:28:47 -06:00
BDisp
9b4269e9ae Fix merge errors. 2024-08-14 14:54:18 +01:00
BDisp
4a68fc0ffb Resolving merge conflicts. 2024-08-14 14:24:03 +01: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
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
d47b184176 Added unit tests that fail 2024-08-06 09:38:05 -06:00