Commit Graph

349 Commits

Author SHA1 Message Date
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
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
Christopher Michael a474cf4341 Terminology: Add missing UNUSED for functions which do not use 'data'
and other parameters.



SVN revision: 77234
2012-10-01 06:08:32 +00:00
Sebastian Dransfeld 9c9511429e terminology: Fix xterm escape termination
According to http://rtfm.etla.org/xterm/ctlseq.html xterm Operating
System Control escape sequences are terminated by ST or BEL.

This fixes #1499

SVN revision: 77198
2012-09-28 11:12:15 +00:00
Sebastian Dransfeld bb20618912 terminology: use enough space for output
If value is outside range it can use most of unsigned int range as it is
a unicode character.

SVN revision: 77197
2012-09-28 11:12:04 +00:00
Sebastian Dransfeld c8e8753ed7 terminology: input data is unsigned
Code inside debug block

SVN revision: 77196
2012-09-28 11:10:58 +00:00
Carsten Haitzler 57ef054525 support a login shell option.
SVN revision: 77141
2012-09-27 09:33:33 +00:00
Sebastian Dransfeld 1268f27d81 Check if mkstemps exists
"Fixes" #1533

SVN revision: 77035
2012-09-24 12:18:52 +00:00
Daniel Juyung Seo 6bfc4c1407 terminology: Use recent elementary apis. elm_entry_scrollbar_policy_set -> elm_scroller_policy_set.
SVN revision: 76359
2012-09-09 22:57:55 +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
Carsten Haitzler 684e8fb1ea trim down options config space usage some more.
SVN revision: 76249
2012-09-06 15:28:14 +00:00
Carsten Haitzler fe227c4d63 have options not use so much horizontal space. :)
SVN revision: 76248
2012-09-06 15:19:33 +00:00
Carsten Haitzler 5d6496ef4f add webp and img formats u can look at now. :)
SVN revision: 75952
2012-09-03 06:24:51 +00:00
Carsten Haitzler a24f4ba16d split options inot more swallows in the terminology theme because this
is eventually how it needs to work as i wanted wallpaper and theme
stuff to totally see the terminology txt/bg like wp2 in e17. :)



SVN revision: 75941
2012-09-02 14:10:31 +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
Leandro Pereira db0f11758d terminology: Ignore empty commands
SVN revision: 75590
2012-08-23 05:58:06 +00:00
Leandro Pereira ddae600684 terminology: Use a lookup table for g[0-8] commands
SVN revision: 75589
2012-08-23 05:50:20 +00:00
Gustavo Sverzut Barbieri 6e790ac6d2 always guarantee there is an opaque object at the bottom of non-translucent windows.
if you set media bg as png or other images with transparency, it would
show garbage.




SVN revision: 75586
2012-08-23 02:53:59 +00:00
Gustavo Sverzut Barbieri a6ed899bd6 termcmd: show error messages to ease debug.
SVN revision: 75585
2012-08-23 02:46:37 +00:00
Gustavo Sverzut Barbieri 8524aae983 termcmd: allow setting the background.
SVN revision: 75584
2012-08-23 02:41:57 +00:00
Gustavo Sverzut Barbieri 3aa2288a07 refactor cmd in separate functions, it's growing too big.
SVN revision: 75583
2012-08-23 02:27:54 +00:00
Gustavo Sverzut Barbieri 0accdc7ef5 media: turn off media on video playblack del.
if the object is deleted by media_stop(), then we must listen to it
and emit "media,off". We should also clean up the config->background
if it's temporary, so it's not restarted on the next
main_media_update() (changing config options).



SVN revision: 75582
2012-08-23 02:15:44 +00:00
Gustavo Sverzut Barbieri d859563fb7 add some shortcuts to "g" termcmd.
SVN revision: 75539
2012-08-22 10:57:51 +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
Gustavo Sverzut Barbieri 93dd23541c hide popmedia on video stop.
it was weird to have an empty popmedia background doing nothing.



SVN revision: 75530
2012-08-22 09:20:54 +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 1bb459afda clean up formatting for easier editing.
SVN revision: 75514
2012-08-22 03:14:58 +00:00
Carsten Haitzler af8667a832 testing toolbar - figuring out why icon size set didnt work and also
added empty colros config pane, testing vertical toolbar scroll.



SVN revision: 75513
2012-08-22 03:12:40 +00:00
Carsten Haitzler 60cda4bcf3 unsetenv on desktop startup id to make seoz happy.
SVN revision: 75506
2012-08-21 15:01:39 +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