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
Gustavo Sverzut Barbieri
f4c02d3e95
add termio_cwd_get(), may be useful in future.
...
When we add multiple tabs or windows, it may be useful to get the cwd
to keep context (konsole does that).
SVN revision: 77664
2012-10-09 17:32:29 +00:00
Gustavo Sverzut Barbieri
84d381344a
big time improvement: relative paths: ~/file, ./file and ../file
...
The current working directory is assumed to be the cwd of our shell
pid, discovered from /proc/$PID/cwd link.
SVN revision: 77662
2012-10-09 17:09:26 +00:00
Gustavo Sverzut Barbieri
bbb2a2d5af
support 'mailto:address'
...
SVN revision: 77661
2012-10-09 16:16:19 +00:00
Gustavo Sverzut Barbieri
2a0e0fd2b4
refactor url handling.
...
there are still some left to be done, will come to it later.
SVN revision: 77653
2012-10-09 15:11:09 +00:00
Gustavo Sverzut Barbieri
5bfed09e13
just highlight emails with domains containing a period.
...
While a domain "localhost" is valid, it's very annoying as most PS1
prompts are in the form 'user@hostname' and terminology will highlight
them. To avoid so just create links for user@hostname.something
SVN revision: 77647
2012-10-09 14:50:01 +00:00
Sebastian Dransfeld
3da3c04b5d
terminology: Ctrl+right always shows menu
...
SVN revision: 77510
2012-10-05 07:50:16 +00:00
Sebastian Dransfeld
3bd79e480c
terminology: handle mouse move
...
SVN revision: 77489
2012-10-04 23:19:17 +00:00
Sebastian Dransfeld
62998e5a97
terminology: No need to fetch smart data twice
...
SVN revision: 77488
2012-10-04 23:19:13 +00:00
Sebastian Dransfeld
7067a61849
terminology: Improve terminal mouse handling
...
No mouse interaction when terminal handles it.
SVN revision: 77487
2012-10-04 23:19:09 +00:00
Sebastian Dransfeld
d390987a75
terminology: remove double click flag
...
terminal control sequences knows nothing about double click
SVN revision: 77479
2012-10-04 23:18:35 +00:00
Sebastian Dransfeld
31e6db4883
terminology: Don't paste when in mouse mode
...
Fixes double pasting in vi. But there seems to be a selection problem in
terminology as it isn't possible to paste in vi when selecting from
terminology.
SVN revision: 77368
2012-10-03 12:23:06 +00:00
Flavio Vinicius Alvares Ceolin
22fba090a0
Adding support for selection of theme
...
SVN revision: 77333
2012-10-02 20:24:13 +00:00
Carsten Haitzler
57ef054525
support a login shell option.
...
SVN revision: 77141
2012-09-27 09:33:33 +00:00
Carsten Haitzler
ac5270c30d
add #include - missing and make pinch zoom gesture for font size
...
change ... less sensitive.
SVN revision: 76326
2012-09-08 00:26:09 +00:00
Gustavo Sverzut Barbieri
9237fe7786
open links with applications if "Control" is pressed.
...
It's handy to preview things in the terminal, but sometimes we want to
use the external applications (high res image to see details), then
holding "Control" while clicking the link will force the default
application.
SVN revision: 75631
2012-08-23 15:47:24 +00:00