Commit Graph

2841 Commits

Author SHA1 Message Date
Boris Faure 4bc712b07d
utils.{c,h} is needed 2020-06-23 13:16:51 +02:00
Boris Faure ab35c9b7dd
mv utils.{c,h} theme.{c,h} 2020-06-23 12:48:27 +02:00
Boris Faure a6828665dc
termptyesc: oops 2020-06-23 00:09:54 +02:00
Boris Faure f168a97a35
tests: test xterm OSC 10/11 to change/get {fore,back}ground colors 2020-06-23 00:05:12 +02:00
Boris Faure 196973fcd3
rewrite changing of background/foreground colors from escape codes 2020-06-22 23:41:27 +02:00
Boris Faure 8fc11cd0e6
codecov: hopefully fix paths 2020-06-22 22:33:37 +02:00
Boris Faure d845bb256a
Merge branch 'terminology-1.7' 2020-06-21 23:48:20 +02:00
Boris Faure 30b74f84f3
win: better handle initial focus when creating splits
Closes T8756
2020-06-21 23:46:22 +02:00
Boris Faure 171f99c80c
Merge branch 'terminology-1.7' 2020-06-16 21:12:37 +02:00
Boris Faure e7894a887f
termptyesc: fix issue found by fuzzing by Øyvind Kolås (pippin from GIMP) 2020-06-16 20:54:09 +02:00
Boris Faure 50de16cca2
termio{,link}: correct check + remove useless 'if' 2020-06-15 23:08:52 +02:00
Boris Faure 548027a656
termiolink: protect isnan() usage with ubsan and musl 2020-06-15 23:03:36 +02:00
Boris Faure 406ca9d32b
tests: add missing test 2020-06-15 22:18:57 +02:00
Boris Faure f9e4cd9699
reorganise settings between options_behavior and options_mouse 2020-06-15 13:21:01 +02:00
Boris Faure 24400e9c69
options_mouse: add links settings 2020-06-15 13:21:01 +02:00
Boris Faure 62b101efd7
options_links: clean up 2020-06-15 13:21:00 +02:00
Boris Faure 75e7e211f2
options_behavior: share OPTIONS_CB/OPTIONS_CX/OPTIONS_SEPARATOR 2020-06-15 13:21:00 +02:00
Boris Faure af257f2606
options_behavior: remove ELM_WRAP_WORD as it makes labels disappear… 2020-06-15 13:21:00 +02:00
Boris Faure 08bfebcf6d
mv options_helpers.{c,h} options_mouse.{c,h} 2020-06-15 13:21:00 +02:00
Boris Faure c011c48720
config: add "active_links_color" 2020-06-15 13:21:00 +02:00
Boris Faure d84304fc2e
termio: color link is not really clickable 2020-06-15 13:21:00 +02:00
Boris Faure 423bacbce0
tests: add one on link over css hsl colors 2020-06-15 13:21:00 +02:00
Boris Faure 3973f4c348
termiolink: be able to fuzz color parser 2020-06-15 13:21:00 +02:00
Boris Faure 1866e43386
termiolink: parse css hsl color + unit test 2020-06-15 13:21:00 +02:00
Boris Faure 8d1d854bdf
tests: add one on link over css rgb colors 2020-06-15 13:20:59 +02:00
Boris Faure 4b0de53914
termiolink: use eina_convert_strtod_c() to avoid issues with $LANG
because it may parse ',' as a separator (in french for example).

+ stop parsing forward on ')'
2020-06-15 13:20:59 +02:00
Boris Faure 129cda9536
termiolink: switch case is better than broken bsearch
(list was not correctly sorted)
2020-06-15 13:20:59 +02:00
Boris Faure 6dc89a5f6a
termiolink: detect rgb() colors + utest 2020-06-15 13:20:59 +02:00
Boris Faure 1e8d5db14c
tests: on color links found in EDC files 2020-06-15 13:20:59 +02:00
Boris Faure 2f040f9532
termiolink: handle tabs in (color) links 2020-06-15 13:20:59 +02:00
Boris Faure f23467407c
termiolink: add unit test on parsing edc color 2020-06-15 13:20:59 +02:00
Boris Faure 0051a28996
termiolink: add tests on some parsing functions 2020-06-15 13:20:59 +02:00
Boris Faure 10c720aa00
termiolink: rework color finder 2020-06-15 13:20:59 +02:00
Boris Faure 2832f79b59
theme: add name to the color being previewed 2020-06-15 13:20:58 +02:00
Boris Faure 2be609daab
termio: add popup on right click on color to copy it 2020-06-15 13:20:58 +02:00
Boris Faure 6761f05d06
test: one on detecting colors 2020-06-15 13:20:58 +02:00
Boris Faure 990ef95c8b
termptyext: be able to test color links 2020-06-15 13:20:58 +02:00
Boris Faure ef81f975c0
doc: new group "termiolink/color_preview" 2020-06-15 13:20:58 +02:00
Boris Faure b05a48d0c9
termiolink: constify 2020-06-15 13:20:58 +02:00
Boris Faure c1ac8e05a3
color preview: have a better background 2020-06-15 13:20:58 +02:00
Boris Faure 127f0987ee
link: display tooltip on colors like #ff00ff 2020-06-15 13:20:58 +02:00
Boris Faure f5fe32f70b
termiolink: isalpha() may produce unsigned-integer-overflow 2020-06-15 13:18:56 +02:00
Boris Faure 42cff98227
tytest: reset color just after using it 2020-06-15 12:56:14 +02:00
Boris Faure 2b5f698c91
utf8: avoid implicit signedness conversions 2020-06-13 00:13:18 +02:00
Boris Faure 442ce78874
termiointernals: avoid implicit signedness conversions 2020-06-13 00:13:18 +02:00
Boris Faure db7ca27635
termptyesc: explicit conversions 2020-06-13 00:13:12 +02:00
Boris Faure 6aff48abe1
termpty: fix ubsan-detected issue
../src/bin/termpty.c:988:9: runtime error: implicit conversion
from type 'int' of value -1 (32-bit, signed) to type 'unsigned long'
changed the value to 18446744073709551615 (64-bit, unsigned)
2020-06-12 22:38:33 +02:00
Boris Faure 2d9d1c6a82
md5: disable unsigned-integer-overflow sanitizer 2020-06-12 22:35:22 +02:00
Boris Faure 668c506a18
circleci: be stricter on ubsan 2020-06-11 23:32:13 +02:00
Boris Faure 161fa2022c
circleci: no longer test against EFL-1.20/EFL-1.21 2020-06-11 23:22:47 +02:00