Boris Faure
15ee3702db
sb: add ty_sb_spaces_ltrim()
3 years ago
Boris Faure
63815156aa
dumb framework to run unit tests in terminology
3 years ago
Boris Faure
392bfdb4a7
tests: rework tytest.c/tyfuzz.c to no longer #include one in the other
3 years ago
Boris Faure
5cae99eee1
options: word-wrap some labels
3 years ago
Boris Faure
ec344090aa
scale wizard: word-wrap the labels
3 years ago
Boris Faure
446823b6ea
options_elm: fix original _find_binary
3 years ago
Boris Faure
29cce7e73e
termiointernals.c: do not consider '-' as a word separator
3 years ago
Boris Faure
1d5eee0e60
focus validator: be less strict when changing tabs
...
Closes T8722
3 years ago
Boris Faure
3be858b09b
termiointernals: handle EM (end of medium) as word separator
3 years ago
Boris Faure
876036f009
termptyesc: randomize new entry in the true color cache
3 years ago
Boris Faure
9977b8a63b
termpty: set TERM_PROGRAM/TERM_PROGRAM_VERSION env variables
3 years ago
Boris Faure
106f8b5c9a
termptyesc: handle terminal query
...
New, still debated on https://gitlab.freedesktop.org/terminal-wg/specifications/issues/8
3 years ago
Boris Faure
144db18649
termiointernals: no timer in tests
3 years ago
Boris Faure
38e4935427
termiointernals: skip invisible codepoints when assessing whether they changed
3 years ago
Boris Faure
19ffa91f15
termptyext: add operator to test whether selection is active
3 years ago
Boris Faure
f679d28809
termiointernals: speed up selection scroll in tests + also in real life
3 years ago
Boris Faure
3be01d8b8b
meson: add tytest.{c,h} to improve testing with ENABLE_TEST_UI
3 years ago
Boris Faure
00bb99f3f0
tests: store mouse pointer and fallback evas_pointer_canvas_xy_get()
3 years ago
Carsten Haitzler
0df36aefc9
termio selection strings - fix ownership and alloc/free
...
this was a bit of a mess in terms of who owns, dups, copies etc. so i
fixed this up a bit and have termio_take_selection_text consistently
stringshare_add the string as its own copy so it can free it later.
also fix leak from ty_sb_steal_buf() as this is a malloced buffer not
stringshared and it wasnt freed after a steal
@fix
3 years ago
Boris Faure
286e2ebb59
win: on startup, force a window to be considered as focused
3 years ago
Boris Faure
f3bf486777
win: handle early case when no child is present
3 years ago
Boris Faure
f1857527da
termptyesc: mark _safechar() as pure
3 years ago
Boris Faure
18bfcb5aba
termptyesc: r,g,b are uint8_t
3 years ago
Boris Faure
00c427a20f
termptyesc: avoid issue with integer promotion
...
Found by UBSan:
sgr-truecolors.sh... ../src/bin/termptyesc.c:737:35: runtime error: left
shift of 244 by 24 places cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
../src/bin/termptyesc.c:737:35 in
3 years ago
Boris Faure
f9b6f88be1
termptyesc: cache true color approximations
...
On my stupid benchmark ( https://github.com/billiob/fire ), this goes from
about 45 fps to about 125fps.
3 years ago
Boris Faure
f497b9446c
termiolink: harden functions link_is_*()
3 years ago
Boris Faure
25eac3e842
termio: suspend is an int with values > 1
3 years ago
Boris Faure
32f317cc05
options: use an available default icon for each entry!
3 years ago
Boris Faure
d06ac1c262
update copyright to 2020
3 years ago
Boris Faure
0b48853597
reduce scope of variables
3 years ago
Boris Faure
3172c2cf30
Revert "pleasing cppcheck?"
...
This reverts commit a848b0262f
.
3 years ago
Boris Faure
1e89fcd020
termptyext.c: remove useless assignments
3 years ago
Boris Faure
f56f6cd07e
termptyext: remove useless assignment
3 years ago
Boris Faure
a848b0262f
pleasing cppcheck?
3 years ago
Boris Faure
16f750bee6
backlog: don't convert -1 to unsigned
3 years ago
Boris Faure
d5d61a5b76
termio: hide links when content change underneath
3 years ago
Boris Faure
225b14a54f
win: hide tab bar when restoring the last term
3 years ago
Boris Faure
27f062ff1a
win: reswallow content when it's the only one left
3 years ago
Boris Faure
25496f6689
win: remove hand cursor when drag stops
3 years ago
Boris Faure
338b2c1865
win: fix rollback split + add debug
3 years ago
Boris Faure
985e0b56c5
win: put drag icon under the mouse
3 years ago
Boris Faure
472cfbcff4
win: remove some debug
3 years ago
Boris Faure
7ce4416311
win: save split position when dragging tab
3 years ago
Boris Faure
0d5a796703
win: fix focus display when focusing in/out and grouped input
3 years ago
Boris Faure
cdcc6be05e
show grouped input on inactive tabs
3 years ago
Boris Faure
826801b607
group input: show it on active tabs
3 years ago
Boris Faure
51468de3fd
group input: add config option about default to visible ones or all
3 years ago
Boris Faure
2259519d10
video: no need to force emotion engine anymore
3 years ago
Boris Faure
87ce2720d5
controls: add shortcut to do grouped input
3 years ago
Boris Faure
537af736e8
win: constify
3 years ago