Commit Graph

7012 Commits

Author SHA1 Message Date
BDisp
5ef34b8e54 Refactoring code. 2024-10-21 12:25:38 +01:00
BDisp
4090ea4070 Avoids response starting without Esc char on stressing tests. 2024-10-20 01:07:23 +01:00
BDisp
9eb70236d6 Improves CursesDriver to allow non-blocking input polling. 2024-10-20 01:05:53 +01:00
BDisp
9749142610 Set _forceRead as true before set _waitForProbe. 2024-10-20 01:02:43 +01:00
BDisp
542d82dd55 Remove response from error. 2024-10-20 00:33:36 +01:00
BDisp
cc4f7e9a9f Simplifying code. 2024-10-19 19:03:31 +01:00
BDisp
9a840dd29b Remove unnecessary WriteAnsiRequestDefault method. 2024-10-19 13:55:51 +01:00
BDisp
1ecff5e5da Fix ansi multi-thread requests handling in the NetDriver. 2024-10-19 00:39:57 +01:00
BDisp
9759b97ef3 Remove unused variable. 2024-10-18 20:09:43 +01:00
BDisp
7fa098f0ab Remove unnecessary IsSuspendRead property. 2024-10-18 13:42:00 +01:00
BDisp
8a6928e51a Merge branch 'v2_develop' into v2_3767_ansi-escape-sequence-all-drivers 2024-10-17 19:47:52 +01:00
BDisp
8f1954f16c Fixes #3790. Can't build v2_develop RELEASE - "The local source 'C:\Users\Tig\s\gui-cs\Terminal.Gui\local_packages' doesn't exist." (#3794) 2024-10-17 12:15:06 -06:00
BDisp
34fb5b56ab Non-blocking ReadConsoleInput in WindowsDriver. 2024-10-16 19:01:15 +01:00
BDisp
1645d1f956 Ensure dequeue on bad requests or without response in NetDriver. 2024-10-16 18:50:45 +01:00
BDisp
93483288c6 Rename to WriteAnsiRequest. 2024-10-16 10:41:02 +01:00
BDisp
884011e99c Improving WriteAnsi method to return the response. 2024-10-16 01:30:02 +01:00
BDisp
49096fa389 Fix merge errors. 2024-10-15 19:32:13 +01:00
Tig
59396aeb75 Fixed Time/DateField crash 2 2024-10-15 19:28:14 +01:00
Tig
9dcfe02087 Fixed Time/DateField crash 2024-10-15 19:28:02 +01:00
Tig
ec14b62ade Merged MouseEvent and MouseEventEventArgs into MouseEventArgs 2024-10-15 19:27:13 +01:00
Tig
2ad9887ecb View.Mouse cleanup - Fixed combobox 2024-10-15 19:26:08 +01:00
Tig
c3187482fc View.Mouse cleanup - WIP3 2024-10-15 19:25:56 +01:00
Tig
0de8262948 View.Mouse cleanup - WIP 2024-10-15 19:22:14 +01:00
BDisp
d963941522 Preparing NetDriver to handle ansi response on demand. 2024-10-15 19:19:48 +01:00
BDisp
5ce39961ad Prevents throwing if selected item is equal to minus 1. 2024-10-15 19:19:11 +01:00
BDisp
cc1d6685c8 Fix Window Terminal Preview using WindowsDriver. 2024-10-15 19:19:10 +01:00
BDisp
a2e4d82fd7 Add WriteAnsiDefault method to common code. 2024-10-15 19:19:09 +01:00
BDisp
b35b9f537a Add abstract WriteAnsi into the ConsoleDriver for each driver handling ansi escape sequence. 2024-10-15 19:18:52 +01:00
BDisp
67d497ce4e Fixes CursesDriver stale buffer. 2024-10-15 19:18:24 +01:00
BDisp
f850e736a2 Fix unit test. 2024-10-15 19:18:23 +01:00
BDisp
7249de02ef Cannot run with unit tests. 2024-10-15 19:18:21 +01:00
BDisp
e5c30eb442 Make AnsiEscapeSequenceRequest agnostic of each driver. 2024-10-15 19:18:21 +01:00
BDisp
331a49e72b Fix merge errors. 2024-10-15 19:18:18 +01:00
BDisp
2c76ed20ac Fix exception throwing if no terminator is specified. 2024-10-15 19:18:17 +01:00
BDisp
922f586904 Replace from TryParse to TryExecuteAnsiRequest. 2024-10-15 19:18:16 +01:00
BDisp
bdc6fe6873 Code cleanup. 2024-10-15 19:18:15 +01:00
BDisp
8050202db8 Replace ExecuteAnsiRequest with TryParse. 2024-10-15 19:18:14 +01:00
BDisp
c320fc229d Improves null dequeues handling. 2024-10-15 19:18:12 +01:00
BDisp
1d20bcec72 Change file name. 2024-10-15 19:18:11 +01:00
BDisp
8d52fe731f Fix NetDriver read key issue. 2024-10-15 19:18:10 +01:00
BDisp
dd3179697d Improving scenario layout. 2024-10-15 19:18:08 +01:00
BDisp
7142a0489f Add AnsiEscapeSequenceRequests scenario. 2024-10-15 19:18:07 +01:00
BDisp
21c31557c0 Prevents empty response error. 2024-10-15 19:18:06 +01:00
BDisp
c89a9c8dfb Add AnsiEscapeSequenceRequest and AnsiEscapeSequenceResponse classes. 2024-10-15 19:18:05 +01:00
BDisp
0b3d219961 Using a more appropriate request for cursor position. 2024-10-15 19:18:04 +01:00
BDisp
9de21e066d Fixes #3767. Allowing any driver to request ANSI escape sequence with immediate response. 2024-10-15 19:17:51 +01:00
Tig
d6a652b159 Merge pull request #3783 from tig/v2_3777-hexedit
Fixes #3777 - `HexView` Focus Issue - Adds `View.AdvancingFocus` events
2024-10-15 11:48:27 -06:00
Tig
5c09fa2144 Fixed merge issues 2024-10-15 11:11:40 -06:00
Tig
9d83e23000 Merge branch 'v2_3777-hexedit' of tig:tig/Terminal.Gui into v2_3777-hexedit 2024-10-15 11:09:37 -06:00
Tig
2c3a761f67 Merge branch 'v2_develop' into v2_3777-hexedit 2024-10-15 11:07:51 -06:00