Commit Graph

7000 Commits

Author SHA1 Message Date
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
Tig
e370cfbb36 Merge branch 'v2_3777-hexedit' of tig:tig/Terminal.Gui into v2_3777-hexedit 2024-10-11 09:57:12 -06:00
Tig
9a9f48c2f0 Fixed DrawHorizontalShadowTransparent (vertical was already fixed). 2024-10-11 09:57:07 -06:00
Tig
87a4873e2d Merge branch 'v2_develop' into v2_3777-hexedit 2024-10-11 11:48:49 -04: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
Tig
b4b53685b6 Fixed hexView colors 2024-10-11 09:46:04 -06:00
Tig
d91d604b88 Code cleanup - CancelEventArgs 2024-10-11 09:18:44 -06:00
Tig
505d0bdb8c Code cleanup - CancelEventArgs 2024-10-11 09:18:10 -06:00
Tig
1476154e7e Merge branch 'v2_3777-hexedit' of tig:tig/Terminal.Gui into v2_3777-hexedit 2024-10-11 09:11:55 -06:00
Tig
996b3f0215 Code cleanup 2024-10-11 09:11:41 -06:00
Tig
b977f65afb Merge branch 'v2_develop' into v2_3777-hexedit 2024-10-11 11:09:50 -04:00
Tig
49599665aa Merge branch 'v2_3777-hexedit' of tig:tig/Terminal.Gui into v2_3777-hexedit 2024-10-11 09:08:19 -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
a27f8ccdf9 Merge branch 'v2_develop' into v2_3777-hexedit 2024-10-10 21:53:17 -04: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
80d1a615a5 Merge branch 'v2_develop' into v2_3777-hexedit 2024-10-10 21:43:16 -04:00
Tig
b6b60b1ef7 Merge branch 'v2_develop' into v2_3771_textview-no-printable-rune-fix 2024-10-10 21:39:04 -04:00