Commit Graph

4326 Commits

Author SHA1 Message Date
Tigger Kindel
3ae756f202 remove v2 branch key 2023-09-03 08:49:49 -06:00
Tigger Kindel
72427353d5 port publish.yml from develop 2023-09-03 08:47:47 -06:00
Tigger Kindel
afd6f8ed05 Attempt temp v2 release2 2023-09-03 08:45:42 -06:00
Tigger Kindel
c346d46589 Attempt temp v2 release 2023-09-03 08:43:57 -06:00
Tig
e0365a0502 Merge pull request #2841 from BDisp/v2_request-stop-context-menu-fix_2836
Fixes #2836. RequestStop while a ContextMenu is open can throw an exception.
2023-08-30 13:58:55 -06:00
BDisp
b9f476a26d Fixes #2836. RequestStop while a ContextMenu is open can throw an exception. 2023-08-30 19:50:01 +01:00
Tig
7218f72d7f Merge pull request #2828 from BDisp/v2_esc-seq-utils-fix_2803
Fixes #2803. Harden EscSeqUtils
2023-08-30 06:57:24 -06:00
BDisp
a3cb397ed7 Fixes #2803. Harden EscSeqUtils 2023-08-23 00:52:37 +01:00
Tigger Kindel
82b1dfbfb9 backs out using _isWindowsTerminal for truecolor check 2023-08-17 13:04:34 -06:00
Tigger Kindel
6eceddd9c1 fixed config man bug 2023-08-17 12:41:38 -06:00
Tigger Kindel
23b7ce3985 fighting with gitversion 2023-08-17 12:24:35 -06:00
Tigger Kindel
41019b1184 setting up versioning 2023-08-17 12:19:55 -06:00
Tigger Kindel
720df9cd40 setting up versioning 2023-08-17 11:57:50 -06:00
Tigger Kindel
738a5ec539 setting up versioning v2.0.0-alpha.50 2023-08-17 11:42:45 -06:00
BDisp
f167380760 Reformatting. 2023-08-15 11:10:41 -06:00
BDisp
551b888f5d Fixes #2808. v2 ColorTests unit test is failing on Windows when testing the CursesDriver instance. 2023-08-15 11:10:41 -06:00
Tigger Kindel
ad23a100df fixed local test issue with curses 2023-08-12 10:39:17 -06:00
Tigger Kindel
fe23b564b3 daignosing unit test fail in action 2023-08-12 10:39:17 -06:00
Tigger Kindel
5d77dd7176 daignosing unit test fail in action 2023-08-12 10:39:17 -06:00
Tigger Kindel
fa2732ec51 daignosing unit test fail in action 2023-08-12 10:39:17 -06:00
Tigger Kindel
303fb87ad3 Fixing unit tests 2023-08-12 10:39:17 -06:00
Tigger Kindel
ec15ff1fb6 Fixing unit tests 2023-08-12 10:39:17 -06:00
Tigger Kindel
3dc19c9243 Fixed netdriver running in unit tests 2023-08-12 10:39:17 -06:00
Tigger Kindel
b71d533901 Fixed netdriver running in unit tests 2023-08-12 10:39:17 -06:00
Tigger Kindel
bf4d66716f Fixed netdriver running in unit tests 2023-08-12 10:39:17 -06:00
Tigger Kindel
4bf3d2141c diagnosing netdriver wsl 2023-08-12 10:39:17 -06:00
Tigger Kindel
1f209098dd diagnosing netdriver wsl 2023-08-12 10:39:17 -06:00
Tigger Kindel
f056914835 disabling curses test 2023-08-12 10:39:17 -06:00
Tigger Kindel
06f7a9898e fixed WindowsDriver to work in linux unit tests 2023-08-12 10:39:17 -06:00
Tigger Kindel
411ce95e59 fixed WindowsDriver to work in linux unit tests 2023-08-12 10:39:17 -06:00
Tigger Kindel
71d51756f9 fixed WindowsDriver to work in linux unit tests 2023-08-12 10:39:17 -06:00
Tigger Kindel
9c0bfd1478 fixed WindowsDriver to work in linux unit tests 2023-08-12 10:39:17 -06:00
Tigger Kindel
33befa249e Unit tests 2023-08-12 10:39:17 -06:00
Tigger Kindel
a23a33f20c Unit tests 2023-08-12 10:39:17 -06:00
Tigger Kindel
a5dab6d38e Tweaked refresh 2023-08-12 10:39:17 -06:00
Tigger Kindel
732723976f Conhost now works; added toggle to uicatalog 2023-08-12 10:39:17 -06:00
Tigger Kindel
b31cef07df Debugging conhost 2023-08-12 10:39:17 -06:00
Tigger Kindel
cd81c927fa Debugging conhost 2023-08-12 10:39:17 -06:00
Tigger Kindel
293161bca1 TrueColor in NetDriver now works 2023-08-12 10:39:17 -06:00
Tigger Kindel
bc22a80a4a Removed unused var 2023-08-12 10:39:17 -06:00
Tigger Kindel
dd75d4ea9f Initial commit 2023-08-12 10:39:17 -06:00
Shlomi Assaf
01c6350b67 remove table event handlers in treetablesource 2023-08-11 07:16:08 -06:00
Thomas Nind
52ea9507dd True Color File Icons (Requires True Color branch) (#2736)
* Added ClipRegion; cleaned up driver code

* clip region unit tests

* api docs

* Moved color stuff from ConsoleDriver to Color.cs

* Removes unused ConsoleDriver APIs

* Code cleanup and Removes unused ConsoleDriver APIs

* Code cleanup and Removes unused ConsoleDriver APIs

* Work around https://github.com/gui-cs/Terminal.Gui/issues/2610

* adjusted unit tests

* initial commit

* Made Rows, Cols, Top, Left virtual

* Made Clipboard non-virtual

* Made EnableConsoleScrolling  non-virtual

* Made Contents non-virtual

* Pulled Row/Col up

* Made MoveTo virtual; fixed stupid FakeDriver cursor issue

* Made CurrentAttribute non-virtual

* Made SetAttribute  non-virtual

* Moved clipboard code out

* Code cleanup

* Removes dependecy on NStack from ConsoleDrivers - WIP

* Fixed unit tests

* Fixed unit tests

* Added list of unit tests needed

* Did some perf testing; tweaked code and charmap to address

* Brough in code from PR #2264 (but commented)

* Tons of code cleanup

* Fighting with ScrollView

* Fixing bugs

* Fixed TabView tests

* Fixed View.Visible test that was not really working

* Fixed unit tests

* Cleaned up clipboard APIs in attempt to track down unit test failure

* Add Cut_Preserves_Selection test

* Removed invalid code

* Removed invalid test code; unit tests now pass

* EscSeq* - Adjusted naming, added more sequences, made code more consistent, simplified, etc...

* Added CSI_SetGraphicsRendition

* NetDriver code cleanup

* code cleanup

* Cleaned up color handling in NetDriver

* refixed tabview unit test

* WindowsDriver color code cleanup

* WindowsDriver color code cleanup

* CursesDriver color code cleanup

* CursesDriver - Adding _BOLD has no effect. Further up the stack we cast the return of ColorToCursesColor from int to short and the _BOLD values don't fit in a short.

* CursesDriver color code - make code more accurate

* CursesDriver color code - make code more accurate

* Simplified ConsoleDriver.GetColors API

* Simplified ConsoleDriver.GetColors API further

* Improved encapslation of Attribute; prep for TrueColor & other attributes like blink

* Fixes #2249. CharacterMap isn't refreshing well non-BMP code points on scroll.

* Use GetRange to take some of the runes before convert to string.

* Attempting to fix unit tests not being cleaned up

* Fixes #2658 - ConsoleDriver.IsRuneSupported

* Fixes #2658 - ConsoleDriver.IsRuneSupported (for WindowsDriver)

* Check all the range values and not only the max value.

* Reducing code.

* Fixes #2674 - Unit test process doesn't exit

* Changed Cell to support IsDirty and list of Runes

* add support for rendering TrueColor output on Windows merging veeman & tznind code

* add colorconverter changes

* fixed merged v2_develop

* Fixing merge bugs

* Fixed merge bugs

* Add outline for FileSystemColorProvider

* Add other known folders

* Added remaining cases and test for file colors

* Use color provider in FileDialog

* Fix default color when UseColors to white

* Remove `TestDirectoryContents_Windows_Colors`

* Remove unused helper method

* Fix formatting

* Fixed merge bugs - all unit tests pass

* Debugging netdriver

* More netdriver diag

* API docs for escutils

* Update unicode scenario to stress more stuff

* Contents: Now a 2D array of Cells; WIP

* AddRune and ClearContents no longer virtual/abstract

* WindowsDriver renders correctly again

* Progress on Curses

* Progress on Curses

* broke windowsdriver

* Cleaned up FakeMainLoop

* Cleaned up some build warnings

* Removed _init from AutoInitShutdown as it's not needed anymore

* Removed unused var

* Removed unused var

* Fixed nullabiltiy warning in LineCanvas

* Fixed charmap crash

* Fixes #2758 in v2

* Remove accidentally re-added test

* Removed unit test xml file

* Remove redundant test

---------

Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
Co-authored-by: BDisp <bd.bdisp@gmail.com>
Co-authored-by: adstep <stephensonadamj@gmail.com>
2023-08-11 06:58:55 -06:00
Tig
0df485a890 Fixes #666. Refactor ConsoleDrivers to simplify and remove duplicated code (#2612)
* Added ClipRegion; cleaned up driver code

* clip region unit tests

* api docs

* Moved color stuff from ConsoleDriver to Color.cs

* Removes unused ConsoleDriver APIs

* Code cleanup and Removes unused ConsoleDriver APIs

* Code cleanup and Removes unused ConsoleDriver APIs

* Work around https://github.com/gui-cs/Terminal.Gui/issues/2610

* adjusted unit tests

* initial commit

* Made Rows, Cols, Top, Left virtual

* Made Clipboard non-virtual

* Made EnableConsoleScrolling  non-virtual

* Made Contents non-virtual

* Pulled Row/Col up

* Made MoveTo virtual; fixed stupid FakeDriver cursor issue

* Made CurrentAttribute non-virtual

* Made SetAttribute  non-virtual

* Moved clipboard code out

* Code cleanup

* Removes dependecy on NStack from ConsoleDrivers - WIP

* Fixed unit tests

* Fixed unit tests

* Added list of unit tests needed

* Did some perf testing; tweaked code and charmap to address

* Brough in code from PR #2264 (but commented)

* Tons of code cleanup

* Fighting with ScrollView

* Fixing bugs

* Fixed TabView tests

* Fixed View.Visible test that was not really working

* Fixed unit tests

* Cleaned up clipboard APIs in attempt to track down unit test failure

* Add Cut_Preserves_Selection test

* Removed invalid code

* Removed invalid test code; unit tests now pass

* EscSeq* - Adjusted naming, added more sequences, made code more consistent, simplified, etc...

* Added CSI_SetGraphicsRendition

* NetDriver code cleanup

* code cleanup

* Cleaned up color handling in NetDriver

* refixed tabview unit test

* WindowsDriver color code cleanup

* WindowsDriver color code cleanup

* CursesDriver color code cleanup

* CursesDriver - Adding _BOLD has no effect. Further up the stack we cast the return of ColorToCursesColor from int to short and the _BOLD values don't fit in a short.

* CursesDriver color code - make code more accurate

* CursesDriver color code - make code more accurate

* Simplified ConsoleDriver.GetColors API

* Simplified ConsoleDriver.GetColors API further

* Improved encapslation of Attribute; prep for TrueColor & other attributes like blink

* Fixes #2249. CharacterMap isn't refreshing well non-BMP code points on scroll.

* Use GetRange to take some of the runes before convert to string.

* Attempting to fix unit tests not being cleaned up

* Fixes #2658 - ConsoleDriver.IsRuneSupported

* Fixes #2658 - ConsoleDriver.IsRuneSupported (for WindowsDriver)

* Check all the range values and not only the max value.

* Reducing code.

* Fixes #2674 - Unit test process doesn't exit

* Changed Cell to support IsDirty and list of Runes

* add support for rendering TrueColor output on Windows merging veeman & tznind code

* add colorconverter changes

* fixed merged v2_develop

* Fixing merge bugs

* Fixed merge bugs

* Fixed merge bugs - all unit tests pass

* Debugging netdriver

* More netdriver diag

* API docs for escutils

* Update unicode scenario to stress more stuff

* Contents: Now a 2D array of Cells; WIP

* AddRune and ClearContents no longer virtual/abstract

* WindowsDriver renders correctly again

* Progress on Curses

* Progress on Curses

* broke windowsdriver

* Cleaned up FakeMainLoop

* Cleaned up some build warnings

* Removed _init from AutoInitShutdown as it's not needed anymore

* Removed unused var

* Removed unused var

* Fixed nullabiltiy warning in LineCanvas

* Fixed charmap crash

* Fixes #2758 in v2

* Port testonfail fix to v2

* Remove EnableConsoleScrolling

* Backport #2764 from develop (clear last line)

* Remove uneeded usings

* Progress on unicode

* Merged in changes from PR #2786, Fixes #2784

* revamp charmap rendering

* Charmap option to show glyph widths

* Fixed issue with wide glpyhs being overwritten

* Fixed charmap startcodepoint change issue

* Added abiltiy to see ncurses verison/lib

* Fought with CursesDriver; giving up for now. See notes.

* Leverage Wcwidth nuget library instaed of our own tables

* enhanced charmap Details dialog

* Final attempt at fixing curses

---------

Co-authored-by: BDisp <bd.bdisp@gmail.com>
Co-authored-by: adstep <stephensonadamj@gmail.com>
2023-08-09 14:28:36 -06:00
Tigger Kindel
f3979b23ff Get readme.md from develop 2023-07-25 09:16:09 -06:00
Tigger Kindel
6be97f9f0e Merge branch 'v2_develop' of tig:gui-cs/Terminal.Gui into v2_develop 2023-07-25 09:14:09 -06:00
Tigger Kindel
f0e8f5b248 Updated readme. changing readme no longer causes dotnet-core.yml to build 2023-07-25 09:13:14 -06:00
tznind
4dbf2f4cfd Add test for marking event Handled and demo how to do custom drawing 2023-07-25 08:54:52 -06:00
tznind
101db86bfa Add TestTreeView_DrawLineEvent_WithScrolling test 2023-07-25 08:54:52 -06:00
tznind
78eebd1ce7 Add test TestTreeView_DrawLineEvent 2023-07-25 08:54:52 -06:00