Commit Graph

104 Commits

Author SHA1 Message Date
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
Leandro Pereira a258b46431 terminology: Cleanup _smart_cb_key_down()
SVN revision: 75610
2012-08-23 09:44:31 +00:00
Leandro Pereira 6e04128e7d terminology: Add shortcuts to increase/decrease font sizes
Ctrl+Alt+=	Increase
	Ctrl+Alt+-	Decrease
	Ctrl+Alt+0	Normal size
	Ctrl+Alt+9	Big size



SVN revision: 75591
2012-08-23 06:21:30 +00:00
Carsten Haitzler 141119f0d2 good idea from gustavo - a g command for terminology's cmdbox.
g20x20 = make term 20x20 chars.



SVN revision: 75537
2012-08-22 10:34:28 +00:00
Carsten Haitzler 342795710b and adapt to the api i changed (a 1.7 api so no probs) for cnp.
SVN revision: 75524
2012-08-22 08:34:06 +00:00
Carsten Haitzler 32eef7b67f cleaner imf side-step on alt. :)
SVN revision: 75424
2012-08-19 03:32:39 +00:00
Carsten Haitzler da816d1bd6 streamline compose code - less cnp
SVN revision: 75397
2012-08-18 01:30:05 +00:00
Carsten Haitzler aca951e7c3 adjust command mode key.
SVN revision: 75302
2012-08-16 03:50:01 +00:00
Carsten Haitzler a684b21b57 add some infra for cmd-mode for terminology. only 1 working cmd atm
"f" (font changes)



SVN revision: 75254
2012-08-14 12:30:55 +00:00
Carsten Haitzler d99c9a920a enable url fetching for backgrounds AND media popups with nice busy
and and progress bar.



SVN revision: 75018
2012-08-08 13:15:54 +00:00
Carsten Haitzler 00e10bda2a add bunch of option s to terminology suggested by Thanatermesis - not
in the exact way asked due to ecore-getopt, but they are there
functionally.



SVN revision: 74884
2012-08-05 09:38:58 +00:00
Carsten Haitzler 2f980684bd make on key press jump actually just filter known lock/modifiers.
there's enough strcmps anyway. it isi JUSt a strcmp on a keypress...



SVN revision: 74514
2012-07-28 00:22:08 +00:00
Cedric BAIL 57f71763e1 terminology: always animate the right selector border.
SVN revision: 74200
2012-07-20 02:30:35 +00:00
Anisse Astier 38ea776f47 From: Anisse Astier <anisse@astier.eu>
Subject: [E-devel] [PATCH] Terminology : send bell signal to cursor

Some people are crazy, and might want to theme the cursor during bell.
Let's allow that.



SVN revision: 74176
2012-07-19 09:28:42 +00:00
Cedric BAIL 48f47fad26 terminology: resize an existing selection.
SVN revision: 74051
2012-07-18 08:36:28 +00:00
Carsten Haitzler 8a1e27df66 sex up the selection in terminology. :)
SVN revision: 73861
2012-07-15 04:49:20 +00:00
Carsten Haitzler 4e2d2fe856 fix selection to display right again.
SVN revision: 73803
2012-07-13 09:20:07 +00:00
Carsten Haitzler 89251d17d7 factor out link finding algorithm to its own file.
SVN revision: 73800
2012-07-13 09:12:01 +00:00
Cedric BAIL 01cefcedd7 terminology: temporary fix for selecting the first column.
SVN revision: 73783
2012-07-13 00:41:43 +00:00
Daniel Juyung Seo 98a812eea0 terminology termio.c: Warn--. Compare with the same type.
SVN revision: 73780
2012-07-12 23:09:40 +00:00
Carsten Haitzler c5b4a080ab printf--
SVN revision: 73607
2012-07-12 09:09:03 +00:00
Cedric BAIL 187443ad74 terminology: use edje for selection.
NOTE: I am ot really able to use GIMP/Inkscape, so plain
rectangle for the moment. Patch welcome.


SVN revision: 73570
2012-07-11 12:09:00 +00:00
Nicholas Hughart 9ef6a138c5 Avoid jumping on keypress for non-character keys.
Without this fix, trying to use shift+page up/down to scroll is very
cumbersome.  Other similar key combinations may exist, but I'm not 
sure.



SVN revision: 73546
2012-07-11 00:18:28 +00:00
Carsten Haitzler bc3ac248f5 1 more bug nuked. we must convert \n to \r from copy & paste in terms. yay!
SVN revision: 73407
2012-07-06 10:08:51 +00:00
Cedric BAIL 3656913985 terminology: let jump on keypress.
SVN revision: 73323
2012-07-05 04:36:47 +00:00
Carsten Haitzler f5bef8a0ed incoming sexiness... links, file paths, email addresses found in text
on mousover. highlight with a subtley animated underline and on
click.. do something sensible. the inline handler is the sexiest of
all. try local file pahts for now (full paths). as they work best.
remote urls for video files SHOULd work if they have http:// etc.
before them - no adjusting of loose ones. u may want to look at the
helpers config panel. internal handling of remote urls for media
doesnt download currently. still needs to be done. anyway. enjoy!



SVN revision: 73288
2012-07-04 14:44:43 +00:00
Carsten Haitzler 2f57d0c7a9 add to READMe and... add logic to find urls under the mouse. also
email addresses. seems to work well imho. :)



SVN revision: 73243
2012-07-03 15:25:19 +00:00
Carsten Haitzler 9b476039cf fix grid->text conversion to handle some space cornercases better.
SVN revision: 73236
2012-07-03 12:57:32 +00:00
Tom Hacohen a8594e252e Terminology: Listen to N_LONG_TAPS move instead of start.
SVN revision: 73188
2012-07-03 05:28:31 +00:00
Sebastian Dransfeld 5ecbbb7f23 terminology: Move mouse_rep out of state
Seems it shouldn't be swapped vim does:
mouse_rep = on
swap
mouse_rep = off
swap

which breaks mouse usage after using vim

SVN revision: 73137
2012-07-02 08:58:49 +00:00
Carsten Haitzler 654e760033 and now also use gesture layer for long-press for control panel and
zoom controls too for font size change (happens to make ctrl+mouse
wheel zoom too)



SVN revision: 73122
2012-07-02 03:47:02 +00:00
Carsten Haitzler f9474527a9 more touch (coform+imf) integration done in preparation.
SVN revision: 73120
2012-07-02 02:52:48 +00:00