Commit Graph

14 Commits

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