Commit Graph

599 Commits

Author SHA1 Message Date
Carsten Haitzler 377511d7f8 more work on inlined edje objects - allow multiple chid's to be active
to feed back multiple signals/events from differentinline objects.
2013-04-22 00:37:11 +09:00
Boris Faure 07f4b23b16 reflow: fix segv sometimes when vertically shrinking 2013-04-20 17:38:31 +02:00
Carsten Haitzler 3c5eb88047 fix up param parser for edje inlines 2013-04-20 22:41:10 +09:00
Carsten Haitzler f5b84edbfd more work ok direct edje inline content. u can send messages toit now
on init... and get signals... and drag events... but cant get messages
yet.
2013-04-20 16:54:11 +09:00
Carsten Haitzler bbdf50fd62 protect against segv. see comments. 2013-04-20 12:50:31 +09:00
Carsten Haitzler ef00ad2010 1. make notes of crash in term resizing.
2. fix memset to use term cell filler that handles block refs.
2013-04-20 12:07:13 +09:00
Carsten Haitzler 3aa98cd6f6 allow for raw edje files to be inlined ANd to set tet, emit signals to
them etc.
2013-04-20 10:37:05 +09:00
Carsten Haitzler 1f1fcf2dd2 escape filenames for terminology helpers. 2013-04-19 00:19:21 +09:00
Carsten Haitzler ea2c4bc670 remove -l opt in summary. 2013-04-19 00:02:28 +09:00
Carsten Haitzler 4dd17b80aa alt + 1,2,3,...8,9,0 switch TO terminal tab # 1, 2, ... 8, 9, 10 2013-04-18 23:56:12 +09:00
Boris Faure 56c13a1bb3 one less tab… 2013-04-17 22:02:50 +02:00
Godfath3r 174368be27 add geometry as a config parameter
We can now save custom geometry for terminology to start.
2013-04-17 22:02:14 +02:00
Carsten Haitzler b949583c34 glue in beep flag on sel creation if you missed a beep in a hidden tab. 2013-04-17 12:50:19 +09:00
Carsten Haitzler d201252033 track if a bell was missed in a background tab and display a "missed"
count and emit a signal to indicate you missed something. right now
you dont know which though has the missed bell. thats another stage -
pass missed flag to sel and display it in the theme.
2013-04-17 00:35:44 +09:00
Carsten Haitzler 6ad334c864 zero out fmt bits for dbl width chars for spare cell. 2013-04-15 23:54:47 +09:00
Carsten Haitzler ea2956b28f cover delayed delete being for already deleted panel from other window. 2013-04-15 23:54:47 +09:00
Carsten Haitzler fc60732d64 use cwd of term when creating new ones with splits and tabs. 2013-04-15 23:54:47 +09:00
Carsten Haitzler f005e70d4a fix selection loss handling with multiple wins in 1 process. 2013-04-15 23:54:47 +09:00
Carsten Haitzler 86b0d64c54 fix focus restoration when creating new tabs or splits by allowing cb
to restore it.
2013-04-15 13:33:23 +09:00
Boris Faure 0c47c4ba4d reflow: fix horizontal shrinking 2013-04-12 22:13:17 +02:00
Boris Faure 274e2b13b2 reflow: fix vertical shrinking 2013-04-12 22:13:17 +02:00
Boris Faure ce65369d57 reflow: fix displaying history on vertical expansion 2013-04-12 22:13:17 +02:00
Boris Faure b749acfc3c reflow: use termpty_cell_copy() instead of memcpy()
Also get rid of _termpty_text_copy().
2013-04-12 22:13:17 +02:00
Boris Faure ea60fdf9a4 reflow: fix setting cursor position on vertical shrink 2013-04-12 22:13:17 +02:00
Boris Faure 66e8493154 reflow: skip last empty lines when vertically shrinking 2013-04-12 22:13:17 +02:00
Boris Faure a7858ecc2e reflow: display content from backlog when vertically expanding 2013-04-12 22:13:17 +02:00
Boris Faure fc7dcbdad6 reflow: don't let resize to 1x1
this occurs on terminolog start. dunno why ftm but it annoys me
2013-04-12 22:13:17 +02:00
Boris Faure 57032d607e reflow: do not shrink unused lines 2013-04-12 22:13:17 +02:00
Boris Faure 9c9a05e958 reflow: do not always reset circular_offset on resize 2013-04-12 22:13:16 +02:00
Boris Faure df08549f84 reflow: horizontally shrink the screen buffer 2013-04-12 22:13:16 +02:00
Boris Faure 74aa62f13c reflow: horizontally shrink backlog 2013-04-12 22:13:16 +02:00
Boris Faure d90396a803 reflow: define OLD_SCREEN() on a higher level 2013-04-12 22:13:16 +02:00
Boris Faure f810600875 reflow: move cursor line when horizontally expanding 2013-04-12 22:13:16 +02:00
Boris Faure 25928a31b4 reflow: shrink vertically in place if needed 2013-04-12 22:13:16 +02:00
Boris Faure 55d2d0e483 reflow: dummy vertical shrink 2013-04-12 22:13:16 +02:00
Boris Faure 0556318761 reflow: change _text_save_top() termpty_text_save_top()
also change prototype
2013-04-12 22:13:16 +02:00
Boris Faure b605913b1d reflow: fix backscroll expansion when full 2013-04-12 22:13:16 +02:00
Boris Faure 18c8aff57c reflow: add vertically expansion support 2013-04-12 22:13:16 +02:00
Boris Faure 591529c05f reflow: WIP: vertical expansion 2013-04-12 22:13:16 +02:00
Boris Faure 852400f039 reflow: correctly set line length when pushing to backscroll 2013-04-12 22:13:16 +02:00
Boris Faure 050892a04c reflow: remove empty lines due to screen expansion 2013-04-12 22:13:16 +02:00
Boris Faure 04cfd43af4 reflow: rewrap correctly between backscroll and screen
Refs: #1184
2013-04-12 22:13:16 +02:00
Boris Faure ee9e6af8c0 reflow: add backscroll expanding
Refs: #1184
2013-04-12 22:13:16 +02:00
Boris Faure 8208428e89 reflow: expand screen
Refs: #1184
2013-04-12 22:13:16 +02:00
Boris Faure 9511fe6f01 fix mouse interactions using urxvt style (in mc)
Bug easily fixed with the help of ptyproxy :)
2013-04-08 18:26:58 +02:00
Boris Faure 8e9443a58c fix clearing screen till the end 2013-04-08 18:26:58 +02:00
Carsten Haitzler f0670d0c8a this should fix a seg on exit. 2013-04-08 10:52:10 +09:00
Carsten Haitzler 87d585bd07 show overlay with number of open tabs - keep it faded out until you
mouseover. click to bring up tab switcher. mouse controls on tab
switcher work now... click to select. up & down arrow work too...
2013-04-06 23:30:45 +09:00
Carsten Haitzler 5444820f19 fix up artiifacts in tab selector zoom.
fix up video./audio restart in sel by not duplicating (instead add 1 edje obj
level in between and include bg with term. may affect other themes).
2013-04-06 14:02:05 +09:00
Stefan Schmidt fc04ce9b4d tyls: Don't print -l option as it is not implemented.
A bit confusing to show it but then do nothing like what it suggests.
Can come back once we have it implemented.
2013-03-28 15:01:50 +00:00
Carsten Haitzler 4caebb56b7 fix some media handling of mp3's and music files with tyls+thumb links. 2013-03-28 20:14:56 +09:00
Carsten Haitzler f477acf0cf warn-- 2013-03-25 16:12:05 +09:00
Carsten Haitzler fa4ebb5b2f icons for buttons, theme overlay (for now) and some theme polishing
for terminology sel
2013-03-24 19:56:01 +09:00
Carsten Haitzler 72e813bf2a fix segv happiness in term tab sel. 2013-03-23 15:50:16 +09:00
Godfath3r 28071e731e fix boxsel misbehaviour when pasting with middle click.
When in terminology, user selects some text with boxselection (shift +
click/drag) and pastes in the same window with middle click.
The box selection then transforms into normal. Now it's fixed.
2013-03-22 20:37:04 +01:00
Sebastian Dransfeld 74e62b2d32 Only search for theme once
Efreet uses one cache file for one theme. So by cycling themes we blow
the cache, and thus slowing things down considerably. We should find one
theme, and then stick with it.
2013-03-20 12:22:27 +01:00
Sebastian Dransfeld 4aa421fe24 Include <Efreet.h> directly 2013-03-20 12:22:27 +01:00
Carsten Haitzler 64196937ab some cleaning up of pending things.. so we can do a terminology 0.3
:)
2013-03-20 19:00:05 +09:00
Carsten Haitzler edd37bbae7 track term titles properly and put them in tab sel views. done for the
moment.
2013-03-20 13:47:56 +09:00
Carsten Haitzler 29dd7608c2 improve tab sel look to have its own. 2013-03-20 12:55:15 +09:00
Carsten Haitzler 1880987f63 fix tab switching to zoom FROM current TO next/prev slot properly when
just next/prev switching.
2013-03-20 09:04:05 +09:00
Sebastian Dransfeld 21abbe6db8 terminology: guard for evas 1.8 features 2013-03-19 20:20:22 +01:00
Carsten Haitzler e60db60b12 guess what the cat dragged in... "tabs" in terminology. just a
selector right now that u call up from keybindings. if u switch terms
it kicks in with some visuals too. theme stuff is currently not
done/ready at all. just recycling terminolgy bg edje atm. havent done
anything to:

1. track "window titles" per term and put into tab term previews
2. make preview look decent (some shadowing and spacing between terms
etc.)
3. track/display things like bell alerts

still need to have a way to suspend/unsuspend invisible terms so media
stuff pauses in playback etc. etc.
2013-03-19 19:49:47 +09:00
Carsten Haitzler 53fcba486a sync term list sizes on resize 2013-03-18 09:36:58 +09:00
Boris Faure 193d308093 clear text with codepoint 0 instead of space 2013-03-17 21:39:14 +01:00
Carsten Haitzler 3a436ac0fe printf-- 2013-03-17 23:54:08 +09:00
Carsten Haitzler eca8593193 infra for multiple terms per split slot. 2013-03-17 23:52:13 +09:00
Carsten Haitzler 7d90f43fff restore terminology escapes. 2013-03-14 20:27:36 +09:00
Jean-Philippe Andre ffd8f82a52 Fix last commit
Invalid buffer size
2013-03-14 12:14:34 +09:00
Jean-Philippe Andre 3223e32949 Fix crashes in escape sequence parsings
Crashes happen when using cat against binary files (png, mp4, ...)

Buffer overflow in _handle_esc_dcs()
Suspected overflow in _handle_esc_terminology()
Invalid return value in _handle_esc_terminology()
Don't write "ABC\r\n" on ENQ symbol
Silence some errors
2013-03-14 12:14:34 +09:00
Daniel Juyung Seo e34ac90739 tyls.c: removed unused variables. 2013-03-12 02:00:30 +09:00
Daniel Juyung Seo 150799348a termio.c: check elm rather than ecore for the drag and drop.
1. This includes ecore check as well.
2. Check the version more properly.
2013-03-12 01:50:06 +09:00
Carsten Haitzler 58597e51e7 fix tyls -m 2013-03-11 20:53:43 +09:00
Carsten Haitzler de8141dec6 tyls now uses standard icons names for normal files (not starting with
/) so u see icons for files as well as thumbnails for videos, images,
svg's etc...

and now when u clikc on the icon... u launch it (folders launch in
efm... other file types open via the standard tools like with efm/e
etc. and highlighted links)
2013-03-11 20:44:27 +09:00
Carsten Haitzler 735d93fbc4 1. add the ability to have a link AND image path in inline images and
thumbs (allows for different thumbnail compared to what it links to).
2. fix if media obj is deleted on its own (stop button).
2013-03-11 16:56:07 +09:00
Boris Faure 01bf2409bd fix segfault
when there is no cell, do not try to do stuff based on it.
2013-03-10 19:08:30 +01:00
Carsten Haitzler 6be6249ccd oops forgot a printf removal. 2013-03-09 00:16:11 +09:00
Carsten Haitzler 2217166f40 make terminology handle multiple uri dnd of files and display in a
slideshow queue. :)
2013-03-09 00:13:32 +09:00
Daniel Juyung Seo 8a3f6335ff terminology main.c: use macros for panes content parts and make code cleaner.
SVN revision: 84332
2013-02-24 06:53:29 +00:00
Carsten Haitzler bc4014a2ba adapt to dnd changes.
SVN revision: 84297
2013-02-22 08:49:21 +00:00
Carsten Haitzler 7397aced7e u can dnd stuff TO terminology.. and it pastest in as text.. file
lists from efm, text from editors/browsers...

u can dnd links (file uril links terminology recognizes) TO other apps
or terminals... beware it uses a button. it's a bit ugly atm. need to
un-uglify.

both these need efl 1.8



SVN revision: 84283
2013-02-21 13:23:48 +00:00
Carsten Haitzler 3756f251b7 more extns known in tyls.
SVN revision: 84071
2013-02-19 00:46:56 +00:00
Carsten Haitzler 2ebc8c42c6 stop jumping! zoom gestures are being called now.. :/
SVN revision: 84066
2013-02-18 16:07:30 +00:00
Carsten Haitzler 437ac7ba0b clock on thumbs opens popmedia. :)
SVN revision: 84065
2013-02-18 15:31:54 +00:00
Boris Faure 54837f4d7d fix split with elm 1.7. Thanks to Godfath3r.
SVN revision: 84026
2013-02-17 16:55:42 +00:00
Boris Faure 081f27552b fix clearing lines with circular buffer.
Fixes #2263.

SVN revision: 84004
2013-02-16 18:16:25 +00:00
Boris Faure 48276b7cf4 box selection on alt/ctrl/shift
SVN revision: 83999
2013-02-16 14:44:45 +00:00
Carsten Haitzler 0ed5a96d9d quick - forgot exec checks.
SVN revision: 83934
2013-02-15 05:08:11 +00:00
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