Boris Faure
|
544a4376f7
|
termiolink: fix _hsl_to_rgb() + update tests
|
2020-07-17 12:58:22 +02:00 |
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
|
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
|
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
|
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
|
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
|
b05a48d0c9
|
termiolink: constify
|
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
|
c37a16151c
|
termiolink: no need to double semicolons (they don't make a colon…)
|
2020-06-04 22:44:39 +02:00 |
Boris Faure
|
11c7bb2c3b
|
termiolink: avoid long cascade of cases (implicit fallthrough)
|
2020-05-31 22:27:28 +02:00 |
Boris Faure
|
f497b9446c
|
termiolink: harden functions link_is_*()
|
2020-04-19 23:23:57 +02:00 |
Boris Faure
|
ea2b80e5a2
|
termiolink: isspace can't be used on codepoint larger than uchar
|
2020-04-02 21:52:04 +02:00 |
Boris Faure
|
115cd1ebb4
|
link detection: handle unicode + mode surrounding cases + test
|
2020-04-02 00:13:59 +02:00 |
Boris Faure
|
e93b8cf619
|
termiolink: left strip spaces on emails
|
2020-03-31 23:29:05 +02:00 |
Boris Faure
|
cf80e70faf
|
backlog: move related functions to that file
|
2019-11-24 16:12:26 +01:00 |
Boris Faure
|
e235cb00a3
|
termiolink: fix link detection over spaces
|
2019-09-15 20:58:52 +02:00 |
Boris Faure
|
259722a3f3
|
move link_is_* to termiolink.c
|
2019-09-15 17:47:07 +02:00 |
Boris Faure
|
485d7a3edf
|
termio: fix leak. CID1399746 CID1399747
|
2019-03-18 23:02:36 +01: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
|
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
|
6f1a2dd452
|
constify
|
2017-07-06 21:37:56 +02:00 |
Boris Faure
|
afe4b928bc
|
improve link detection when stored in xml
example:
<url>https://terminolo.gy/</url>
|
2016-12-25 18:18:16 +01:00 |
Boris Faure
|
6957ecb642
|
link detection: rewrite moving around the grid
There are difference between the grid and the backlog.
In the backlog, full lines are stored (and thus can be larger than the
width of the terminal).
|
2016-11-17 23:30:57 +01:00 |
Boris Faure
|
cea49794a0
|
termiolink: hopefully fixes segfault. Closes T4896
|
2016-11-15 22:28:27 +01:00 |
Boris Faure
|
234fe507f4
|
termiolink: add missing break
|
2016-11-11 12:38:54 +01:00 |
Boris Faure
|
ed406c4579
|
termiolink: safety on ty being not NULL. CID1365660
|
2016-11-08 21:17:48 +01:00 |
Boris Faure
|
93eb6e6663
|
termiolink: check return of ty_sb_prepend(). CID1365659
|
2016-11-08 21:15:42 +01:00 |
Boris Faure
|
57c811ce9b
|
termiolink: handle OOM. Fix CID1365658
|
2016-11-08 21:13:21 +01:00 |
Boris Faure
|
0cbaaeec9d
|
link: rewrite link detection to be more efficient
|
2016-11-06 20:04:02 +01:00 |
Boris Faure
|
dab654c278
|
termio_link_find() is not static, remove its '_' prefix
|
2016-11-06 13:03:19 +01:00 |
Boris Faure
|
76f1bf4342
|
prefix EINA_UNUSED parameters with an underscore
and fix related issues
|
2016-10-05 22:00:22 +02:00 |
Boris Faure
|
db471aec09
|
correctly fix coverity issue found in termiolink.c
|
2015-08-10 00:28:33 +02:00 |
Boris Faure
|
3738402a9d
|
fix wrong condition. CID1315743
|
2015-08-09 14:19:50 +02:00 |
Boris Faure
|
16c184a9d2
|
fix link detection on links starting at first char of the screen.
Closes T2438
|
2015-05-27 23:20:08 +02:00 |
Boris Faure
|
688bf414e4
|
right trim selections
Also add a (near-dumb) string buffer abstraction because working with
Eina_Strbuf, an opaque structure is a PITA.
|
2015-03-08 20:22:44 +01:00 |
Boris Faure
|
4cad406233
|
remove dead assignment
|
2015-02-11 21:42:19 +01:00 |
Boris Faure
|
572c4cfce4
|
fix uninitialized scalar variable (CID1224271)
|
2014-07-01 08:10:36 +02:00 |
Boris Faure
|
371b402947
|
fix link detection on end of lines
|
2014-06-30 21:48:55 +02:00 |
Iván Briano
|
2b1521888f
|
Fix wrong copy/paste/replace
Long ago, a very wise wizard said that it's a good idea to match
delimiters to their corresponding endings, so let's do that, mmmkay.
|
2014-04-17 16:58:43 -03:00 |