Commit Graph

300 Commits

Author SHA1 Message Date
Carsten Haitzler 1db5d17a96 react to keypress instead?
SVN revision: 72571
2012-06-21 07:55:00 +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 596357c77a animate on key press might be better wording :)
SVN revision: 72543
2012-06-20 13:37:35 +00:00
Mike Blumenkrantz bc0282d50d add an option to disable cursor strobe light from typing: strobe effect enabled by default
SVN revision: 72527
2012-06-20 08:29:08 +00:00
Jihoon Kim 5758281a6e terminology: remove _imf_cursor_set in _smart_calculate. It isn't needed anymore because it is called whenever cursor is moved
SVN revision: 72519
2012-06-20 06:23:07 +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 abc8235dff better usage of eina_strbuf
SVN revision: 72504
2012-06-19 19:59:35 +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
Gustavo Sverzut Barbieri 2cd2514538 utils/theme: unify code, error messages and allow fallback.
Introduced two nice helpers to aid common Edje handling:
 * apply theme, using fallback if main is not found;
 * reload theme if file changed.



SVN revision: 72490
2012-06-19 15:59:49 +00:00
Carsten Haitzler c71424367d emit key sig all the time.
SVN revision: 72488
2012-06-19 15:35:37 +00:00
Samuel F. Baggen dc204d7fc3 Shift-Tab support added, tested in shell and vim
SVN revision: 72483
2012-06-19 14:38:44 +00:00
Carsten Haitzler bbdb7e98b6 emit signal to cursor on key down.
SVN revision: 72476
2012-06-19 13:16:22 +00:00
Carsten Haitzler 7666a1570b disable font size slider when selecting a bitmap.
SVN revision: 72475
2012-06-19 12:54:50 +00:00
Carsten Haitzler 70603e5527 appcur mode - home/end need different handling.
SVN revision: 72473
2012-06-19 12:09:50 +00:00
Carsten Haitzler 52332899cb make note of shell vs vim for home/end
SVN revision: 72472
2012-06-19 12:07:09 +00:00
Carsten Haitzler db4a99a499 fix home/end to match xterm.
SVN revision: 72471
2012-06-19 11:54:24 +00:00
Carsten Haitzler 5556daa373 warn--
SVN revision: 72466
2012-06-19 09:59:30 +00:00
Carsten Haitzler eff8baf961 from cipp -> alt cursor key handling
SVN revision: 72465
2012-06-19 09:57:38 +00:00
Carsten Haitzler a4dd7976fd work around focus baddies on options show/hide -> tasn.
SVN revision: 72454
2012-06-19 07:58:08 +00:00
Carsten Haitzler fd0b697aeb make gustavo happy with options now espanding when term expands (up to
a point) but still keepign preview room on the left for me.



SVN revision: 72450
2012-06-19 07:33:11 +00:00
Carsten Haitzler 10521f87f8 imf ifdefs gone.
SVN revision: 72447
2012-06-19 07:19:31 +00:00
Carsten Haitzler e34967f6b6 make ecore-imf required.
SVN revision: 72446
2012-06-19 07:16:13 +00:00
Carsten Haitzler 235da7fe25 ecore null complaint fix if imf not there.
SVN revision: 72445
2012-06-19 07:14:59 +00:00
Jihoon Kim 362bc6b233 terminology: fix build error in case of no ecore-imf
SVN revision: 72433
2012-06-19 04:29:10 +00:00
Jihoon Kim b9d7a35e74 terminology: set cursor location whenever cursor is moved
SVN revision: 72432
2012-06-19 04:16:36 +00:00
Jihoon Kim f49c145869 terminology: add __UNUSED__ for unused parameter
SVN revision: 72431
2012-06-19 03:42:20 +00:00
Gustavo Sverzut Barbieri 9ad9f44669 fix ecore-imf linkage
SVN revision: 72429
2012-06-19 01:07:33 +00:00
Rafael Antognolli ec18871272 terminology: Fix ecore-imf DSO missing flag.
SVN revision: 72428
2012-06-19 01:02:19 +00:00
Gustavo Sverzut Barbieri 4f4dd65c97 add IMF support, composited keys! usable with us-intl keyboard ;-)
SVN revision: 72427
2012-06-19 00:37:27 +00:00
Gustavo Sverzut Barbieri a68eeeca8f minor speedup to lookup keynames.
just compare the string if input size matches.



SVN revision: 72420
2012-06-18 21:36:42 +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 561e86c6c8 fix warnings, adjust license to BSD in -L output.
SVN revision: 72407
2012-06-18 14:22:15 +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
Carsten Haitzler 464b2986ed fix file set for font preview to use config theme path return.
SVN revision: 72383
2012-06-18 11:07:05 +00:00
Carsten Haitzler 9568fb677f debugprintf-- - not needed anymore
SVN revision: 72378
2012-06-18 09:55:52 +00:00
Tom Hacohen 12fcd78ef2 Terminology: Fixed shift + arrows to send the right escapes.
SVN revision: 72375
2012-06-18 09:18:29 +00:00
Cedric BAIL 8735794442 terminology: shift + double click now expand the selection to the clicked word.
SVN revision: 72374
2012-06-18 08:56:27 +00:00
Tom Hacohen 1412485b6d Terminology: Support CTRL+Arrow sequences.
SVN revision: 72368
2012-06-18 08:07:41 +00:00
Carsten Haitzler efb9cd7567 actually get elm scale config val and set on textgrid nd preview
objects.



SVN revision: 72367
2012-06-18 07:54:40 +00:00
Carsten Haitzler 4ea4ab4d32 use new item styles for genlist and make font preview wide.
SVN revision: 72366
2012-06-18 07:43:44 +00:00
Carsten Haitzler a97e4a8763 sorry gustavo -> font preview has gone back to how it was before. it
was bithc-slow on creation and its a shame to waste the spare icon
slot. i'll add a new style ot genlist in e17 to have ONLy a start or
end icon and then use that. the preview text entry i feel has dubious
use... lets discuss, but it doesnt belong in that dialog/pane.



SVN revision: 72335
2012-06-18 06:32:56 +00:00
Cedric BAIL fa397e90f6 terminology: reload theme when file change.
NOTE: use edje_watch to test the change to your own theme faster.


SVN revision: 72332
2012-06-18 02:56:58 +00:00
Gustavo Sverzut Barbieri 3382690cb2 oops, do not need to del it.
SVN revision: 72321
2012-06-17 22:34:41 +00:00
Gustavo Sverzut Barbieri d2321e4f65 improve and simplify font preview.
Allow user-defined text to be used, some letters are a pain like zero
x "o", "l" x "1"...

I've simplified the preview to use a single edje object and text
class, but the item is not growing as expected on updates... Edje bug?



SVN revision: 72320
2012-06-17 22:30:07 +00:00
Gustavo Sverzut Barbieri b220b1e468 play nice: use XDG_CONFIG_HOME for configuration files.
SVN revision: 72317
2012-06-17 20:59:54 +00:00
Gustavo Sverzut Barbieri ffa6d0ab67 bugfix showing options.
SVN revision: 72316
2012-06-17 20:29:25 +00:00
Gustavo Sverzut Barbieri 652df62d45 options infrastructure refactor.
There is no global config option anymore, we have option instances
that are set to the termio and media for future queries.

The idea is that we can later have different configuration per termio,
like multiple windows or tabs with different font size, background,
etc.

It's just a refactor. It would be better to define if things like
background is up to the whole terminal and then save to a different
config entry... or just save the global and copy it for next termio,
defining the other instances as 'temporary'. Anyway: policy to be defined.



SVN revision: 72315
2012-06-17 20:24:23 +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 03e58cbad2 fix cursor and fontpreview when theme is an absolute path.
SVN revision: 72308
2012-06-17 18:03:33 +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
Gustavo Sverzut Barbieri f7d8b9627d use getopt for our sanity.
It would be fine to review the options, particularly the short
options, to match common -t/--title, etc.



SVN revision: 72298
2012-06-17 16:03:46 +00:00
Carsten Haitzler 567fb934df fix typo
SVN revision: 72292
2012-06-17 11:04:33 +00:00
Carsten Haitzler 78affdfbdb weird if case in termio - fix.
SVN revision: 72290
2012-06-17 10:56:21 +00:00
Carsten Haitzler ce4096f1cd del options widget after 10 sec delay when they popped down.
SVN revision: 72287
2012-06-17 09:54:36 +00:00
Carsten Haitzler 6ccc3bbb9c dont need calc call.
SVN revision: 72286
2012-06-17 09:45:28 +00:00
Carsten Haitzler a93b94e2fd update TODO and add tmp changes checkbox.
SVN revision: 72284
2012-06-17 09:43:47 +00:00
Carsten Haitzler 27cdf9753d set genlist to homogenous for fonts.
SVN revision: 72283
2012-06-17 09:30:10 +00:00
Carsten Haitzler 28be56ac42 more options sections -> translucent moved to video and now u can
select video engine and mute state in the gui.



SVN revision: 72282
2012-06-17 09:26:01 +00:00
Carsten Haitzler e5570a7a9f and the nuttiness comes. backroung images (still), animated gifs,
scalable bg's (svg, ps, pdf etc.) that re-render at new scales, edje
backgrounds and... ... .......

VIDEO WALLPAPERS. that's right folks. you can now play video.. IN the
background of your terminal... and it works.. even loops.. and plays
audio... :)



SVN revision: 72276
2012-06-17 07:10:27 +00:00
Carsten Haitzler 8edab21318 add -h/--help for vtorri
:)



SVN revision: 72272
2012-06-17 06:06:38 +00:00
Carsten Haitzler 67f9cb1c5c scalable formats now re-load/render/scale themselevs on resize (svg,
ps, pdf) in terminology.



SVN revision: 72271
2012-06-17 06:01:14 +00:00
Carsten Haitzler 546faa5e83 terminology does animated gif bg's now.
SVN revision: 72269
2012-06-17 05:41:02 +00:00
Carsten Haitzler 5f85b494de wallpaers working on cdmline - partially
SVN revision: 72268
2012-06-17 05:19:21 +00:00
Carsten Haitzler 030397d1c0 cmd shoudl be static const
SVN revision: 72265
2012-06-17 04:11:07 +00:00
Carsten Haitzler c5ee45929b and lets move on to the... FUN!
SVN revision: 72264
2012-06-17 04:10:17 +00:00
Carsten Haitzler 2e2fb45271 default backscroll -> 2000 lines, default wordsep string move space to
start :)



SVN revision: 72261
2012-06-17 03:00:01 +00:00
Carsten Haitzler 8fa238e240 fix jump on change option to work.
SVN revision: 72257
2012-06-17 02:35:07 +00:00
Carsten Haitzler ad5c53dd3a touch up options
SVN revision: 72245
2012-06-16 18:21:48 +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 2b75cba66b more config in gui plus translucency now works. even from gui. wordsep
and scrollback config wont save/change. need to do.



SVN revision: 72237
2012-06-16 14:00:00 +00:00
Carsten Haitzler b04669cd32 rename nexus font name, add terminus fonts, change def cfg.
SVN revision: 72235
2012-06-16 13:17:35 +00:00
Carsten Haitzler b2b538d48e and hok to right object for slider cb again
SVN revision: 72231
2012-06-16 11:12:39 +00:00
Carsten Haitzler dec6c71c19 and add mini+maxi "A" labels either side of the slider. now that looks
awesome.



SVN revision: 72228
2012-06-16 10:57:20 +00:00
Carsten Haitzler f2090fac89 make 40x40 preview scale too.
SVN revision: 72227
2012-06-16 10:50:48 +00:00
Carsten Haitzler ad5f7d547b oh and make genlist items update for font size changes... oh this is
gorgeously good for usability!



SVN revision: 72226
2012-06-16 10:48:04 +00:00
Carsten Haitzler b0a4efe651 much nicer font selector with previews of all fonts - faster to come
up too. use genlist.. woooo!



SVN revision: 72224
2012-06-16 10:45:26 +00:00
Carsten Haitzler 28667adc4e we not be needin no steeking termch anymore.
SVN revision: 72219
2012-06-16 07:31:42 +00:00
Carsten Haitzler 776e0b2e96 handle textgrid font size changes properly
save and load config now (font size/font changes stick now)



SVN revision: 72216
2012-06-16 06:28:39 +00:00
Carsten Haitzler 7bff2bd96b handle null term row return - in case.
SVN revision: 72210
2012-06-16 05:27:03 +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 63c500a9ed new options arrangment - more efficient and practical
SVN revision: 72140
2012-06-14 14:18:11 +00:00
Carsten Haitzler 34aa491749 move optiosn to their own files now. cleaner.
SVN revision: 72088
2012-06-13 15:10:18 +00:00
Carsten Haitzler f30dc0a330 fix selection get of backscrolled text!
SVN revision: 72073
2012-06-13 08:23:18 +00:00
Carsten Haitzler d4682b6daa show selected font in font selector
SVN revision: 72056
2012-06-13 01:09:20 +00:00
Jihoon Kim d27a42884b terminology: remove trailing whitespace
SVN revision: 72053
2012-06-13 00:26:00 +00:00
Carsten Haitzler 07dc14b946 much better sizing behavior ith font changing
SVN revision: 72039
2012-06-12 16:15:55 +00:00
Carsten Haitzler 40f8eb4522 use images/terminology.png
SVN revision: 72038
2012-06-12 16:02:57 +00:00
Carsten Haitzler d1df37d32f xx notes
SVN revision: 72029
2012-06-12 13:17:17 +00:00
Carsten Haitzler 752afd5e86 xx notes
SVN revision: 72028
2012-06-12 13:16:47 +00:00
Carsten Haitzler 0a02632ae8 add soem mroe bitmap fonts. note: must debug many of them with evas.
also add ARTWIZ.txt (not installed) AND.. options dialog for selecting
font and font size. :) nothing saved yet.



SVN revision: 72026
2012-06-12 13:08:09 +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