Commit Graph

561 Commits

Author SHA1 Message Date
Boris Faure 5cfede02a6 add box selection by pressing shift while selecting text.
Patch from Panagiotis Galatsanos aka Godfath3r.

SVN revision: 83926
2013-02-14 21:44:16 +00:00
Carsten Haitzler af064b227a extn info repeated and.. missing.
SVN revision: 83897
2013-02-14 15:53:55 +00:00
Carsten Haitzler 104e1b51cb make tyls more.. colorful. :)
SVN revision: 83896
2013-02-14 15:53:29 +00:00
Daniel Juyung Seo 84047693f8 terminology main.c: set the focus to the new split terminal.
SVN revision: 83836
2013-02-12 04:32:36 +00:00
Carsten Haitzler c0dcca4c2d no sleep on nul bytes - seems as if term hangs.. when its just slow...
SVN revision: 83705
2013-02-07 06:48:03 +00:00
Carsten Haitzler 19ee5d50b1 fix spinning - blinking curaor from cmdbox entry.... only create when
needed and delete when not. :)



SVN revision: 83613
2013-02-04 21:12:41 +00:00
Carsten Haitzler 1af758d9c1 fix tyls -m
SVN revision: 83569
2013-02-02 07:39:47 +00:00
Carsten Haitzler f32952ce49 redundant set to 0.
SVN revision: 83568
2013-02-02 07:39:29 +00:00
Carsten Haitzler 156b168979 inline thumb mode uses ethumb now... :)
SVN revision: 83566
2013-02-01 14:10:51 +00:00
Carsten Haitzler 800383bb0b oops - slowness with link finding test case. fixed. now screaming
fast again :)



SVN revision: 83500
2013-01-31 05:23:25 +00:00
Mike McCormack 83d1371953 terminology: Fix warning
Signed-off-by: Mike McCormack <mike@atratus.org>

SVN revision: 83499
2013-01-31 03:31:03 +00:00
Boris Faure 684c7499ad load about from theme if possible
SVN revision: 83494
2013-01-30 23:09:47 +00:00
Carsten Haitzler 53eeed9880 a very very very very rough/first cut and playing with tyls...
SVN revision: 83485
2013-01-30 15:26:16 +00:00
Carsten Haitzler 4505778e11 fix ter4minology cmdline opts - broke them with splitting. fix.
SVN revision: 83457
2013-01-30 06:24:22 +00:00
Carsten Haitzler 0015767f4b tidy yp tycat - handle edj and mp3/audio files - ahare extensions
handling and filtering, actually free tup termblocks when no longer
referenced without needing a gc, etc. ...



SVN revision: 83441
2013-01-29 15:54:47 +00:00
Carsten Haitzler 510e14530f cleaner code...
SVN revision: 83430
2013-01-29 10:47:56 +00:00
Carsten Haitzler 47fe497356 tycat... faster shutdown... and understand edje and mp3/music files...
and stuff



SVN revision: 83429
2013-01-29 10:47:04 +00:00
Carsten Haitzler 552b55319a hmm actualyl lets make cb's consistent and pass term as data - fix cb :)
SVN revision: 83423
2013-01-29 09:23:38 +00:00
Daniel Juyung Seo 93066dd3d3 terminology main.c: use correct parameter. fixed segv on commandline option.
SVN revision: 83422
2013-01-29 08:53:50 +00:00
Carsten Haitzler 0bbeac1a15 oops (--
SVN revision: 83402
2013-01-29 04:01:46 +00:00
Carsten Haitzler caddf1fdee 1.8ism ifdefed.
SVN revision: 83401
2013-01-29 03:59:22 +00:00
Carsten Haitzler 95c757c449 allow terminology top build with 1.7?
SVN revision: 83400
2013-01-29 03:52:57 +00:00
Carsten Haitzler 6618fb3262 require escape to bgein and end any run of chars that represent a
block item.



SVN revision: 83398
2013-01-29 03:34:50 +00:00
Carsten Haitzler 3b9b38b86c make block insert allow the inserter to specify a character to replace
on insert. this allows multiple insertions to be "active
simultaneously". until all the inset chars are used up. need to wrap
these insert chars with begin/end escapes still for efficiency and so
you can use insert chars elsewhere in the same text output area.

also clean up warnings.



SVN revision: 83394
2013-01-29 00:43:13 +00:00
Carsten Haitzler c4ad6c9c94 ok - rename tcat to tycat.
SVN revision: 83392
2013-01-28 23:53:06 +00:00
Carsten Haitzler a5bc0be3c9 fix tcat relative paths.
SVN revision: 83386
2013-01-28 16:43:45 +00:00
Carsten Haitzler 2781da8076 tcat... comes out to play fir the first time. not final... but a start.
SVN revision: 83385
2013-01-28 16:06:26 +00:00
Carsten Haitzler 7f6ae2a441 little theme adjustments for terminology - cursor loses striped fill -
clear empty, but gets blue glow. use subtle blue glow to show focuwed
term - useful for multi-term grid.



SVN revision: 83362
2013-01-27 05:24:07 +00:00
Carsten Haitzler 524d62d2f3 move options/controls out of term edj into separate one for the window
SVN revision: 83361
2013-01-27 01:58:12 +00:00
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
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
Carsten Haitzler 0576da08a1 delay focusing on cmdbox entry a bit to make it reliable.
SVN revision: 75340
2012-08-17 03:21:06 +00:00
Carsten Haitzler aca951e7c3 adjust command mode key.
SVN revision: 75302
2012-08-16 03:50:01 +00:00
Carsten Haitzler dd94047ffc and non-bitmap path for big.
SVN revision: 75255
2012-08-14 12:33:16 +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 75696669c2 close tty fd before doing signal killing on shutdown.
SVN revision: 74894
2012-08-06 04:11:14 +00:00
Carsten Haitzler 2f851c1d0a be a bit more paranoid about killling off child process from
terminology.



SVN revision: 74892
2012-08-06 01:13:20 +00:00
Carsten Haitzler fc2796ba79 dont clash short options (short optiosn should allow multiple chars...
grrrr. not very useful once u have lots of options)



SVN revision: 74890
2012-08-06 00:06:13 +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 0241ff28a6 warn--
SVN revision: 74515
2012-07-28 00:23:10 +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
Carsten Haitzler 6f3f7c10f9 go back to xterm - 256 colors extn makes apps look like arse.
SVN revision: 74480
2012-07-27 09:41:58 +00:00
Carsten Haitzler f0a7bfd2d9 hmm no - i't using the real 256 colorcube. wow.
SVN revision: 74337
2012-07-24 03:29:03 +00:00
Carsten Haitzler 9a41a51cb5 ok some things use the 256 col repeat set so make sure it repeats.
SVN revision: 74336
2012-07-24 03:27:23 +00:00
Carsten Haitzler a40115fb3b lets try pretend to be xterm-256color and see how this works?
SVN revision: 74333
2012-07-24 02:16:21 +00:00
Carsten Haitzler 7bce758c1d small patch - make `xxxxyyy...xxx' quotes detected by link checker too.
SVN revision: 74308
2012-07-23 08:11:42 +00:00
Cedric BAIL 57f71763e1 terminology: always animate the right selector border.
SVN revision: 74200
2012-07-20 02:30:35 +00:00
Cedric BAIL 9976c65a7d terminology: just say no to drug !
SVN revision: 74198
2012-07-20 01:38:09 +00:00
Carsten Haitzler cf055cc1b2 oops fix an oopsie id id that broke korean double with detection!
SVN revision: 74186
2012-07-19 13:06:37 +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
Bruno Dilly c6f1bf0711 Terminology: fix typo on license description
Patch by Anisse Astier <anisse@astier.eu>



SVN revision: 74146
2012-07-18 20:47:39 +00:00
Cedric BAIL 48f47fad26 terminology: resize an existing selection.
SVN revision: 74051
2012-07-18 08:36:28 +00:00
Cedric BAIL ef79bfe671 terminology: correctly detect death of window.
SVN revision: 74045
2012-07-18 07:18:45 +00:00
Carsten Haitzler b2d5d19c80 make disable cursor inverted logically in the ui (makes more sense)
SVN revision: 73951
2012-07-17 07:46:01 +00:00
Carsten Haitzler 2307203d49 1. note a bug i spotted in elm-scroller, and make terminology use the
feature.. so i can debug it. also fix errant clearing out of email
helper string in options dialog.



SVN revision: 73949
2012-07-17 06:57:41 +00:00
Carsten Haitzler 8a1e27df66 sex up the selection in terminology. :)
SVN revision: 73861
2012-07-15 04:49:20 +00:00
Carsten Haitzler 942060a0fc really update word separator list by default to include a boatload of
unicdoe separator chars. :)



SVN revision: 73814
2012-07-13 14:15:32 +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
Carsten Haitzler 7b8304692b and call the extended escape handler too.
SVN revision: 73799
2012-07-13 08:47:14 +00:00
Carsten Haitzler 197e0bbf46 splut up termpty a lot. still escape handling is the largest bit -
1200 lines or so, but not a lot that canbe done about that as its the
smallest really logical unit there.



SVN revision: 73798
2012-07-13 08:46:33 +00:00
Carsten Haitzler 92d58dc532 mouve doublewidth checking to its own file to not "pollute" termpty.c.
also make it more of a tree to minimize compares.



SVN revision: 73787
2012-07-13 06:22:46 +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 ebfd55429e emacs top/bottom button ctlr+_home/end fixed.
SVN revision: 73409
2012-07-06 11:02: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
Carsten Haitzler 39577505f0 todo-- -> smooth/nosmooth mode for media during resize.
SVN revision: 73391
2012-07-06 03:24:43 +00:00
Michael BOUCHAUD 8d33dadf56 terminology: add an option to be run without a wm
SVN revision: 73376
2012-07-05 19:19:21 +00:00
Boris Faure e48f693aea terminology: display ACS_*. should fix ncurses issues
SVN revision: 73369
2012-07-05 16:22:57 +00:00
Gustavo Sverzut Barbieri 0dd23fb9bc M-x delete-trailing-whitespace
gooooooooooood please stop with trailing whitespaces.



SVN revision: 73368
2012-07-05 15:12:54 +00:00
Gustavo Sverzut Barbieri 74c994a1a5 use ECORE_GETOPT_STORE_TRUE instead of bool.
BOOL was used for mute because it reflects on the configuration.

For simple "whenever I see an option, mark it" use STORE_TRUE instead
with the variables defaulting to FALSE.



SVN revision: 73367
2012-07-05 15:11:30 +00:00
Carsten Haitzler f7b03ac74d add a bunch of options for title, name, role, override, borderless,
iconic, etc. on cmdline.



SVN revision: 73337
2012-07-05 10:04:39 +00:00
Carsten Haitzler 5adb2747b8 make min size 1x1 for warning fix, add 2 todo's and make configs
versioned finally. :)



SVN revision: 73336
2012-07-05 09:38:43 +00:00
Christopher Michael 2f9e9628cc Terminology: Add missing __UNUSED__ to function paramaters where
needed. Initialize iw & ih to zero to remove compiler warning about
uninitialized variables.



SVN revision: 73325
2012-07-05 06:19:17 +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 3275e03aa5 terminology: better handling of position
SVN revision: 73163
2012-07-02 12:49:51 +00:00
Mike McCormack 958f8a340c terminology: printf--
SVN revision: 73161
2012-07-02 12:36:43 +00:00
Carsten Haitzler 4fd2814c02 avoid size creep during font options changes by remembering size at
start and any "suspected" real resizing by the user.



SVN revision: 73156
2012-07-02 12:06:44 +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
Carsten Haitzler 689e2c2dd7 begin on custom command infra, fix home/end for emacs, and fix about
dialog to restart properly and dismiss layer to be above about.



SVN revision: 73085
2012-07-01 00:24:30 +00:00
Carsten Haitzler 5afd73501f any button now dismisses the popup dialog things.
SVN revision: 73083
2012-06-30 14:21:00 +00:00
Carsten Haitzler 84261ed6ec fix about text.
SVN revision: 73082
2012-06-30 11:19:33 +00:00
Carsten Haitzler fb1c18ada9 oops forgot to add.
SVN revision: 73081
2012-06-30 11:16:14 +00:00
Carsten Haitzler becb0201aa about box is there... mwahahhahahahahahah!
SVN revision: 73080
2012-06-30 11:08:07 +00:00
Carsten Haitzler d3a0eafd07 add ctrl+shift+ins for pasting primary and add info to READMe about
mouse/kbd controls.



SVN revision: 73037
2012-06-29 13:33:37 +00:00
Carsten Haitzler ed90cabb60 missing alt+backspace keyin entry.
SVN revision: 73034
2012-06-29 12:21:01 +00:00
Carsten Haitzler c320a5a230 use new ecore-input compose handling in terminology.
SVN revision: 72983
2012-06-28 08:21:51 +00:00
Sebastian Dransfeld 10c9a30898 terminology: I need my Alt+D in shell
SVN revision: 72968
2012-06-27 20:54:17 +00:00
Carsten Haitzler b8190b75ca complete unabirdged compose table/tree in terminology now. this should
go to ecore i think.



SVN revision: 72952
2012-06-27 15:27:59 +00:00
Carsten Haitzler a7dce6cb45 actuallly syslexia - 7f not f7!!!!
SVN revision: 72936
2012-06-27 10:09:50 +00:00
Carsten Haitzler d393562526 fix handling - filtering out 0xf7 -> del. don't do it. it's a divide
sign in unicode.



SVN revision: 72935
2012-06-27 10:08:14 +00:00
Carsten Haitzler da57521fcc multi-key compose table++ :) not complete table. see wekipedia table
to merge.



SVN revision: 72911
2012-06-27 03:26:34 +00:00
Daniel Juyung Seo 0f3b3ccdbd terminology: Added 'Not Implemented Yet' stub for theme and wallpaper.
SVN revision: 72907
2012-06-27 00:53:57 +00:00
Davide Andreoli 2425f68e16 Terminology: pressing stop will delete the media smart,thus remove the video and the media controls and leave the user with its bg. So simple...raster, do I miss something?
SVN revision: 72890
2012-06-26 19:07:47 +00:00
Carsten Haitzler 01447a6483 umm blink should be on by defaut - jump on change too.
SVN revision: 72888
2012-06-26 14:58:32 +00:00
Carsten Haitzler 3f10088e8a make note.
SVN revision: 72887
2012-06-26 14:45:38 +00:00
Carsten Haitzler 44763cd614 fix default wordsep list now to be unicode friendly. include unicode
spaces.



SVN revision: 72886
2012-06-26 14:44:14 +00:00
Carsten Haitzler 7903d9a81d keypad numlock etc. working. shift kp-/+ to change font size. shift
kp/ for copy, shift insert for paste, shift+kp* to reset top 10pt.



SVN revision: 72870
2012-06-26 10:30:41 +00:00
Mike Blumenkrantz 666d4223c9 add new terminology option to disable that infernal cursor blinking; this should, in theory, be a combo box with different styles (underline, solid, invisible, etc), but imo the first thing is the ability to disable the blinking overall
SVN revision: 72856
2012-06-26 08:05:43 +00:00
Carsten Haitzler 85e9901227 comment -> need to add some unicode space codepoints to wordsep string
SVN revision: 72837
2012-06-26 01:38:48 +00:00
Carsten Haitzler 553db8906e support double-wide asian chars with ugly tables and stuff!
SVN revision: 72836
2012-06-26 01:38:13 +00:00
Carsten Haitzler c2c935e4a4 fix F1-F4 to give different seq in appcur mode.
SVN revision: 72808
2012-06-25 13:51:13 +00:00
Carsten Haitzler 0bfc44c6e9 adjust copy & paste text extraction to be much nicer.
SVN revision: 72800
2012-06-25 11:26:21 +00:00
Carsten Haitzler 87f8a0e624 handle selection loss cb's from elm now
SVN revision: 72799
2012-06-25 11:17:03 +00:00
Davide Andreoli 304434ccf6 also add a slider for seek in the video
SVN revision: 72765
2012-06-24 11:55:46 +00:00
Carsten Haitzler 5984c4109d fix odditieis in selection text generation
SVN revision: 72762
2012-06-24 10:01:53 +00:00
Davide Andreoli 604b3b78f1 Multimedia controls for terminology. When a video is playing on the bg you will have controls to play/pause/stop and change volume.
SVN revision: 72761
2012-06-24 09:49:23 +00:00
Carsten Haitzler 23e9852efa fix word sel in scrollback
SVN revision: 72758
2012-06-24 08:45:10 +00:00
Carsten Haitzler 256059af6e move current options pane 1 level down and now its a controls pane
with copy, paste and options. copy & paste use clipboard, not primary.



SVN revision: 72755
2012-06-24 06:39:54 +00:00