Commit Graph

382 Commits

Author SHA1 Message Date
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
Boris Faure f820185c7e terminology: fix clear screen
SVN revision: 83309
2013-01-24 21:29:49 +00:00
Carsten Haitzler 097bf1a09d options work agai - less purty. i need to adapt options now to
grid/pane-term. - they should be an overkay over all terms, not done
inside per-term theme. split needed.



SVN revision: 83124
2013-01-23 05:53:18 +00:00
Cedric BAIL f32da4a10e terminology: just push a stupid micro optimization to just be below urxvt.
SVN revision: 83120
2013-01-23 05:11:29 +00:00
Carsten Haitzler 614699ede2 make config separate per term.
SVN revision: 83091
2013-01-22 15:37:47 +00:00
Carsten Haitzler a0ffffd42d split your terminology man... split it! :)
SVN revision: 83090
2013-01-22 15:01:53 +00:00
Cedric BAIL 1b69c6c544 efl: deprecate eina_unicode_utf8_get_next, add eina_unicode_utf8_next_get.
SVN revision: 83048
2013-01-22 02:00:55 +00:00
Boris Faure 526cc2aeac use device id from xterm
Should fix some emacs compatibility issues.
Bug was fixed with help from 'ptyproxy' I wrote:
https://github.com/billiob/ptyproxy

SVN revision: 83047
2013-01-21 22:51:26 +00:00
Cedric BAIL e36295ce3e terminology: improve speed of text scrolling by using a circular buffer.
SVN revision: 83038
2013-01-21 14:02:32 +00:00
Boris Faure be8f3a6aba terminology: add faint color support from edj
SVN revision: 83022
2013-01-20 21:02:22 +00:00
Boris Faure a7eb68799c terminology: read colors from theme
SVN revision: 83019
2013-01-20 16:48:18 +00:00
Cedric BAIL 548e12472e terminology: revert previous commit at it is not ready yet for primetime.
SVN revision: 83013
2013-01-20 10:48:17 +00:00
Cedric BAIL 61576f1496 terminology: use a circular buffer for the screen.
SVN revision: 83012
2013-01-20 10:15:47 +00:00
Cedric BAIL 37d7bdd9c2 terminology: small speedup by calling directly the underlying function.
SVN revision: 82934
2013-01-17 12:15:02 +00:00
Tom Hacohen afdf76e7aa Terminology: Removed unused var.
SVN revision: 82889
2013-01-16 14:43:51 +00:00
Lucas De Marchi 84564c8f5d terminology: remove hack that's not needed anymore
edbus doesn't crash efreet if the mainloop isn't ran anymore (see test in
edbus' testsuite) so lets remove the hack.



SVN revision: 82844
2013-01-15 21:58:18 +00:00
Carsten Haitzler 834f41cfe7 printf--
SVN revision: 82070
2013-01-03 12:28:52 +00:00
Carsten Haitzler a0dd78025a omg! accidentally left debugging for loop in! never mind! remove!
SVN revision: 82066
2013-01-03 12:12:26 +00:00
Carsten Haitzler e7cf702d6a set up argc/argv right so it ends up on the window in multi-instance
mode.



SVN revision: 82046
2013-01-03 07:50:54 +00:00
Carsten Haitzler a566c1f7be add version to about.
SVN revision: 82036
2013-01-03 06:11:06 +00:00
Cedric BAIL 9636a15f22 terminology: don't crash on ctrl-c.
SVN revision: 82034
2013-01-03 05:19:54 +00:00
Carsten Haitzler 7f5107b96d ok can remove broken ifdefs now.
SVN revision: 81883
2012-12-29 16:43:47 +00:00
Gustavo Sverzut Barbieri ac88f5579d terminology: fix typo, change to proper name.
it should be media, not meida, but anyway it's the parent smart class..



SVN revision: 81871
2012-12-29 14:02:05 +00:00
Gustavo Sverzut Barbieri cbf28bef32 terminology: media smart_class usage was also not great.
SVN revision: 81870
2012-12-29 13:59:41 +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
Mike McCormack dfd5b67b67 terminology: Use return value of cwd
SVN revision: 81861
2012-12-29 07:25:19 +00:00
Carsten Haitzler cf1c63c846 add more unique env vars to ipc id hash. i foudn these to be unique in
my vt sessions.



SVN revision: 81859
2012-12-29 03:42:11 +00:00
Carsten Haitzler ddc0c7499c make it a ifdef.
SVN revision: 81857
2012-12-29 03:17:30 +00:00
Carsten Haitzler e2e2bb1b59 emergency! edbus broke terminology. segv in efreet init which is
initting edbus stuff! i need my term to work.



SVN revision: 81856
2012-12-29 03:14:40 +00:00
Carsten Haitzler c89867a5c7 warn--, var grouping nicer.
SVN revision: 81855
2012-12-29 03:05:01 +00:00
Carsten Haitzler 970051e45a if ipc serve fails - try ipc send again.
SVN revision: 81854
2012-12-29 03:02:37 +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
Lucas De Marchi a9b695ebbd terminology: Fix Ecore version check
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81824
2012-12-28 16:11:02 +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 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
Boris Faure e097c4c8af terminology: fix vim issue
SVN revision: 77549
2012-10-06 20:23:20 +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 2a03fbbd04 terminology: Add DCS handler
SVN revision: 77485
2012-10-04 23:18:59 +00:00
Sebastian Dransfeld 64d87067ba terminology: Check for 7-bit ST (ESC \)
SVN revision: 77484
2012-10-04 23:18:54 +00:00
Sebastian Dransfeld 2b8026c24c terminology: Check for correct terminator
SVN revision: 77483
2012-10-04 23:18:50 +00:00
Sebastian Dransfeld 146ee734c7 terminology: define important chars for all file
SVN revision: 77482
2012-10-04 23:18:46 +00:00
Sebastian Dransfeld 60fc5e860c terminology: Fix typo in comment
SVN revision: 77481
2012-10-04 23:18:42 +00:00
Sebastian Dransfeld 500e7be8b2 terminology: pretend we are a new xterm version
This improves how vim interacts with terminology.

SVN revision: 77480
2012-10-04 23:18:39 +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 c6648aa523 terminology: Fix typo in comment
SVN revision: 77478
2012-10-04 23:18:30 +00:00
Gustavo Lima Chaves f7e338ebab [terminology] Handling csi escape code 'Z'.
Unfortunately it doesn't fix the 'rendering' problems of the
application it came from yet (mutt-kz), but it seems to be what
http://www.inwap.com/pdp10/ansicode.txt says it should do.

Anyone using mutt with a sidebar (only on sidebar showing mode we get
the booboos, but not on other terminals) willing to help? :P



SVN revision: 77442
2012-10-04 15:23:07 +00:00