Commit Graph

2081 Commits

Author SHA1 Message Date
BDisp
cd119eadfb Fixes #2688. ReadOnly TextView's broken scrolling after version update. 2023-07-18 17:42:00 -06:00
Tigger Kindel
4ec525501c Release v1.13.0 2023-07-17 16:45:48 -07: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
db78fe28bc Fixes #2717. Label not display fully when resizing terminal. (#2718)
* Fixes #2717. Label not display fully when resizing terminal.

* Fixes #2719. View Move and ViewToScreen shouldn't use Clipped parameter as true by default but only for cursor.

* Fixes #2720. TextFormatter.Draw shouldn't set the Driver.Clip.

* Add braces.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-07-05 16:53:27 -06:00
BDisp
ffb135c0fe Fixes #2705. ListView does not render correctly before focus. (#2707) 2023-07-05 16:47:18 -06:00
BDisp
bf06b47c8f Fixes #2571. Wizards background shifts to gray when focusing, looks bad. (#2706)
* Fixes #2571. Wizards background shifts to gray when focusing, looks bad.

* Fix margin being negative on Pos.AnchorEnd.

* Fix background color in tab views.

* All tabs need to be manually disposed.
2023-07-05 16:44:10 -06:00
BDisp
58ad65f348 Fixes #2686. Border color doesn't change when changing color scheme. (#2687)
* Fixes #2686. Border color doesn't change when changing color scheme.

* Fix issue that was preventing unit test from running.

* Fixes #2688. ReadOnly TextView's broken scrolling after version update.

* keyModifiers must be reset after key up was been processed.
2023-06-07 08:27:23 -06:00
Tig Kindel
1cfc2f4397 Removed unneeded verison info from .csproj 2023-05-24 15:08:47 +02:00
BDisp
22cf4e3274 V1 macos freeze fix 1683 (#2668)
* Fixes #1683. The application freezes while resizing the terminal on MacOS

* Remove unused variable.
2023-05-24 08:06:29 +02:00
Thomas Nind
f5ca5b0781 Adds TreeView MaxDepth (#2652) 2023-05-21 23:27:01 +02:00
Tig
8287acbe89 Release v1.11 (#2639)
* Fixed global.json to use 7.0

* Adjusted clipboard unit test timeout on Windows
2023-05-19 10:24:28 +02:00
Thomas Nind
8f199cd765 Add ITreeViewFilter (#2599)
Co-authored-by: Tig <tig@users.noreply.github.com>
2023-05-10 06:37:24 +02:00
Tig
958a0ed3eb v1 - Fixes #2598 - Run self-contained application on Linux (#2607)
* cherry pick #2600 from v2_develop

* cherry pick #2600 from v2_develop

* fixing screwup

* in v1 #if is still needed
2023-05-07 21:22:39 +02:00
dependabot[bot]
536ca47ba3 Bump System.Management from 7.0.0 to 7.0.1 (#2528)
Bumps [System.Management](https://github.com/dotnet/runtime) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v7.0.0...v7.0.1)

---
updated-dependencies:
- dependency-name: System.Management
  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-04-15 18:26:29 -06:00
Tigger Kindel
443039a657 Release v1.10.1 2023-04-06 09:42:58 -06:00
Tigger Kindel
f766db7f41 Updated to net7.0 2023-04-06 09:36:29 -06:00
Tigger Kindel
ad5e25966b Updated readmes 2023-04-06 09:36:29 -06:00
Tigger Kindel
a7423f216c version info 2023-04-04 11:10:46 -06:00
Tigger Kindel
f7ee66ddbf net7.0 2023-04-04 11:06:14 -06:00
Tigger Kindel
a242af54e3 netstadard2.1 2023-04-04 11:04:51 -06:00
Roberto Cervantes
b45c1e67f0 Removed additional colon 2023-04-02 01:45:44 -07:00
BDisp
5b00dcfd04 Fixes #2429. Error when replacing a word in textView. 2023-03-22 19:27:46 +00:00
BDisp
1d2dc40c8a Fixes #2305. Improves the handling of escape sequence. (#2375)
* Changed ansi esc sequence used on exit.

* Changed ansi esc sequence used on exit.

* Improves HeightAsBuffer although currently only works on Windows.

* Fixes #2267. Toplevel.EnsureVisibleBounds throws an exception if border is null.

* Changing comment as requested.

* Fixes indentation.

* Seems not needed for now, maybe some update, comment for now.

* Renamed HeightAsBuffer to EnableConsoleScrolling and made it obsolete.

* Add comment on remarks for EnableConsoleScrolling.

* merged @bdisp's EnableConsoleScrolling PR

* Fixes buffer for Windows Terminal.

* Fixes issue in Windows Terminal on resizing causing some lines not be drawing after exceptions.

* merge #9

* merged #9

* use ESC [ ? 1047

* Tweaks with new esc codes

* Fixed curses driver to not nuke scroll buffer and to resize properly

* merge

* Cleand up netdriver escape codes

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed merge issue and  spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed  build error

* removed old comments

* Resolving merge conflicts.

* Ensuring reset the EnableConsoleScrolling.

* Changing from HeightAsBuffer to EnableConsoleScrolling.

* Done requested changes.

* Reformatting.

* Rename to EscSeqReqStatus.

* Removing Console.Out.Flush ();

---------

Co-authored-by: Charlie Kindel <tig@users.noreply.github.com>
Co-authored-by: Tig Kindel <tig@kindel.com>
2023-02-25 15:30:44 -07:00
BDisp
ed27696b9e Fixes 2342. Border: can't change border color in window by Border.BorderBrush. (#2345)
* Fixes 2342. Border: can't change border color in window by Border.BorderBrush.

* Fixes border initialization.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-02-25 15:26:04 -07:00
BDisp
9cfa78a033 Fixes #2354. View.Redraw doesn't clear itself and PositionCursor doesn't ensure focus when a prior view was disabled. (#2355)
* Fixes #2354. View should have a IgnoreHasFocusPropertyOnRedraw property to prevent unnecessary derived class.

* Removed IgnoreHasFocusPropertyOnRedraw property.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-02-21 14:23:40 +13:00
BDisp
47eb43fd6e Fixes 2368. Nested views with height of 1 not rendering correctly. (#2370) 2023-02-21 13:55:07 +13:00
BDisp
c85ff954aa Illustrates #2331 (Scrollview not respecting clip) does not reproduce (#2332)
* Proves that the issue #2331 don't have reason to happen.

* fixes #2336

* Fixes #2331. ScrollView may not be honoring clip region; CustomButton shows outside

* More appropriate solution for the issue #2331.

* Start refactoring LineCanvas for mixing line style support (e.g. double into single)

* Add remaining resolvers

* Implement corner border style mixing in LineCanvas

* Refactor and simplify resolvers

* Move tests to Core folder and namespace to Terminal.Gui.CoreTests

* Fixes #2333. TextField is selecting badly a word on double click.

* Add unit test deleting a word with accented char.

* Fixes 2331. ScrollView may not be honoring clip region.

* Add a custom button scenario.

* Fixes #2350. Clipping broke (see Clipping scenario).

* Is preferable use NeedDisplay instead of Bounds.

---------

Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
Co-authored-by: tznind <tznind@dundee.ac.uk>
2023-02-21 00:53:38 +13:00
Thomas Nind
1e5ab49827 Merge branch 'develop' into line-canvas-fix-offsets 2023-02-19 17:06:21 +00:00
Tig
65607ba0e0 Merge pull request #2349 from BDisp/basic-colors-scenario-fix_2348
Fixes #2348. The Basic Colors scenario doesn't output the blue on white properly.
2023-02-15 07:15:08 +07:00
Thomas
85a4471004 Remove the Draw method from LineCanvas and make GenerateImage easier to use 2023-02-14 22:11:18 +00:00
Thomas Nind
a10d4b78ec Merge branch 'develop' into line-canvas-fix-offsets 2023-02-14 21:54:22 +00:00
BDisp
43efe8a563 Ensures working even if a value less than -1 is used. 2023-02-14 18:43:58 +00:00
BDisp
721a8873b0 Removed Color.Invalid and added more unit tests. 2023-02-14 18:32:06 +00:00
Thomas
90a6c2c34c Support for drawing at an offset within client area 2023-02-13 22:08:05 +00:00
BDisp
444add330f Fixes #2346. If WindowsDriver is maximized crash on the Cleanup method. 2023-02-13 20:21:27 +00:00
tznind
319fb8a3d4 Add TestLineCanvas_PositiveLocation 2023-02-13 08:09:37 +00:00
tznind
fd989430bc whitespace formatting fixes 2023-02-13 01:58:19 +00:00
tznind
235114e60d Fix LineCanvas not respecting X and Y of clip bounds 2023-02-13 01:54:01 +00:00
Thomas Nind
d555576a13 Merge branch 'develop' into line-canvas-style-mixing 2023-02-11 08:19:03 +00:00
Tig
538d574ee9 Merge pull request #2334 from BDisp/textfield-word-select-fix_2333
Fixes #2333. TextField is selecting badly a word on double click.
2023-02-11 10:51:55 +07:00
Thomas
a443ec7986 Refactor and simplify resolvers 2023-02-11 00:03:37 +00:00
Thomas
f716dbe596 Implement corner border style mixing in LineCanvas 2023-02-10 23:29:07 +00:00
Thomas
5af44d2c53 Add remaining resolvers 2023-02-10 17:10:00 +00:00
tznind
5a37db7c18 Start refactoring LineCanvas for mixing line style support (e.g. double into single) 2023-02-10 08:23:58 +00:00
Tig
4c7c3403f5 Merge branch 'develop' into textfield-word-select-fix_2333 2023-02-09 16:31:52 -08:00
BDisp
51c64babc7 More appropriate solution for the issue #2331. 2023-02-09 23:41:27 +00:00
BDisp
895b3894f5 Fixes #2331. ScrollView may not be honoring clip region; CustomButton shows outside 2023-02-09 18:43:04 +00:00
Tig
db754473ff Merge branch 'develop' into fixes_2336_ignore_border 2023-02-09 22:08:52 +09:00
Tig Kindel
44ab0b5b74 fixes #2336 2023-02-09 05:03:46 -08:00
BDisp
03b20371f6 Fixes #2333. TextField is selecting badly a word on double click. 2023-02-08 19:17:15 +00:00