Boris Faure
119a4d12af
termptyesc: handle CSI_ARG_ERROR in some SGR.
...
Closes T7475
2018-12-27 22:14:44 +01:00
Boris Faure
6931f96d0d
termptyesc: handle CSI_ARG_ERROR
2018-12-27 22:14:44 +01:00
Boris Faure
a4418b85f6
termpty: display escape sequence when can't decode it
2018-12-27 22:14:44 +01:00
Boris Faure
e6d13fceb5
termptyesc: support DSR-UDK + test
2018-12-27 22:14:44 +01:00
Boris Faure
d2958cd301
termpty: support DSR-PP (Printer Port) + test
2018-12-27 22:14:44 +01:00
Boris Faure
8f2e15478d
termptyesc: support DSR-OS + test
2018-12-27 22:14:44 +01:00
Boris Faure
aebbed39e6
termptyesc: add support DSR-DECCKSR + test
2018-12-27 22:14:44 +01:00
Boris Faure
f54bd2350f
termptyesc: support DSR-MSR (0 Macro Space) + test
2018-12-27 22:14:44 +01:00
Boris Faure
e0ed4b4ad9
termptyesc: handle DSR-KBD but hardcode keyboard + test
2018-12-27 22:14:44 +01:00
Boris Faure
9ed1b61f23
termptyesc: handle DSR-DIR (Data Integrity Report) + test
2018-12-27 22:14:44 +01:00
Boris Faure
feb7495fbb
termptyesc: DSR-CPR takes cursor restriction into account + test
2018-12-27 22:14:44 +01:00
Boris Faure
479d96e5dc
termptyesc: act like xterm, do not report title/icon-name
2018-12-27 22:14:44 +01:00
Boris Faure
e4d7cb93f2
termptyesc: act as xterm-337
2018-12-27 22:14:44 +01:00
Boris Faure
d43110e0fd
termptyesc: fix decera/decfra when bottom coordinate is too large
2018-12-27 22:14:44 +01:00
Boris Faure
713bb211fc
termptyesc: fix VPR (now goes down instead of up)
2018-12-27 22:14:44 +01:00
Boris Faure
2db4a0e980
termptyesc: fix _clean_up_rect_coordinates() when cursor is restricted
2018-12-27 22:14:44 +01:00
Boris Faure
f83e66a478
add tytest, a tool to add tests on escape sequence parsing
2018-12-27 22:14:44 +01:00
Boris Faure
8fb44906cc
Revert "termpty: better handle ';' in escape sequences. Closes T7475"
...
This reverts commit 3f432544df
.
2018-11-20 10:34:37 +01:00
Boris Faure
3f432544df
termpty: better handle ';' in escape sequences. Closes T7475
2018-11-19 23:14:51 +01:00
Boris Faure
df81992e90
termptyesc: fix bug found by tyfuzz
2018-10-17 22:54:24 +02:00
Boris Faure
4c54edaa52
termptyesc: handle some utf8 control codes
2018-10-14 11:12:04 +02:00
Boris Faure
a11c591cce
fix const on hyperlink urls
2018-10-13 22:05:48 +02:00
Boris Faure
dc5c291bb9
highlight links on mouseover
...
+ related fixes
2018-10-13 19:21:19 +02:00
Boris Faure
05ee717fc0
compute refcount on hyper links
2018-10-13 10:52:50 +02:00
Boris Faure
cc83e6b6f2
parse hyperlinks
...
Ref: T6329
2018-10-13 10:52:50 +02:00
Boris Faure
43ad696570
Merge branch 'terminology-1.2'
2018-10-12 20:19:06 +02:00
Boris Faure
aa0f968860
termpty: soft reset should only reset attributes
2018-10-12 20:17:50 +02:00
Boris Faure
bd0ca2c224
Merge branch 'terminology-1.2'
2018-09-29 17:24:47 +02:00
Boris Faure
9fc660ccb2
termptyesc: DECFRA/DECERA finishes by $x/$z
...
And not just x/z
2018-09-29 12:17:51 +02:00
Boris Faure
873656483b
termpty: remove useless code. termio.h is already included
2018-09-26 08:13:47 +02:00
Boris Faure
7855175ea4
tyfuzz: make it compile again!
2018-05-02 16:19:55 +02:00
Boris Faure
0991479fcb
try to optimize cell copy
...
On my stupid benchmark: having tyfuzz parse a 628MB text file (few times
war and peace concatenated) over 10 sessions, it went from 15.2MB/s to
16.8MB/s \o/ That's a 10.5% improvement!
2018-04-24 23:41:18 +02:00
Boris Faure
8308514420
termptyesc: document Media Copy
2018-03-19 23:54:00 +01:00
Boris Faure
4e1beca3f8
termptyesc: handle Horizontal Position Absolute (HPA)
2018-03-19 23:24:31 +01:00
Boris Faure
740e96da66
handle DECSCUSR (changing cursor shape). Closes T6338
2018-03-15 19:20:09 +01:00
Boris Faure
71c1b37675
termptyesc: sort CSI escape code by ascii value
2018-03-15 17:58:41 +01:00
Boris Faure
dad9e0db58
remove compatibility #ifs to work with EFL < 1.16
2018-03-13 18:58:41 +01:00
Boris Faure
9e0243d9f1
support encircled escape code. Closes T6769
2018-03-13 09:15:32 +01:00
Boris Faure
0a0f3605e4
termptyesc: handle CMY/CMYK in SGR38/SGR48. Ref T746
2018-03-11 22:38:45 +01:00
Boris Faure
c7c054bf0d
termptyesc: handle transparent in SGR38/SGR48
2018-03-11 22:35:41 +01:00
Boris Faure
91ced6390f
termptyesc: skip colorspace id if present. Ref T746
2018-03-11 20:31:56 +01:00
Boris Faure
0eb223f1b8
termptyesc: approximate true color. Ref T746
2018-03-11 19:51:11 +01:00
Carsten Haitzler
8cfa269b54
tysend - optimize sending - pretty much double the speed
...
yes. it's still inefficient because we transfer in ascii-ized nibbles
(4 bits) within a utf8 stream that becoems a 32bit per char unicode
buffer then back to utf8 before being "parsed" as a command etc. etc.
... it's not brilliant for transferring binary data. it's horrible
actually. but at least i've dropped overhead for some of the large
escape handling code.
this increases buffer size to 32k per block sent, and have the
terminal escape/buffer handling track if a zero byte exists in the
buffer at all to avoid hunting for one if none is there, making
terminology escape handling much more efficient for large escapes and
buffers.
2017-12-18 15:32:02 +09:00
Boris Faure
180799d2c5
support the REP escape code. Closes T6042
2017-09-18 22:01:42 +02:00
Boris Faure
6100f8f4e3
harden the code around manipulation of cursor_state
2017-09-08 23:06:19 +02:00
Boris Faure
496a5f178e
have only one concept of title. Ref T5704
2017-08-28 21:41:21 +02:00
Boris Faure
7c358c3592
termptyesc: correctly handle going to start of line when there is a left margin
2017-08-22 20:51:20 +02:00
Boris Faure
6315ed2949
termpty: remove termstate.had_cr since it's unused
2017-08-21 23:46:28 +02:00
Boris Faure
2343efd6a1
termptyesc: clearing the screen (from ED2) should not reset bottom margin
...
Thanks to @ncim for the report.
2017-08-21 23:19:41 +02:00
Carsten Haitzler
d80e60f25c
fix buffer size - was 1 byte too short on stack
...
7 not 6 bytes. include nul byte.
2017-08-02 18:21:08 +09:00