Commit Graph

1654 Commits

Author SHA1 Message Date
Carsten Haitzler 0f24619dfa selection handling - donmt use null string selections if they are
fix a corner case where string selection is null when selection is
requested (empty selection). @fix
2018-04-05 13:36:01 +09:00
Boris Faure c87c78ca8c options_theme.c: fix CID 1388097 2018-04-04 20:21:18 +02:00
Boris Faure 75689087ae build: add fix for coverity 2018-04-04 20:21:10 +02:00
Carsten Haitzler 1a55a67654 termpty - set ty_hand to null if returning cancel which dels the fdhand
this avoids later accidentally accessing an invlid hd handler.

@fix
2018-03-26 23:18:31 +09:00
Carsten Haitzler 5824d668af win - imf - fix small typo that was not checking the imf ptr...
it was checking the address of the imf ptr which is always true.

@fix
2018-03-26 23:18:31 +09: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 33eb5261e6 termio: force refocus after ctx popup is deleted. Closes T6782 2018-03-19 22:12:28 +01:00
Boris Faure 189d138d03 win: expose term_focus(); 2018-03-19 22:11:53 +01:00
Boris Faure f03b84b869 options: select default cursor 2018-03-15 21:59:43 +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 c4c769651c config: add cursor shape 2018-03-15 14:43:51 +01:00
Boris Faure dad9e0db58 remove compatibility #ifs to work with EFL < 1.16 2018-03-13 18:58:41 +01:00
Boris Faure e8214d1da2 tabs: on tab selector, be sure only one tab is focused 2018-03-13 18:15:57 +01:00
Boris Faure bc6ed7ac92 termptygfx: fix stupid bug when printing encircled numbers 2018-03-13 11:23:03 +01:00
Boris Faure 9e0243d9f1 support encircled escape code. Closes T6769 2018-03-13 09:15:32 +01:00
Boris Faure deaadfeb01 shift-selection: reduce timeout to 5s, seems enough. Ref T2254 2018-03-12 20:11:28 +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 0fcd99cda5 do a thaw eval after thaw to ensure we dont miss any events
freeze stops events (in/out/down/up and so on, not del etc.) and thaw
does the oppostie. the thing is thawing to 0 freeze level never
re-evaluated everything. it was an optimization and simpler. so to
re-evaluate state and not lose thngs like in and out evets you do have
to do a thaw eval after thaw that will evaluate that state and produce
in and out events if you thaw back to 0. i don't know if this
fixes T4194 or not, but it does dot an i and cross a t.
2018-03-11 18:30:06 +09:00
Boris Faure 6bf2116206 shift-selection: reduce timeout to 15s. Closes T2254 2018-03-10 21:10:34 +01:00
Boris Faure 2d5bc93780 win: handle title popup like the options popups. Closes T6727 2018-03-10 19:40:13 +01:00
Boris Faure 71d9bc2f68 win: do not force focus when on options. Closes T4769 2018-03-10 17:22:52 +01:00
Boris Faure 1a5384b19e options: default is the behaviour tab. Closes T2130 2018-03-10 17:13:10 +01:00
Boris Faure 9aeae783b5 options_behavior: expect EFL > 1.8 2018-03-10 16:14:40 +01:00
Carsten Haitzler 1ea0818f2b close terminal button - pass ctx ptr to callback so it doesnt seg 2018-02-26 15:42:16 +09:00
Boris Faure 67fb28a67c solarized: set faint/dim colors for black
It was previously invisible
2018-02-14 22:32:50 +01:00
Carsten Haitzler a1d9dba1d0 terminology efl version bump 1.8 to 1.20
efl 1.8 is ancient by now (december 2013 ... like over 4 years ago).
time to bump to 1.20, so any future releases of terminology will need
a bump in efl version too whicn IMHO is sensible.
2018-02-13 15:12:18 +09:00
Boris Faure ce11630457 win: do not show win too early 2018-02-12 22:40:50 +01:00
Boris Faure d52afe1a73 win: shot in the dark about the positioning issue
If it fixes the issue, I'm clueless!
2018-02-12 22:23:05 +01:00
Boris Faure 802ed4b2eb win: removes that blue focus animation 2018-02-12 22:09:34 +01:00
Boris Faure 3aac7976b7 termio: fix key bindings for scrolling 2018-02-12 22:03:02 +01:00
Boris Faure efb6df10b7 win: fix focus after editing title 2018-02-11 12:14:39 +01:00
Boris Faure 653173bd85 Merge branch 'grouped-input' 2018-02-11 11:56:13 +01:00
Boris Faure 19cca3e2f2 group input: handle only_visible or all terms 2018-02-11 11:48:06 +01:00
Boris Faure 26b19dc31d win: remove useless comments 2018-02-10 17:28:58 +01:00
Boris Faure 4f261e922e imf: handle cursor move 2018-02-09 23:18:03 +01:00
Boris Faure c31c1cbd9b termio: focus_in to show blinking cursor 2018-02-09 22:02:19 +01:00
Boris Faure 55b4eeb3a2 win: focus the termio objects, at least to have mouse work 2018-02-08 22:38:55 +01:00
Boris Faure ddb8e8160d termio: really constify preedit_str 2018-02-08 22:38:02 +01:00
Boris Faure 7cb67a2bce win: get out of grouped-input 2018-02-08 18:40:27 +01:00
Boris Faure 34f19bf4dd win: constify term_preedit_str_get() 2018-02-08 18:40:06 +01:00
Boris Faure d7432a52d6 move input handling to win.c 2018-02-05 00:07:47 +01:00
Boris Faure e5c580aa26 win: getting events through conform is more reliable 2018-01-30 23:37:00 +01:00
Boris Faure b75d5b7e9c win: do not focus termio 2018-01-30 23:36:16 +01:00
Boris Faure 93106d1148 win: set flag on_options when settings/about/controls are up 2018-01-30 23:31:26 +01:00
Boris Faure 4f87249016 we're in 2018 2018-01-17 20:34:35 +01:00
Boris Faure 527859f4c4 options_colors: fix selected item showing on multiple rows
makes the selector barely more usable…
2018-01-15 23:49:03 +01:00
Boris Faure 8c09ee5c88 options_colors: compute pre-multiplied colors 2018-01-15 23:28:18 +01:00
Boris Faure f33e898e29 options_colors: clean up a bit and have a global reset button 2018-01-15 22:51:16 +01:00
Boris Faure 820a5440fe controls: use both "bg" and "base" evas objects 2018-01-15 22:45:32 +01:00
Boris Faure a66225dc87 options_colors: be able to have multiple instances 2018-01-14 12:52:46 +01:00
Boris Faure 64502fa8f3 options_theme: be able to have multiple instances 2018-01-13 19:25:31 +01:00
Boris Faure 8b26cd4149 options_background: go to image grid when selecting user/system in hoversel 2018-01-13 18:52:40 +01:00
Boris Faure 85ba744771 options_font: be able to have multiple instances 2018-01-12 23:27:19 +01:00
Boris Faure 32209a6dfd options_video: be able to have multiple instances 2018-01-10 23:28:50 +01:00
Boris Faure 22e3731c96 options_behavior: be able to have multiple instances 2018-01-10 23:26:40 +01:00
Boris Faure 1745e77c93 options_background: fix segfault due to flip destroying hoversel 2018-01-09 23:39:02 +01:00
Boris Faure c7fe3ca964 fix coding style wrt _Ctx types 2018-01-09 23:21:48 +01:00
Boris Faure 69e3176f4e options_background: rewrite to have multiple widgets 2018-01-08 23:17:02 +01:00
Boris Faure 29db075729 options_keys: rewrite it to have multiple widgets at the same time 2018-01-07 23:11:18 +01:00
Boris Faure 08b5c20a27 controls: keep ctx when on about/options 2018-01-05 23:42:14 +01:00
Boris Faure fd150de222 options: simplify code and no more globals 2018-01-05 00:27:25 +01:00
Boris Faure 983dadeba4 about: simplify code and no more globals 2018-01-05 00:27:25 +01:00
Boris Faure eaaae01745 controls: less globals, controls per window 2018-01-05 00:27:25 +01:00
Boris Faure 080ff8e261 controls: simplify code 2018-01-05 00:27:25 +01:00
Boris Faure d20e32c26f options: rename options_active_get() to options_is_active() 2018-01-05 00:27:25 +01:00
Boris Faure d7bc232806 win: remove useless callbacks 2018-01-05 00:27:25 +01:00
Boris Faure 561e1b0941 splits: fix focus issue when splitting a split 2018-01-05 00:27:25 +01:00
Boris Faure 39fb41024b early work on multi-input support 2018-01-05 00:27:25 +01:00
Carsten Haitzler 878def120e move private.h down after system headers... to avoid conflict 2017-12-19 11:01:09 +09:00
Carsten Haitzler 3a14751b34 tytools - remove eina.h include from ty tools where really not needed 2017-12-19 11:01:09 +09:00
Carsten Haitzler 700beb9bd6 tysend - dont check if in terminology as it should also work remotely
well it's not a brilliant check... user beware. tysend will only work
if there is no screen/tmux in the way and your end point terminal is
terminology (end point being the GUI terminal emulator you are using).
2017-12-18 19:54:05 +09: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
Carsten Haitzler 8bb7a473ae tysend status - fix focus after close/cancel 2017-12-18 15:31:45 +09:00
Carsten Haitzler 15e3c87390 tysend - i was only testing ascii files. binary doesnt trasnfer well...
so move to 4 bit nibbles encoded as ascii. inefficient but works
reliably.
2017-12-18 00:51:52 +09:00
Carsten Haitzler 125d475068 add tysend cmdline and support in escapes for sending single files
this allows you to send a file via escapes to terminology which will
pop up a file save dialog and ask what to save it as and where (based
on the original name). terminology will show a progress bar too. this
is not useful locally but remotely (e.g. you ssh'd into another
machine) it's a VERY handy way of fetching a file from the remote
machine to the local machine with a display just with tysend FILE. you
can send multiple in a sequence with tysend FILE1 FILE2 FILE3 ... ...
and terminology will ask for a location and filename per file you send
(just hit cancel if you don't want to do it).

note - it needs new theme features to work. it'll fail without them.

@feature
2017-12-17 23:41:26 +09:00
Amitesh Singh 31285fb5dc title: set focus to title entry
Focus was not coming to entry on 'set title' popup.
Set focus to a popup subobject after showing popup.

@fix
2017-12-05 13:44:00 +09:00
Boris Faure 35cb66aa2b handle -Wimplicit-fallthrough= 2017-11-12 00:30:25 +01:00
Boris Faure 59feab991b use 'ninja install' instead of 'make install' in error message 2017-11-12 00:14:00 +01:00
Boris Faure c51d0095f9 get rid of automake 2017-11-12 00:09:06 +01:00
Boris Faure d2d03992eb theme previews: set shine according to config 2017-11-11 23:16:15 +01:00
Boris Faure 7d94ebaa1e options: have Colors before Video 2017-11-11 23:12:17 +01:00
Boris Faure c1850f73b0 options: move shine slider to Background 2017-11-11 23:10:55 +01:00
Boris Faure adb818b697 s/wallpaper/background/ 2017-11-11 22:24:35 +01:00
Boris Faure 7f8396d55b settings: move translucent to wallpaper 2017-11-11 22:19:08 +01:00
Boris Faure bb968b968e be able to configure shine level on the default theme
Was asked about it too many times, so here it is :)
2017-11-11 20:12:56 +01:00
Boris Faure c388bbf7bb Merge branch 'terminology-1.1' 2017-10-10 21:15:05 +02:00
Boris Faure 57fea056c1 fix -e option. Closes T6175 2017-10-10 21:14:07 +02:00
Boris Faure b22a64043f Merge remote-tracking branch 'origin/devs/iscaro/meson' 2017-10-03 22:01:39 +02:00
Boris Faure 83e60e807f Merge branch 'terminology-1.1' 2017-09-20 20:11:35 +02:00
Boris Faure 82c163a3c9 gravatar: get images through https 2017-09-20 20:10:52 +02:00
Boris Faure 854f0a67f2 Merge branch 'terminology-1.1' 2017-09-18 22:02:56 +02:00
Boris Faure 180799d2c5 support the REP escape code. Closes T6042 2017-09-18 22:01:42 +02:00
Boris Faure 1c0710ac51 Merge branch 'terminology-1.1' 2017-09-09 00:08:47 +02:00
Boris Faure 6100f8f4e3 harden the code around manipulation of cursor_state 2017-09-08 23:06:19 +02:00
Boris Faure 13da2313d2 Merge branch 'terminology-1.1' 2017-08-28 21:42:17 +02:00