Commit Graph

438 Commits

Author SHA1 Message Date
Boris Faure 496a5f178e have only one concept of title. Ref T5704 2017-08-28 21:41:21 +02:00
Boris Faure 38da9b2ded correctly handle -T option. Ref T5704 2017-08-28 21:41:10 +02:00
Boris Faure 6bb1552c84 empty string resets tab title 2017-08-26 19:27:14 +02:00
Boris Faure acbf3387fa fix selections in the backlog. Closes T5743
In the backlog, every cell but the last one has the autowrapped flag set.
_termpty_cellrow_from_beacon_get() now returns a length in the
"screen space".
2017-08-26 18:51:22 +02:00
Boris Faure bbb7272910 teamwork: remove the feature since it's no longer supported in elm 2017-07-23 17:41:20 +02:00
Boris Faure e7b3265662 font: update all terms to this window when changing font (size)
Closes T5012
Closes T5445
2017-07-14 22:10:54 +02:00
Boris Faure 6f1a2dd452 constify 2017-07-06 21:37:56 +02:00
Boris Faure de3890dad3 feature: move cursor to position on click+alt. Closes T5537 2017-06-29 23:45:05 +02:00
Boris Faure a168dc6645 termio: ev was unused 2017-06-05 01:02:41 +02:00
Jean Guyomarc'h 97469490fb termio: fix mouse button event tracking in vim
Commit 9e0b63403f caused mouse events not
to be processed correctly by vim. Resizing subwindows with the mouse was
fully broken.

Without the mouse button information, the button event tracking could
not be forwarded to the terminal.
2017-06-04 23:56:38 +02:00
Mike Blumenkrantz 9309941875 add behavior option to disable focus-in/out animations and visuals
this is useful for CI
2017-03-13 19:34:54 +01:00
Boris Faure 566dc187d6 termio: reset size when size looks boggus.
Patch by netstar
2017-03-05 16:40:10 +01:00
Boris Faure f4813a229d termio: remove dead code. CID1371738 2017-03-05 16:36:35 +01:00
Boris Faure 9e0b63403f may fix mouse motion reporting. T4874 2017-03-04 17:37:03 +01:00
Boris Faure e5f3676e32 termio: fix getting selection of known link. CID1367486 2016-12-20 20:20:34 +01:00
Boris Faure f3dd6f62fb termpty: Tab markers are the same for each line. Ref 4992 2016-12-18 18:48:03 +01:00
Boris Faure 5af5ec084e termio: do nothing special when extracting text and .tab is set 2016-12-15 23:11:22 +01:00
Boris Faure 45539d433c termio: small cleanup 2016-12-06 23:49:03 +01:00
Al Poole 8dd7aefcb4 Fix bogus hack and restore cursor position to its right place. On OpenBSD and DragonFly the cursor is being incorrectly placed. Seems there was a Linux workaround too. My guess is this will fix that also.
Summary: Should help anyway.

Reviewers: billiob, raster

Differential Revision: https://phab.enlightenment.org/D4465
2016-12-06 23:42:10 +01:00
Marcel Hollerbach 786dd890cc termio: dont show full/relative for emails or protocols
if there is a link like bu5hm4n@efl.so or http://enlightenment.org/ , then
there is no need to show relative or absolut coping in the ctxpopup,
just copy is enought.
2016-11-20 20:51:21 +01:00
Boris Faure 8658ea9d57 termio: fix leak. CID1365971 2016-11-19 11:02:57 +01:00
Marcel Hollerbach ddbdd96349 add copy link item in rightclick menu
Summary:
this will just copy the link content instead of the resolved link.
Makes the link detection feature also useable for ssh/tmux/screen
session.

Test Plan: Hover over a link and rightclick

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D4217
2016-11-17 20:04:50 +01:00
Boris Faure 55db8930b2 termio: elm_layout_add() expects and elm widget
This should remove the noisy message:
ERR<21781>:elementary lib/elementary/elm_widget.c:1130
elm_widget_sub_object_parent_add() You passed a wrong parent parameter
(0x400000089000008a termio). Elementary widget's parent should be an
elementary widget.
2016-11-15 20:29:17 +01:00
Boris Faure c41fc2a56e sb: add some utilities like prepend, free, steal… 2016-11-06 19:45:05 +01:00
Boris Faure dab654c278 termio_link_find() is not static, remove its '_' prefix 2016-11-06 13:03:19 +01:00
Boris Faure d47b350e8c ty: add sb.{c,h} (was in termio.c) 2016-11-06 11:42:17 +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 b7817a88b3 keys: add Shift+Home to get to the top of the backlog. Closes T3582 2016-05-31 21:34:44 +02:00
Arnout Engelen 4e5a07e795 Check if the font size really needs to be changed
Changing the font size also causes the current selection to be lost, so it's
nice to avoid it when not needed.
2016-05-26 17:57:46 +02:00
Boris Faure bd769a926b configure.ac: actually look for elm_win_teamwork_show() to know if available 2016-05-21 22:29:38 +02:00
Mike Blumenkrantz f1e1a6edd8 upgrade to teamwork v2, remove dbus (v1) usage 2016-05-20 15:37:55 -04:00
Boris Faure d9276909a4 add option to enable bold/italic (on by default) 2016-03-18 20:04:10 +01:00
Boris Faure 629e604704 termpty_cellrow_get() might return NULL. CID1352819 2016-03-12 17:23:37 +01:00
Boris Faure 8d0e13eff9 ensure CWD is NULL-terminated. CID1352820 2016-03-12 17:11:01 +01:00
José Roberto de Souza ae7e96633a Allow user to set the title of the each tab 2016-03-04 11:34:24 -03:00
Boris Faure b74cfc752a do not append \n at end of box selection 2016-02-07 18:15:00 +01:00
Boris Faure bed1532e19 remove callbacks early when pty exists 2016-02-02 23:34:54 +01:00
Boris Faure 1100f4d964 do not use edje cb when term quits. Closes T3105
Also reorganize the code a bit
2016-02-02 23:15:50 +01:00
Andy Williams ca96a35da7 [zoom] Smooth the scaling of fonts when zooming
Capture font size when gesture begins and correctly
update scale based off that until gesture ends.

Test plan:
1) hold Ctrl and scroll the mouse wheel in then out
in a single motion
2) notice zooming continues in initial direction
and accelerates towards the min or max

With patch it will adjust more smoothly and also
match the current zoom of the gesture.

@fix
2016-01-29 14:27:26 +00:00
Boris Faure 4367b4ceb6 fix selections (again and again) of single-char words 2016-01-27 21:08:45 +01:00
Boris Faure 84c1c77757 oops. Always use curly braces… 2016-01-27 20:17:15 +01:00
Boris Faure 98671b2493 fix one-char selections 2016-01-27 12:49:24 +01:00
Mike Blumenkrantz 7f53f4daf7 do not force full textgrid width update if preedit_str is ""
in many cases this will be the value which has been set, so ignoring it
will yield moderate performance improvements

Reviewed-by: Boris Faure <billiob@gmail.com>
2015-12-15 17:30:02 -05:00
Boris Faure 4c53f10bf0 do not right trim "." on word selection
this makes double click on "../foobar"
2015-09-20 15:42:28 +02:00
Boris Faure 9c4167f74f always support double-width 2015-09-19 16:23:41 +02:00
Boris Faure 2b3eda694f always support italic 2015-09-19 16:18:17 +02:00
Boris Faure cb531b5d9b correctly set bold, even if textgrid do not support it (yet) 2015-09-06 23:52:43 +02:00
Boris Faure 22ae02127b fix copy/paste bug. CID1316546 2015-09-01 23:45:18 +02:00
Boris Faure 45b7d20425 trim selection before trying to open it as url 2015-08-24 23:45:14 +02:00
Boris Faure cf58c1ee76 add context menu to open a selection as an url. Closes T584 2015-08-24 23:09:24 +02:00