Commit Graph

5180 Commits

Author SHA1 Message Date
BDisp
986c681775 Applying dispose. 2024-04-26 00:21:54 +01:00
BDisp
46fcb58a71 Create IsViewLocationVisibleInViewport method. 2024-04-25 23:30:08 +01:00
BDisp
ab489b8d9d Fixes #3433. TextView deselects text when the mouse button is released. 2024-04-24 21:01:55 +01:00
BDisp
2f17584ac8 Fixes #3431. TextView and TextField are showing the cursor beyond their limits. 2024-04-24 19:53:46 +01:00
Tig
c1cac7290c Merge pull request #3410 from tig/v2_481-AnchorEnd
Fixes #481. Adds `Pos.AnchorEnd ()` (no param) to automatically account for the view's dimension.
2024-04-17 13:07:42 -06:00
Tig
6bb40abd7d API doc improvements 2024-04-17 13:07:20 -06:00
Tig
e3a0d8cbc5 API doc improvements 2024-04-17 13:01:06 -06:00
Tig
b2da2d6848 API doc improvements 2024-04-17 08:37:11 -06:00
Tig
e59106cfca API doc improvements 2024-04-17 08:12:32 -06:00
Tig
652f7aa1b9 Renamed API to simplify and make more clear 2024-04-17 08:05:21 -06:00
Tig
3111a2cd2f More PosDim.cs code cleanup 2024-04-16 17:52:57 -06:00
Tig
64b7149ff8 PosDim.cs code cleanup 2024-04-16 17:42:48 -06:00
Tig
e8467f25c4 Rewrote SetRelativeLayout to move logic in to the Pos & Dim classes. Massively beefed up unit tests. 2024-04-16 17:15:50 -06:00
Tig
34b3bf8d14 Merge pull request #3412 from tig/v2_3411-ClearContentOnly
Fixes #3411. `Content Scrolling` Scenario
2024-04-16 15:02:40 -06:00
Tig
21606c8658 Changed colorscheme 2024-04-16 15:01:00 -06:00
Tig
264ba87e73 AnchorEnd() works! Cleaned up usages and modernized Sceanrios 2024-04-16 14:00:38 -06:00
Tig
d8bbbb8152 Code cleanup 2024-04-16 11:50:49 -06:00
Tig
162aa081ad Implemented AnchorEnd(); added .UseDimForOffset property 2024-04-16 11:47:51 -06:00
Tig
671a18f1b5 Added tests to test new fn; which isn't implemented yet, so they fail. 2024-04-16 11:22:53 -06:00
Tig
05d3399f35 Added primitive AnchorEnd tests 2024-04-16 11:19:10 -06:00
Tig
719f39c8b3 Removed dupe tests 2024-04-16 10:33:18 -06:00
Tig
537f909e9f Factored AnchorEnd unit tests out to separate file. 2024-04-16 09:59:00 -06:00
Tig
d3dfb16597 Initial commit. Made all calls to AnchorEnd() be AnchorEnd(0) in prep 2024-04-16 09:51:22 -06:00
Tig
56922b4357 Merge pull request #3323 from tig/v2_3269_Bounds-ContentArea
Fixes #3169. `Bounds` -> `Viewport`: Content Scrolling in `View`
2024-04-16 06:37:37 -06:00
Tig
8d2c64ae3e Console Driver code cleanup 2024-04-15 18:11:17 -06:00
Tig
97351c3af6 Test tweaks 2024-04-15 18:08:51 -06:00
Tig
ceaa10c1b6 Reverted debug stuff in Scrolling Scenario 2024-04-15 17:28:53 -06:00
Tig
b7547c43e1 If Parent isn't movable, border now cancels Highlight event 2024-04-15 17:27:06 -06:00
Tig
069089ee27 Made Arrangement = ViewArrangement.Fixed the default for Toplevels 2024-04-15 17:08:12 -06:00
Tig
de1a844787 Reimplemented Driver.FillRect to directly use Contnets vs calling Move/AddRune 2024-04-15 15:43:03 -06:00
Tig
50fcb19af5 Keep Force16Colors set across apps to ease debugging of flicker issue 2024-04-15 14:48:26 -06:00
Tig
77f98306e0 Removed debug code 2024-04-15 13:56:49 -06:00
Tig
68e37d0d1c Fixed ColorPicker scenario with Bdisp's suggested code 2024-04-15 09:22:32 -06:00
Tig
00cc59add2 Smarter focuscolor fix just for Border 2024-04-15 00:08:26 -06:00
Tig
c34b23762b Smarter focuscolor fix just for Border 2024-04-14 23:56:12 -06:00
Tig
92e7bc67ce Cleaned up AdornmentsEditor to fix Progress Styles scenario.
Fixed GetFocusColor to not show focus if nothing else can be foucused
2024-04-14 23:47:57 -06:00
Tig
012e7a376a Fixed Button.NumericUpDown focus issue 2024-04-14 21:21:44 -06:00
Tig
085fd6316d Made Buttons.NumericUpDown even cooler. Updated Adornments scenario to use it. 2024-04-14 20:58:05 -06:00
Tig
4ad3dc8642 Made Buttons.NumericUpDown cooler 2024-04-14 20:12:22 -06:00
Tig
dc4ee2993c Updated package versions in multiple projects
Updated the versions of various packages across four projects. In `ReactiveExample.csproj`, the `ReactiveUI` package was updated. In `Terminal.Gui.csproj`, the `System.IO.Abstractions` and `System.Text.Json` packages were updated. In `UICatalog.csproj`, the `Microsoft.VisualStudio.Azure.Containers.Tools.Targets`, `SixLabors.ImageSharp`, and `CsvHelper` packages were updated. In `UnitTests.csproj`, the `ReportGenerator`, `TestableIO.System.IO.Abstractions.TestingHelpers`, `xunit`, `xunit.runner.visualstudio`, and `coverlet.collector` packages were updated.
2024-04-14 19:44:39 -06:00
Tig
980fed4bbb Merge pull request #3395 from BDisp/v2_view-dispose-mousegrabview-fix_3394
Fixes #3394. View.Dispose doen't call UngrabMouse if MouseGrabView is the view itself.
2024-04-14 19:41:56 -06:00
BDisp
7236dd19c7 Fix unit test. 2024-04-14 23:55:18 +01:00
BDisp
bf166a73b8 Revert changes. 2024-04-14 23:42:36 +01:00
BDisp
92a5fe98c5 Merge branch 'v2_develop' into v2_view-dispose-mousegrabview-fix_3394 2024-04-14 23:42:28 +01:00
Tig
2430088b18 Renamed scenario.
Fixed ContentSize < 0 issue.
2024-04-14 16:21:10 -06:00
Tig
dc4943f0ff Deleted temp scenario 2024-04-14 15:45:30 -06:00
Tig
a655120e48 Merge branch 'v2_develop' into v2_3269_Bounds-ContentArea 2024-04-14 15:00:11 -06:00
Tig
ffaf756898 Merge pull request #3405 from tznind/fix-tab-remove-null-ref
Fixes #3365 - Fix null reference removing tab
2024-04-14 14:59:20 -06:00
Tig
32e79bdd17 Code and API doc cleanup 2024-04-14 14:57:35 -06:00
tznind
caddcdb846 Fix null reference removing tab 2024-04-14 21:46:50 +01:00