Commit Graph

6926 Commits

Author SHA1 Message Date
tznind
563eace487 Mostly working for NetDriver 2024-10-13 13:54:39 +01:00
tznind
effe1991e3 Remove 'seen' debug aid 2024-10-13 13:36:42 +01:00
tznind
ac90ed9de6 AnsiParser working with CursesDriver and WindowsDriver 2024-10-13 13:32:17 +01:00
tznind
30ad592cd3 Investigate adding to CursesDriver 2024-10-13 11:09:11 +01:00
tznind
67b28925cc Change WindowsDriver to send down/up on key down and ignore key up events from win 32 api 2024-10-13 10:42:34 +01:00
tznind
204d640f0b WIP: Scenario 2024-10-12 14:54:11 +01:00
tznind
d642fb6575 Add WindowsDriverKeyPairer 2024-10-12 14:09:58 +01:00
tznind
1877cc7f1b Add exploration of Esc + typing and standardize unicode to \u001b 2024-10-12 12:55:36 +01:00
tznind
88922c2f43 Fix use case of 2 esc in a row 2024-10-12 12:45:49 +01:00
tznind
16a787e196 Fix base class dropping T all over the place 2024-10-12 12:42:05 +01:00
tznind
dbfdffba7a Give AnsiResponseParser a chance to release its content each iteration if it has been some time since we saw Esc 2024-10-12 11:41:47 +01:00
tznind
c99487f313 Double up all tests so that generic and string versions are both tested 2024-10-12 11:22:33 +01:00
tznind
4d54292208 Add string version 2024-10-12 11:07:15 +01:00
tznind
9f8fbc0698 Refactor so there is an abstract base parser 2024-10-12 10:51:22 +01:00
tznind
af3a80587f Proof of concept DAR request 2024-10-12 09:27:00 +01:00
tznind
d1669a50b8 Allow attatching arbitrary metadata to each char handled by AnsiResponseParser 2024-10-12 09:01:30 +01:00
tznind
fa15389e9c Fix unit test cases 2024-10-12 08:12:22 +01:00
tznind
b83219d82c WIP - Add lots of tests, needs validation as expectations are wrong in many that are failing (AI) 2024-10-11 21:05:27 +01:00
tznind
964196d3b9 Change to hashmap char since all terminators we ignore are single character 2024-10-11 20:28:38 +01:00
tznind
3af5c6a4fb Test all permutations of the input stream 2024-10-11 20:18:19 +01:00
tznind
af2ea009c4 Allow multiple expected responses at once 2024-10-11 19:50:33 +01:00
Thomas Nind
bb0bdb0bc5 Merge branch 'v2_develop' into ansi-parser 2024-10-11 19:38:37 +01:00
tznind
390f2d01a4 Change to listing known terminators according to CSI spec 2024-10-11 19:37:09 +01:00
tznind
6cef9d72fe Fix ResetState and add DispatchResponse 2024-10-11 18:51:56 +01:00
tznind
a0c3363210 Update handling to have state 2024-10-11 18:39:31 +01:00
tznind
75ec589073 prepare to handle more rules 2024-10-11 18:17:35 +01:00
tznind
22e612e4ac Explore parser more 2024-10-11 18:01:20 +01:00
Thomas Nind
cc0d9655e5 Fixes #3713 - TextField & TextView - When pressing right/left clear the selection instead of move tab (#3776)
* When pressing right clear the selection instead of move tab - TextField

* Add tests and start on TextView

* Finish tests for TextView

* Fix typos

* typo fix x2

* Fix for Selecting being renamed IsSelecting

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2024-10-11 09:48:15 -06:00
tznind
7f17f5e813 Add example responses we might see 2024-10-11 13:37:25 +01:00
tznind
ac09a6add4 Initial test to define the task of the parser 2024-10-11 13:30:53 +01:00
Tig
0085e25497 Merge branch 'v2_release' of tig:gui-cs/Terminal.Gui into v2_release 2024-10-10 20:05:07 -06:00
Tig
f247807ddb Merge pull request #3788 from gui-cs/v2_develop
`v2_release` <- `v2_develop`
2024-10-10 22:03:42 -04:00
Tig
3715166793 Merge branch 'v2_release' into v2_develop 2024-10-10 19:59:53 -06:00
Tig
4cae9ef5ac Merge branch 'v2_develop' of tig:gui-cs/Terminal.Gui into v2_develop 2024-10-10 19:58:21 -06:00
Tig
a06dad57ae Merge pull request #3772 from BDisp/v2_3771_textview-no-printable-rune-fix
Fixes #3771. TextView doesn't consider no-printable rune in draw and cursor position.
2024-10-10 21:52:28 -04:00
Tig
bc1aeaa3fc Merge pull request #3770 from BDisp/v2_2798_add-true-color-to-cursesdriver
Fixes #2798. Add TrueColor support to CursesDriver.
2024-10-10 21:51:00 -04:00
Tig
9cb985de62 Update publish.yml 2024-10-10 19:50:04 -06:00
Tig
ffe51545c3 Merge branch 'v2_develop' into v2_3771_textview-no-printable-rune-fix 2024-10-10 21:48:51 -04:00
Tig
b98c6fa894 Merge branch 'v2_develop' into v2_2798_add-true-color-to-cursesdriver 2024-10-10 21:48:22 -04:00
Tig
bf095b3711 Update publish.yml (#3789) 2024-10-10 19:47:17 -06:00
Tig
b6b60b1ef7 Merge branch 'v2_develop' into v2_3771_textview-no-printable-rune-fix 2024-10-10 21:39:04 -04:00
Tig
14cce2e2e1 Merge branch 'v2_develop' into v2_2798_add-true-color-to-cursesdriver 2024-10-10 21:38:48 -04:00
Tig
4183a063f3 Merge branch 'v2_develop' of tig:gui-cs/Terminal.Gui into v2_develop 2024-10-10 19:32:35 -06:00
Tig
520194e422 Merge branch 'v2_develop' of tig:tig/Terminal.Gui into v2_develop 2024-10-10 19:32:17 -06:00
BDisp
9c6a3058d4 Fixes #3784. SelfContained and NativeAot projects should use the local package in the release mode. (#3785)
* Fixes #3784. SelfContained and NativeAot projects should use the local package in the release mode.

* Run dotnet restore before build.

* Using local_packages folder for CI.

* Add build_release_consumer.

* Remove build_release_consumer.

* Fix folder for CI.

* Fix System.Text.Json vulnerability.

* Fix local_packageslocation.

* Add package sources to the packageSourceMapping tag.

* Using the original configuration.

* Only add the Terminal.Gui pattern in the LocalPackages.

* Fix the path folder separator with unit style.

* Using pack instead of build.

* Create LocalPackages Directory

* Add local_packages source.

* Using scripts to build release for NativeAot and SelfContained.

* Trying to fix path.

* Again.

* Fix the path for the package,

* Need to build before pack.

* Needs also build before pack locally.

* Fix build path.
2024-10-10 19:31:55 -06:00
BDisp
91c4e30c7f Merge branch 'v2_3784_selfcontained_nativeaot-local-release-package' into v2_2798_add-true-color-to-cursesdriver 2024-10-11 00:41:36 +01:00
BDisp
7d197c61c3 Merge branch 'v2_3784_selfcontained_nativeaot-local-release-package' into v2_3771_textview-no-printable-rune-fix 2024-10-11 00:40:23 +01:00
BDisp
1a8569beb7 Merge branch 'v2_develop' into v2_2798_add-true-color-to-cursesdriver 2024-10-11 00:39:12 +01:00
BDisp
fae9675301 Merge branch 'v2_develop' into v2_3771_textview-no-printable-rune-fix 2024-10-11 00:37:31 +01:00
BDisp
bc20229d8f Merge branch 'v2_develop' into v2_3784_selfcontained_nativeaot-local-release-package 2024-10-11 00:23:50 +01:00