Commit Graph

720 Commits

Author SHA1 Message Date
Tig
d0f7c86a39 Merge branch 'develop' into dependabot/nuget/SixLabors.ImageSharp-3.1.4 2024-04-14 14:31:45 -06:00
BDisp
108afa97b8 Fix size in the scenario. 2024-04-11 17:30:55 +01:00
dependabot[bot]
aea13ce70b Bump SixLabors.ImageSharp from 3.1.3 to 3.1.4
Bumps [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/SixLabors/ImageSharp/releases)
- [Commits](https://github.com/SixLabors/ImageSharp/compare/v3.1.3...v3.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 14:33:59 +00:00
Tig
2e519cfeba Merge pull request #3387 from gui-cs/dependabot/nuget/CsvHelper-31.0.3
Bump CsvHelper from 31.0.2 to 31.0.3
2024-04-04 18:56:21 -04:00
dependabot[bot]
df138d5056 Bump Microsoft.VisualStudio.Azure.Containers.Tools.Targets
Bumps Microsoft.VisualStudio.Azure.Containers.Tools.Targets from 1.20.0 to 1.20.1.

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.Azure.Containers.Tools.Targets
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 14:53:38 +00:00
dependabot[bot]
7d3b5fa6f5 Bump CsvHelper from 31.0.2 to 31.0.3
Bumps [CsvHelper](https://github.com/JoshClose/CsvHelper) from 31.0.2 to 31.0.3.
- [Commits](https://github.com/JoshClose/CsvHelper/compare/31.0.2...31.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 14:51:00 +00:00
dependabot[bot]
236f29ed55 Bump Microsoft.VisualStudio.Azure.Containers.Tools.Targets
Bumps Microsoft.VisualStudio.Azure.Containers.Tools.Targets from 1.19.6 to 1.20.0.

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.Azure.Containers.Tools.Targets
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-29 14:25:22 +00:00
Tig
cdad0e7f47 Updated nuget packages 2024-03-16 07:44:09 -08: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
dependabot[bot]
fcad17853e Bump CsvHelper from 30.0.1 to 30.0.3 (#3210)
Bumps [CsvHelper](https://github.com/JoshClose/CsvHelper) from 30.0.1 to 30.0.3.
- [Commits](https://github.com/JoshClose/CsvHelper/compare/30.0.1...30.0.3)

---
updated-dependencies:
- dependency-name: CsvHelper
  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-24 10:22:14 -07:00
dependabot[bot]
85cc16172e Bump Microsoft.VisualStudio.Azure.Containers.Tools.Targets (#3143)
Bumps Microsoft.VisualStudio.Azure.Containers.Tools.Targets from 1.19.5 to 1.19.6.

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.Azure.Containers.Tools.Targets
  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-08 12:16:27 -07:00
dependabot[bot]
2da2a3bbd0 Bump SixLabors.ImageSharp from 3.1.1 to 3.1.2 (#3110)
Bumps [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/SixLabors/ImageSharp/releases)
- [Commits](https://github.com/SixLabors/ImageSharp/compare/v3.1.1...v3.1.2)

---
updated-dependencies:
- dependency-name: SixLabors.ImageSharp
  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-03 08:55:23 -07:00
BDisp
b57b1f32ab Fixes #2865. Unknown character sequence while resizing terminal. (#2951)
* Fixes #2865. Unknown character sequence while resizing terminal.

* Added USE_IOCTL definition for toggle.

* Explaining that is a CSI (Esc[) = 27;91.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-12-19 16:44:44 -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
dependabot[bot]
9bcfd609eb Bump SixLabors.ImageSharp from 3.0.2 to 3.1.0 (#3025)
Bumps [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/SixLabors/ImageSharp/releases)
- [Commits](https://github.com/SixLabors/ImageSharp/compare/v3.0.2...v3.1.0)

---
updated-dependencies:
- dependency-name: SixLabors.ImageSharp
  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>
2023-12-05 07:38:36 -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
3e1637aac8 Fixes #2775. Something in 1.13 broke centering child windows. (#2778)
* Fixes #2776. Pressing Alt key on a Window with only a MenuBar throws System.InvalidOperationException.

* Add unit test.

* Fix extra bracket.

* Prevents throw exception if Application.Current is null.

* Fix unit test because OnLeave is now invoked on toplevel removing, preventing two views having focus.

* Fix unit test method name.

* Fix Window by not layout on his subviews when adding a new view after the Application.Begin was already running.

* FindAndOpenMenuByHotkey now search inside Menus and inside his Children.

* Add unit test for Window LayoutSubviews and FindAndOpenChildrenMenuByHotkey menu method.

* Prevents button to be clear when it's invisible.

* Fixes 2780. Moving a Window that is Application.Top shouldn't be allowed.

* Fix condition if Window and Application.Top.

* Always LayoutSubviews and PositionToplevels after Clear.

* Fixes #2787. MenuItem with CanExecute returning false is select when a MenuBar is opened.

* Leveraging the power of CanExecute feature.

* Fixes #2789. StatusItem should have a disabled attribute if it can't execute.

* Allows positioning a child window outside the limits of the menu and the status bar.

* Change to a more appropriate name.

* Simplifies all the run actions.

* Prevents open menu bar if it's invisible and close all opened menus.

* Fix mdi run loop.

* Fix hot key on mdi toplevels.

* Fix position on mdi toplevels.

* Fix Top.Redraw by set state.Toplevel.SetNeedsDisplay if it's needed to redraw.

* Fix MdiTop by repainted when a keystroke is generated by keyboard.

* Rename local fields.

* Force redraw if application.Top needs display.

* Added more features to the scenario.

* Change the scenarios to run as Application.Top instead of sub-views.

* Add a new scenario similar but as Mdi Container.

* Add a bunch of new unit tests to prove all this PR.

* Only it's need to redraw Application.Top if it's a Mdi Container.

* Remove unnecessary code.

* Unit test that proves that a MDI child leaves no trace when the location is changed.

* Removes unnecessary Application.Init because theses uses Run<T> which already call it.

* Ensures a menu bar been closed after run an action.

* Ensures that another view can be focused if not IsMenuOpen and LastFocused is null, instead of focused the menu itself.

* Ensures a focused contentview subview being focused if MostFocused is null.

* Ensures a MdiTop subview to have priority if it's focused and thus  make it Current.

* Allow a MdiChild be closed when pressing Application.QuitKey.

* More unit tests proving the changes.

* Ensures the top.MostFocused is focused.

* Ensures MdiChild on the front if MdiTop.MostFocused isn't valid, like ContentView.

* Add unit test showing MdiChild on the front.

* Fix an issue where NullReferenceException can be throws everywhere while get the Application.MdiChildes property.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-10-17 13:34:28 -04:00
BDisp
a45d65bbdd Fixes #2847. CursesDriver doesn't processing response from task threading. 2023-08-31 19:03:05 +01:00
Tigger Kindel
568c251ed7 Merge branch 'develop' into v1_14_0 2023-08-30 07:11:58 -06:00
Tig
1856d0652f Merge branch 'develop' into v1_lang-version-9.0_2830 2023-08-30 06:58:22 -06:00
Tigger Kindel
7763704c50 Updated nuget deps 2023-08-30 06:51:12 -06:00
Tigger Kindel
17b4e3d56b cleaned out version info from csproj 2023-08-30 06:49:34 -06:00
Tigger Kindel
1a17ecabde Commented version info 2023-08-28 06:47:45 -06:00
Tigger Kindel
b8a0f415f2 Verifying builds 2023-08-28 06:44:01 -06:00
BDisp
bd58b58f63 Fixes #2830. v1 Allow use LangVersion 9.0 on the UICatalog project. 2023-08-25 00:08:33 +01:00
Tigger Kindel
a591314390 Set version to v1.14.0 2023-08-17 10:20:24 -06:00
Tigger Kindel
f7def42b5b tweaking gitversion 2023-08-17 10:20:24 -06:00
Tigger Kindel
6bf2ed25db tweaking gitversion 2023-08-17 10:20:24 -06:00
Tigger Kindel
0b149f9433 new version 2023-08-17 10:20:24 -06:00
Tigger Kindel
145751e590 tweaked csproj files 2023-08-17 10:20:24 -06:00
Tigger Kindel
f55c4e66ca Fixing source link 2023-08-17 10:20:24 -06:00
Tigger Kindel
af1768dad7 coimmented csproj 2023-08-17 10:20:24 -06:00
Tigger Kindel
db41d6a1f4 coimmented csproj 2023-08-17 10:20:24 -06:00
Tigger Kindel
93c234481a tweaking csproj 2023-08-17 10:20:24 -06:00
Tigger Kindel
4c5edaa27e Updated gitversion to test 2023-08-17 10:20:24 -06:00
Tigger Kindel
d474b2d521 Initial commit 2023-08-17 10:20:24 -06:00
BDisp
885ccb60e4 Added debug profile for Windows Terminal. 2023-08-14 16:11:33 -06:00
Tig Kindel
ed917781c9 Changing gitflow/gitversion scheme3.3 2023-08-04 10:10:39 -06:00
Tig Kindel
0610afaaa8 Changing gitflow/gitversion scheme2 2023-08-04 09:47:03 -06:00
Tig Kindel
9b94dfcbb0 Changing gitflow/gitversion scheme 2023-08-04 09:35:52 -06:00
Tigger Kindel
7ef51bad85 Remove EnableConsoleScrolling 2023-07-26 08:59:55 -06:00
BDisp
0faf530f16 Fixes #415. Colors: The native method "COLOR_PAIRS" does not exist (#2749)
* Fixes #415. Colors: The native method "COLOR_PAIRS" does not exist.

* Add Dockerfile with the opensuse/tumbleweed image.

* Ensures using the libncurses6 version in the case the issue is fixed.
2023-07-17 08:34:46 -06:00
BDisp
48a73b4756 Fixes #2739. UICatalog Text Editor Column / Row not be updated when cursor moving. (#2740) 2023-07-12 08:45:03 -07:00
Maciej
7936dd1e85 Add table example check to prevent crashes (#2691)
Co-authored-by: Tig <tig@users.noreply.github.com>
2023-07-05 16:52:13 -06:00
Thomas Nind
8f199cd765 Add ITreeViewFilter (#2599)
Co-authored-by: Tig <tig@users.noreply.github.com>
2023-05-10 06:37:24 +02:00
Tigger Kindel
443039a657 Release v1.10.1 2023-04-06 09:42:58 -06:00
Tigger Kindel
a7423f216c version info 2023-04-04 11:10:46 -06:00
dependabot[bot]
9a5f1edcf7 Bump SixLabors.ImageSharp from 3.0.0 to 3.0.1
Bumps [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/SixLabors/ImageSharp/releases)
- [Commits](https://github.com/SixLabors/ImageSharp/compare/v3.0.0...v3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-28 15:09:08 +00:00
I-Have-No-Idea-What-IAmDoing
d0345e55b8 Fix typo in link in a readme (#2409)
The link: (https://github.com/gui-cs/Terminal.Gui/issues/368) was typed out like (https://github.com/giu-cs/Terminal.Gui/issues/368).
2023-03-17 08:56:38 -06:00