Commit Graph

296 Commits

Author SHA1 Message Date
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 e953a2e4ea and handle loop.. or not looping.. i there is a queue. :)
SVN revision: 81688
2012-12-25 15:14:36 +00:00
Carsten Haitzler f0da587105 put some meat on the terminology custom escape handling BONES!
SVN revision: 81687
2012-12-25 14:47:54 +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 52b938fedc fix file path link detect.
SVN revision: 81685
2012-12-25 01:15:56 +00:00
Carsten Haitzler 1982be3087 oops - return with boolean from timer cb.
SVN revision: 81679
2012-12-24 11:25:10 +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
Carsten Haitzler 4cb6987ecf ummm shouldnt dbg.. be a dbg log? :)
SVN revision: 81013
2012-12-15 07:48:17 +00:00
Carsten Haitzler d5bdabb2bc make the new opt stuff for 1.8 and newer only.
SVN revision: 81011
2012-12-15 04:26:13 +00:00
Boris Faure d18cc90367 terminology: cleanup escape sequences parsing. Fix #1628
Charset length for example was not correctly handled and could even lead
to segfaults.

SVN revision: 80980
2012-12-14 18:52:19 +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 53aa6d66fc Revert "terminology: use solarized colors"
This reverts commit cf35576bd3e5cf4f95ef637f6c55ebd0b91317cd.

SVN revision: 78930
2012-11-05 15:31:45 +00:00
Boris Faure a8272ed352 terminology: use solarized colors
SVN revision: 78928
2012-11-05 15:29:39 +00:00
Sebastian Dransfeld 9336575145 Fix typo
SVN revision: 78638
2012-10-30 08:15:17 +00:00
Boris Faure 9e0d981e24 terminology: fix is_dblwidth
should use a proper bitmap someday…

Fixes #1687

SVN revision: 78627
2012-10-29 22:04:21 +00:00
Boris Faure 4b64f43863 terminology: fix potential segfault when writing after end of line
SVN revision: 78619
2012-10-29 19:02:40 +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
Boris Faure db90244654 terminology: correctly set device id
In vim, 'set ttymouse' was returning 'xterm' and not 'xterm2' because
the device id was incorrectly returned.

SVN revision: 78411
2012-10-24 21:34:25 +00:00
Stefan Schmidt 8b54f15969 terminology: Don't shadow a previous local i here.
I is such a popular variable name. :)

SVN revision: 78371
2012-10-23 14:47:51 +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
Carsten Haitzler 26c02a3f9e oops i broke url fetching in generla in terminology! fix!
SVN revision: 78155
2012-10-18 07:55:53 +00:00
Carsten Haitzler a66f961eb0 nicer helpers options.
SVN revision: 78107
2012-10-17 08:07:49 +00:00
Boris Faure 7d01e6ad09 terminology: reset scroll state on "clear all"
SVN revision: 78070
2012-10-16 19:38:32 +00:00
Cedric BAIL 48f15f3850 terminology: revert r77987 as it break htop.
SVN revision: 78039
2012-10-16 07:56:27 +00:00
Boris Faure ca40aa9b8e Revert "terminology: use solarized colors"
SVN revision: 77988
2012-10-15 08:18:42 +00:00
Boris Faure b605dfa84b terminology: reset scroll markers once done
SVN revision: 77987
2012-10-15 08:18:27 +00:00
Boris Faure 28cd2ef56f terminology: use solarized colors
SVN revision: 77986
2012-10-15 08:17:15 +00:00
Gustavo Sverzut Barbieri 4f0ec86b00 hard dep on efreet.
SVN revision: 77684
2012-10-09 20:20:28 +00:00
Gustavo Sverzut Barbieri cb10618af3 use better variables to fallback home configuration dir.
SVN revision: 77665
2012-10-09 17:37:11 +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 0a4938a4f2 utils: add and use homedir_get()
SVN revision: 77663
2012-10-09 17:20:27 +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 08e164ce10 casestartswith() macro to help strncasecmp() with static comparison.
SVN revision: 77654
2012-10-09 15:14:24 +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
Gustavo Sverzut Barbieri 52af5639d7 properly handle youtube url
previously this case would fail:

http://myserver.com/?dst=www.youtube.com&x=y

we must check ".youtube.com" is before the query start (?).



SVN revision: 77645
2012-10-09 14:16:45 +00:00
Carsten Haitzler c5fcea8bbe handle direct youtube media links as mov style. :)
SVN revision: 77634
2012-10-09 10:40:06 +00:00
Sebastian Dransfeld 4df8415b4e terminology: mark/remove unused variables
SVN revision: 77628
2012-10-09 08:40:48 +00:00
Sebastian Dransfeld 32a57202ba terminology: add header for theme_apply()
SVN revision: 77627
2012-10-09 08:40:37 +00:00
Boris Faure 41c7edd9d9 terminology: revert 77549,77551 about fixing a vim issue.
Will investigate further.

SVN revision: 77616
2012-10-09 07:47:24 +00:00
Boris Faure 39d2fea874 terminology: add missing parentheses
SVN revision: 77551
2012-10-06 20:53:45 +00:00