Commit Graph

2398 Commits

Author SHA1 Message Date
Tig Kindel
d9a8439e4b Adjust nuget publish script (#1495)
* Release v1.3.0

* regen docs

* change nuget publish script to use rohit version
2021-10-26 00:50:25 -07:00
Tig Kindel
a92075c042 Release v1.3.0 (#1494)
* Release v1.3.0

* regen docs
2021-10-26 00:40:20 -07:00
BDisp
f0a655a1c8 Trying updating FSharpExample to net5.0 (#1479)
* Trying updating to net5.0

* Fixes error. Thanks to @En3Tho

* Changed to the correct event.

* Cleaning on shutdown.
v1.3.0
2021-10-25 23:52:16 -07:00
dependabot[bot]
264c4cc163 Bump ReactiveMarbles.ObservableEvents.SourceGenerator (#1449)
Bumps [ReactiveMarbles.ObservableEvents.SourceGenerator](https://github.com/reactivemarbles/ObservableEvents) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/reactivemarbles/ObservableEvents/releases)
- [Commits](https://github.com/reactivemarbles/ObservableEvents/compare/1.1.3...1.1.4)

---
updated-dependencies:
- dependency-name: ReactiveMarbles.ObservableEvents.SourceGenerator
  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>
2021-10-25 23:50:49 -07:00
Reilly Wood
0907f7da54 Fix link to MainLoop docs in README.md (#1491)
Link was broken with a 404.
2021-10-25 12:43:10 -07:00
BDisp
48100d9061 Scrollbarview ensures host always focused. (#1486)
* Sets ScrollViewBar CanFocus to false to ensure the host always focused.

* Only navigates through TabView if winDialog is not null and ensures TextView being focused.

* Fixes both dynamic menu and status bar broken scenarios.

* Fix a bug where the subviews oldEnabled can be overridden, even the superview Enable property hasn't changed.

* Fixes CanFocus when set to false and HasFocus is true.

* Fixes the broken TextView DesiredCursorVisibility.
2021-10-25 12:42:16 -07:00
BDisp
58e7698f4c Fixes #1475. Selection ending with a white space error. (#1478)
* Fixes #1475. Selection ending with a white space error.

* Prevents the mouse  double click processing twice.

* Removing unnecessary variable.

* Sets ScrollViewBar CanFocus to false to ensure the host always focused.

* Only navigates through TabView if winDialog is not null and ensures TextView being focused.

* Fixes both dynamic menu and status bar broken scenarios.

* Fix a bug where the subviews oldEnabled can be overridden, even the superview Enable property hasn't changed.

* Fixes CanFocus when set to false and HasFocus is true.

* Fixes the broken TextView DesiredCursorVisibility.

* Prevents TextField being focused by mouse if CanFocus is false.

* Fixes the CanFocus on content views.

* Fixes #1470. Not all WindowsConsole.InputRecord are caught in WindowsDriver.

* Changing the input for a Queue object.

* Suppress warnings.

* Fixed yet the visibility cursor and adding more unit tests.

* Suppressing more warnings.
2021-10-25 12:40:18 -07:00
BDisp
2ef4edd08e NetDriver fixes keys modifiers not reseting and enter key on Windows Terminal. (#1484)
* Fixes keys modifiers not reseting and enter key on Windows Terminal.

* Fixes summary warnings.

* Ensures MainIteration processes  input while count greater than zero.

* Adding UseSystemConsole to the launch settings profile.

* Improves the performance with Console.Write by writing faster.
2021-10-25 12:31:49 -07:00
Thomas Nind
b5799c3ded Fixed label positions to begin at Margins not just bottom left of screen (#1488)
* Fixed label positions to begin at Margins not just bottom left of screen

* Tidied up Axis GetLabels and added margin control to GraphViewExample

* Added tests for very large margins
2021-10-25 12:30:39 -07:00
BDisp
9d767a4171 Dynamic menu/statusbar and Enable property fix. (#1489)
* Fixes both dynamic menu and status bar broken scenarios.

* Fix a bug where the subviews oldEnabled can be overridden, even the superview Enable property hasn't changed.
2021-10-25 12:29:27 -07:00
BDisp
d55ae77331 Fixes #1446. Added more features to the Border and Toplevel focus. (#1447)
* Fixes #1446. Added more features to the Border and Toplevel focus.

* Prevents throwing exception on negative effect3DOffset values

* Ensures that a view can be focused.

* Only sets focus if it isn't disposing.

* Fixes ViewToScreen and DrawChildBorder Effect3D.

* Unit test for negative coordinates with the ViewToScreen method.

* Added Tab navigation feature to the Editor scenario.

* ComboBox cursonDownKey nullref fix (#1472)

* added null guard to fix null ref when pressing keyDown inside combobox
Improved an error message when view cannot be found

* Added a unit test to ensure combobox can process all key events
Found and fixed a new nullref

* Found a new bug when source is already present and combobox is added to a top view

* searchSet is auto initialized to new List() now to make the code a little bit safer

* Fixes WindowsDriver HeightAsBuffer set to false. (#1466)

* Bump ReportGenerator from 4.8.12 to 4.8.13 (#1473)

Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 4.8.12 to 4.8.13.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v4.8.12...v4.8.13)

---
updated-dependencies:
- dependency-name: ReportGenerator
  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>

* Fixes #1445. Fixing more the Curses and WSL clipboard. (#1448)

* Fixes #1445. Fixing more the Curses and WSL clipboard.

* Fixing unit tests.

* Changing namespace.

* Fixes WSL2 clipboard unit test.

* Upgrades devcontainer with the MainLoop fix.

* Fixes pasting with no selection and with lines break.

* Prevents the event button click being fired after a button pressed with mouse move.

* Fixes the char [ not being processed.

* Added Application.QuitKey property to allow change the quitting application key. (#1450)

* Added Application.QuitKey property to allow change the quitting application key.

* Fixes QuitKey unit test by reseting his value.

* Locks timeouts until is added.

* Fixes #1467. AlternateForward/BackwardKey bypasses dialog modality (#1468)

* Changed namespace.

* Fixing merge conflicts.

* Fixes mouse click issue.

* Removing windows resizing because buffer resizing is enough.

* Fixes #1477. Mouse click and console bottom on Windows Terminal.

Co-authored-by: Igor Bagdamyan <37334640+En3Tho@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 09:22:13 -07:00
Igor Bagdamyan
b418a0099f Added PoshRedisViewer to the list of Showcases/Examples (#1476)
* Added PoshRedisViewer to the list of Showcases/Examples

* updated repository link
2021-10-05 09:18:28 -07:00
BDisp
c7d1e15cad Fixes #1467. AlternateForward/BackwardKey bypasses dialog modality (#1468) 2021-09-29 14:22:53 -07:00
BDisp
23d4fa9016 Added Application.QuitKey property to allow change the quitting application key. (#1450)
* Added Application.QuitKey property to allow change the quitting application key.

* Fixes QuitKey unit test by reseting his value.

* Locks timeouts until is added.
2021-09-29 14:22:43 -07:00
BDisp
84f79b2326 Fixes #1445. Fixing more the Curses and WSL clipboard. (#1448)
* Fixes #1445. Fixing more the Curses and WSL clipboard.

* Fixing unit tests.

* Changing namespace.

* Fixes WSL2 clipboard unit test.

* Upgrades devcontainer with the MainLoop fix.

* Fixes pasting with no selection and with lines break.

* Prevents the event button click being fired after a button pressed with mouse move.

* Fixes the char [ not being processed.
2021-09-29 14:22:23 -07:00
dependabot[bot]
a2cbe45d55 Bump ReportGenerator from 4.8.12 to 4.8.13 (#1473)
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 4.8.12 to 4.8.13.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v4.8.12...v4.8.13)

---
updated-dependencies:
- dependency-name: ReportGenerator
  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>
2021-09-29 14:21:51 -07:00
BDisp
ef9fb593e5 Fixes WindowsDriver HeightAsBuffer set to false. (#1466) 2021-09-29 14:17:22 -07:00
Igor Bagdamyan
f602d3bd1d ComboBox cursonDownKey nullref fix (#1472)
* added null guard to fix null ref when pressing keyDown inside combobox
Improved an error message when view cannot be found

* Added a unit test to ensure combobox can process all key events
Found and fixed a new nullref

* Found a new bug when source is already present and combobox is added to a top view

* searchSet is auto initialized to new List() now to make the code a little bit safer
2021-09-29 14:14:32 -07:00
BDisp
8bfa2f0425 Border feature (#1436)
* Allowing pass the view to the RootMouseEvent.

* Allowing bring the current window to front on dragging.

* Improving the ConsoleDriver to get the Attribute colors based on the value.

* Added a PanelView to deal with borders.

* Added a Border feature to all views.
2021-08-26 07:55:19 -07:00
BDisp
be0ffc2606 Fixes #1438. Backspace not redrawing screen under some situations. (#1441) 2021-08-26 07:39:37 -07:00
Artyom V. Gorchakov
8eb719af1d feature: Don't pull Terminal.Gui from NuGet, use ReactiveMarbles.ObservableEvents (#1440)
* Don't pull Terminal.Gui from NuGet, use ReactiveMarbles source generator

* Target net5.0
2021-08-26 07:38:02 -07:00
Charlie Kindel
e3f6b7b283 Merge pull request #1437 from tznind/fix-auto
Fixed bug setting ColorScheme on Autocomplete
2021-08-26 08:37:33 -06:00
Thomas Nind
7cba2c9cf5 Fixed bug setting ColorScheme on Autocomplete 2021-08-25 09:19:46 +01:00
Charlie Kindel
28ecb1153f Merge pull request #1432 from tig/release_note
tweaked readme
2021-08-24 10:21:40 -06:00
Charlie Kindel
a2ecc49220 Update README.md 2021-08-24 09:21:15 -07:00
Charlie Kindel
27cce0b4c3 tweaked readme 2021-08-24 09:16:16 -07:00
Charlie Kindel
c9530e53fd Merge pull request #1431 from tig/v_1_2_1
v1.2.1 Release
2021-08-24 10:13:28 -06:00
Charlie Kindel
aa9eb97d35 v1.2.1 Release 2021-08-24 08:54:25 -07:00
Theodore Tsirpanis
45d346d6e7 Correctly mark the .NET Framework reference assemblies as private. (#1419)
And use a built-in MSBuild item to apply the `InternalsVisibleToAttribute` (available since at least the .NET 5 SDK which is already required by `global.json`).
v1.2.0 v1.2.1
2021-08-24 08:23:16 -07:00
Adam Ralph
cef541f443 fix code block fencing (#1427) 2021-08-24 08:22:58 -07:00
BDisp
c604fcb30a NetDriver triple click bug fix. (#1422) 2021-08-24 08:22:31 -07:00
BDisp
e6bc253857 WindowsDriver double click mouse bug fix. (#1421) 2021-08-24 08:22:07 -07:00
BDisp
8a6c94f120 Fixes CursesDriver mouse and reset issue. (#1420) 2021-08-24 08:21:07 -07:00
Thomas Nind
d60aed79e4 Autocomplete for TextView (#1406)
* Added basic autocomplete style dropdown (not working properly yet)

* Autocomplete basically working but rough around the edges

* Changed to Lists and added CloseKey

* Fixed test, made autocomplete equal length

* Added scrolling through autocomplete list

* Made Accept autocomplete do delete and replace instead of append to support caps changes

* Changed Autocomplete ColorScheme to cyan

* Fixed autocomplete render location when TextView is scrolled

* Fixed scrolling and overspill rendering

* Added wordwrap option to SyntaxHighlighting Scenario

* Moved Autocomplete to be member property of TextView

* Made Suggestions a readonly collection and enabled Autocomplete in Editor Scenario

* Added ClipOrPad tests

* Fixed bad merge

* Delayed init of ColorScheme on Autocomplete until needed

* Changed ColorScheme to match Menu bar
2021-08-24 08:19:43 -07:00
dependabot[bot]
ee8a8cc2db Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0 (#1418)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.10.0 to 16.11.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/commits)

---
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>
2021-08-24 08:18:30 -07:00
sucrose
618714cc69 Fix version conflicts caused by PR#1412 (#1415) 2021-08-11 02:58:35 -07:00
BDisp
52f48b2044 Fixes #1384. Added a VisibleChanged event on the View class. (#1385)
* Fixes #1384. Added a VisibleChanged event on the View class.

* Getting the last char.

* Fixes #871. Added Enable property to Responder and added Disabled color for all ColorSchemes.

* Added GetNormalColor method to the View being more readable.

* Fixes the contentBottomRightCorner Enable and Visible.

* Fixes #643. Added AddItemAt and RemoveItem to StatusBar and fixed more bugs.

* Typo fixes.

* Fixes #1387. Allowing the UnitTests project to test internal keywords.

* Fixes #1389. Added a unidirectional feature to the Marquee styles to the ProgressBar.

* Fixes #1394. Added ReflectedType to check for overridden.

* Fixes #1396. Using the Loaded event instead the Ready event.

* Fixes #1402. Only WindowsDriver supports horizontal scroll. (#1403)

* Fixes #1402. Only WindowsDriver supports horizontal scroll.

* Fixes ProcessContinuousButtonPressedAsync on all drivers.

* Fixed internal unit test.

* Fixing warning.

* Fixing Editor scenario error.

* Fixes double and triple click on a touchpad.

* Ensuring reset the counting.

* Allowing touchpad double and triple click with one finger on CursesDriver.

* Allowing touchpad double and triple click with one finger on WindowsDriver.

* Fixes #1414. Fixed multi toplevels and mdi container issues.

* Improving EnsureVisibleBounds and PositionToplevel.

* Added mouseGrabView to the ResetState method.

* Changing namespace.

* Allowing file type on the SaveDialog.

* Fixes SaveDialogs writing the extension twice.
2021-08-11 02:56:30 -07:00
BDisp
b193aaaa56 Fixes #1402. Only WindowsDriver supports horizontal scroll. (#1403)
* Fixes #1402. Only WindowsDriver supports horizontal scroll.

* Fixes ProcessContinuousButtonPressedAsync on all drivers.
2021-08-04 21:54:33 -07:00
Charlie Kindel
a660f21e3f Merge pull request #1397 from BDisp/uicatalog-focus-fix
Fixes #1396. Using the Loaded event instead the Ready event.
2021-08-04 22:53:40 -06:00
Charlie Kindel
5a1c8a7cda Merge pull request #1395 from BDisp/scrollview-clipping-fix
Fixes #1394. Added ReflectedType to check for overridden.
2021-08-04 22:53:15 -06:00
Charlie Kindel
de5d38f7c4 Merge pull request #1390 from BDisp/progressbar-bidirection
Fixes #1389. Added a unidirectional feature to the Marquee styles to the ProgressBar.
2021-08-04 22:52:34 -06:00
Charlie Kindel
7a97653088 Merge pull request #1388 from BDisp/internal-tests
Fixes #1387. Allowing the UnitTests project to test internal keywords.
2021-08-04 22:50:51 -06:00
BDisp
f1f86c4288 Fixes #1396. Using the Loaded event instead the Ready event. 2021-07-26 13:12:02 +01:00
BDisp
12f639bde0 Fixes #1394. Added ReflectedType to check for overridden. 2021-07-26 11:37:47 +01:00
BDisp
bb4bbcba1e Fixes #1389. Added a unidirectional feature to the Marquee styles to the ProgressBar. 2021-07-24 13:23:20 +01:00
BDisp
b200763a3f Fixes #1387. Allowing the UnitTests project to test internal keywords. 2021-07-23 23:02:22 +01:00
Charlie Kindel
52a5fccdc4 Merge pull request #1383 from BDisp/key-unit-tests
Fixes #1381. Unit tests to demonstrate the Key enum ambiguity check.
2021-07-21 09:15:07 -07:00
dependabot[bot]
3b752794c5 Bump coverlet.collector from 3.0.3 to 3.1.0 (#1382)
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits/v3.1.0)

---
updated-dependencies:
- dependency-name: coverlet.collector
  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>
2021-07-21 09:13:16 -07:00
BDisp
e2d53d2d92 Fixes #546. Enhancement ProgressBar. (#1379)
* Fixes #546. Enhancement ProgressBar.

* Allows set the Text only on Marquee style.
2021-07-21 09:08:43 -07:00
Thomas Nind
2454dc9679 Disabled MinVer when building in Debug (#1378) 2021-07-21 09:05:13 -07:00