Commit Graph

2635 Commits

Author SHA1 Message Date
Tig Kindel
48dbbb05a7 Adds multi-step Wizard view (#1783)
* Initial commit for Wizard

* Fixes #1777 - Dialog button justification. Adds unit tests

* Added missing API doc

* Work in progress

* Added tests for wide chars

* Tests

* more tests

* wip

* fixed test that broke by adjusting dialog button alignment

* fixed test that broke by adjusting dialog button alignment

* Fixed Dialogs scenario crash re: Parse v TryParse

* broke tests. can't figure out how.

* Revert "broke tests. can't figure out how."

This reverts commit f3c53928ac.

* Fixed unit tests

* Reverted workaround that doesn't work

* Refactor and cleanup
2022-06-12 13:24:29 -07:00
BDisp
9dc40088bc UseKeysUpDownAsKeysLeftRight and UseSubMenusSingleFrame cannot be both true. (#1789)
* Fixes the throwing an exception if menu item is null.

* UseKeysUpDownAsKeysLeftRight and UseSubMenusSingleFrame cannot be both true.

* Refactoring the code.

* Trying fixing the Run_All_Scenarios unit test.

* Fixing typo to test again.

* Added Attribute suffix to he AutoInitShutdown class.
2022-06-12 09:09:41 -07:00
Tig Kindel
4a338bc693 Fixes #1777 - Dialog button justification. Adds unit tests. (#1782)
* Fixes #1777 - Dialog button justification. Adds unit tests

* Added missing API doc

* Added tests for wide chars

* more tests

* fixed test that broke by adjusting dialog button alignment

* fixed test that broke by adjusting dialog button alignment

* Fixed Dialogs scenario crash re: Parse v TryParse
2022-06-12 09:08:41 -07:00
BDisp
12d5772295 Fixes #1786. Windows Terminal is reporting well on mouse button pressed + mouse movement. (#1787) 2022-06-11 08:22:32 -07:00
BDisp
c867d32a13 Fixes #1739. Setting menu UseKeysUpDownAsKeysLeftRight as false by default. (#1779)
* Fixes #1739. Setting menu UseKeysUpDownAsKeysLeftRight property as false by default.

* Fixed some more bugs and added support for UseKeysUpDownAsKeysLeftRight on the demo file.
2022-06-11 03:24:46 -07:00
BDisp
d16f0f607f Fixes some console buffer size issue on resizing reported in #1768. (#1784) 2022-06-11 03:18:33 -07:00
Thomas Nind
21210d62db Fixed TableView always showing selected cell(s) even when not focused (#1776)
* Fixed TableView always showing selected cell(s) even when not focused

* Changed CsvEditor label to a text field to show focus changing and allow manually entering a cell

* Fixed TableView_ColorsTest_ColorGetter and improved Exception when wrong colors are used

* Added full focused/not test suite for TableView
2022-06-11 03:14:05 -07:00
BDisp
aff0210900 Fixes #1772. Avoids WindowsDriver flickering when resizing. (#1778) 2022-06-10 09:09:28 -07:00
BDisp
b33b658f5b Fixes #1769. Supports a minimum view size for non-automatic size views. (#1771)
* Fixes #1769. Supports a minimum view size for non-automatic size views.

* Only sets the minimum view size if it has text for non-autosize views.

* Added Dim unit tests for views with text.
2022-06-08 13:05:34 -07:00
Freddie Mercurial (Jessica M.)
68b40a93f1 Exposes APIs to support upcoming Web console feature (#1770)
* Implementations to allow a WebConsole feature

* Preventing application hanging on the RunLoop.

* Implementations to allow a WebConsole feature

* Preventing application hanging on the RunLoop.

* Making WantContinuousButtonPressedView public.

* Added TimeoutAdded event.

* Fixes unit test for WantContinuousButtonPressedView.

* Changes as requested resolved.

Co-authored-by: BDisp <bd.bdisp@gmail.com>
2022-06-08 13:05:06 -07:00
BDisp
49207e6ce5 Fixes #1743. Scrolling is much faster now. (#1765) 2022-06-02 14:39:12 -07:00
Thomas Nind
0e9811c52a TableView unicode scenario usability (#1762)
- Add additional unicode ranges from CharacterMap
- Format the unicode symbol number with 0x prefix
2022-06-01 13:41:12 -07:00
BDisp
67ab11044a Fixes #1763. Allowing read console inputs before idle handlers. (#1764)
* Fixes #1763. Allowing read console inputs before idle handlers.

* Locking FakeConsole.MockKeyPresses after the Application.Init.

* Adding scenario checking failed for iterations.
2022-06-01 13:38:03 -07:00
Thomas Nind
13af2b1662 Support for flexible column widths in TableView (#1760)
* Support for flexible column widths in TableView

* Fixed not respecting min width of MinAcceptableWidth an added UICatalog support

* Added menu options for SmoothHorizontalScrolling and setting all MinAcceptableWidth to 1

* spelling fix
2022-06-01 13:33:20 -07:00
Tig Kindel
5b4716bef9 Merge pull request #1761 from tznind/table-char-map
Added unicode testing code to TableEditor
2022-05-30 15:58:09 -07:00
Thomas Nind
ee2336783c Added unicode testing code to TableEditor 2022-05-30 11:46:28 +01:00
Tig Kindel
d908d42edf Merge pull request #1757 from tig/Release_v1_6_4
Release v1.6.4
v1.6.4
2022-05-28 15:54:08 -07:00
Charlie Kindel
4763313d1f Changed StandaloneExample to use latest nuget version (*) 2022-05-29 10:30:41 +12:00
Charlie Kindel
07ce68cd0f Updated version numbers 2022-05-29 10:18:16 +12:00
James A Sutherland
efb654e6d9 Fixes #1750. Erroneous suppression of Button Text updates. (#1752)
* - Fix upstream issue 1750
- Unexplained breakage in odd test "Update_Only_On_Or_After_Initialize"

* Add workaround in Button.cs for erroneous text width caching in TextFormatter

* - Revert earlier attempted workaround for update issue

* Fix TextFormatter erroneous width caching issue when new runecount matched previous width in columns, add regression test, revert temporary workaround from Button.cs

* Add new unit test Update_Parameterless_Only_On_Or_After_Initialize
2022-05-28 15:11:24 -07:00
Charlie Kindel
82eff23ea0 Merge branch 'main' of tig:migueldeicaza/gui.cs 2022-05-29 09:32:28 +12:00
Thomas Nind
d68a2e8b8c Add horizontal scroll idicators to TableView (#1756)
* Add horizontal scroll idicators to TableView

* Made horizontal scroll indicators clickable

* Added setting ShowHorizontalScrollIndicators defaulting to true
2022-05-28 14:27:08 -07:00
Thomas Nind
286fec7990 Explicitly dispose old TreeView instances in UICatalog scenario (#1749)
Fixes #1742
2022-05-28 14:05:50 -07:00
Charlie Kindel
63d50ccf68 Minor .csproj tweak v1.6.3 2022-05-27 14:47:46 +12:00
Tig Kindel
2971fc9134 Fixes #769. Include PDB symbols on Nuget (#1747)
* trying to get nuget symbols to work

* fixed nuget sybmols?
2022-05-26 19:33:31 -07:00
Tig Kindel
cea859099b Remove verbose 2022-05-26 19:27:47 -07:00
Tig Kindel
b6eeb63216 Fixes missing symbols v1.6.2 2022-05-26 16:46:09 -07:00
Tig Kindel
a95e06c15d Fixes #1741. Use gitversion instead of minver (#1746) v1.6.1 2022-05-26 16:36:50 -07:00
Tig Kindel
cc04bb37f5 Release v1.6.0 (#1722)
* Change log for Release v1.6.0

* Regenerated API docs for v1.6.0

* Merged #1724

* Relnotes update

* Fixed minor issues in readme

* Updated changelog

* New sample.gif for README.md

* Ignore demo artifacts
v1.6.0
2022-05-26 13:50:17 -07:00
Tig Kindel
dd48651da3 Fixes #1693 (Charmap wide runes) by upgrading to Nstack.core 0.17 (#1718)
* Fixes #1693 (Charmap wide runes) by upgrading to Nstack.core 0.17

* Upgraded Example to NStack.Core 0.17
2022-05-26 13:16:25 -07:00
Tig Kindel
bf99d724db Makes it easier to use a local NStack.Core package (#1740)
* Removed defunct packages.config

* Enable local nstack
2022-05-25 19:25:19 -07:00
Thomas Nind
e66e8dc08a Fix thin tabview (#1737) 2022-05-20 22:25:01 -07:00
Tig Kindel
7ed5f5b2b2 Merge pull request #1735 from migueldeicaza/dependabot/nuget/ReportGenerator-5.1.9
Bump ReportGenerator from 5.1.7 to 5.1.9
2022-05-19 13:59:33 -07:00
Tig Kindel
58867667f9 Merge pull request #1734 from BDisp/view-clear-addrune-addstr
Reverts Clear method to use AddRune instead of AddStr.
2022-05-19 13:58:58 -07:00
Tig Kindel
2f131c39cb Merge pull request #1733 from BDisp/allviewstester-toplevel-issue
Fixes #1732. Toplevel shouldn't clear the buffer.
2022-05-19 13:56:51 -07:00
Tig Kindel
2598eb2e2f Merge pull request #1731 from BDisp/allviewstester-percent-error
Fixes #1730 - AllViewsTester thros exception on Dim.Percent
2022-05-19 13:53:17 -07:00
Tig Kindel
e987332b55 Merge pull request #1728 from BDisp/button-width-fix
Fixes GetMaxLengthforWidth on Button.
2022-05-19 13:51:10 -07:00
dependabot[bot]
bd8964dfeb Bump ReportGenerator from 5.1.7 to 5.1.9
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 5.1.7 to 5.1.9.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.1.7...v5.1.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 14:10:06 +00:00
BDisp
7f3c26906b Reverting Clear method to use AddRune as initially. 2022-05-18 16:50:39 +01:00
BDisp
18be3731bb Fixes #1732. Toplevel shouldn't clear the buffer. 2022-05-18 15:42:59 +01:00
BDisp
8fc289adaa Fixes #1730. Prevents AllViewsTester throwing exception on Dim.Percent. 2022-05-18 15:32:37 +01:00
BDisp
d99bc42f39 Preventing more Update execution before Initialize. 2022-05-18 13:47:04 +01:00
BDisp
c561016423 Prevents updating button before initialization. 2022-05-17 22:23:04 +01:00
Tig Kindel
1071d70455 Merge pull request #1727 from migueldeicaza/dependabot/nuget/MinVer-4.0.0
Bump MinVer from 3.1.0 to 4.0.0
2022-05-16 13:59:26 -07:00
Tig Kindel
2195db6b5e Merge pull request #1726 from migueldeicaza/dependabot/nuget/ReportGenerator-5.1.7
Bump ReportGenerator from 5.1.6 to 5.1.7
2022-05-16 13:58:27 -07:00
Wouter Tinus
a5e355c5e2 fix nullref on unclean shutdown (#1725) 2022-05-16 13:57:53 -07:00
dependabot[bot]
36ec93da3f Bump MinVer from 3.1.0 to 4.0.0
Bumps [MinVer](https://github.com/adamralph/minver) from 3.1.0 to 4.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/3.1.0...4.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-05-16 14:10:18 +00:00
dependabot[bot]
fc47aaee27 Bump ReportGenerator from 5.1.6 to 5.1.7
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 5.1.6 to 5.1.7.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.1.6...v5.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 14:10:15 +00:00
BDisp
eb0e5003a6 Avoids adding spaces on the right side if all line is already processed. (#1724) 2022-05-14 18:25:01 -07:00
Tig Kindel
b69d5dec9d Regenerated API docs for v1.6.0 (#1721) 2022-05-14 15:58:52 -07:00