Commit Graph

254 Commits

Author SHA1 Message Date
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