Commit Graph

209 Commits

Author SHA1 Message Date
discomfitor 82f4d3546a improve previous smart queue commit by deleting existing animator
this completely fixes annoying issues where mousing out of the terminal fails to de-linkify text

moderately reviewed by: billiob
2013-10-20 15:31:19 +01:00
discomfitor 2ad1d55e59 only queue smart updates from termio_mouseover_suspend_pushpop when link.suspend is 0
almost reviewed-by: billiob
2013-10-20 08:15:24 +01:00
Boris Faure e45fec3127 try to avoid a race when moving cursor out 2013-10-20 01:22:17 +02:00
Boris Faure 5bf1dd9ca2 now that T441 is fixed, always remove links on MOUSE_OUT 2013-10-20 01:09:33 +02:00
Boris Faure b66dc2a3a0 fix CID 1100641 - uninitialized scalar variable 2013-10-14 23:32:48 +02:00
Boris Faure 55200014a9 invisible should not show previous underline/strikethrough 2013-10-14 23:19:01 +02:00
Boris Faure b10714adeb let me click on link while some strange bug is fixed
See T441
2013-10-14 22:46:08 +02:00
Boris Faure 36ba3bf3ed out coords are -1
this fixes some other cases of links not disappearing on mouse out
fixing selection will come later
2013-10-13 17:13:16 +02:00
Carsten Haitzler 6ea8622ecc make url link disappear on focus change ANd ensure it stays invisible then 2013-10-13 15:55:43 +09:00
Boris Faure 0a53ff6cd1 really remove links 2013-10-08 23:28:52 +02:00
Boris Faure 585ed2c323 fix (some cases about) link still showing up when they shouldn't 2013-10-08 22:26:06 +02:00
Boris Faure 579c64878a simplify code 2013-10-08 22:25:23 +02:00
Boris Faure f539eba7ca screw terminfo: have a config to decide whether erase is del or backspace
One day I'll have to dig into the terminfo/termcap mess :(
Maybe get the O'Reilly book about it…
2013-09-26 21:19:18 +02:00
Boris Faure ef543aa753 have a config to choose whether to set TERM to xterm-256color 2013-09-26 21:18:27 +02:00
Lucas De Marchi f8ff064499 Add option to disable drag and drop
Enabling drag and drop on a desktop (!touch) is too cumbersome: we
aren't allowed to select part of the link anymore since it would start
the drag and drop operation.
2013-09-12 03:05:18 -03:00
Mike Blumenkrantz 70d71d21a0 use new elm_win_window_id_get to return wayland-compatible surface id: terminology is now wayland-teamwork compatible 2013-09-10 13:57:45 +01:00
Boris Faure 71d4f155be change cursor/selection when changing theme 2013-09-07 18:39:22 +02:00
Carsten Haitzler 3a2a58473b ad erro handling for pty alloc (never seen it fail!) 2013-08-30 12:14:18 +09:00
Boris Faure e710205122 try to fix some link/selection mess 2013-08-29 18:26:46 +02:00
Boris Faure d746dccf4a clicking on links works again 2013-08-29 15:51:59 +02:00
Boris Faure 2c5828f5e2 fix extending selection with shift + double click. Closes T228 2013-08-29 14:00:29 +02:00
Boris Faure 30392f23a9 s/__UNUSED__/EINA_UNUSED/g 2013-08-27 15:36:50 +02:00
Boris Faure abb0ea2a95 fix line selection (triple click). Closes T305 2013-08-27 15:17:25 +02:00
Boris Faure d63629ccbf fix 58ec67bfa about removing shadow variables 2013-08-26 21:05:09 +02:00
Boris Faure 9d000c7c1d fix word selection on multiple lines. Closes T305 2013-08-26 20:44:46 +02:00
Boris Faure 58ec67bfa2 termio: remove shadow variables 2013-08-26 16:29:43 +02:00
Boris Faure 90311900bb termio: add some static 2013-08-26 16:22:01 +02:00
Boris Faure ec577e396c remove links on mouse out/focus out. Closes T299 2013-08-26 16:16:21 +02:00
Carsten Haitzler 3fcaad12ed restore some shift based keyinput after fex to use key not keyname. 2013-08-05 11:36:04 +09:00
Carsten Haitzler 8e6c0c563e use key not keyname so xmodmap works 2013-07-31 15:14:32 +09:00
Carsten Haitzler 38d468fc61 remove warngings 2013-07-30 20:19:07 +09:00
Boris Faure 79194c8550 do not free link objects already on mouse_out 2013-06-23 11:38:58 +02:00
Chris Michael 8d8cae6a46 Remove unused variable.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-19 09:21:58 +01:00
Mike Blumenkrantz b23fbc392b more accurate link mouse-out detection, fix teamwork signals, update teamwork to new api 2013-06-19 08:03:53 +01:00
Boris Faure 84ecbd67b1 dbus: also send events about links to files 2013-06-17 10:08:54 +02:00
Boris Faure 795594e9cb dbus-link: use real coordinates 2013-06-16 00:17:52 +02:00
Boris Faure 22be3b7609 fix dbus signatures 2013-06-15 23:51:03 +02:00
Boris Faure 6d8c81050e change dbus link_detect to mousein/out 2013-06-15 23:37:10 +02:00
Boris Faure b9ec1cad13 compat: fix mouse wheel in utf8 mode
Closes task 87.
Tested with weechat.
2013-06-09 12:03:52 +02:00
Boris Faure 612400507f add termio_win_get(); 2013-06-09 12:03:51 +02:00
Jean-Philippe Andre 34c7586ff5 Enhance link copy UX
Now right-click on a link will allow you to copy said link
Keep link hilight active when control popup is on
And discard when control menu goes away...
2013-06-09 11:57:31 +02:00
Boris Faure ce9220ef35 fix termio_selection_get() on backscroll
Add a newline if trying to select after the end of line
2013-06-06 23:02:32 +02:00
Boris Faure 0c1739cd28 selection: fix multiline backscroll selection
If the 2nd selected line has a width of 4 but the cursor was at pos 6 on
the 1st line, this line would get lost.
2013-06-04 23:10:58 +02:00
Boris Faure 17a70c5ba2 fix detecting link on last char of a backscroll line 2013-05-21 21:47:22 +02:00
Boris Faure 034d4cf9de termio_selection_get() set length of the string returned
Also fix possible segfault in _termio_link_find().
2013-05-21 21:45:34 +02:00
Boris Faure 18e97fa840 termio: return NULL when selection is empty
This fixes issues with link detection in backscroll.
2013-05-20 15:57:20 +02:00
Carsten Haitzler 2ab6290839 Terminology: fix tab hotkey with UIM-XIM
Tab switch hotkeys are broken when using UIM-XIM.
Ctrl-1 displays "1" and doesn't switch tab as the control code is
supposedly handled by the IMF (even if it is not by configuration).

Note: not sure what the behaviour should be if UIM is configured to
catch Ctrl-1 sequences?

Setup UIM-XIM if possible.
Export ECORE_IMF_MODULE=xim.
Open terminology, create tab, press Ctrl-1. Should switch tab and not
display "1".
2013-05-08 12:30:37 +09:00
Carsten Haitzler c2535d52b6 Revert "move ctrl+0,1,2... before imf processing so it works with imf on."
This reverts commit dd23ed64be.
2013-05-08 12:26:05 +09:00
Carsten Haitzler dd23ed64be move ctrl+0,1,2... before imf processing so it works with imf on. 2013-05-08 12:23:33 +09:00
Carsten Haitzler 229b92f72f ctrl+0,1,2,3...9 for tab switching. 2013-05-07 14:51:02 +09:00