Commit Graph

49 Commits

Author SHA1 Message Date
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
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
Cedric BAIL 37d7bdd9c2 terminology: small speedup by calling directly the underlying function.
SVN revision: 82934
2013-01-17 12:15:02 +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
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 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
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 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 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 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 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
Boris Faure e48f693aea terminology: display ACS_*. should fix ncurses issues
SVN revision: 73369
2012-07-05 16:22:57 +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 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 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
Cedric BAIL e2c25bc45b terminology: apparently insert doesn't move the cursor.
NOTE: please test it and report issue, but apparently this
fix emacs and bash for me.


SVN revision: 72717
2012-06-23 08:32:48 +00:00
Carsten Haitzler 791a1630a6 printf--
SVN revision: 72713
2012-06-23 06:44:20 +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 e672d4b895 remove artwiz fonts -> dont do terminal drawing chars. also map point
draw char to unicode one. evas maps back if needed.



SVN revision: 72711
2012-06-23 02:33:52 +00:00
Carsten Haitzler cba16ddb2e update mapping notes.
SVN revision: 72605
2012-06-21 13:50:10 +00:00
Carsten Haitzler 3de1d85a71 finally i knwo whjat the unicode gfx char table has in it!
SVN revision: 72596
2012-06-21 11:55:55 +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
Carsten Haitzler aed804227b comment table for draw chrs - need to actuallly specfy them in
comments tyho - next.



SVN revision: 72512
2012-06-20 04:50:33 +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
Gustavo Sverzut Barbieri b99a543304 improve logging.
SVN revision: 72502
2012-06-19 19:40:40 +00:00
Gustavo Sverzut Barbieri ba1b55fc85 ignore libreadline6's \033[?1034s
seems libreadline6 will issue such escape to toggle 8-bit input, but
it shouldnt:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577012

Thanks to KainX for helping.



SVN revision: 72500
2012-06-19 18:57:56 +00:00
Carsten Haitzler 5556daa373 warn--
SVN revision: 72466
2012-06-19 09:59:30 +00:00
Gustavo Sverzut Barbieri 40a519c8d9 support box drawing codes.
Many thanks to KainX for his help to understand the code and
rxvt-unicode for his table to convert the code to unicode codepoints.



SVN revision: 72419
2012-06-18 21:24:33 +00:00
Carsten Haitzler a36cce4ef6 support intense colors.
SVN revision: 72406
2012-06-18 13:59:09 +00:00
Carsten Haitzler bb5a03f0af limit updates to fps.
SVN revision: 72388
2012-06-18 12:14:36 +00:00
Carsten Haitzler 4a071403a0 fix backscroll reconfig segv
SVN revision: 72384
2012-06-18 11:18:46 +00:00
Gustavo Sverzut Barbieri 35e7dbbf4e better handle -e 'command' if there is a shell expression.
If command contains spaces, $ or other known shell commands, it's
spawned with a "sh -c $COMMAND" instead.

this allows us to start terminology to "watch ps" or things like that.

Also changed the return code on failure to 127, similar to system(3).

NOTE: should we reset some signals? Remember that ecore traps most of them.



SVN revision: 72313
2012-06-17 19:13:03 +00:00
Gustavo Sverzut Barbieri 1a15b87491 use $SHELL and simplify logic a bit.
SVN revision: 72310
2012-06-17 18:28:19 +00:00
Gustavo Sverzut Barbieri 7f0c9cdc47 remove shadow warning.
"i" is already defined at the beginning of the function and is
(ab)used everywhere.

I'd rather narrow the variable scope to where it's used, but would
require a major refactor of the code.



SVN revision: 72307
2012-06-17 17:38:03 +00:00
Gustavo Sverzut Barbieri 4a31ed1658 remove shadow warnings of math.h y1 constant.
to make it readable I've used 'start_y = y1'

to make it sane, I've replaced 'end_y = y2', then x1, x2 as well.



SVN revision: 72303
2012-06-17 17:13:50 +00:00
Gustavo Sverzut Barbieri 3fe325aad5 reduce number of warnings with -Wall -Wextra.
there are still some shadow cases to be fixed and some parameters I've
left unused since it seems like a bug in the API or code.



SVN revision: 72302
2012-06-17 17:04:17 +00:00
Gustavo Sverzut Barbieri fec0f1e071 add logging for our sanity
SVN revision: 72300
2012-06-17 16:32:23 +00:00
Gustavo Sverzut Barbieri 98a197c4b2 use autoconf to define system extensions for us.
SVN revision: 72299
2012-06-17 16:28:02 +00:00
Carsten Haitzler 4aed1d8a50 behavior entries now should all work and save.
SVN revision: 72242
2012-06-16 17:31:54 +00:00
Jihoon Kim d27a42884b terminology: remove trailing whitespace
SVN revision: 72053
2012-06-13 00:26:00 +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