Commit Graph

26 Commits

Author SHA1 Message Date
Carsten Haitzler 11373da80b remove printf debugs... 2020-05-03 15:39:03 +01:00
Carsten Haitzler c9a15ab2e8 fix somw browser badness on resize
some undeleted objects... fix
2020-04-23 18:13:02 +01:00
Carsten Haitzler c794cfd4ea browser - move propulate to animator and consts to defines
a bunch of magic constants in the browser - move to defines at the
top. these are for tuning the general way the browser does things so
keep them in a block at the top as defines and move the delayed
populate to an animator to keep a constant amount of per-frame actions
limited (like creates and destroys). up these to 32 creates and
destroys max per frame to keep max smoodness in scrolling around.

on reflection i could also just limit it by time as well... but... for
now this is bvery good and improved over what was there a little bit
ago...
2020-02-15 12:00:36 +00:00
Carsten Haitzler 11a55d0dea browser - limit number of browser file objects creates or destroyed
this limits how many per second we create or destroy spreading the
cost over time to keep smoothness at the cost of perhaps some delay
until you see updated content as you scroll.
2020-02-05 13:48:08 +00:00
Carsten Haitzler 89959af3eb browser - optimize to only load the file entries as they appear
so as you scroll it'll load/create and not per dir. this gets rid of
big stalls as a whole dir worth of edje and thumb/album objects are
created and packed etc. ... now it's far more smooth. i could try and
spread the entry creation over time too instead of all of them that
appear at any time which might be smoother, but pretty good right now.
it also destroys as items go out of the window
2020-02-04 23:26:48 +00:00
Carsten Haitzler 459cd830ed browser - make it more spacey with less padding wasted 2020-01-17 14:58:27 +00: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 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 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 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 6eaa248ab1 rage browse mode - move checking of videos dir to mainloop 2017-01-16 15:41:58 +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
Carsten Haitzler d328e836a6 video browser - use efreet to get videos dir as opposed to hardcoding 2016-08-20 12:01:51 +09:00
Carsten Haitzler d0732ec3f1 rage browser mode and ui - slicken between desktop and fullscreen mode
so now sizing and count and spacing of items change, header
sizes/style change and more when switching to/from fullscreen mode.
fullscreen == "i want to be a media cener now on a big screen tv" vs
"i'm a video collection browser in a window on your desktop". far
nicer now. i think this is getting close to another release. maybe
after 1.18
2016-08-06 13:37:54 +09:00
Carsten Haitzler bbda9033aa rage - yet more browser mode related improvements
make video hide on stop so when browser i sback there isnt a dead
video in the background
make poster mode explicit so timeline thumbs work again
add spacing between browser item and make label multi-line
...
2015-11-14 09:13:13 +09:00
Carsten Haitzler f9c47fb521 rage - finish off improving browser 2015-11-14 00:02:22 +09:00
Carsten Haitzler 622cba151e rage browser - improve looksa and layout to use file posters if possible
1. guess if it's a move by aspectr ratio and lenght.
2. if it meets this - search for a file poster online instead of
generating thumbnails.
3. make thumbs now taller than wide to accomodate poster sizes

looks nicer now.
2015-11-12 22:23:21 +09:00
Carsten Haitzler 9091d776b5 rage - fix warnings and selection remembering on click
one warning gone and browser now consistent betwene mouse and kkey
control in remembeirng last selection for coming back to browser
2015-10-14 12:32:16 +09:00
Carsten Haitzler 6c616bc6c6 rage - coverity complaint on locks - fix 2015-10-12 10:51:03 +09:00
Carsten Haitzler 40483f4de3 rage - quieten coverity even though its not an isue
locks in entry frees are not needed as by the time something is freed
a thread is no longer using it, but this should make coverity happy.
2015-10-11 14:46:06 +09:00
Carsten Haitzler 25a21888bc rage - fix coverity issues. 2015-10-11 14:44:26 +09:00
Carsten Haitzler 4b516ab8bb rage - borwser - remember prev selected entry and re-sel on re-show 2015-10-11 11:33:00 +09:00
Carsten Haitzler 04630ed478 rage browser - delete dir entries when deleting browser on hide 2015-10-11 11:06:50 +09:00
Carsten Haitzler b4b380ce1f rage - add "browser" when run with no args - index ~/Videos
this adds a video browser that indexes everything in ~/Videos
flattening subdirs into categories. It also will handle music and
fetch album art. browser can be mouse or key controlled. makes rage
almost media-centerey. not intended as a replacement tho, but just
that it's handy to throw in.
2015-10-10 16:51:49 +09:00