Boris Faure
6f1e3ea077
termptyesc: always check return of _csi_truecolor_arg_get()
...
CID1398478
CID1398479
CID1398480
2018-12-28 19:04:43 +01:00
Boris Faure
a940556cff
termpty: correctly handle wrap (DECAWM)
2018-12-28 17:41:33 +01:00
Boris Faure
a95bbbe731
termptyesc: DECALN only reset margins and cursor position
2018-12-28 17:25:28 +01:00
Boris Faure
54c3e4790b
termptyesc: add debug on DECARSM
2018-12-27 22:14:44 +01:00
Boris Faure
edc469d16f
termptyesc: add debug on DECARM
2018-12-27 22:14:44 +01:00
Boris Faure
19e8bf13f9
termptyesc: add debug on DECANM
2018-12-27 22:14:44 +01:00
Boris Faure
81fb1959eb
termptyesc: add debug on DECAAM
2018-12-27 22:14:44 +01:00
Boris Faure
e23d78e102
termptyesc: cpl and margins + tests
2018-12-27 22:14:44 +01:00
Boris Faure
3c47cc36e0
termptyesc: CNL and margins + tests
2018-12-27 22:14:44 +01:00
Boris Faure
4b32aec0ed
termptyesc: DCH shall handle margins. space created follows SGR + test
2018-12-27 22:14:44 +01:00
Boris Faure
c162b07b16
col: assert in case of invalid values
2018-12-27 22:14:44 +01:00
Boris Faure
fb24dfabb1
termptyesc: add some debug
2018-12-27 22:14:44 +01:00
Boris Faure
5f715b9290
termpty: add debug on CHA + test
2018-12-27 22:14:44 +01:00
Boris Faure
9c2b3887d1
termptyesc: support DECSCLM but ignore it + test
2018-12-27 22:14:44 +01:00
Boris Faure
eab5ffb956
termptyesc: 98/108 are not valid color codes + test
2018-12-27 22:14:44 +01:00
Boris Faure
add8b71778
termptyesc: fix truecolors parsing + tests
2018-12-27 22:14:44 +01:00
Boris Faure
3cc3f3ee2a
add tytest.h and colors_256_get() to be able to test truecolor
2018-12-27 22:14:44 +01:00
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
5cef3b68b6
tytest: add write buffer to checksum
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
ce07e81180
tests: on cursor shapes and regen tests.results
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
4ba31c3fba
tests: differentiate NULL on prop.icon or prop.title
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
3751ce8083
build: better way to compile tyfuzz/tytest
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
10f6dc4737
termpty: set environment variable WINDOWID. Closes T7484
2018-12-24 11:10:01 +01:00
Boris Faure
ddef1ec515
Merge remote-tracking branch 'origin/terminology-1.3'
2018-12-23 10:22:08 +01:00
Boris Faure
744c93a37d
termio: fix potential segv. CID1397077
2018-12-23 10:20:50 +01:00
Boris Faure
070450aadd
termio: fix use of uninitialized variable
2018-12-22 23:50:10 +01:00
Boris Faure
e7cbae77e1
media/win: allow fallback to xdg-open after user interaction
...
Closes T7504
2018-12-17 21:53:01 +01:00
Boris Faure
1ac204da91
media: only popup known media types through special escape codes. Closes T7504
...
Those media files are opened within Terminology and not through an
external component, thus reducing the attack surface.
It is still possible to disable Terminology's escape codes in the
settings panel.
2018-12-16 11:36:15 +01:00
Boris Faure
64b58bb094
termio/win: handle hyperlinks on right click
...
Fix segfault
2018-12-13 16:41:29 +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
15ec4cb8d4
add some more coverity hacks
2018-11-18 17:51:58 +01:00
Carsten Haitzler
0d7473cd5d
keyin - remove strncpy (so its strcpy) because its useless
...
wel alloc the buffer to be precisely the right size anyway so strncpy
is just more complex code that leads to warnings.
2018-11-16 12:58:27 +00:00
Carsten Haitzler
0d19a81c7f
warning fix - compare unsigned vs unsigned
...
use Eina_Unicode so we compare the same type
2018-11-16 12:55:30 +00:00
Carsten Haitzler
b389ed2b89
check if buffer size is too small strunc was truncated
2018-11-16 12:54:39 +00:00
Boris Faure
df81992e90
termptyesc: fix bug found by tyfuzz
2018-10-17 22:54:24 +02:00
Boris Faure
5e06ee1d78
tyfuzz: support hyperlinks
2018-10-17 22:54:03 +02:00
Boris Faure
dd8e9cedcc
move code about hyperlinks to termpty.c to avoid issues with tyfuzz
2018-10-17 22:53:31 +02:00
Boris Faure
4f4875e27d
hyperlinks: only highlight links with same url and id. Closes T6329
2018-10-15 21:41:27 +02:00
Boris Faure
b8488a2059
termio: obj is unused
2018-10-15 21:34:15 +02:00
Boris Faure
9fc4f6c096
termio: remove unused same_link parameter. CID1396157
2018-10-14 12:49:04 +02:00
Boris Faure
1b909cb569
gravatar: also with hyperlinks starting with "mailto:"
2018-10-14 11:57:11 +02:00
Boris Faure
0a6589ca31
termio: fully cleanup past links when hovering hyperlink
2018-10-14 11:32:21 +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
e3faaab83d
termio: simplify _handle_query_esc()
2018-10-13 18:10:54 +02:00
Boris Faure
258cf5c173
add termpty_cell_get()
2018-10-13 18:07:27 +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
afe94a33f9
remove todo
2018-10-12 09:55:02 +02:00
Boris Faure
7834bede86
include coverity fix as first header
2018-09-29 18:06:41 +02:00
Boris Faure
bd0ca2c224
Merge branch 'terminology-1.2'
2018-09-29 17:24:47 +02:00
Boris Faure
fccc114082
selection: handle scrolling and left/right margins
2018-09-29 17:21:27 +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
de3732d418
termio: extract _handle_query_esc();
...
simplifies the code and removes dead code
2018-09-23 22:49:31 +02:00
Boris Faure
dccd1dec39
use Media_Type instead of int
2018-09-16 17:57:42 +02:00
Boris Faure
643e783558
termpty: rewrite conditions on size_t ty->backsize
2018-09-13 07:47:49 +02:00
Boris Faure
cf4dbcddd4
sel: remove useless condition
2018-09-13 07:44:53 +02:00
Boris Faure
0bf5343c34
termpty: simplify code
2018-09-13 07:43:57 +02:00
Boris Faure
f55f273362
termptysave: remove dead code
2018-09-13 07:40:39 +02:00
Boris Faure
235e0d27a8
termptysave: remove dead code
2018-09-06 23:32:22 +02:00
Boris Faure
81701f7cda
Merge branch 'terminology-1.2'
2018-08-26 20:23:54 +02:00
Boris Faure
3b8bbb70c6
controls: be able to show the settings twice or more
2018-08-26 20:22:40 +02:00
Boris Faure
9e7258ba3b
get rid of lz4 code as it's unused. Closes T7328
2018-08-20 19:33:35 +02:00
Mike Blumenkrantz
9822adbaa9
options: add info to 'React to key presses' option when multisense is disabled
...
Summary: this informs the user that key press audio is not available
Reviewers: billiob
Tags: #terminology
Differential Revision: https://phab.enlightenment.org/D6840
2018-08-15 19:40:06 +02:00
Boris Faure
780e95a8fb
termpty: remove useless code
2018-08-12 19:22:39 +02:00
Boris Faure
8276135b50
Merge branch 'terminology-1.2'
2018-08-10 08:05:39 +02:00
Boris Faure
e2712c5153
win: do not pass input when tab selector is up
...
Closes T7207
2018-08-10 08:03:52 +02:00
Boris Faure
3b2e1125e2
ipc: "improve" code
...
This code is strange but now a bit less
2018-08-09 20:31:53 +02:00
Chris Michael
05496d77a2
terminology: Fix evas event callback
...
Summary:
_cb_del was causing a compiler warning about incorrect function
parameters...basically the function was not declared to match an
evas_event_callback. This patch fixes that issue
@fix
Reviewers: billiob
Reviewed By: billiob
Differential Revision: https://phab.enlightenment.org/D6629
2018-07-19 19:19:02 +02:00
Chris Michael
b3081f858f
terminology: Fix evas event callback
...
Summary:
_cb_del was causing a compiler warning about incorrect function
parameters...basically the function was not declared to match an
evas_event_callback. This patch fixes that issue
@fix
Reviewers: billiob
Reviewed By: billiob
Differential Revision: https://phab.enlightenment.org/D6629
2018-07-19 19:17:54 +02:00
Boris Faure
9ebbcf78bc
Merge branch 'terminology-1.2'
2018-06-28 20:01:22 +02:00
Boris Faure
1c4482115b
controls: fix frame being still shown if new controls shows up while old is not yet hidden
...
Thanks to camthesaxman_ for his patch (D6360).
2018-06-28 19:56:12 +02:00
Boris Faure
a696d18165
termio: fix previous commit
2018-06-28 19:25:40 +02:00
Cedric BAIL
a5f287e881
termio: make sure that reference to gesture layer are cleaned at the right time.
...
Reviewers: billiob
Reviewed By: billiob
Subscribers: cedric
Tags: #terminology
Differential Revision: https://phab.enlightenment.org/D6207
2018-06-28 19:25:18 +02:00
Boris Faure
68b65651a6
termio: fix previous commit
2018-05-28 19:35:17 +02:00
Cedric BAIL
33fd72a3e8
termio: make sure that reference to gesture layer are cleaned at the right time.
...
Reviewers: billiob
Reviewed By: billiob
Subscribers: cedric
Tags: #terminology
Differential Revision: https://phab.enlightenment.org/D6207
2018-05-28 19:31:57 +02:00
Boris Faure
0e57ed255b
Merge branch 'terminology-1.2'
2018-05-13 22:47:24 +02:00
Boris Faure
214ff03e36
win: do not force focus on mouse_down event if window is not (yet) focused
...
Refs: T6882
2018-05-13 22:46:30 +02:00
Boris Faure
1ca8708041
log: let eina handle log emissions
2018-05-13 21:12:41 +02:00