Commit Graph

2503 Commits

Author SHA1 Message Date
BDisp
5dc5bebbd5 Fixes the MenuIem Width for wider runes 2022-04-16 12:52:03 +01:00
Tig Kindel
c0bd0e0a4a Merge pull request #1662 from jocelynnatali/french-localization
Add fr-FR localization.
2022-04-15 13:50:33 -07:00
Tig Kindel
8236caa598 Merge pull request #1658 from BDisp/netdriver-wide-runes-fix
Fixes wide runes not render well on NetDriver.
2022-04-15 13:39:09 -07:00
Tig Kindel
e7606209c2 Merge pull request #1656 from BDisp/update-cursor-fix
Cursor visibility fix.
2022-04-15 13:38:25 -07:00
Jocelyn NATALI
c873db07f0 Fix context menus tests on culture != of "en-US" machines.
The "en-US" culture is forced.
2022-04-13 10:13:11 +02:00
Jocelyn NATALI
937d99e85a Add fr-FR localization. 2022-04-12 23:15:33 +02:00
BDisp
e8fd8c503c Fixes wide runes not render well on NetDriver. 2022-04-08 00:58:47 +01:00
BDisp
f1bf67432c Cursor visibility fix. 2022-04-07 20:18:14 +01:00
Tig Kindel
2a29ca520d Merge pull request #1652 from tznind/axisText
Fixed Axis.Text being a field while every other class member is a property
2022-04-07 09:13:08 -07:00
Tig Kindel
1595bbb39a Merge pull request #1634 from BDisp/UseSubMenusSingleFrame-feature
Feature to display the sub-menus on a single frame instead multiple frames.
2022-04-07 09:12:31 -07:00
Tig Kindel
ab7e4d208e Merge pull request #1654 from migueldeicaza/dependabot/nuget/ReportGenerator-5.1.4
Bump ReportGenerator from 5.1.2 to 5.1.4
2022-04-07 09:12:02 -07:00
Tig Kindel
8d12021efc Merge pull request #1649 from migueldeicaza/dependabot/nuget/MinVer-3.1.0
Bump MinVer from 3.0.0 to 3.1.0
2022-04-07 09:11:47 -07:00
Tig Kindel
9d2d132684 Merge pull request #1651 from tznind/dispose-all-watchers
Dispose `FileSystemWatcher` instance before creating another in `FileDialog`
2022-04-07 09:09:10 -07:00
dependabot[bot]
4c4fa982b7 Bump ReportGenerator from 5.1.2 to 5.1.4
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 5.1.2 to 5.1.4.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.1.2...v5.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 14:12:07 +00:00
Thomas Nind
b6916ffd7f Fixed Axis.Text being a field while every other class member is a property 2022-03-30 10:57:34 +01:00
Thomas Nind
5739a45f9b Dispose FileSystemWatcher instance before creating another in FileDialog 2022-03-25 13:12:59 +00:00
dependabot[bot]
a9f8c7595f Bump MinVer from 3.0.0 to 3.1.0
Bumps [MinVer](https://github.com/adamralph/minver) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/adamralph/minver/releases)
- [Changelog](https://github.com/adamralph/minver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/adamralph/minver/compare/3.0.0...3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 14:12:59 +00:00
BDisp
3362ca849d Reorganizing scenarios categories as per #1648 2022-03-17 16:39:15 +00:00
BDisp
04f9817023 Fixes view to screen relative on the context menu. 2022-03-17 12:52:40 +00:00
BDisp
3e6a96fa7e Added HeightAsBuffer to the menu allowing to being configurable. 2022-03-17 12:52:39 +00:00
BDisp
ef4ae17959 Change CheckType to MenuItemCheckStyle.Checked 2022-03-17 12:52:39 +00:00
BDisp
08f2e67394 Implementing context menu and localization on TextView. 2022-03-17 12:52:27 +00:00
BDisp
3e3b67889d It is needed to get rid of the first and the last line ending of expectedLook. 2022-03-17 12:49:56 +00:00
BDisp
c1649981b5 Implementing UseSubMenusSingleFrame in context menu. 2022-03-17 12:49:55 +00:00
BDisp
d9f52fc2f2 Changing from AssertDriverContentsWithPosAre to AssertDriverContentsWithFrameAre to return a Rect. 2022-03-17 12:49:55 +00:00
BDisp
484e98998a Feature to display the sub-menus on a single frame instead multiple frames. 2022-03-17 12:49:43 +00:00
Tig Kindel
2414fcb11f Merge pull request #1645 from migueldeicaza/dependabot/nuget/ReportGenerator-5.1.2
Bump ReportGenerator from 5.0.4 to 5.1.2
2022-03-17 03:06:57 -06:00
Tig Kindel
4e12d49211 Merge pull request #1644 from migueldeicaza/dependabot/nuget/MinVer-3.0.0
Bump MinVer from 2.5.0 to 3.0.0
2022-03-17 03:06:43 -06:00
Thomas Nind
f96c7001e4 Fixed TableView when redrawing a System.DataTable that has no columns (#1639) 2022-03-17 02:06:17 -07:00
dependabot[bot]
fb8ba57f76 Bump MinVer from 2.5.0 to 3.0.0
Bumps [MinVer](https://github.com/adamralph/minver) from 2.5.0 to 3.0.0.
- [Release notes](https://github.com/adamralph/minver/releases)
- [Changelog](https://github.com/adamralph/minver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/adamralph/minver/compare/2.5.0...3.0.0)

---
updated-dependencies:
- dependency-name: MinVer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-17 09:05:57 +00:00
Adam Ralph
0eb271ce39 a nicer way to reference MinVer (#1637) 2022-03-17 02:05:19 -07:00
Thomas Nind
6374ba5b56 Rootkeyevent (#1635)
* Added RootKeyEvent

* Tests for RootKeyEvent

* Fixed warnings for Assert.Equal parameter order
2022-03-17 02:04:19 -07:00
BDisp
99d88af355 Fixes the WindowsDriver dirty redrawn on resizing if HeightAsBuffer is true. (#1633) 2022-03-17 02:00:05 -07:00
BDisp
177465fae2 Implementing context menu and localization on TextView. (#1631)
* Only allows an open menu bar at a time.

* Implementing context menu and localization on TextView.

* Fixes the WindowsDriver dirty redrawn on resizing if HeightAsBuffer is true.

* Change CheckType to MenuItemCheckStyle.Checked
2022-03-17 01:59:37 -07:00
Tig Kindel
38d5e6c2bf Merge pull request #1630 from BDisp/textfield-localization-fix
Fixes TextField context menu not showing with the current localization.
2022-03-17 02:57:45 -06:00
Tig Kindel
6bb5545142 Merge pull request #1629 from migueldeicaza/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-17 02:57:25 -06:00
Thomas Nind
7e04e31953 Table scroll fix (#1627)
* TableView scroll down goes one line at a time

Fixes #1626

* Removed accidentally committed test

* Updated test comments

* Added TableStyle.SmoothHorizontalScrolling

* Add explicit break into while for when scrolled to last column.

* Added tests for SmoothHorizontalScrolling
2022-03-17 01:56:21 -07:00
dependabot[bot]
29506d12f7 Bump ReportGenerator from 5.0.4 to 5.1.2
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 5.0.4 to 5.1.2.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.0.4...v5.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 14:12:24 +00:00
BDisp
17ed8dbed0 Only allows an open menu bar at a time. 2022-03-07 22:46:55 +00:00
BDisp
2daa07c1c1 Simplifying redundant code. 2022-03-07 14:19:11 +00:00
dependabot[bot]
d4a8e14a2f Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 14:07:38 +00:00
BDisp
b536fae289 Fixes TextField context menu not showing with the current localization. 2022-03-07 14:05:33 +00:00
BDisp
a822e1afa9 Adds a popup ContextMenu feature. Implements ContextMenu for TextField. (#1615)
* Implementing ContextMenu feature to being popup by keyboard or mouse.

* Implements ContextMenu into TextField.

* Ensures the context menu's right and bottom frame from being greater than the container.

* Added Host property. Improving scenario and unit tests.

* Only draw the RightTee if it is at the end of the menu.

* Implements cursor visibility on TextField.

* Fixes the sub-menu not showing.

* Avoids draw the menu help and shortcut if there no available space.

* Remove reference for the MenuClosing event.

* UpdateCursor must only run after the ScreenBuffer is initialized to use the cursor visibility.

* Implements Resized event on Toplevel class.

* Prevents writing overlay on the menu.

* Covering more unit tests.

* Changing from Views to Core namespace.

* Implementing MenuClosingEventArgs and MenuAllClosed event.

* Only close the menu if it's open.

* Implementing localization for en-US and pt-PT to the FileDialog.

* Implementing localization for en-US and pt-PT on the TextField context menu.

* Fixes a bug where DeleteSelectedText is updating the Text before operation completion.

* Added a method to get all the supported cultures from the Terminal.Gui.

* Improving context menu and adding more unit tests.
2022-03-06 22:01:51 -08:00
BDisp
da0ea09bed Implementing localization for en-US and pt-PT to the FileDialog. (#1625)
* Implementing localization for en-US and pt-PT to the FileDialog.

* Added a method to get all the supported cultures from the Terminal.Gui.
2022-03-06 22:00:47 -08:00
dependabot[bot]
9c8e92c2b5 Bump actions/setup-dotnet from 1 to 2 (#1621)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 1 to 2.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 18:15:20 -08:00
Freddie Mercurial (Jessica M.)
62ec263b02 test for #1612 (#1623) 2022-03-04 18:13:22 -08:00
BDisp
4281030361 Changed Button Text property to use override instead of new. (#1622)
* Changed Button Text property to use override instead of new.

* Fixing HotKey behavior.
2022-03-04 18:05:27 -08:00
BDisp
a9a0d176c1 The KeyPress event must only be used by the most focused view in the ProcessHotKey event. (#1614) 2022-02-26 23:59:50 -08:00
BDisp
56c28f6d37 Fixes the CanFocus equal to false from setting HasFocus to true again. (#1612)
* Fixes the CanFocus equal to false from setting HasFocus to true again.

* Unit test also proving setting a toplevel CanFocus to false focus the next toplevel.

* Unit test proving that a view with CanFocus equal to true can be focused on the same toplevel.
2022-02-24 05:49:34 -08:00
BDisp
e3b62cff38 Implementing undo/redo to back tab key. (#1608) 2022-02-24 05:49:05 -08:00