Commit Graph

43 Commits

Author SHA1 Message Date
Boris Faure bc15fc6ff6 keep selection when scrolling 2013-11-10 22:13:19 +01:00
Boris Faure 1dc0d30b60 reorganize structures about selection 2013-11-10 18:16:39 +01:00
Carsten Haitzler 8585c3e9c2 maybe speed up term scroll byt skipping compare work
since nothing useful is actually done unless either oldc or newc have
a media char - then try return/skip early. might speed up by 2-5%...
(i see 4.05 vs 4.15 or so cat times for a test case).
2013-10-25 23:37:10 +09:00
Boris Faure f539eba7ca screw terminfo: have a config to decide whether erase is del or backspace
One day I'll have to dig into the terminfo/termcap mess :(
Maybe get the O'Reilly book about it…
2013-09-26 21:19:18 +02:00
Boris Faure ef543aa753 have a config to choose whether to set TERM to xterm-256color 2013-09-26 21:18:27 +02:00
Boris Faure 0b6e44bbd6 compat: add margin top support on Origin mode 2013-06-09 12:03:52 +02:00
Boris Faure d5cc45a690 compat: add ugly testing code to change between 80/132 cols 2013-06-09 12:03:52 +02:00
Carsten Haitzler 5549fc05a0 add compressed backscroll to terminology...
we get about 0.35-0.4 or so ratio of compression. it also now
defragments memory used for backscroll and holed it in mmaped blocks
so when the blocks go all memory goes used for backscroll.
2013-05-05 23:10:44 +09:00
Carsten Haitzler 3fc3ce4c79 add whitepsace debug mode and termsave abstraction infra. 2013-05-04 11:45:45 +09:00
Boris Faure b6d2b1b4ad revert a bunch of commits that weren't ready for prime time
664c5a23: Revert "compat: csi parameters are always decimal"
3694c88c: Revert "compat: handle cursor-controls chars in ESC sequences"
16e143f9: Revert "compat: add margin top support on Origin mode"
4daccf1f: Revert "compat: add ugly testing code to change between 80/132 cols"
d5be8a64: Revert "add termio_win_get();"
cff21ea5: Revert "compat: only clear cells when scrolling to add text"
13a11e5a: Revert "compat: add some csi dec private modes TODOs"
65f07f77: Revert "handle DCS status string requests"
2013-05-02 10:33:39 +02:00
Boris Faure 7a92b145e5 fix issue when buffer cuts last unicode 2013-04-28 22:47:14 +02:00
Boris Faure 16e143f970 compat: add margin top support on Origin mode 2013-04-22 22:38:56 +02:00
Boris Faure 4daccf1fe4 compat: add ugly testing code to change between 80/132 cols 2013-04-22 22:28:50 +02: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 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 6ad334c864 zero out fmt bits for dbl width chars for spare cell. 2013-04-15 23:54:47 +09:00
Boris Faure 852400f039 reflow: correctly set line length when pushing to backscroll 2013-04-12 22:13:16 +02: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
Carsten Haitzler 156b168979 inline thumb mode uses ethumb now... :)
SVN revision: 83566
2013-02-01 14:10:51 +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 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 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
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
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
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
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
Sebastian Dransfeld 3bd79e480c terminology: handle mouse move
SVN revision: 77489
2012-10-04 23:19:17 +00:00
Carsten Haitzler 57ef054525 support a login shell option.
SVN revision: 77141
2012-09-27 09:33:33 +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 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
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 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 553db8906e support double-wide asian chars with ugly tables and stuff!
SVN revision: 72836
2012-06-26 01:38:13 +00:00
Carsten Haitzler 2a2048d40f first cut visul bell and bewll handling with urgent enable while not
focued and bell goes off (optional). gfx can be much nicer - really
quick and dirty led img



SVN revision: 72718
2012-06-23 09:25:01 +00:00
Carsten Haitzler 099de44801 handle a lot more escape codes now and mouse tracking too.
SVN revision: 72712
2012-06-23 06:43:02 +00:00
Carsten Haitzler 26a88cd2dd fix exit code handling and propagate exit from pty->io->main
SVN revision: 72545
2012-06-20 14:12:26 +00:00
Gustavo Sverzut Barbieri e0e7fbfd94 log: separate termpty logging from the rest.
Make raster the-crying-baby stop complain about log. Now we can have
only termpty logging, with a short format, by using:

{{{
    export EINA_LOG_FILE_DISABLE=1
    export EINA_LOG_LEVELS=termpty:4
    terminology
}}}



SVN revision: 72503
2012-06-19 19:53:02 +00:00
Carsten Haitzler a36cce4ef6 support intense colors.
SVN revision: 72406
2012-06-18 13:59:09 +00:00
Carsten Haitzler 4aed1d8a50 behavior entries now should all work and save.
SVN revision: 72242
2012-06-16 17:31:54 +00:00
Carsten Haitzler cf7cd1e42c terminology now uses textgrid.. .oh so much FAAAASTER... and saves
gobs and gobs of ram.



SVN revision: 72209
2012-06-16 05:07:33 +00:00
Carsten Haitzler 8b822a61d7 finally a terminal emulator for efl! sure - uses a lot of text
objects. need evas textgrid obj and more, but this marks a first
"usable" state for terminology. more needs doing like underline and
strikethrough support, blink support, visual bell, config panel etc.



SVN revision: 72007
2012-06-12 10:10:01 +00:00