Commit Graph

20 Commits

Author SHA1 Message Date
Carsten Haitzler 878def120e move private.h down after system headers... to avoid conflict 2017-12-19 11:01:09 +09:00
Carsten Haitzler 125d475068 add tysend cmdline and support in escapes for sending single files
this allows you to send a file via escapes to terminology which will
pop up a file save dialog and ask what to save it as and where (based
on the original name). terminology will show a progress bar too. this
is not useful locally but remotely (e.g. you ssh'd into another
machine) it's a VERY handy way of fetching a file from the remote
machine to the local machine with a display just with tysend FILE. you
can send multiple in a sequence with tysend FILE1 FILE2 FILE3 ... ...
and terminology will ask for a location and filename per file you send
(just hit cancel if you don't want to do it).

note - it needs new theme features to work. it'll fail without them.

@feature
2017-12-17 23:41:26 +09:00
Boris Faure fbe747fbfd include private.h everywhere
that way, terminology_config.h is included if present
2016-10-18 20:21:50 +02:00
Marcel Hollerbach b038ed7ff6 ty*: add unified --help / -h options to see a help page
This also adds documentation about the -h / --help options in the usages
2016-09-16 13:33:59 +02:00
Boris Faure 0e0105e559 make ty* fail nicely when in tmux/screen 2016-07-30 16:31:56 +02:00
Mike Blumenkrantz eb25dabf09 fix compile warning
tycat.c: In function ‘handle_edje’:
tycat.c:180:40: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
        (o, rp, "e/desktop/background") == EINA_TRUE)
2015-07-28 16:07:03 -04:00
Boris Faure 9538380861 make terminology compile with efl 1.7 2014-09-23 21:54:41 +02:00
Carsten Haitzler 5ddd6dfa63 tycat and tylsd - dont init system modules in ecore. not neeeded 2014-08-18 15:53:54 +09:00
Boris Faure 2833ad913c fix compiler warnings 2014-07-15 12:37:51 +02:00
wonguk.jeong 0f463fc4bf tycat: show a media properly in precise area
Summary:
Precise multimedia size/type/aspect ratio could be acquired after first frame has been decoded.

Therefore,

Fixes T1376

1. put every file in the queue, and handle them one by one
2. in case of video, block queue handling until "frame_decode" callback is invoked.
3. to avoid infinite blocking, put timer for timeout check

Test Plan:
1.terminology -> tycat "video file" -> check whether the video size is fit to real video size
2.            -> tycat "audio file" -> check whether black area is shown or not

Reviewers: billiob, raster

Subscribers: seoz

Maniphest Tasks: T1376

Differential Revision: https://phab.enlightenment.org/D1192
2014-07-15 12:34:00 +02:00
Carsten Haitzler 38d468fc61 remove warngings 2013-07-30 20:19:07 +09:00
Chris Michael e51396944c Fix warning: comparison between signed and unsigned integer expressions
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-19 09:21:58 +01:00
Boris Faure 3d804bf38d tycat: fix videos aspect ratio when emotion_object_video_handled_get() fails
Sometimes, emotion_object_video_handled_get() will return NULL. In that case, the video will be stretched to the terminal's width but only 3 lines high. Use A/R information for better scaling.
Also support videos and fix aspect ratio.

Patch by jpeg.
2013-05-20 16:16:21 +02:00
Boris Faure 4f6aed0488 tycat: Add -g option to limit the size of the images
Patch by jpeg
2013-05-20 16:08:00 +02: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 510e14530f cleaner code...
SVN revision: 83430
2013-01-29 10:47:56 +00:00
Carsten Haitzler 47fe497356 tycat... faster shutdown... and understand edje and mp3/music files...
and stuff



SVN revision: 83429
2013-01-29 10:47:04 +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 c4ad6c9c94 ok - rename tcat to tycat.
SVN revision: 83392
2013-01-28 23:53:06 +00:00