Commit Graph

2671 Commits

Author SHA1 Message Date
BDisp
0d2e332c59 Fixes view test. 2022-07-04 11:22:27 -04:00
BDisp
31795d7cdb Reformulates Checkbox with alignment features. 2022-07-04 11:22:27 -04:00
BDisp
3160b4c914 Fixes some AutoSize issues with rules. 2022-07-04 11:22:27 -04:00
BDisp
0f759517e5 Fixes #1797. AutoSize is true by default on CheckBox. 2022-07-04 11:22:27 -04:00
BDisp
38100499a2 Fixes #1846. TabView now clip the draw bounds (#1847) 2022-07-04 08:15:48 -07:00
dependabot[bot]
d8fc1d0e85 Bump ReactiveUI from 18.1.8 to 18.2.5 (#1835)
Bumps [ReactiveUI](https://github.com/reactiveui/reactiveui) from 18.1.8 to 18.2.5.
- [Release notes](https://github.com/reactiveui/reactiveui/releases)
- [Commits](https://github.com/reactiveui/reactiveui/compare/18.1.8...18.2.5)

---
updated-dependencies:
- dependency-name: ReactiveUI
  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>
2022-06-30 19:22:26 -07:00
Thomas Nind
367fdd9bad Fix TableView multi selections extending to -1 indexes (#1843)
* Fix TableView multi selections extending to -1 indexes

* Add to test confirmation that the main active cell also didn't get pushed off

* Tidy up formatting

* Fixed not calling Application.Shutdown in tests and made it easier to diagnose which test is not shutting down
2022-06-27 09:09:31 -07:00
BDisp
8149eed9aa Fixes #1837. Setting Unix clipboard doesn't freezes anymore. 2022-06-27 12:03:18 -04:00
BDisp
893220b21e Fixes #1839. Process WindowsDriver click event if location is the same after pressed and released. 2022-06-27 12:02:32 -04:00
Tig Kindel
c58a6b2691 Fixed #1833 - Finishd button not working 2022-06-23 09:09:13 -04:00
BDisp
935f0392de Fixes #1830. If "libcoreclr.so" is not present then "libncursesw.so" will be used. 2022-06-20 07:44:40 -07:00
BDisp
8f8816a4a1 Fixes pasting from extern clipboard. 2022-06-20 07:44:40 -07:00
BDisp
9b4400400f Fixes #1815. Now returns false if WSL clipboard isn't supported. 2022-06-20 07:44:40 -07:00
Charlie Kindel
8e70756cd8 merge fix 2022-06-19 08:42:30 -07:00
Charlie Kindel
59577feecf Added oldTitle to eventargs and fixed title = null 2022-06-19 08:42:30 -07:00
BDisp
b0d2fd050b Fixes changes requested. 2022-06-18 07:18:57 -07:00
BDisp
d84c4b285a Fixes #1825. Parent MenuItem stay focused if child MenuItem is empty. 2022-06-18 07:18:57 -07:00
BDisp
9ee3502c61 Added public abstract ResizeScreen method to the ConsoleDriver. 2022-06-17 10:23:50 -07:00
BDisp
8277655838 Fixes Windows Terminal initial resize on CursesDriver related with #1768. 2022-06-17 10:23:50 -07:00
Charlie Kindel
065d88eed5 enabled events for WizardStep.Title changing 2022-06-15 17:32:25 -07:00
Charlie Kindel
f8622ce60c Fixes #1818. Adds Title change events to Window 2022-06-15 17:32:25 -07:00
Charlie Kindel
56e78d4b92 propogated enable to Wizard 2022-06-15 17:32:25 -07:00
Charlie Kindel
ab503d1de1 more unit tests and refactoring 2022-06-15 17:32:25 -07:00
Charlie Kindel
1bc2c79938 Progress on refactoring nav 2022-06-15 17:32:25 -07:00
Charlie Kindel
76542360ad Fixed failing test 2022-06-14 09:45:42 -07:00
Charlie Kindel
83ab85e38c reverted test 2022-06-14 09:45:42 -07:00
Charlie Kindel
c51ec2896c Localized strings. 2022-06-14 09:45:42 -07:00
Tig Kindel
ccae60df93 Fixed #1810 (#1811) 2022-06-14 09:01:04 -07:00
dependabot[bot]
5d12c3cb83 Bump ReactiveUI from 18.0.10 to 18.1.8 (#1781)
Bumps [ReactiveUI](https://github.com/reactiveui/reactiveui) from 18.0.10 to 18.1.8.
- [Release notes](https://github.com/reactiveui/reactiveui/releases)
- [Commits](https://github.com/reactiveui/reactiveui/compare/18.0.10...18.1.8)

---
updated-dependencies:
- dependency-name: ReactiveUI
  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>
2022-06-14 09:00:07 -07:00
Tig Kindel
2451c19d15 Wizard fixes (#1802)
* Fixes #1791. Added Pos/Dim Function feature to automate layout.

* Added PosFunc/DimFunc class. and some more features.

* Fixes #1793. ScrollBarView is hiding if the host fit the available space.

* Fixes #1791. View not turn off AutoSize if TextFormatter.Size fit the Anchor.

* Done requested changes.

* Addressing feedback

* Added more AutoSize unit tests.

* wip

* Refactored and enhanced API

* Fixed test

Co-authored-by: BDisp <bd.bdisp@gmail.com>
2022-06-14 08:54:33 -07:00
BDisp
10b410e406 Wizard and Dialog fix. (#1803) 2022-06-13 15:55:39 -07:00
BDisp
2e2566f0f0 Fixes #1796. If TextView is ReadOnly tab and return are ignored. Also fixes Button click via spacebar (#1804)
* Fixes #1796. If TextView is read only allows tab around and return.

* Fixes space bar responding on Button.
2022-06-13 15:48:23 -07:00
BDisp
3001d43006 Added Pos/Dim Function feature to automate layout. (#1792)
* Fixes #1791. Added Pos/Dim Function feature to automate layout.

* Added PosFunc/DimFunc class. and some more features.

* Done requested changes.
2022-06-13 15:40:05 -07:00
BDisp
8f7bc395c7 Fixes #1791. View not turn off AutoSize if TextFormatter.Size fit the Anchor. (#1798)
* View not turn off AutoSize if TextFormatter.Size fit the Anchor.

* Added a Button unit test with HotKeySpecifier.
2022-06-13 15:39:20 -07:00
Thomas Nind
2f473ae9b7 Simplified Run_All_Scenarios test (#1790) 2022-06-13 11:42:44 -07:00
BDisp
9d1a919ca5 Fixes #1793. ScrollBarView is hiding if the host fit the available space. (#1795) 2022-06-13 10:28:45 -07:00
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