Commit Graph

153 Commits

Author SHA1 Message Date
Carsten Haitzler 466fce74f0 add volume gui controls and level indicator 2020-01-16 18:49:11 +00:00
Carsten Haitzler 6c98c37e30 dnd - handle dnd data that is not nul terminated already
fix issue where we assumed dnd data is a nul terminated string. it's
not. it's raw data. fix.
2019-08-15 00:22:42 +01:00
Carsten Haitzler b24a22ba6f video - handle null file sets nicely
makes coverity happy
2019-08-06 10:25:17 +01:00
Carsten Haitzler 95cb915557 mpris - fix title return to return real title or generated one 2019-01-24 11:44:33 +00:00
Carsten Haitzler 6a2ef684b4 brng back key controls after dnd fix with focus fix for new button 2019-01-16 11:41:35 +00:00
Carsten Haitzler 7c35c02b5b dnd - deal with efl behavior breaks and use a button not evas rect
so elm broke behavior where it would allow dnd targets to be regular
evas objects not just elm. so it needs ot be elm so use an elm button.

@fix elm break
2019-01-12 14:38:18 +00:00
Carsten Haitzler ae961da8dd handle possible buffer max-out with snprintfs as errors
no warnings now.
2018-11-16 12:35:53 +00:00
Carsten Haitzler 857db46c96 rage albumart - delay img fetch as it seems no response if too fast 2018-09-27 14:39:11 +01:00
Carsten Haitzler 268e125104 rage thumb - limit max parallel thumb fetch to 4 at a time
if you have 128 cores, running 64 of these isnt a brilliant idea.
2018-09-27 11:45:11 +01:00
Alastair Poole d7227a74d3 Fix crash: file can be NULL here. 2018-06-19 17:21:43 +01:00
Carsten Haitzler f328d97ec5 rage thumb - allow a much longer timeout for long generation efforts 2018-02-24 22:17:38 +09:00
Eduardo Lima (Etrunko) 215867863f dnd: Check for spaces after '%' character
In this case the directory name should not be escaped. I recently bumped
into this issue with the '100% Clubland 90s' album.

Signed-off-by: Eduardo Lima (Etrunko) <eblima@gmail.com>
2018-01-04 12:28:00 -02:00
Carsten Haitzler f7e69b9412 mpris - handle when window is gone 2017-12-26 16:41:07 +09:00
Carsten Haitzler d615cd3c11 mpris - dont use gcc extn's of { 0 } to dclare element entirely 0
clang is unhappy with these.
2017-12-19 11:10:00 +09:00
Carsten Haitzler 8d07759869 implement metadata for mpris so evene thumbs work for non-thumbed files
this allows us to port to artfiles always too... this way
music-control displays the albumart. music-control is a bit broken in
that it doesnt keep aspect ratio etc. of these. need to fix that over
there.... but... it's coming together.
2017-11-28 14:32:59 +09:00
Carsten Haitzler de57f6735c mpris support - tidy up
make sure XXX's are for things to do still, list all the mime types
fully that i can find (well ok - should get from emotion but it doesnt
expose this), and dont expose functions that don't work in the dbus
api and note what is imcomplete at the top

this should dot i's and cross t's on the mpris support for now.
2017-11-18 12:23:16 +09:00
Carsten Haitzler f655898d2f add mpris2 dbus api support to rage 2017-11-17 22:45:31 +09:00
Carsten Haitzler 62bbf25fd2 browser - work around focus restore errors by explicitly focusing win
browser hides and rage relied on elm auto-focusing what was left after
hiding/deletion of the browser input button... but this broke ... work
around it and be explicit in focusing win content again.
2017-10-16 08:40:11 +09:00
Carsten Haitzler d82c1877ec fix warning about use after free - wasnt but coverity didn't know better
silence CID 165236
2017-09-28 10:49:40 +09:00
Carsten Haitzler 9663ce71b4 rage - recursion - do it in addition to the list not either-or 2017-09-28 10:48:40 +09:00
Al Poole 6e2b560ed4 thumb: fix optimization conversion, move and free.
Summary:
fix image save (needs extension). use same extension (saves conversion).
fix free before use.

Reviewers: raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D5071
2017-08-06 19:04:24 +09:00
Carsten Haitzler b3cb2d20a7 improve formatting of patch from netstar and warnings removed 2017-08-06 10:59:57 +09:00
Al Poole 82a163cbae Add support for "Open with (folder)" as well as directories passed via the command line.
Reviewers: raster

Tags: #rage

Differential Revision: https://phab.enlightenment.org/D4820
2017-08-05 23:11:32 +09:00
Carsten Haitzler 8dfcdf2435 browser mode - clean up and dot some i's and corss some t's
hide control bar/pos when in browse mode, disable lots of key controls
and pause/unpause click and a bunch more. much cleaner now
2017-08-05 23:09:32 +09:00
Carsten Haitzler 712d88dbf0 rage browser mode thumbs - imrpove handling of child thum processes
dont overload the machin and leave thumb procs around and handle their
death better with tmp files+ atomic rename etc.
2017-07-29 00:54:12 +09:00
Carsten Haitzler a6e000b2e8 fix help for rotation option 2017-07-28 22:27:06 +09:00
Carsten Haitzler af4f8b4b1c remove custom icon... as efl will find the right one anyway.
also remove the install of the extra icon - not needed
2017-07-24 18:46:30 +09:00
Carsten Haitzler 350d6afb47 remove automake files not needed anymore 2017-07-22 13:37:51 +09:00
Carsten Haitzler 9afbe8483e remove some noisy printfs and clean up the error ones 2017-07-21 11:12:00 +09:00
Carsten Haitzler 9125400e97 dont touch img2 in vdieo thumbs if they are not there 2017-07-21 11:12:00 +09:00
Carsten Haitzler 8726c95e2b replace autofoo with meson...
learning how meson works. may not be the cleanest or nicest... but
it's not too bad. it does work. ninja dist works.

build times improved. for a full autogen.sh, make etc. -> 5.205s to 0.759s
2017-07-21 11:11:54 +09:00
Carsten Haitzler 57faf3b21e use sempahore for the lock-step to browsing/scanning thread
fixes T5688
2017-07-09 11:27:08 +09:00
Carsten Haitzler a74ff71242 rage browser mode - make it come up every time properly...
remove race conditions and stop mainloopfrom being too flodded.
2017-06-30 19:42:52 +09:00
Carsten Haitzler 4f0461cf39 winlist - hide if mouse exits window 2017-06-04 11:15:10 +09:00
Carsten Haitzler 370446a303 rage - fix warning for unused params 2017-04-21 16:52:58 +09:00
Carsten Haitzler b56d506602 add cmdline option to rotate window for playback 2017-03-03 21:09:51 +09:00
Carsten Haitzler 94f181f3b4 silence title change printfs that are noise 2017-02-22 21:55:12 +09:00
Carsten Haitzler ca0b1e5fa5 browser - have a nicer view layout that doesnt expand items fully
so resize rage up and down and well... kind of undesireable things
happen to browser items in windowed mode. you want more of a swatch of
things to select from that don't get sily big (or way to horizontally
or vertically squashed) - similarly for fullscreen mode but be a
little different and don't enforce a max size then... it just works
better now... resizing around... try and enjoy. now back to work...
2017-01-17 12:52:52 +09:00
Carsten Haitzler 0722dd5884 thumb binary - just straight exit everywhere. 2017-01-16 17:08:00 +09:00
Al Poole 47b39cc227 Add support for video thumbnails...
Reviewers: raster

Reviewed By: raster

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D4565
2017-01-16 17:05:54 +09:00
Carsten Haitzler 6eaa248ab1 rage browse mode - move checking of videos dir to mainloop 2017-01-16 15:41:58 +09:00
Al Poole 2340469f42 add support for video thumbnails from meta data and album artwork for audio files.
Summary:
Generally these images are better quality than those
from the Interwebz and local so let's use em!

For now using emotion_object_meta_preview_get()
as Apple stores them in this tag.

emotion_object_meta_image_get() is also available
and I've heard also it is used similarly, but
am yet to find a file that does that.

Reviewers: raster

Differential Revision: https://phab.enlightenment.org/D4555

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-01-12 14:37:39 -08:00
Carsten Haitzler d66c83a547 rage videothumb - use new skip header feature to avoid stutters 2017-01-09 16:18:07 +09:00
Carsten Haitzler f7875643dd rage artfile debug - remove printf. noisy 2016-11-04 19:51:05 +09:00
Carsten Haitzler 313dda5f2d albumart - fix albumart display if paths are uri's
@fix
2016-10-02 00:34:52 +09:00
Carsten Haitzler 253c1bbcdc fix album thumb fetch as search content changed
This fixes T4500 for rage adapting to new search output for grabbing
some kind of thumbnails/images for music.
2016-09-24 19:37:28 +09:00
Carsten Haitzler f30092f35d rage thumb - use titles for movies - it seems some have titles metadata 2016-08-22 23:07:40 +09:00
Carsten Haitzler 00a46790b7 rage videothumb - do not spawn multiple thumbnailers for the same file
so if you slide up and down the seek bar without an existing thumb
file (al my videos had thumb fils because i've been using the browser
which generates the thumb files for me mostly), then rage may spawn
several thumbnailersfor the same file. this is not a good thing. so
avoid it and only have 1 thumbnailer per file
2016-08-22 11:28:56 +09:00
Carsten Haitzler 9e8752a7d9 browser videos dir - if efreet reports a silly dir for videos... handle
so if someone is sily and sets their videos dir to be $HOME ... don't
use it as frankly that makes the video browser useless. it is not
meant for such a mess of dirs. it's meant for a special subdirectory
system which is primarly just media files and nothing else ... not $HOME
2016-08-22 11:27:32 +09:00
Carsten Haitzler b51376f255 rage browser - nuke silly chars from labels 2016-08-20 12:36:53 +09:00