Commit Graph

64 Commits

Author SHA1 Message Date
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 329c558c5d performance: allow limiting the maximum log level at compile time.
Although eina_log is not that harmful, allowing the user to remove
debug/info messages for production is good, it reduces the overhead
and also allows removing the strings from the final binary.

I'd recommend production builds with:

   ./configure --with-maximum-log-level=2





SVN revision: 72311
2012-06-17 18:41:23 +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 e099b4a8d9 add mild theme without that weird highlight.
SVN revision: 72309
2012-06-17 18:12:38 +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
Daniel Juyung Seo 8497f7a389 terminology .gitignore: Updated .gitignore
SVN revision: 72305
2012-06-17 17:20:27 +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 3ecf32e825 ignore built/generated files
SVN revision: 72301
2012-06-17 16:36:59 +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 9cb38365ab update todo more.
SVN revision: 72285
2012-06-17 09:44:55 +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 b89fbeb633 add some noise to make gradients look less "banded".
SVN revision: 72255
2012-06-17 02:04:44 +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 0049982fe1 make bg shadow image more grey than black - better for terminal
content visibility.



SVN revision: 72240
2012-06-16 17:05:11 +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 71da0e6a76 and add xfont copyright info - add to extra dist in makefile.am
SVN revision: 72230
2012-06-16 11:09:50 +00:00
Carsten Haitzler 523cd8a55a add a bunch of fonts from x11 std bitmap ones to terminology bitmap
install.



SVN revision: 72229
2012-06-16 11:06:57 +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
Vincent Torri 7443e137c4 add a TODO
SVN revision: 72214
2012-06-16 06:23:20 +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