Commit Graph

790 Commits

Author SHA1 Message Date
BDisp
1860687839 Fixes #3740. Disabled MenuItem triggers exception. 2025-03-16 18:03:56 +01:00
BDisp
565793b85c V1 Fixes #3541. Checking if clipboard is available on windows. (#3658)
* V1 Fixes #3541. Checking if clipboard is available on windows.

* Fix nuget packages with vulnerabilities.
2025-03-16 18:03:56 +01:00
dependabot[bot]
bf92d1291b Bump xunit from 2.8.1 to 2.9.0 (#3596)
Bumps xunit from 2.8.1 to 2.9.0.

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 09:20:10 -06:00
dependabot[bot]
1b7f1e71fe Bump ReportGenerator from 5.3.6 to 5.3.7
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 5.3.6 to 5.3.7.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.3.6...v5.3.7)

---
updated-dependencies:
- dependency-name: ReportGenerator
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 14:17:19 +00:00
BDisp
abdb7db1b8 Fixes #3545. V1 Superview most focused view not sync with the overlapped view. 2024-06-17 23:00:14 +01:00
Tig
2e1b1a8df4 Merge pull request #3528 from gui-cs/dependabot/nuget/ReportGenerator-5.3.6
Bump ReportGenerator from 5.3.4 to 5.3.6
2024-06-08 21:19:53 -06:00
Tig
5a2b844e7b Merge pull request #3500 from BDisp/v1_2897-listwrapper-source-workaround
v1 Fixes #2897. ListView ListWrapper - marking does work if you give an IList which in which the count changes
2024-06-08 21:09:14 -06:00
dependabot[bot]
48334dead8 Bump ReportGenerator from 5.3.4 to 5.3.6
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 5.3.4 to 5.3.6.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.3.4...v5.3.6)

---
updated-dependencies:
- dependency-name: ReportGenerator
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 14:42:17 +00:00
Tig
5f3898d190 Updated nuget packages 2024-05-29 11:29:20 -06:00
Tig
bf9845ef08 Updated nuget packages 2024-05-29 11:28:34 -06:00
Tig
1e3a9b2632 Rebased 2024-05-29 11:25:44 -06:00
BDisp
d5bf412d37 Adjust the top considering the selected item and the frame height. 2024-05-29 12:34:59 +01:00
dependabot[bot]
53d88eb539 ---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-22 14:57:53 +00:00
Tig
b4b7db33a8 Updates nuget 2024-05-21 07:28:39 -06:00
Tig
3dc558318e Updated to support dotnet8 2024-05-20 06:54:02 -06:00
dependabot[bot]
e13ecf07d6 Bump xunit from 2.7.1 to 2.8.0
Bumps [xunit](https://github.com/xunit/xunit) from 2.7.1 to 2.8.0.
- [Commits](https://github.com/xunit/xunit/compare/2.7.1...2.8.0)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 17:35:22 +00:00
dependabot[bot]
333bb047e5 Bump xunit.runner.visualstudio from 2.5.7 to 2.8.0
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.7 to 2.8.0.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.7...2.8.0)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 14:57:33 +00:00
Tig
d89867b466 Merge pull request #3430 from gui-cs/dependabot/nuget/ReportGenerator-5.2.5
Bump ReportGenerator from 5.2.4 to 5.2.5
2024-04-27 07:45:36 -06:00
dependabot[bot]
6760d992dd Bump ReportGenerator from 5.2.4 to 5.2.5
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 5.2.4 to 5.2.5.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.2.4...v5.2.5)

---
updated-dependencies:
- dependency-name: ReportGenerator
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-24 15:02:06 +00:00
BDisp
9646c101b0 Fix a conflict with this unit test and the TestVKPacket unit test. 2024-04-22 00:05:07 +01:00
dependabot[bot]
64a21073fa Bump xunit from 2.7.0 to 2.7.1
Bumps [xunit](https://github.com/xunit/xunit) from 2.7.0 to 2.7.1.
- [Commits](https://github.com/xunit/xunit/compare/2.7.0...2.7.1)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 14:09:49 +00:00
Tig
f7ac933d2f Merge pull request #3352 from BDisp/v1_tabindex-fix_3351
Fixes #3351 (V1). TabIndex with the same setter value but with wrong index return without set the correct value.
2024-03-31 10:48:16 -06:00
dependabot[bot]
9afd59c8e0 Bump ReportGenerator from 5.2.3 to 5.2.4
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 5.2.3 to 5.2.4.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.2.3...v5.2.4)

---
updated-dependencies:
- dependency-name: ReportGenerator
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 14:45:44 +00:00
BDisp
bf07d24d9b Add unit test that proof setting TabIndex before all views are added, will have unexpected result. 2024-03-27 15:25:41 +00:00
BDisp
58fa801917 Fixes #3351. TabIndex with the same setter value but with wrong index return without set the correct value. 2024-03-26 23:54:40 +00:00
Tig
cdad0e7f47 Updated nuget packages 2024-03-16 07:44:09 -08:00
Tig
214ff12c9f Merge pull request #3321 from BDisp/v1_listview-selecteditemchanged-marks-click.fix_3317
Fixes #3317. v1-Listvew mouse event doesn't cause a SelectedItemChanged event to fire
2024-03-16 07:39:16 -08:00
BDisp
1724e71601 Using mask check instead of HasFlag method. 2024-03-14 11:57:51 +00:00
BDisp
e08e873139 Rename to Raised. 2024-03-14 11:47:49 +00:00
BDisp
b1218d7436 Rename to Raised. 2024-03-14 11:29:16 +00:00
BDisp
157a32312b Fixes #3317. Listvew mouse event doesn't cause a SelectedItemChanged event to fire 2024-03-13 21:17:35 +00:00
BDisp
37e76d174d Fixes #3318. v1-MouseClick should be invoked only once on a mouse click. 2024-03-13 21:09:32 +00:00
dependabot[bot]
384735a23e Bump ReportGenerator from 5.2.1 to 5.2.2
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: ReportGenerator
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 14:59:22 +00:00
Tig
54bcaa8c73 V1 Updates nuget packages and fixes a unit test issue (#3259)
* Updated to use Nstack v1.1.1

* Updated nuget refs and fixed unit test namespace error

* readme fix

* Lame change to .sln to try to force build action

* Try to fix test action

* Try to fix test action 2

* Try to fix test action 3
2024-02-22 06:50:50 -07:00
ilCosmico
18d38d3893 Fixes #3178. v1 - Library has no strong-name. (#3191)
* Add strong-name signing

Add strong-name signing as requested for issue https://github.com/gui-cs/Terminal.Gui/issues/3178

* Add strong name sign to UnitTests project

Added strong name to UnitTests project too.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2024-01-22 06:39:44 -07:00
BDisp
b65092fcaa Fixes #2095. Resizing when a context menu is open causes the Enter event to get spammed (#3193)
* Fixes #2095. Resizing when a context menu is open causes the Enter event to get spammed

* Update nuget packages.
2024-01-20 09:34:51 -07:00
BDisp
1d44f2e046 Fixes #2571. Wizards background shifts to gray when focusing, looks bad. (#3194)
* Fixes #2571. Wizards background shifts to gray when focusing, looks bad.

* Update nuget packages.

* Trying to fix the CodeQL failing.
2024-01-20 09:19:13 -07:00
BDisp
ce7ecb51d8 Fixes #2252. Pressing the ENTER key in a TextField should not move the focus (#3195)
* Fixes #2252. Pressing the ENTER key in a TextField should not move the focus

* Update xml doc.

* Tested on WSL-Ubuntu-20.04
2024-01-20 09:16:59 -07:00
dependabot[bot]
7e7fd12b3d Bump xunit from 2.6.4 to 2.6.5 (#3126)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.4 to 2.6.5.
- [Commits](https://github.com/xunit/xunit/compare/2.6.4...2.6.5)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 08:00:17 -07:00
Andrey Akinshin
b4975f4747 Fixes #3090. Introduce StatusItem.HotTextSpecifier (#3093) 2024-01-04 07:17:20 -07:00
dependabot[bot]
184a753127 Bump xunit from 2.6.3 to 2.6.4 (#3083)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.3 to 2.6.4.
- [Commits](https://github.com/xunit/xunit/compare/2.6.3...2.6.4)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-26 09:13:28 -07:00
Tig
3d4613710b V1: Fixes #3050 - API Doc link in Readme (#3058)
* Updated nuget refs

* Fixes #3050
2023-12-17 14:33:47 -07:00
BDisp
577fae1ac7 Fixes #3034. Text remains "invisible" in the TextView when WordWrap is activated. (#3035) 2023-12-06 09:43:25 -07:00
dependabot[bot]
3a502cae3c Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 (#2966)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.2 to 17.8.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.7.2...v17.8.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tig <tig@users.noreply.github.com>
2023-11-16 07:23:38 -07:00
BDisp
85c92f4b0d Fixes #2959. Some of the scroll features on v1 are broken. (#2960)
* Add GrabMouseEventArgs for GrabbingMouse and UnGrabbingMouse events.

* Implementing GrabbingMouse and UnGrabbingMouse in Toplevel class.

* Fix contentBottomRightCorner to draw with the right color.

* Fix a typo.

* Fix ListView to allow scrolling.

* Add a comment to explain an extra column for the cursor at the end of line.

* Add unit tests for GrabbingMouse and UnGrabbingMouse events.

* Add unit test for a Window inside a non Toplevel.

* Removes GrabMouseEventArgs.

* Prevents throwing an exception if not subscribed.

* GrabMouse must be first called before set the dragPosition.

* Add unit test to test null on GrabbingMouse and UnGrabbingMouse.

* Fix event name.

* Prevents a toplevel to overflows his bounds to allow it can be drag.

* Fix unit test.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-11-16 07:14:55 -07:00
usr
c7942ae3bb Fix issue where the TestViewsDisposeCorrectly was not doing what it was supposed to do (#2964)
* add Disposal Test and fix an ssue where the CopyClipboard test was failing

* Update ViewDisposalTest.cs

* Update ViewDisposalTest.cs: Some Formatting, and adding code comments.

* Fix ViewDisposalTests (Wasn't working the way it was supposed to)

* update test

* update test

* update test

* try to fix as many conflicts as possible

* make test output prettier

* fix formatting

* Fix Subviews not being empty after disposing on all views.

* The fail cause was Application.Top not being disposed.

* Fix others containers that weren't being removed.

* Revert "The fail cause was Application.Top not being disposed."

This reverts commit 0c2183ed9e.

* Application.Top isn't null and need disposing.

* Fixes #2985. Application.RunState must be responsible for dispose the Toplevel property.

* Change the unit test with ans without Application.Shutdown method.

* Update ViewDisposeTests to actually check wether ALL views have been disposed (not just container)

* small additional check just to be safe

* Update ViewDisposalTest.cs: Formatting

* Update ViewDisposalTest.cs: Minor change to re-trigger Action

TestVKPacket is acting up again. Maybe the test is running async and is receiving scan codes from other instances?

---------

Co-authored-by: John Züchler <john.zuechler@eks-intec.de>
Co-authored-by: BDisp <bd.bdisp@gmail.com>
Co-authored-by: Tig <tig@users.noreply.github.com>
2023-11-15 09:22:22 -07:00
BDisp
91865eed22 Fixes #2970. ScrollView doesn't remove a view that was previously added on both versions. (#2971) 2023-11-15 08:30:39 -07:00
BDisp
c348cda317 Fixes #2987. Set a MdiChild visible to false still processes keystrokes. (#2988) 2023-11-15 08:29:26 -07:00
dependabot[bot]
2001a8937e Bump xunit from 2.5.3 to 2.6.1 (#2953)
Bumps [xunit](https://github.com/xunit/xunit) from 2.5.3 to 2.6.1.
- [Commits](https://github.com/xunit/xunit/compare/2.5.3...2.6.1)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tig <tig@users.noreply.github.com>
2023-11-06 14:42:15 -07:00
BDisp
d51322ad17 Fixes #2892 for v1 - Null reference pressing menu shortcuts when menus have separators (#2955) 2023-11-06 14:38:37 -07:00