Boris Faure
7af60a58c8
BACKLOG_ROW_GET() should not be called with a "screen" value
...
the backlog is independent of the screen size. Thus a single line in the
backlog can span many lines on the screen.
2015-08-09 14:10:12 +02:00
Boris Faure
8fbffdd869
renames to make the code more consistant
2015-08-03 20:44:55 +02:00
Boris Faure
35c8fd79c0
speed up browsing backlog
...
have a "beacon": single point where the link between an offset in the
backlog and one in screen coordinates
2015-08-03 20:44:55 +02:00
Boris Faure
34592ab5b3
new resize/backlog implementation. Closes T2461
...
idea: store full lines in the backlog. No need to change them on resize
2015-08-03 20:43:17 +02:00
Boris Faure
681bb029c2
ensure cursor coordinates are always valid, 2nd version
2015-06-03 23:02:31 +02:00
Carsten Haitzler
074eece5f7
Revert "ensure cursor coordinates are always valid"
...
This reverts commit 1f3f779258
.
this breaks terminal scrolling entirely! can't scroll anymore at all
in standard shell. just try a simple: find / -print
2015-06-03 15:00:13 +09:00
Boris Faure
1f3f779258
ensure cursor coordinates are always valid
2015-06-02 22:48:50 +02:00
Boris Faure
be62d87f89
separate "termstate" from cursor state and screens. Closes T725
2015-04-23 20:02:53 +02:00
Boris Faure
f13d9ad111
fix compilation on solaris
2015-02-23 22:20:18 +01:00
Boris Faure
788f3e7eb7
rewrite selection system. Closes T1893
2015-02-06 22:09:52 +01:00
Boris Faure
6a2b3ae871
selection: add click then shift-click
2015-02-06 20:48:03 +01:00
Boris Faure
e94051dd86
make selection consistent when selecting space with no text. Closes T2013
2015-01-30 00:24:55 +01:00
Wonguk Jeong
6c8af4f82c
media: fix replay on stop bug in tycat
...
even if stop button in media control has been clicked, media is not stopped but is replayed in tycat
Fixes T1560
2014-09-15 12:01:22 +02:00
Boris Faure
34979f1ce4
get rid of Eina_Bool in bitfields
2014-08-28 21:04:00 +02:00
Boris Faure
2b9c9a8351
add some padding fields to be sure holes are initialized (hi valgrind!)
2014-05-08 13:55:01 +02:00
Boris Faure
c3c8310218
Fix bracketed paste mode. Closes T1233. Patch by Egmont
2014-05-07 20:41:14 +02:00
Wonguk Jeong
e717b71589
terminology: restore movie play state when the media block is reactivated.
...
Summary:
first phase to resolve T1075
With D786, the paused video would be in paused state even if the media block is reactivated.
But the problem is....
every backend except "gstreamer1" doesn't show any image on screen when the video is loaded in paused state. (it's working perfectly with gstreamer1)
maybe the root cause is that frame decoding is never happened yet.
This need to be investigated, in the next phase (maybe in emotion or emotion modules?)
@fix
Test Plan: terminology -> tycat -> pause video -> page down enought until the video block is deactivated -> page up -> check whether the video is in paused state or not
Reviewers: raster, billiob
CC: seoz
Maniphest Tasks: T1075
Differential Revision: https://phab.enlightenment.org/D787
2014-04-24 18:10:29 +09:00
Boris Faure
02856cbdec
terminology supports fraktur!!
2014-04-06 14:42:38 +02:00
Boris Faure
8f3258f1b3
use a bit more Eina_Unicode
2014-03-25 21:35:31 +01:00
Carsten Haitzler
870d592139
set EMOTION_ENGINE to tyls (and ethumb etc.) can use it inside shell
...
this should fix T291
2014-01-22 20:32:25 +09:00
Boris Faure
ac4117ce8a
add bracketed paste (by egmont). Closes T670
2014-01-06 21:51:23 +01:00
Aleksandar Popadić
d0c6c1d457
Rewrite reflow on resize
...
Summary:
simplify code (treat every resize as a single case) and fill the lines
from the bottom up
Reviewers: billiob
Differential Revision: https://phab.enlightenment.org/D355
2013-12-01 19:47:12 +01:00
Boris Faure
df2b87308b
add termpty_screen_swap() to simplify code
2013-11-18 21:41:30 +01:00
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