Commit Graph

2854 Commits

Author SHA1 Message Date
Charlie Kindel
2ab68cc38b Removed docs folder 2022-09-17 08:52:37 -06:00
Tig Kindel
af7901066a Merge pull request #2036 from tig/develop
Fixing #2033 - Merge pre-screwup 'develop' into 'gui-cs/Terminal-Gui/develop'
2022-09-17 07:21:35 -07:00
Charlie Kindel
36296036e5 Merge remote-tracking branch 'upstream/develop' into develop 2022-09-17 08:14:53 -06:00
Tig Kindel
e97f31308e Merge pull request #2029 from tig/api_doc_overrides
Puts API doc overrides in ./docfx/overrides folder
2022-09-16 10:13:32 -07:00
Tig Kindel
742f110d5b Merge branch 'develop' into api_doc_overrides 2022-09-16 10:10:53 -07:00
Charlie Kindel
18c86032d0 Puts API doc overrides in ./docfx/overrides folder 2022-09-16 11:08:51 -06:00
Tig Kindel
6d3d5cc381 Merge pull request #2028 from tig/develop
Bring `develop` history up to date with `main`
2022-09-16 09:40:30 -07:00
Charlie Kindel
befb063fae Merge branch 'develop' of tig:gui-cs/Terminal.Gui into develop 2022-09-16 10:32:49 -06:00
Charlie Kindel
1a1460ef73 Merge branch 'main' into develop 2022-09-16 10:32:19 -06:00
Tig Kindel
c6001c794b Fixes #2025 - API Docs are now generated via Github Action - View Source Works (#2027)
* Fixes #1991 - Broken link in README

* Force push to main to update api docs after fixing #1874

* Fixes #1745 - Github action to generate API docs

* Try 2 - Fixes #1745 - Github action to generate API docs

* Try 3 - Fixes #1745 - Github action to generate API docs

* Try 4 - Fixes #1745 - Github action to generate API docs

* Try 4 - Fixes #1745 - Github action to generate API docs

* Try 6 - Fixes #1745 - Github action to generate API docs

* Removed docs folder because gh-pages branch is now used

* Ignore ./docs folder

* Fix readme for docfx

* Revert "merge"

This reverts commit 870a241d5d, reversing
changes made to 48089bb31c.
2022-09-16 09:30:14 -07:00
BDisp
281a849c08 Fixes #2026. Added ClearOnVisibleFalse to flag if the view must be cleared or not. (#2020)
* Fixes #1984. Added ClearOnVisibleFalse to flag if the view must be cleared or not.

* Fixes #2022. ScrollBarView doesn't show the down arrow on vertical if there isn't horizontal.
2022-09-16 09:16:44 -07:00
Charlie Kindel
0321b25b0e Ignore ./docs folder 2022-09-16 10:07:43 -06:00
Charlie Kindel
9d1e9c9dd0 Removed docs folder because gh-pages branch is now used 2022-09-16 10:06:29 -06:00
Charlie Kindel
b7ecb827f0 Merge branch 'develop' of tig:gui-cs/Terminal.Gui into develop 2022-09-16 10:01:30 -06:00
Charlie Kindel
1b7923c214 Try 6 - Fixes #1745 - Github action to generate API docs 2022-09-16 09:43:58 -06:00
Charlie Kindel
de4fd2bda8 Try 4 - Fixes #1745 - Github action to generate API docs 2022-09-16 09:39:00 -06:00
Charlie Kindel
bfab6f0ad8 Try 4 - Fixes #1745 - Github action to generate API docs 2022-09-16 09:35:12 -06:00
Charlie Kindel
fc1d7d44fd Try 3 - Fixes #1745 - Github action to generate API docs 2022-09-16 09:32:35 -06:00
Charlie Kindel
1011f4c8e9 Try 2 - Fixes #1745 - Github action to generate API docs 2022-09-16 09:20:15 -06:00
Charlie Kindel
414cc41ec6 Fixes #1745 - Github action to generate API docs 2022-09-16 09:15:03 -06:00
Charlie Kindel
959f8b3742 Merge remote-tracking branch 'refs/remotes/origin/main' 2022-09-16 08:54:11 -06:00
Charlie Kindel
8cbb3edcbd Force push to main to update api docs after fixing #1874 2022-09-16 08:40:06 -06:00
BDisp
f57e48b1e5 Fixes #2014. Application mouseGrabView is run twice if return true. (#2015)
* Fixes #2014. Application mouseGrabView is run twice if return true.

* Sometimes I get fails with this unit test.
2022-09-16 07:37:17 -07:00
Tig Kindel
cbb7b9fe64 Fixes #1991 - Broken link in README (#2021) 2022-09-16 07:24:59 -07:00
Tig Kindel
ca051df726 Merge branch 'develop' into main 2022-09-16 07:20:05 -07:00
Charlie Kindel
d9b8f5fc1f Merge branch 'main' into develop 2022-09-16 08:17:41 -06:00
Charlie Kindel
f49c4c5ef6 Fixes #1991 - Broken link in README 2022-09-16 08:15:16 -06:00
BDisp
0f9abea9e4 Fixes #2017. Sometimes I get fails with the TestAddManyTimeouts unit test. (#2018)
* Fixes #2017. Sometimes I get fails with the TestAddManyTimeouts unit test.

* Fixes #2013. Starting having MainLoopTests.InvokeLeakTest failure.
2022-09-16 07:09:41 -07:00
BDisp
7ce2109a46 Fixes #2013. Starting having MainLoopTests.InvokeLeakTest failure. (#2016) 2022-09-16 06:05:10 -07:00
Charlie Kindel
d7e5996449 Merge branch 'develop' of tig:migueldeicaza/gui.cs into develop 2022-09-16 06:53:58 -06:00
Tig Kindel
7a48424924 Docfx - revert hack for 1874 (#1955)
* Fixes #1874 (again)

* Fixes #1874 - Requires use docfx >= v2.59.4
2022-09-16 05:52:26 -07:00
Charlie Kindel
1dec5fae2a Merge branch 'develop' of tig:migueldeicaza/gui.cs into develop 2022-09-15 07:47:28 -06:00
BDisp
28718e9c3c Fixes #2002. Added feature to fill the remaining width with spaces. (#2003)
* Added feature to fill the remaining width with spaces.

* Removing unnecessary parameter.

* Fixes a typo.

* Unit test rewritten to explain better main feature of this PR.

Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-09-15 06:47:12 -07:00
BDisp
5684816601 Fixes #2011. Wizard no longer needs to set specific colors, because #1971 has been fixed. (#2012)
* Removing TextView ColorScheme from the Wizard component.

* Changing someText color to be different from the help text color.
2022-09-15 06:43:28 -07:00
BDisp
09f005448e Fixes #1800. TextView now uses the same colors as TextField. (#1971)
* Fixes #1800. TextView now uses the same colors as TextField.

* Replacing the textview to default in some scenarios.

* Removing TextView ColorScheme from the Wizard component.

* Changing someText color to be different from the help text color.

* Renamed some color methods as requested.

Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-09-15 06:43:18 -07:00
BDisp
d70966a29c Fixes the justified text not adding the extra spaces. (#2005)
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-09-14 19:18:41 -07:00
Charlie Kindel
9259a9b995 Merge branch 'develop' of tig:migueldeicaza/gui.cs into develop 2022-09-14 19:27:33 -06:00
montekarlos
1cdf6a1b45 Fixes #1994. BREAKING CHANGE. Ensure only a single IdleHandlers list can exist. (#1997)
* Add unit test that demonstrates the loss of idle handlers added via Application.MainLoop.Invoke

* Fixes #1994. Ensure that only a single idle handlers list exists at one time

* Previous implementation locked on idleHandlers but this is dangerous because it is reallocated. It was therefore possible for two different threads to hold locks on two different instances of idleHandlers simultaneously. The idle handlers added to the older instance of idleHandlers would then be lost. This was particularity catastrophic when combined with async/await continuations being lost.

* Add dedicated lock object idleHandlersLock and use when modifying idleHandlers

* Fix additional bug in RemoveIdle that was locking the token instead of idleHandlers

* Return a copy via the IdleHandlers property as it was directly returning idleHandlers. This cannot safely be done without first acquiring idleHandlersLock

* Address code review feedback for #1994: Make IdleHandler immutable via ReadOnlyCollection

* Address code review feedback for #1994: Avoid the possibility of IdleHandlers changing while being used

Co-authored-by: Karl Janke <karl.janke@groundprobe.com>
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-09-14 18:26:19 -07:00
BDisp
dfafd649c1 Fixed '_functionTimer' not be disposed after quit if it's running. (#2007) 2022-09-14 18:24:47 -07:00
BDisp
75c0160d96 Fixes #1999. Prevents the mouseGrabView being executed with a null view. (#2000)
* Unit test that will fail without the fix.

* ScrollView must return true after ungrab the mouse to allow the View property run after returned.

* Fixes #1999. Prevents the mouseGrabView being executed with a null view.

* Added one more assert null check.
2022-09-14 18:18:00 -07:00
dependabot[bot]
c983c2e65a Bump ReportGenerator from 5.1.9 to 5.1.10 (#1996)
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 5.1.9 to 5.1.10.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.1.9...v5.1.10)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-14 18:11:23 -07:00
BDisp
ff1eb9bea1 Fixes #1979. MessageBox.Query not wrapping since 1.7.1 (#1995)
* Added MaxWidthLine into the TextFormatter class.

* Some more test line to better verifying the mainloop idle handlers.

* Fixes #1979. MessageBox.Query not wrapping since 1.7.1

* Added MessageBox unit tests.

* States a button centered issue on a lower fixed size.

* Fixed the centered button issue 4d0a4b6.
2022-09-14 18:11:12 -07:00
BDisp
b21f203292 Fixes #820. Added HideDropdownListOnClick property. (#1983)
* Added HideDropdownListOnClick property.

* Invoking OpenSelectedItem on click.

* Added one more constructor and more unit tests.

* Added the ComboListView derived class.

* Added more features to ComboBox.

* Removes code not featured yet.

* Added HideDropdownListOnClick property to scenario.

* Ensures SetSource having the same behavior as the ListWrapper constructor.
2022-09-14 18:10:40 -07:00
Charlie Kindel
4bb51d942a Merge branch 'develop' of tig:migueldeicaza/gui.cs into develop 2022-09-05 13:49:47 -06:00
BDisp
d368215e07 Fixes #1987. Textview insert text newline fix (#1988)
* Fixes #1987. TextView InsertText does not respect newlines

* Added support for CRLF as well.
2022-09-05 12:49:39 -07:00
BDisp
389d0be6bd Added abstract MakeColor and CreateColors to create the colors at once. (#1972)
* Added abstract MakeColor and CreateColors to create the colors at once.

* Adjusting colors to contrast with almost all views.

* Reverting Border unit test.

* Removing commented color code.
2022-09-05 12:47:16 -07:00
Charlie Kindel
0de748d8c9 Merge branch 'develop' of tig:migueldeicaza/gui.cs into develop 2022-09-05 08:28:42 -06:00
BDisp
3866e65919 Fixes #1989. ListView: Ensures SelectedItem visibility on MoveDown and MoveUp. (#1990)
* Ensures visibility SelectedItem on MoveDown and MoveUp.

* Fix VisibleItems to Frame.Height.
2022-09-05 07:25:57 -07:00
BDisp
9505987d40 Fixes #1984. Setting Label.Visible to false does not hide the Label (#1985) 2022-09-05 07:25:11 -07:00
Charlie Kindel
9f5c8de500 Merge branch 'develop' of tig:migueldeicaza/gui.cs into develop 2022-09-05 08:23:39 -06:00