Commit Graph

2436 Commits

Author SHA1 Message Date
Aurélien VERBEKE
64d14d325d Fixes #1577 - Add Support for Colored ListView Items (#1578)
* We can now choose the color (background and foreground/text) we want to display each item.

* Added RowRender event.

* Colored ListView in action.

Co-authored-by: BDisp <bd.bdisp@gmail.com>
2022-02-06 14:43:20 -08:00
BDisp
ff962b64df Added MenuOpened event and others bug fixes. (#1572)
* Added MenuOpened event and others bug fixes.

* Fixing typo.

* Unifying constructors initializations.
2022-02-06 14:38:11 -08:00
BDisp
b28e8186dc Added mouse support and more features to the HexView. (#1571)
* Added mouse support and more features.

* Updating NuGet packages.

* Putting text on the same line.

* Added a read only Position, CursorPosition properties and events.

* Added a stream argument to ApplyEdits to only save the edits.

* Ignore control characters and other special keys.
2022-02-06 14:34:15 -08:00
Tig Kindel
05aa88389d Merge pull request #1564 from BDisp/calculateleftcolumn-fix
Fixes #1525 - Gives TextField the same backspace behavior as TextView
2022-02-06 14:32:33 -08:00
Thomas Nind
85c74b8357 Added DesiredCursorVisibility to TreeView (#1561) 2022-02-06 14:27:19 -08:00
Tig Kindel
aeb02fe8fe Merge pull request #1531 from BDisp/mdi-visible-fix
Fixes #1529 - Mdi container will deal with the visibility of their child's.
2022-02-06 14:25:03 -08:00
Tig Kindel
91ecc51e36 fixing #1560 - Fix docfx errors and warnings (#1586) 2022-02-06 14:18:04 -08:00
BDisp
1d287fabe7 Fixes #1560. Documentation link broken. (#1562) 2022-02-06 13:31:33 -08:00
BDisp
11f29d45ea A unit test to prove the 4df5897. 2022-01-23 23:37:46 +00:00
BDisp
4df5897318 Fixes the cursor not being showing if the text length is equal to the view width. 2022-01-23 23:14:47 +00:00
BDisp
eca55d7d42 Allows navigation to outside a TextView if IsMdiContainer is true. 2022-01-15 22:54:49 +00:00
BDisp
3baf993b63 Fixes SelectedStart, SelectedText and some cleaning. 2022-01-14 01:12:47 +00:00
BDisp
32db62044e Changes kill-to-start key to work on Linux too. 2022-01-14 01:09:15 +00:00
BDisp
3becde9c86 Fixes #1525. Gives the same backspace behavior as TextView. 2021-12-28 16:17:39 +00:00
BDisp
2513dbc0f9 Fixes the CalculateLeftColumn method avoiding jump two columns on forward moving. 2021-12-28 02:13:51 +00:00
BDisp
f96c63f57e Revert "Trying fixing the build action."
This reverts commit e96f017387.
2021-12-19 23:23:34 +00:00
BDisp
e96f017387 Trying fixing the build action. 2021-12-19 23:10:09 +00:00
Tig Kindel
d2e46ae300 Merge branch 'main' into mdi-visible-fix 2021-12-19 08:20:49 -08:00
BDisp
646a88e4ba Adding Application.Shutdown and updating ReactiveUI.Fody. (#1550)
Thanks.
2021-12-19 08:18:35 -08:00
dependabot[bot]
8d906dca18 Bump ReactiveUI from 14.2.1 to 17.1.9 (#1541)
Bumps [ReactiveUI](https://github.com/reactiveui/reactiveui) from 14.2.1 to 17.1.9.
- [Release notes](https://github.com/reactiveui/reactiveui/releases)
- [Commits](https://github.com/reactiveui/reactiveui/compare/14.2.1...17.1.9)

---
updated-dependencies:
- dependency-name: ReactiveUI
  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>
2021-12-18 16:48:28 +00:00
BDisp
8c07643d42 Fixes #1535. Added IsMouseDisabled prop to Application (#1546) 2021-12-18 16:48:28 +00:00
BDisp
5d76ec2da5 Fixes #1434. Regenerating the docs. (#1528)
* Fixes #1434. Regenerating the docs.

* Fixing warnings on docs regeneration and improving.
2021-12-18 16:48:27 +00:00
BDisp
9068277386 Upgrading to Net6.0 (#1515) 2021-12-18 16:48:26 +00:00
dependabot[bot]
b58110c07b Bump ReportGenerator from 4.8.13 to 5.0.0 (#1512)
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 4.8.13 to 5.0.0.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v4.8.13...v5.0.0)

---
updated-dependencies:
- dependency-name: ReportGenerator
  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>
2021-12-18 16:48:25 +00:00
BDisp
192771c7ea Fixes #1502. Prevents high CPU usage. (#1504)
* 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.

* Fixes #1502. Prevents high CPU usage.

* Added a HACK comment.

* Allowing NetDriver attributes to deal with more stuff than only colors.

* Allows append more escape sequences if necessary.
2021-12-18 16:48:13 +00:00
Tig Kindel
b89efce8a9 v1.4.0 Release (#1549) 2021-12-18 08:40:44 -08:00
dependabot[bot]
0decb64514 Bump ReactiveUI from 14.2.1 to 17.1.9 (#1541)
Bumps [ReactiveUI](https://github.com/reactiveui/reactiveui) from 14.2.1 to 17.1.9.
- [Release notes](https://github.com/reactiveui/reactiveui/releases)
- [Commits](https://github.com/reactiveui/reactiveui/compare/14.2.1...17.1.9)

---
updated-dependencies:
- dependency-name: ReactiveUI
  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>
2021-12-18 06:03:01 -08:00
BDisp
f013627a24 Fixes #1535. Added IsMouseDisabled prop to Application (#1546) v1.4.0 2021-12-18 05:54:54 -08:00
BDisp
239191cde0 Fixes #1434. Regenerating the docs. (#1528)
* Fixes #1434. Regenerating the docs.

* Fixing warnings on docs regeneration and improving.
2021-12-18 05:33:40 -08:00
BDisp
1b3668ca70 Upgrading to Net6.0 (#1515) 2021-12-18 05:26:00 -08:00
dependabot[bot]
024ce57430 Bump ReportGenerator from 4.8.13 to 5.0.0 (#1512)
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 4.8.13 to 5.0.0.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v4.8.13...v5.0.0)

---
updated-dependencies:
- dependency-name: ReportGenerator
  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>
2021-12-18 05:22:48 -08:00
BDisp
e3bb7d6089 Fixes #1502. Prevents high CPU usage. (#1504)
* 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.

* Fixes #1502. Prevents high CPU usage.

* Added a HACK comment.

* Allowing NetDriver attributes to deal with more stuff than only colors.

* Allows append more escape sequences if necessary.
2021-12-18 05:22:24 -08:00
BDisp
6d108fd99d Fixed #1534. Label autosize redraw fix on shrink. 2021-12-06 22:25:46 +00:00
BDisp
ad9a64c8fb Fixes #1529. Mdi container will deal with the visibility of their child's. 2021-12-05 17:35:17 +00:00
BDisp
d84ab39ec3 Allows ListView trigger the Enter and Leave events. (#1508)
* Allows ListView trigger the Enter and Leave events.

* Added unit test for Enter and Leave events to all views.
2021-11-13 07:46:49 -08:00
BDisp
ce99df4629 Prevents a Process breaks rendering on Linux. (#1506) 2021-11-13 07:46:02 -08:00
BDisp
64b00e3000 Fixes #1499. Allowing border settings for the MessageBox. (#1505) 2021-11-03 22:28:47 -07:00
dependabot[bot]
93b142b4bf Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0 (#1497)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.11.0 to 17.0.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.11.0...v17.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  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>
2021-11-03 22:19:43 -07:00
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