Boris Faure
337fd3bdb1
minor selection fixes
...
do not consider "click + shift click" if there was a focus out in the
meantime.
disable selection on click when app steals the mouse
2015-02-10 23:55:25 +01:00
Boris Faure
cc6b11a6f5
make selection scroll when at the edge of the terminal. Closes T1944
2015-02-06 22:31:51 +01:00
Boris Faure
f0151cecf2
consider "blocks" as word separators
2015-02-06 22:10:10 +01:00
Boris Faure
26f2607095
select links as words. Closes T2038
2015-02-06 22:10:10 +01:00
Boris Faure
5a9dcf1ed3
do not apply extend fix when selection is box
2015-02-06 22:10:10 +01:00
Boris Faure
788f3e7eb7
rewrite selection system. Closes T1893
2015-02-06 22:09:52 +01:00
Boris Faure
6a2b3ae871
selection: add click then shift-click
2015-02-06 20:48:03 +01:00
Boris Faure
d18a47c5c6
selection: be able to "continue" a selection to a line with shift+triple-click
2015-02-06 20:48:03 +01:00
Boris Faure
da474a4c68
cleanup _sel_set() api
2015-02-06 20:48:03 +01:00
Boris Faure
e94051dd86
make selection consistent when selecting space with no text. Closes T2013
2015-01-30 00:24:55 +01:00
Boris Faure
bfa9cd30e7
fix shadowed variable
2015-01-11 13:48:05 +01:00
Carsten Haitzler
0104ce64a9
input methods - display preedit text inside grid - makes it work on wayland
...
@fix - this makes preedit text while composiing display within
terminology like elm entry and edje entry do. no overlayed preedit
window/box. this means that the pre-display has to be done by
terminology, which this does, but it means wayland now can display
preedit strings in terminology like in elm/edje entries too.
2015-01-07 22:35:49 +09:00
Carsten Haitzler
3ad611a828
Revert "top-level tabs"
...
This reverts commit c6b5d0798f
.
2014-12-03 08:42:46 +09:00
Boris Faure
c6b5d0798f
top-level tabs
2014-11-29 22:05:18 +01:00
Boris Faure
2568c50a40
set media type as an enum
2014-10-15 21:44:58 +02:00
Boris Faure
c7f71d75e8
termio: cleanup some termio_config_get() uses
2014-10-15 21:44:58 +02:00
Boris Faure
e8050e6e28
gravatar: use a tooltip
2014-10-15 21:44:58 +02:00
Boris Faure
f3a0e92e56
very early work on gravatar integration
2014-10-15 21:44:58 +02:00
Boris Faure
32fb73b733
termio: clean up _update_link()
2014-10-15 21:44:58 +02:00
Boris Faure
6f27cdc3ec
key bindings now support the win key
2014-09-30 22:07:28 +02:00
Cedric BAIL
16fa4ff0c3
termio: add '|' to the list of word separator.
2014-09-24 15:28:21 +02:00
Boris Faure
0fe0007e42
grr, fix previous commit. Thanks again to Godfath3r
2014-09-23 22:10:12 +02:00
Wonguk Jeong
6c8af4f82c
media: fix replay on stop bug in tycat
...
even if stop button in media control has been clicked, media is not stopped but is replayed in tycat
Fixes T1560
2014-09-15 12:01:22 +02:00
Boris Faure
2f9532d28c
store keybindings in a hash map
2014-09-02 20:42:45 +02:00
Boris Faure
34979f1ce4
get rid of Eina_Bool in bitfields
2014-08-28 21:04:00 +02:00
Boris Faure
1ef2fbb8a3
refactor keys handling in termio: move to keyin, 2nd round!
2014-08-22 21:54:04 +02:00
Carsten Haitzler
117d9e7840
Revert "refactor keys handling in termio: move to keyin"
...
this breaks emacs and jed totally - ctrl+space to do selection blocks
is gone! :(
This reverts commit 9215f941e9
.
2014-08-22 14:12:04 +09:00
Boris Faure
9215f941e9
refactor keys handling in termio: move to keyin
2014-08-21 23:29:53 +02:00
Wonguk Jeong
bce172cc87
media: audio visualization support (phase 1)
...
support audio visualization for typop, tycat
This is just first phase with hard coded type (EMOTION_VIS_LIBVISUAL_INFINITE)
TODO:
1. configurable visualizing type in option
2. hide visualizing option if it is not supported.
(it's currently supported with "gstreamer" engine)
2014-08-21 20:32:58 +02:00
Boris Faure
4b425b9054
constify key_down event in termio
2014-08-19 23:09:50 +02:00
Boris Faure
901807fc09
also remove debugwhite
2014-08-19 22:48:00 +02:00
Boris Faure
ed3bc87316
try to reorganize termio.c
2014-08-19 22:39:32 +02:00
Boris Faure
19734613d1
get rid of mirror stuff, it is not used
2014-08-19 21:45:27 +02:00
Wonguk Jeong
23ee76e572
media: raise media control above selection event obj
...
Fixes T1454
2014-08-18 17:56:58 +02:00
Carsten Haitzler
4fe0c07254
add : to word separators
2014-08-18 17:18:03 +09:00
Boris Faure
fa88d971b1
remvove links when content change underneath
2014-08-17 16:46:16 +02:00
godfath3r
6e82dff4e0
termio: add Shift + Up/Down shortcut for +1/-1 line scroll navigation
...
Reviewers: billiob
Differential Revision: https://phab.enlightenment.org/D1336
2014-08-16 18:46:26 +02:00
godfath3r
31da027aef
miniview: scroll position indicator when jump on change isn't checked.
...
Summary:
Fix indicators position when your are at some place in scrollback
and terminal outputs some new lines (say from a running command). It
now scrolls to where it should be.
Reviewers: billiob
Differential Revision: https://phab.enlightenment.org/D1335
2014-08-16 18:45:14 +02:00
Carsten Haitzler
149d23d484
re-fix wrodsep to work again and not segv
2014-08-15 20:20:15 +09:00
Carsten Haitzler
cd0bfa5d0c
fix segv on word set search
2014-08-15 20:00:24 +09:00
Boris Faure
572f2301f5
fix out of bounds access. CID 1231069
2014-08-13 03:20:19 +02:00
Boris Faure
c14f6949ae
wordseparators shouldn't be in the config, the ui is unusable
2014-08-12 22:07:03 +02:00
Boris Faure
9e685ffbd2
cleanup timers in termio.c
2014-08-04 21:43:45 +02:00
Boris Faure
7de97c0007
don't waste cpu mouseover when the mouse is not moving. Closes T1457
...
_termio_link_find() is the real culprit here but it's not yet its time to
get rewritten.
2014-08-03 21:05:03 +02:00
Wonguk Jeong
7efef95b14
termio: audio mute for activate media block support
...
activate media block was not affected by audio muted setting.
testplan:
1. tycat media file
2. option->video->Audio muted
3. check whether the media block is muted/unmuted properly
2014-07-29 04:00:51 +02:00
Boris Faure
601450db01
review translation strings. Closes T1433
2014-07-26 11:37:27 +02:00
Boris Faure
8a3c15e08e
gettextify termcmd.c,termio.c,termpty.c,termptyesc.c
2014-07-26 11:37:26 +02:00
Godfath3r
5db4ef8519
Terminology: Miniview: add position indicator
...
Summary: Merge branch 'miniview_indicator'
Reviewers: raster, billiob
Maniphest Tasks: T1417
Differential Revision: https://phab.enlightenment.org/D1150
2014-07-15 12:27:27 +02:00
Mike Blumenkrantz
3f53f0aa5e
disallow tw popups while terminology popup is present
...
fix T1290
2014-07-03 11:14:24 -04:00
Iván Briano
fd065b81f7
Don't add unnecessary newlines on selections.
...
We were adding newlines on wrapped lines that ended with a ' '. I don't
see anything breaking by removing this check, but if something does,
please be clear about it.
2014-06-30 00:29:38 -03:00
Boris Faure
669a107be7
fix missing newlines on selections. Closes T1387
2014-06-29 17:19:11 +02:00
Boris Faure
a3492b980f
add ISO_Level3_Left to _is_modifier()
2014-06-21 14:56:11 +02:00
Boris Faure
9f5d1ad674
fix selection when in scrollback when underneath scrolling occur
2014-06-15 22:50:26 +02:00
Boris Faure
92555866ee
adjust scroll with direction
...
never noticed the bug but might occur
2014-06-15 22:49:13 +02:00
Boris Faure
7191991aec
remove debug
2014-06-15 22:29:56 +02:00
Boris Faure
2f851eb9a0
miniview: (shift/ctrl/alt)PgUp/Down to scroll
2014-05-14 23:17:24 +02:00
Boris Faure
d72a0cbec3
miniview: close from edj
2014-05-13 23:09:59 +02:00
Boris Faure
42cbf2f0ed
miniview: fix with splits
2014-05-13 22:23:34 +02:00
Boris Faure
73930a6712
miniview: have only one buffer
2014-05-13 22:23:34 +02:00
Boris Faure
e5c8da2cbd
miniview: correctly handle resizing
2014-05-13 22:23:34 +02:00
Boris Faure
eddec5e387
miniview: have ctrl-shift-h toggle the miniview
2014-05-13 22:23:33 +02:00
Boris Faure
d4ce1166c6
miniview: use an image ftm
2014-05-13 22:23:33 +02:00
Boris Faure
b8cd00dadd
add termio_pty_get()
2014-05-13 22:23:33 +02:00
Boris Faure
23d3944b76
miniview: cleanup
2014-05-13 22:23:33 +02:00
Godfath3r
a5bb346937
add miniview feature to terminology.
...
Pressing ctrl+shift+f toggles miniview on the side of each terminal/split/tab
2014-05-13 22:23:33 +02:00
Boris Faure
b504db6cba
play a bit with pahole
2014-05-08 14:07:37 +02:00
Boris Faure
c3c8310218
Fix bracketed paste mode. Closes T1233. Patch by Egmont
2014-05-07 20:41:14 +02:00
wonguk.jeong
f6496d90c2
terminology: remove unncessary code
...
Summary: @fix
Reviewers: raster, billiob
CC: seoz
Differential Revision: https://phab.enlightenment.org/D789
2014-04-24 22:25:32 +09:00
Wonguk Jeong
e717b71589
terminology: restore movie play state when the media block is reactivated.
...
Summary:
first phase to resolve T1075
With D786, the paused video would be in paused state even if the media block is reactivated.
But the problem is....
every backend except "gstreamer1" doesn't show any image on screen when the video is loaded in paused state. (it's working perfectly with gstreamer1)
maybe the root cause is that frame decoding is never happened yet.
This need to be investigated, in the next phase (maybe in emotion or emotion modules?)
@fix
Test Plan: terminology -> tycat -> pause video -> page down enought until the video block is deactivated -> page up -> check whether the video is in paused state or not
Reviewers: raster, billiob
CC: seoz
Maniphest Tasks: T1075
Differential Revision: https://phab.enlightenment.org/D787
2014-04-24 18:10:29 +09:00
Boris Faure
6fd4e8c57a
add an option to decide whether the bell rings
2014-04-22 23:38:03 +02:00
Wonguk Jeong
e2c687cf99
terminology: recalculate textgrid size when config is updated
...
Summary:
When configuration (font size, face..) was changed, textgird size was not recalulated properly.
Fixes T945
Test Plan: terminology -> maximize window -> font change (size) -> check whether max col/row are fit on window size
Reviewers: raster, cedric, billiob
Reviewed By: billiob
CC: seoz
Maniphest Tasks: T945
Differential Revision: https://phab.enlightenment.org/D772
2014-04-22 20:31:59 +02:00
Boris Faure
dafb51f66e
fix CID1100650: possible NULL dereference
2014-04-12 14:33:31 +02:00
Jason L. Cook
5e70628dae
Added config directive for Active Links, defaulting to true
...
Summary:
Added element ot config struct to support toggling of Active Links
Added boolean to support Active Links config directive
Added configuration directive for Active Links
Return from appropriate functions if Active Links is disabled
Test Plan: Reviewers
Reviewers: billiob, raster
CC: billiob, raster
Differential Revision: https://phab.enlightenment.org/D689
2014-04-11 21:30:52 +02:00
Boris Faure
3d137aa3e9
fix wrong assignement
2014-03-25 21:58:15 +01:00
Boris Faure
9346db3ba7
initialize some variables
2014-03-25 21:57:34 +01:00
Boris Faure
00fbb359ee
fix possible NULL issues
2014-03-25 21:49:46 +01:00
Boris Faure
ebfce9e480
please clang-analyzer with false unintialized arguments
2014-03-25 21:43:11 +01:00
Boris Faure
6d20de8327
fix shift+insert. Closes T1060
2014-03-06 21:59:38 +01:00
Boris Faure
28fcabc860
fix Alt+X. Adopt the rxvt way. Closes T713
2014-03-02 11:06:46 +01:00
Boris Faure
29418fdc55
fix zoom. Closes T888
2014-03-01 17:59:01 +01:00
Boris Faure
90b3a93698
fix ctrl+minus. Closes T922
2014-02-24 23:50:06 +01:00
Carsten Haitzler
ff02942bdb
Revert "force grid size. Closes T662"
...
This reverts commit 98fd3b0a11
.
this causes terminology to no longer handle resizes at all! :( pretty
bad!
2014-02-02 20:28:29 +09:00
Boris Faure
98fd3b0a11
force grid size. Closes T662
...
This commit was done at the enlightenment stand at FOSDEM
2014-02-02 10:50:12 +01:00
Boris Faure
1138863964
should fix latests selection issues
...
Fix case when unselecting with single click + shift (useful in vim for
example).
2014-01-31 21:51:26 +01:00
Boris Faure
da8544728b
do not send mouse when making a selection
2014-01-29 21:41:13 +01:00
Boris Faure
9fa4ee1d54
fix selection with shift to avoid mouse mode. Closes T863
2014-01-28 22:32:05 +01:00
Jean Guyomarc'h
2626037407
Fix a compatibility issue with OSX. There is no /proc on this damn system. A possible workaround is to use libproc (built-in).
...
Reviewers: billiob, raster
Differential Revision: https://phab.enlightenment.org/D498
2014-01-26 12:20:38 +01:00
Boris Faure
fd43c274c1
fix pasting for real… Closes T706
2014-01-22 22:12:01 +01:00
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
Gustavo Sverzut Barbieri
6562cdabc2
termio: allow monitoring if selection exists.
...
Export new termio_selection_exists() and two signals: "selection,on"
and "selection,off". These will be used to control the state of the
"copy" button and menus (when those exist).
2013-11-01 16:43:30 -02:00
Carsten Haitzler
476915c5cf
oops - i thought i committed this - remove commented out code from prev commit
2013-10-31 16:10:55 +09:00
Carsten Haitzler
5958eff338
unbreak inlined media being unparented when tab selector is used
...
82f4d3546a
introduced this bug (oct 20
2013 - discomfitor). now missing a _smart_apply() causes the bug. why
- not sure.
2013-10-31 16:07:05 +09:00
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
Carsten Haitzler
3fc3ce4c79
add whitepsace debug mode and termsave abstraction infra.
2013-05-04 11:45:45 +09:00
Boris Faure
b6d2b1b4ad
revert a bunch of commits that weren't ready for prime time
...
664c5a23: Revert "compat: csi parameters are always decimal"
3694c88c: Revert "compat: handle cursor-controls chars in ESC sequences"
16e143f9: Revert "compat: add margin top support on Origin mode"
4daccf1f: Revert "compat: add ugly testing code to change between 80/132 cols"
d5be8a64: Revert "add termio_win_get();"
cff21ea5: Revert "compat: only clear cells when scrolling to add text"
13a11e5a: Revert "compat: add some csi dec private modes TODOs"
65f07f77: Revert "handle DCS status string requests"
2013-05-02 10:33:39 +02:00
Boris Faure
d5be8a6483
add termio_win_get();
2013-04-21 23:07:14 +02:00
Carsten Haitzler
bf3e2ab5c0
comment--
2013-04-22 01:11:50 +09:00
Carsten Haitzler
a6abe0919a
complete message send-back to term pty.
2013-04-22 01:11:08 +09:00
Carsten Haitzler
377511d7f8
more work on inlined edje objects - allow multiple chid's to be active
...
to feed back multiple signals/events from differentinline objects.
2013-04-22 00:37:11 +09:00
Carsten Haitzler
3c5eb88047
fix up param parser for edje inlines
2013-04-20 22:41:10 +09:00
Carsten Haitzler
f5b84edbfd
more work ok direct edje inline content. u can send messages toit now
...
on init... and get signals... and drag events... but cant get messages
yet.
2013-04-20 16:54:11 +09:00
Carsten Haitzler
3aa98cd6f6
allow for raw edje files to be inlined ANd to set tet, emit signals to
...
them etc.
2013-04-20 10:37:05 +09:00
Carsten Haitzler
1f1fcf2dd2
escape filenames for terminology helpers.
2013-04-19 00:19:21 +09:00
Carsten Haitzler
4dd17b80aa
alt + 1,2,3,...8,9,0 switch TO terminal tab # 1, 2, ... 8, 9, 10
2013-04-18 23:56:12 +09:00
Carsten Haitzler
fc60732d64
use cwd of term when creating new ones with splits and tabs.
2013-04-15 23:54:47 +09:00
Carsten Haitzler
f005e70d4a
fix selection loss handling with multiple wins in 1 process.
2013-04-15 23:54:47 +09:00
Boris Faure
9511fe6f01
fix mouse interactions using urxvt style (in mc)
...
Bug easily fixed with the help of ptyproxy :)
2013-04-08 18:26:58 +02:00
Carsten Haitzler
4caebb56b7
fix some media handling of mp3's and music files with tyls+thumb links.
2013-03-28 20:14:56 +09:00
Godfath3r
28071e731e
fix boxsel misbehaviour when pasting with middle click.
...
When in terminology, user selects some text with boxselection (shift +
click/drag) and pastes in the same window with middle click.
The box selection then transforms into normal. Now it's fixed.
2013-03-22 20:37:04 +01:00
Carsten Haitzler
64196937ab
some cleaning up of pending things.. so we can do a terminology 0.3
...
:)
2013-03-20 19:00:05 +09:00
Carsten Haitzler
edd37bbae7
track term titles properly and put them in tab sel views. done for the
...
moment.
2013-03-20 13:47:56 +09:00
Carsten Haitzler
e60db60b12
guess what the cat dragged in... "tabs" in terminology. just a
...
selector right now that u call up from keybindings. if u switch terms
it kicks in with some visuals too. theme stuff is currently not
done/ready at all. just recycling terminolgy bg edje atm. havent done
anything to:
1. track "window titles" per term and put into tab term previews
2. make preview look decent (some shadowing and spacing between terms
etc.)
3. track/display things like bell alerts
still need to have a way to suspend/unsuspend invisible terms so media
stuff pauses in playback etc. etc.
2013-03-19 19:49:47 +09:00
Carsten Haitzler
eca8593193
infra for multiple terms per split slot.
2013-03-17 23:52:13 +09:00
Daniel Juyung Seo
150799348a
termio.c: check elm rather than ecore for the drag and drop.
...
1. This includes ecore check as well.
2. Check the version more properly.
2013-03-12 01:50:06 +09:00
Carsten Haitzler
de8141dec6
tyls now uses standard icons names for normal files (not starting with
...
/) so u see icons for files as well as thumbnails for videos, images,
svg's etc...
and now when u clikc on the icon... u launch it (folders launch in
efm... other file types open via the standard tools like with efm/e
etc. and highlighted links)
2013-03-11 20:44:27 +09:00
Carsten Haitzler
735d93fbc4
1. add the ability to have a link AND image path in inline images and
...
thumbs (allows for different thumbnail compared to what it links to).
2. fix if media obj is deleted on its own (stop button).
2013-03-11 16:56:07 +09:00
Boris Faure
01bf2409bd
fix segfault
...
when there is no cell, do not try to do stuff based on it.
2013-03-10 19:08:30 +01:00
Carsten Haitzler
6be6249ccd
oops forgot a printf removal.
2013-03-09 00:16:11 +09:00
Carsten Haitzler
2217166f40
make terminology handle multiple uri dnd of files and display in a
...
slideshow queue. :)
2013-03-09 00:13:32 +09:00
Carsten Haitzler
bc4014a2ba
adapt to dnd changes.
...
SVN revision: 84297
2013-02-22 08:49:21 +00:00
Carsten Haitzler
7397aced7e
u can dnd stuff TO terminology.. and it pastest in as text.. file
...
lists from efm, text from editors/browsers...
u can dnd links (file uril links terminology recognizes) TO other apps
or terminals... beware it uses a button. it's a bit ugly atm. need to
un-uglify.
both these need efl 1.8
SVN revision: 84283
2013-02-21 13:23:48 +00:00
Carsten Haitzler
2ebc8c42c6
stop jumping! zoom gestures are being called now.. :/
...
SVN revision: 84066
2013-02-18 16:07:30 +00:00
Carsten Haitzler
437ac7ba0b
clock on thumbs opens popmedia. :)
...
SVN revision: 84065
2013-02-18 15:31:54 +00:00
Boris Faure
48276b7cf4
box selection on alt/ctrl/shift
...
SVN revision: 83999
2013-02-16 14:44:45 +00:00
Boris Faure
5cfede02a6
add box selection by pressing shift while selecting text.
...
Patch from Panagiotis Galatsanos aka Godfath3r.
SVN revision: 83926
2013-02-14 21:44:16 +00:00
Carsten Haitzler
156b168979
inline thumb mode uses ethumb now... :)
...
SVN revision: 83566
2013-02-01 14:10:51 +00:00
Carsten Haitzler
800383bb0b
oops - slowness with link finding test case. fixed. now screaming
...
fast again :)
SVN revision: 83500
2013-01-31 05:23:25 +00:00
Carsten Haitzler
6618fb3262
require escape to bgein and end any run of chars that represent a
...
block item.
SVN revision: 83398
2013-01-29 03:34:50 +00:00
Carsten Haitzler
3b9b38b86c
make block insert allow the inserter to specify a character to replace
...
on insert. this allows multiple insertions to be "active
simultaneously". until all the inset chars are used up. need to wrap
these insert chars with begin/end escapes still for efficiency and so
you can use insert chars elsewhere in the same text output area.
also clean up warnings.
SVN revision: 83394
2013-01-29 00:43:13 +00:00
Carsten Haitzler
2781da8076
tcat... comes out to play fir the first time. not final... but a start.
...
SVN revision: 83385
2013-01-28 16:06:26 +00:00
Boris Faure
d9d7318041
termpty_init/shutdown() are now called globally
...
SVN revision: 83360
2013-01-26 22:22:39 +00:00
Carsten Haitzler
85e60bbf74
add keybinds to split terms.
...
SVN revision: 83358
2013-01-26 13:06:58 +00:00
Carsten Haitzler
a0ffffd42d
split your terminology man... split it! :)
...
SVN revision: 83090
2013-01-22 15:01:53 +00:00
Boris Faure
a7eb68799c
terminology: read colors from theme
...
SVN revision: 83019
2013-01-20 16:48:18 +00:00
Gustavo Sverzut Barbieri
6491067714
terminology: fix termio's Evas_Smart_Class inheritance usage.
...
- _smart_add(): if you set the smart data before clipped smart object
constructor, it will reuse that. No need to get, copy, free then reset.
- _smart_del(): clipped smart object will free(sd) already, no need
to do it again (double free).
SVN revision: 81869
2012-12-29 13:45:38 +00:00
Carsten Haitzler
ce00c0157f
ummm the problem must be elsehwere... as not calling the prent del
...
means we leak smart members and clipper objects on termio smart
shutdown. that'll be fun with > 1 term in a window. :( could you bring
up a valgrind trace etc. about this?
SVN revision: 81853
2012-12-29 02:52:48 +00:00
Mike Blumenkrantz
92d5cd9826
terminology crashes on close--
...
SVN revision: 81843
2012-12-28 20:30:31 +00:00
Carsten Haitzler
b5aff77833
work around edbus issues by forcing the mainloop to run at least one
...
cycle with some dummy things... in ipc launch mode.
also make selection jump to end if a newline is there - as disussed on
ml.
SVN revision: 81775
2012-12-28 02:28:39 +00:00
Carsten Haitzler
e401e87660
terminology can do multi instance now (in a single process). that
...
means 2 or 3 or more windows == same terminology process. there is a
checkbox to turn it on.
in theory it CAN do multipe terms within 1 windows, except there's
incomplete sizing logic code for hansling step sizing and min size
with multielp terms in the same window (imagine u laid them out in a
table grid... all we need is a table and pack n terms in and presto..
but the sizing will be "bizarre" at the moment)... if they are packed
on top of eachother like a notebook... sure - but no notebook widget
and no way to sensibly display and switch... but the code infra now
all supports it in theory. this is more about testing and making that
infra work. first will probably be a grid layout of some sort because
frankly... it's easier.
but for now... lets get this multi-instance fun on the table.
SVN revision: 81740
2012-12-27 11:20:32 +00:00
Carsten Haitzler
dbcac72da3
propagate excape command to main.c and put in some skeleton for
...
handling cmds.
SVN revision: 81686
2012-12-25 01:53:41 +00:00
Carsten Haitzler
7720a2e4f0
make fonts delay loaded .. with soem randomness so they dont batch all
...
at once...
SVN revision: 81658
2012-12-23 12:19:40 +00:00
Boris Faure
20ce6a52f6
terminology: remove trailing newline when selecting text. Fix #1967
...
Patch by Panagiotis Galatsanos <galatsanosp at gmail com>
SVN revision: 81644
2012-12-22 18:09:17 +00:00
Boris Faure
1434247df2
terminology: ' ' can be underlined or striken through
...
Commit on rev 78285 got wrongly removed.
Please, use svn revert (or git revert) instead of pushing some old working
code you had. I do hate wasting my time twice on the same bug I fixed weeks ago.
SVN revision: 80623
2012-12-10 21:52:39 +00:00
Boris Faure
2575234b18
terminology: fix mouse motion for all modes
...
SVN revision: 79642
2012-11-24 20:27:40 +00:00
Sebastian Dransfeld
a5f9a22da9
terminology: fix mouse tracking in vim
...
SVN revision: 79641
2012-11-24 19:55:37 +00:00
Sebastian Dransfeld
1dc602a8a0
terminology: defines for doublewidth
...
SVN revision: 79481
2012-11-20 21:18:42 +00:00
Boris Faure
d9e70cefbc
terminology: fix mouse button release handling
...
Need to send 3 to indicate Release instead of the button number.
SVN revision: 78472
2012-10-25 20:27:11 +00:00
Boris Faure
f5184b4364
terminology: report mouse wheel
...
SVN revision: 78471
2012-10-25 19:36:46 +00:00
Boris Faure
480c5506b7
terminology: rewrite mouse handling
...
Fix mouse in vim. Should also fix it in mc.
SVN revision: 78412
2012-10-24 21:34:36 +00:00
Carsten Haitzler
2c18ec8ba2
revert! broke terminology build completely.
...
SVN revision: 78312
2012-10-22 02:12:55 +00:00
Boris Faure
06b9d771df
terminology: ' ' can be underlined or striken through
...
This fixes cursorline in vim when it uses underline
SVN revision: 78285
2012-10-20 14:02:49 +00:00
Flavio Vinicius Alvares Ceolin
0dcc9e2044
Using the edje_codegen to handle with the theme
...
Using the code generated to handle the parts of the
edj file. Trying to avoid mistakes with the parts names and
make the code more independent from the theme (the parts can
change the name since it maintaining the same api)
SVN revision: 78271
2012-10-19 22:04:01 +00:00