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
Boris Faure
3a28d99649
termpty: fix inserting blank chars. Closes T5802
2017-07-27 23:27:23 +02:00
Boris Faure
b35c7cd539
termptyesc: add missing break. CID1377552
2017-07-11 22:01:31 +02:00
Boris Faure
6f1a2dd452
constify
2017-07-06 21:37:56 +02:00
Boris Faure
b0226726f8
termpty: correctly handle DECFRA wrt SGR 0
2017-06-26 23:36:23 +02:00
Boris Faure
7ac685b68c
termpty: DECERA only changes codepoints
2017-06-26 21:58:59 +02:00
Boris Faure
956f1eaa13
termptyesc: restrict right/bottom rectangle coordinates
2017-06-07 20:40:17 +02:00
Boris Faure
400b675fc9
termptyesc: restrict CUP/HVP to right/bottom margins
2017-06-06 23:00:22 +02:00
Boris Faure
cc5fcac03d
termptyesc: fix handling of DECSLRM. Ref T5533
2017-06-05 23:53:07 +02:00
Boris Faure
bbfa60120e
termpty: handle DECERA
2017-06-05 21:04:29 +02:00
Boris Faure
9f72ea3a9d
termptyesc: handle DECFRA
2017-06-05 20:47:41 +02:00
Boris Faure
e117ff9153
termptyesc: correctly handle cursor wrt right/left margins
2017-06-05 16:49:36 +02:00
Boris Faure
7d497c08c6
termptyesc: extract handling CUP/HVP to one function
2017-06-05 01:04:24 +02:00
Jean Guyomarc'h
ede4196eae
termptyesc: fix invalid clamping on CSI X
...
Fixes a regression introduced by commit bd6c81e
, which broke the ncurses
rendering of the Kernel menuconfig, making it impossible to be used.
2017-06-04 18:35:46 +02:00
Jean Guyomarc'h
20cbab21fc
termptyesc: improve const-correctness of data
2017-06-04 18:35:22 +02:00
Boris Faure
c2d731aced
termptyesc: cleanup handling of DECSTBM
2017-06-04 00:33:32 +02:00
Boris Faure
7ab925dc76
termpty: very early support of Right/Left margins
2017-06-03 23:17:33 +02:00
Boris Faure
91ce6e8960
termptyesc: correctly handle missing arguments in CUP/HVP
2017-06-01 23:33:58 +02:00
Boris Faure
e0f6867a88
termptyesc: _csi_arg_get() now correctly handles missing arguments
...
Only affects when multiple ones were expected
2017-06-01 23:29:55 +02:00
Boris Faure
dbc75a0cc0
termptyesc: only do IL/DL when inside margins
2017-06-01 22:52:16 +02:00
Boris Faure
339b72174c
termptyesc: CUP/HVP are impacted by DECOM
2017-06-01 22:51:34 +02:00
Boris Faure
8168b019c9
termptyesc: improve debug
2017-06-01 21:29:07 +02:00