Commit Graph

2791 Commits

Author SHA1 Message Date
BDisp
c336b512f2 Fixes #1979. MessageBox.Query not wrapping since 1.7.1 (#1980) 2022-09-05 07:18:22 -07:00
Thomas Nind
bfe9878554 Add ToArray to prevent 'Collection has been modified' Exception in older runtimes (#1976) 2022-09-05 07:18:10 -07:00
BDisp
13948501d5 Fixes #1973. Avoid positioning Submenus off screen. (#1975)
* Fixes #1973. Avoid positioning Submenus off screen.

* Firstly avoids negative positions on the sub-menus and then avoids the bottom not exceeding the console height, as possible.
2022-09-05 07:17:58 -07:00
BDisp
e767ae14eb Fixes #1969. ESC on CursesDriver take to long to being processed. (#1970)
* Fixes #1969. ESC on CursesDriver take to long to being processed.

* Increasing set_escdelay and timeout values to ensure precessing any more long delay.
2022-09-05 07:17:23 -07:00
BDisp
2594706a69 Fixes #1967. New keys for DeleteAll on TextField and TextView. (#1968)
* Fixes #1967. New keys for DeleteAll on TextField and TextView.

* Changing unit test for the new keys.
2022-09-05 07:17:10 -07:00
Jeff Greene
bbbacf4514 Fixes #1963. Only remove one character on backspace when wordwrap is on (#1964)
* Fixed double delete when wordwrap is enabled

* Fixes #1963. Deletes multiple characters editing a TextView with WordWrap enabled.

Co-authored-by: BDisp <bd.bdisp@gmail.com>
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-09-05 07:16:32 -07:00
dependabot[bot]
c6af956e22 Bump Microsoft.NET.Test.Sdk from 17.3.0 to 17.3.1 (#1977)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.3.0 to 17.3.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.0...v17.3.1)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  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-05 06:53:07 -07:00
Thomas Nind
8a90453bb2 Fixes #1962 - Change KeyBindings to allow chaining commands (#1966)
* Change KeyBindings to allow chaining commands

* Added more asserts for repeating the keybinding till at bottom of list

* Added tests for 'no command' and multiple commands return type
2022-08-30 05:58:22 -07:00
Thomas Nind
08ea331134 Fixed null reference in Keybindings Scenario and hotkey collision (#1965) 2022-08-25 05:46:28 -07:00
dependabot[bot]
5b102d57fb Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.2 to 1.0.3 (#1958)
Bumps [Microsoft.NETFramework.ReferenceAssemblies](https://github.com/Microsoft/dotnet) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/Microsoft/dotnet/releases)
- [Commits](https://github.com/Microsoft/dotnet/commits)

---
updated-dependencies:
- dependency-name: Microsoft.NETFramework.ReferenceAssemblies
  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>
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-08-24 19:42:05 -07:00
Juan Manuel Elosegui
73846b3c32 Fixes #1959: GoToEnd should not fail on an empty TreeView (#1960)
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-08-24 19:41:50 -07:00
BDisp
c43183ff14 Fixes #1953. TextView cursor position is not updating by mouse. (#1954)
* Fixes #1953. TextView cursor position is not updating by mouse.

* Only invoking UnwrappedCursorPosition in the OnUnwrappedCursorPosition method.
2022-08-24 18:37:31 -07:00
BDisp
6b88f31edf Fixes #1951. TextView with selected text doesn't scroll beyond the cursor position. (#1952)
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-08-12 08:40:24 -07:00
dependabot[bot]
82c694b515 Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.0 (#1947)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.2.0 to 17.3.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.2.0...v17.3.0)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 08:22:57 -07:00
saskathex
dc99fb354f Fix: The synchronization context method Send is now blocking (#1854)
* Fix: The sychronization context method send 

The send method of the synchronization context has to block the caller thread in case it is not the main thread.

* Fix: Send has to invoke the action instantly

Send has to invoke the action instantly instead of enqueuing in case of main thread call.

* Added unit tests for synchronization post/send methods.

* Code formating

* Added unit test for MainLoopSyncContext.CreateCopy

Co-authored-by: saskathex <>
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-08-12 08:22:34 -07:00
BDisp
f01132ca0e Fixes #1948. It isn't possible to get unwrapped cursor position when word wrap is enabled on TextView. (#1949) 2022-08-11 06:53:08 -07:00
BDisp
4573990b46 Ensures that the isButtonShift flag is disabled in all situations. (#1945)
* Ensures that the isButtonShift flag is disabled in all situations.

* Improving this unit test.
2022-08-05 10:01:55 -07:00
Tig Kindel
1653a2d2b7 Merge main to develop post v1.7.2 (#1942) 2022-08-05 10:01:19 -07:00
BDisp
7ade996ef4 Fixes #1943. Mouse ButtonShift is not preserving the text selected when clicking on another position. (#1944) 2022-08-04 20:01:40 -07:00
Tig Kindel
6931afe18f Release v1.7.2 (#1941) 2022-08-04 14:42:58 -07:00
BDisp
a23c1bee19 Fixes #1925. Preserve trailing spaces on word wrap must be refactored… (#1929)
* Fixes #1925. Preserve trailing spaces on word wrap must be refactored on TextFormatter.

* Fixes a bug on Format when the preserveTrailingSpaces is enabled.

Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-08-04 10:15:21 -07:00
Tig Kindel
666c2e151a Fix 1773 again (#1938)
* fixes #1773 - better hotnormal color for listview

* Other drivers

* fixed curses driver
2022-08-04 08:26:39 -07:00
Tig Kindel
3257bd8575 fixes #1773 - better hotnormal color for listview (#1937) 2022-08-03 18:59:14 -07:00
dependabot[bot]
e0e644c263 Bump xunit from 2.4.1 to 2.4.2 (#1933)
Bumps [xunit](https://github.com/xunit/xunit) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/xunit/xunit/releases)
- [Commits](https://github.com/xunit/xunit/compare/2.4.1...2.4.2)

---
updated-dependencies:
- dependency-name: xunit
  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>
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-08-03 17:11:10 -07:00
BDisp
091eb5a956 Changes unit tests to support xunit 2.4.2 upgrade. (#1936) 2022-08-03 16:58:58 -07:00
BDisp
54d2ecf130 Fixes #1934. WindowsDriver crash when the height is less than 1 with the VS Debugger Console. (#1935) 2022-08-03 11:14:16 -07:00
Tig Kindel
a1ea752f98 Release v1.7.1 (#1932) 2022-08-01 16:31:07 -07:00
Tig Kindel
daf8512bea Fixed #1924. Selected Help Text not readable (#1926) 2022-08-01 16:09:28 -07:00
BDisp
49e2b95625 Fixes #1861. Border: Title property is preferable to Text. (#1862)
* Fixes #1861. Border Title property is preferable than the Text.

* Fixes #1866. Bug when scrolling text and type in a TextView. (#1868)

* Some fixes for the WebConsole support. (#1865)

* Invoking NotifyStopRunState for all situations.

* Added Clicked property to support web console.

* Changing to MoveDown to stay always visible.

* Fixes #1849. Wizard as non-popup is broken (#1853)

* trying to make it work

* Fixes #1849. Wizard as non-modal doesn't work

* Fixes #1855. Window and Frame content view without the margin frame.

* Fixing layout of non-modal

* WizardSTep is now a FrameView

* Now use Modal = false to set visual style automatically

* Removed Controls as an explicit construct. Now just Add to WizardStep

Co-authored-by: BDisp <bd.bdisp@gmail.com>

* Update docs with keybindings, global key event and designer (#1869)

* Added docs on keybinding and global key event

* Added TerminalGuiDesigner to showcases/examples

* Regenerated Docs (#1870)

* Fixed cancel logic. Title now shows for non-modal. (#1871)

* Fixes #1874. API docs on github are broken. (#1875)

* Fixes #1874. API docs on github are broken.

* Rebuild with docfx 2.59.3.0 version.

* Fixes Wizard cancel logic and updates docs (#1878)

* Fixed cancel logic. Title now shows for non-modal.

* trying to fix docs

* trying to fix docs

* Fixes #1867. Use Undo and Redo commands with WordWrap enabled. (#1877)

* Updated docs; regeneraged docs (#1881)

* Added a 'Read Only' to the Editor scenario Format menu. (#1882)

* Fixes #1883. Toplevel now propogates Loaded & Ready events to child Toplevel views.

* Updated API doc theme. Added Wizard Sample

* Tweaked API docs format and content. Fixed build warnings.

* Fixes #1889. Docs broken after org move.

* Regen API docs

* Fixes readme links to API docs

* Avoiding breaking change.

* Fixes typos.

* Passing string.Empty to Title from the default constructor.

* Initializes title with string.Empty instead of null.

Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
Co-authored-by: Thomas Nind <31306100+tznind@users.noreply.github.com>
2022-08-01 16:06:15 -07:00
BDisp
a8ec4fd074 Fixes #1930. Trailing whitespace makes MessageBox.Query buttons disappear. (#1931)
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-08-01 16:00:35 -07:00
BDisp
ece4bc4cda Fixes #1921. Mouse continuous button pressed is not working on ScrollView. (#1928) 2022-08-01 15:15:13 -07:00
Tig Kindel
21ec8698ec Release v1.7.0 (#1920)
* updating release instructions

* learning more about git push --atomic

* tweak

* tweak
2022-07-28 12:02:24 -07:00
Tig Kindel
c182077dcb Merge branch 'main' into develop 2022-07-28 14:56:34 -04:00
Tig Kindel
9f0cedbf6f Fix sample gif again v1.7.0 2022-07-28 11:28:15 -07:00
Tig Kindel
7fece7c506 Update README.md 2022-07-28 11:27:40 -07:00
Tig Kindel
8d9004610c Fix sample gif link 2022-07-28 11:26:19 -07:00
Tig Kindel
0283344fa6 Update README.md 2022-07-28 11:25:33 -07:00
Tig Kindel
885a08e1ee Fixed sample gif 2022-07-28 11:24:38 -07:00
Tig Kindel
7e2e7b9d2d Updates v1.7 docs (#1919)
* updated readmes

* Updated doc visual style & regenerated

* updated relnotes
v1.7.0-rc.1
2022-07-28 06:31:26 -07:00
BDisp
a713ae5f73 Fixes #1917. Sometimes the Clipboard.IsSupported property doesn't return the correct value. (#1918) 2022-07-28 06:23:41 -07:00
Tig Kindel
2a8bce4f8d Update pull_request_template.md 2022-07-28 05:42:15 -07:00
Tig Kindel
26d2353e40 Prep for Release v1.7.0 (#1910)
* prepping for v1.7 release

* Updated release notes for v1.7

* updated rel notes

* regen docs

* trying to fix view source

* reactive ui update
2022-07-28 05:39:06 -07:00
Tig Kindel
b18153da83 Merge branch 'develop' of tig:tig/Terminal.Gui into develop 2022-07-28 06:18:38 -06:00
Tig Kindel
4791e7e8d2 Merge branch 'develop' of tig:gui-cs/Terminal.Gui into develop 2022-07-28 06:18:25 -06:00
Tig Kindel
58878145b1 Merge branch 'develop' of tig:gui-cs/Terminal.Gui into develop 2022-07-27 22:47:35 -06:00
BDisp
74b91a3979 Textview readonly wrap fix (#1898)
* Fixes LoadFile when word wrap is enabled.

* Fixes an extra space in end of line and error on deleting backwards.

* Removing unit tests with loading files.

* Fixes left column being bigger than zero if word wrap is true.

* Fixes #1820. TextView: Word Wrapping is not correct

* Made fix more surgical via ReadOnly

* Fixes TextView read only wrap issue.

* Rename method.

* Fixes word wrap with toggling read only .

Co-authored-by: Charlie Kindel <charlie@kindel.com>
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-07-27 21:45:39 -07:00
Tig Kindel
29f55db243 Merge branch 'develop' of tig:gui-cs/Terminal.Gui into develop 2022-07-27 22:44:08 -06:00
dependabot[bot]
df8d2dae72 Bump ReactiveUI from 18.2.5 to 18.3.1 (#1909)
Bumps [ReactiveUI](https://github.com/reactiveui/reactiveui) from 18.2.5 to 18.3.1.
- [Release notes](https://github.com/reactiveui/reactiveui/releases)
- [Commits](https://github.com/reactiveui/reactiveui/compare/18.2.5...18.3.1)

---
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>
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-07-27 21:41:46 -07:00
Tig Kindel
be671e0ddc Fixes# 1912. Wizard shouldn't use Colors.Toplevel for help (#1913) 2022-07-27 21:39:20 -07:00
Tig Kindel
cc78cc7c64 Merge branch 'develop' of tig:gui-cs/Terminal.Gui into develop 2022-07-27 21:09:09 -06:00