Commit Graph

262 Commits

Author SHA1 Message Date
Carsten Haitzler 870d592139 set EMOTION_ENGINE to tyls (and ethumb etc.) can use it inside shell
this should fix T291
2014-01-22 20:32:25 +09:00
Carsten Haitzler 4891932444 fix escaping of file in helper run in 1 missed case
this fixes T814
2014-01-22 15:44:57 +09:00
Boris Faure 3b971ca7ab fix pasting. Closes T706 2014-01-20 23:10:49 +01:00
Boris Faure 3bb5343290 add warning when doing an incompatible paste 2014-01-20 23:04:51 +01:00
Boris Faure 5c9cfca23c fix mouse release on SGR mode. Closes T667 2014-01-18 18:34:38 +01:00
Boris Faure 5fb0023944 typo, oops 2014-01-18 01:20:04 +01:00
Boris Faure 333c56870c only change colors due to attributes with system colors 2014-01-18 01:16:56 +01:00
Boris Faure e88b9080eb do no handle horizontal scrolling. Closes T669 2014-01-18 00:48:24 +01:00
Boris Faure 4202010724 fix bold issue with 256 colors
test case was:
echo -ne '\033[38;5;7m\033[48;5;0m\033[1mfoo'
2014-01-18 00:13:29 +01:00
Boris Faure 00f627d354 do not set bg to INVISIBLE when using 256 colors 2014-01-15 23:30:43 +01:00
Boris Faure e3adfa2a2d remove unused variable 2014-01-12 23:16:15 +01:00
Aleksandar Popadić 9ac9719fe9 Rewrite colour setting in _smart_apply
Summary:
Rewrite colour setting to be more general. Before colour inversion
did not work with 256 colour palette.

Test Plan: echo -e "\e[7;38;5;240;48;5;255m####\e[0m" --> output is invisible

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D421
2014-01-12 23:15:18 +01:00
Boris Faure ac4117ce8a add bracketed paste (by egmont). Closes T670 2014-01-06 21:51:23 +01:00
Aleksandar Popadić cf5e838084 Do not scroll on Shift-PgUp when in alternate buffer.
Test Plan: build some history, vi, Shift+PgUp -> it scrolls when it shouldn't

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D422
2014-01-06 21:43:46 +01:00
zmike 954d6a0463 I cleverly added a comment stating that this #if wasn't a typo
...it was a typo
2014-01-06 08:17:16 -05:00
Chris Michael 26474588d1 Remove whitespace
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-01 15:54:06 +00:00
Mike Blumenkrantz 7a2d665610 fix teamwork with 1.9
this id encoding only gets applied for wayland-running clients...not sure if htis is the best way to detect it but it works
2013-12-30 18:32:22 -05:00
Mike Blumenkrantz 734b652cbf update teamwork usage for new version compat 2013-12-30 12:54:15 -05:00
Carsten Haitzler f40eab09f2 color options - fill in colors options panel.
this makes the colors config work and able to save/load a custom
color palette. when enabled it overrides the theme provided palette
for the "base" 48 colors (normal + bright with intense modes of each).
2013-12-16 23:53:01 +09:00
Boris Faure 6ea42c38ae fix mouse scroll on mode SGR/NONE. Closes T661 2013-12-15 21:54:52 +01:00
Boris Faure 73310b6c88 fix mouse scroll in mc. Closes T661 2013-12-15 21:33:23 +01:00
Boris Faure da8c2ce773 emulate cursors if needed on mouse wheel. Closes T411
This is done when in alternate buffer and no mouse mode is set.
2013-12-01 23:40:58 +01:00
Boris Faure fae338a84f typo. Closes T544 2013-12-01 19:07:39 +01:00
Boris Faure 185249b6bd use more safety macros on Termio *sd 2013-12-01 18:50:45 +01:00
Boris Faure 54aa692ee2 fix selection pasting on wrong term. Closes T408 2013-12-01 18:22:17 +01:00
Boris Faure fd38df3108 fix controls button "copy" not reflecting correct selection state 2013-12-01 16:49:35 +01:00
Boris Faure 0380b657c4 be able to do selections in a row
I do need to write some tests on all that selection mess…
2013-11-21 23:01:59 +01:00
Boris Faure c6af3675de fix "shift + dbl click" used to extend selection to a word.
imho, this feature is useless…
2013-11-21 22:45:32 +01:00
Boris Faure b149052d64 do not bring back a selection from the dead 2013-11-20 23:12:19 +01:00
Boris Faure e5efdabd27 do not send mouse tracking when ctrl/shift are pressed. Closes T39, T535
Do just like xterm. It uses them to show some popups.
Ctrl+mouse makes box selection.
2013-11-20 23:07:07 +01:00
Boris Faure 509a5d1a7b fix scrolling with selection on irssi in tmux. Closes T404 2013-11-18 22:30:26 +01:00
Boris Faure 35627a9395 remove useless code 2013-11-15 22:52:12 +01:00
Boris Faure 03802df2a9 simple click doesn't create one-char selection
(for real…)
2013-11-15 22:21:51 +01:00
Boris Faure 05ea863dc5 disable selection when resizing
because I don't want to deal with that for the moment
2013-11-14 23:24:45 +01:00
Boris Faure 997b83cad4 fix simple click producing one-char selection 2013-11-14 23:04:12 +01:00
Boris Faure 8c7dab9fdf remove selection when content selected changes 2013-11-11 18:08:02 +01:00
Boris Faure bc15fc6ff6 keep selection when scrolling 2013-11-10 22:13:19 +01:00
Boris Faure d682db21fb selection to the edges scrolls 2013-11-10 18:16:39 +01:00
Boris Faure 90d3bf483c fix stretching selection 2013-11-10 18:16:39 +01:00
Boris Faure 082942ef55 fix clicking to unselect 2013-11-10 18:16:39 +01:00
Boris Faure c16786416d simplify selection code 2013-11-10 18:16:39 +01:00
Boris Faure e9db7e6ed9 _smart_xy_to_cursor() now returns inside coordinates 2013-11-10 18:16:39 +01:00
Boris Faure 4ac9704be2 "#if defined(SUPPORT_DBLWIDTH)"--
and let the compiler remove the calls whenever needed
2013-11-10 18:16:39 +01:00
Boris Faure 4a9e61cb2e fix selection going up/left 2013-11-10 18:16:39 +01:00
Boris Faure 1dc0d30b60 reorganize structures about selection 2013-11-10 18:16:39 +01:00
Daniel Juyung Seo 20afe23c5b termio: fixed null pointer dereferencing issue.
This fixes coverity CID 1100645.
2013-11-08 08:32:47 +09:00
Boris Faure e724c8d0db missing EINA_UNUSED 2013-11-06 21:45:32 +01:00
Boris Faure 432587bc79 fix typo. CID 1126105, 1126106 2013-11-06 21:43:46 +01:00
Gustavo Sverzut Barbieri 016faae650 termio: right click on links show special menu.
This patches uses ctxpopup (ugh, this bitch is awful) to show a
contextual menu about that link with options such Preview (if able to
inline), Open (forces xdg-open) and Copy, then you don't have to
select a link in order to copy it :-)

This fixes T430 (terminology should copy link on right-click and no selection)
2013-11-01 19:26:03 -02:00
Gustavo Sverzut Barbieri 1745503b89 termio: do not handle selection if it doesn't exist.
A typical case is when you try to force xdg-open on a media (instead
of inline) by pressing "Control". This would trigger single-click box
selection on mouse-down but on mouse up the mouse didn't move yet. By
processing this as selection one also leaves the "didclick ==
EINA_TRUE" from mouse-down, leading the link to not be processed
(_activate_link() wasn't called).

PS: what an awful name is "didclick".
2013-11-01 17:11:10 -02:00