Commit Graph

96 Commits

Author SHA1 Message Date
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