Commit Graph

510 Commits

Author SHA1 Message Date
Mike Blumenkrantz 6ae5d03f82 delete key on player view deletes current song 2015-06-08 08:01:27 -04:00
zmike 88a10f3497 refresh current filesystem's realized items after completing a url paste
should fix race condition when attempting to load the pasted/saved url
out of the cache immediately after the paste
2015-04-16 08:50:38 -04:00
zmike 764297867c fix apm to add all new/updated albums, not just first album 2015-04-15 22:20:26 -04:00
zmike b5f571087e export empd_queue_length for use in modules 2015-04-15 22:12:55 -04:00
zmike 2a580715ed use int for empd_song_track
a song can have a track == 0, which results in multiple "empc,bg,changed" signal
callbacks being added, which ruins cover animations
2015-04-11 11:43:30 -04:00
zmike 5889bf4551 force layout recalc before completing cover animation
this will end up being a big recalc since it has to handle a newly-swallowed
object, so it's better to complete it before starting the next animation to
ensure that no frames get dropped
2015-04-10 10:29:40 -04:00
zmike 3c5caf9f7e always show filesystem add/refresh buttons again after entry hide 2015-04-07 18:44:47 -04:00
zmike eec74c14b0 remove straggler edje file reloading code 2015-04-07 18:44:46 -04:00
Mike Blumenkrantz 9a3b2741d1 update e module for latest api changes 2015-04-06 20:41:29 -04:00
Mike Blumenkrantz 7e2b1a47ab block filesystem entry activation for invalid key presses
mainly filtering backspace \b
2015-03-10 13:56:57 -04:00
Mike Blumenkrantz 38fffbd489 don't unexpectedly block entry shortcuts when filesystem entry is visible 2015-03-10 13:38:23 -04:00
Mike Blumenkrantz 7aea5c7a21 attempt to disable awful giant blue focus rectangles
ref T2193
2015-03-09 17:30:03 -04:00
Mike Blumenkrantz 37e4f02850 ensure correct button/back state on filesystem layout when hiding entry 2015-03-09 17:06:55 -04:00
Mike Blumenkrantz 11592116f5 fix BackSpace keyname in filesystem entry key handler 2015-03-09 16:57:43 -04:00
Mike Blumenkrantz fd566329eb filesystem entry receives focus now to fix backspace+compose functionality 2015-03-09 16:57:41 -04:00
Mike Blumenkrantz 514c60df50 disable focus on filesystem gengrid while entry is active 2015-03-09 16:54:58 -04:00
Mike Blumenkrantz fd4ae8f791 pressing enter while filesystem entry is active now activates current item 2015-03-09 16:54:58 -04:00
Mike Blumenkrantz ecfd8e779d unify filesystem entry hiding signal sending 2015-03-09 16:54:55 -04:00
zmike 36c5767a23 set grid size as max image size for filesystem items
still weirdly off center for some images but at least it isn't overflowing
2015-03-08 22:33:13 -04:00
zmike 3616fc1d4f use BOTH aspect mode for ee images
I think this looks better for corner cases?
2015-03-08 22:31:55 -04:00
zmike b05eb858a7 fix crash when album scrolling in play view 2015-02-23 22:07:43 -05:00
zmike 3d4b0a039e add ctrl+scrolling in player view to skip prev/next album 2015-02-19 22:44:51 -05:00
Mike Blumenkrantz 7984721d6e move startup playlist+control showing to after connect
ensure hints will be visible even if login is required
2015-02-04 19:08:09 -05:00
Mike Blumenkrantz caf7ff052f fix e module .desktop build dependency 2015-01-22 18:54:04 -05:00
Mike Blumenkrantz f1c0a284c4 fix some harmless uninitialized var warnings 2015-01-22 18:53:50 -05:00
Mike Blumenkrantz 92aa6470b8 fix re-selecting on queue update 2015-01-22 18:49:50 -05:00
zmike 02b984a25b don't crash on error popup on success 2015-01-20 00:48:36 -05:00
Mike Blumenkrantz 3c160b2b01 add a super ugly, super angry, super caps error popup for broken dbus installs 2015-01-20 00:33:32 -05:00
Mike Blumenkrantz 43abc46c93 add ctrl+a for select all
how do widgets not have functions for this
2015-01-20 00:13:15 -05:00
Mike Blumenkrantz 010c22c1cb update main song text on queue list update when necessary 2015-01-19 20:44:49 -05:00
Mike Blumenkrantz 6c63d18681 add key shortcuts (1-X) for menu items
shortcut hint visibility blocked by ref T2022
2015-01-19 19:11:48 -05:00
Mike Blumenkrantz 7393732af1 show ctxpopup with ctrl+enter for queue and filesystem 2015-01-19 18:41:03 -05:00
Mike Blumenkrantz acb88f9783 use passed fs obj to check for selected items 2015-01-19 17:33:21 -05:00
Mike Blumenkrantz be6992e6da move fs item selected check into ctxpopup show function 2015-01-19 17:32:19 -05:00
Mike Blumenkrantz 9f53399d24 add versioning for e module 2015-01-19 17:27:17 -05:00
Mike Blumenkrantz d32570c914 make empc texts translatable 2015-01-19 17:25:16 -05:00
zmike 11e4a5bbe4 fix filesystem updating to use current filesystem view for update base 2015-01-19 15:38:34 -05:00
Mike Blumenkrantz 05260fccac add timers for left+right event areas to toggle overlays
edje bitches about an embryo stack underflow from this even though it's harmless, so edje logging gets turned off
2015-01-06 13:09:28 -05:00
zmike e033453054 pass invalid url completions to metadata with deletion flag set accordingly 2015-01-03 01:05:10 -05:00
Mike Blumenkrantz d037fd11e5 add option for appending selection from filesystem popup 2015-01-02 19:07:05 -05:00
Mike Blumenkrantz 76f028fc6f check ~/.config/empc/modules for homedir modules
this probably isn't xdg-approved but I'm too lazy to figure out where modules are supposed to go
2014-12-31 19:08:42 -05:00
Mike Blumenkrantz 4dce054617 shutup evas_main log dom
this is probably not the best way to prevent the infinite edje recalc errors but I doubt the internals will be fixed anytime soon so here goes
2014-12-31 19:08:42 -05:00
Mike Blumenkrantz 0cb070190f optimize apm insertions when using filenames 2014-12-31 19:08:42 -05:00
Mike Blumenkrantz 7c15296068 add notifications for apm updates 2014-12-31 19:08:42 -05:00
Mike Blumenkrantz d1e574b435 unify genlist clear functions to avoid future bugs 2014-12-31 19:08:42 -05:00
Mike Blumenkrantz 6e8e8af54e hugely improve ctrl+scrolling speed in empc 2014-12-31 19:08:42 -05:00
Mike Blumenkrantz 8936365d19 hugely beef up apm module
* auto-insert new adds into existing albums

* check database info if shitty filesystem organization exists
2014-12-31 19:08:38 -05:00
Mike Blumenkrantz 43edd86bb2 fix invalid header items in hash by clearing header hash on genlist clear 2014-12-28 18:01:59 -05:00
Mike Blumenkrantz 3f7a89f158 make some empc functions/variables accessible to modules 2014-12-28 18:01:59 -05:00
Mike Blumenkrantz 14c9993fab add AddId dbus method 2014-12-28 18:01:59 -05:00
Mike Blumenkrantz ceaf0913da fix e module warning 2014-12-28 18:01:58 -05:00
Mike Blumenkrantz 5ac9da57df add util function for finding header items 2014-12-28 18:01:58 -05:00
Mike Blumenkrantz a049bda9d7 change lyric show mechanism to ensure lyrics are available before showing 2014-12-28 18:01:58 -05:00
zmike b67527dbe6 fix tooltip creation for player view 2014-12-24 23:51:17 -05:00
zmike 4055d54e69 one more excetra resync 2014-12-21 18:41:16 -05:00
zmike dc03a8a138 resync excetra with upstream 2014-12-21 18:20:44 -05:00
Mike Blumenkrantz 5f5d80a1d6 show info when no background available, todo-- 2014-12-19 19:57:55 -05:00
Mike Blumenkrantz c3e22f3e48 add tooltips for player view 2014-12-19 19:57:55 -05:00
Mike Blumenkrantz 5539346c53 break out tooltip creation into separate function 2014-12-19 19:57:55 -05:00
Mike Blumenkrantz cfeb7fbdc6 fix build deps for apm module
fix T1938
2014-12-19 19:57:55 -05:00
zmike ce69d2d4b6 fix some probably-impossible-to-trigger uninitialized variable warnings
../src/bin/empc.c: In function 'queue_list_delete_selected':
../src/bin/empc.c:2024:7: warning: 'sub' may be used uninitialized in this function [-Wmaybe-uninitialized]

../src/bin/empdd.c: In function 'main':
../src/bin/empdd.c:1395:19: warning: 'settings' may be used uninitialized in this function [-Wmaybe-uninitialized]

../src/bin/empc.c: In function 'filesystem_item_content_get':
../src/bin/empc.c:1342:42: warning: 'req' may be used uninitialized in this function [-Wmaybe-uninitialized]

../src/bin/empc.c: In function 'empc_status':
../src/bin/empc.c:879:46: warning: 'sop' may be used uninitialized in this function [-Wmaybe-uninitialized]
../src/bin/empc.c:808:26: note: 'sop' was declared here
2014-12-16 00:46:45 -05:00
Mike Blumenkrantz 19bd534205 make apm startup async 2014-12-15 14:39:49 -05:00
Mike Blumenkrantz ed6a62c02e apm should only try parsing log file if seek was successful 2014-12-15 14:39:34 -05:00
Mike Blumenkrantz d9056e4702 handle metadata fetch failures due to no matching modules loaded 2014-12-15 00:07:09 -05:00
Mike Blumenkrantz 0b5969db26 rewrite apm to track log file changes when possible 2014-12-14 22:08:38 -05:00
Mike Blumenkrantz 47db0cbcbc replace PLAYLIST_MANAGER modtype with MISC, remove related hooks 2014-12-14 21:55:43 -05:00
Mike Blumenkrantz 9c0ceaa822 fix window title when no song title/artist available 2014-12-14 21:49:39 -05:00
Mike Blumenkrantz b3d489b40c fix filesystem fetching if player is stopped 2014-12-14 21:48:25 -05:00
Mike Blumenkrantz 5be8af98b8 swap bgs correctly after an update 2014-12-14 17:24:06 -05:00
Mike Blumenkrantz 8fb9daf5be avoid scrolling playlist on songid_update when modifying playlist 2014-12-14 17:22:38 -05:00
zmike 50ca6c1301 ensure ctrl+scrolling uses geometry inside the playlist area for finding an item 2014-12-07 00:10:14 -05:00
zmike c9646b679d fix mouse wheel use when ctrl+scrolling on playlist 2014-12-05 09:34:13 -05:00
zmike 191b1207d9 add ctrl+wheel playlist scrolling for scrolling between headers 2014-12-02 20:47:04 -05:00
Mike Blumenkrantz 12366be5aa fix e module dbus crash 2014-11-21 14:44:54 -05:00
zmike d9a12b8e2e put time back for current song in playlist
it was too distracting to have an empty field in the playlist
2014-11-16 17:12:23 -05:00
zmike b389313c55 redo playlist tooltip to use edje table for more accurate layout + translation 2014-11-16 17:08:36 -05:00
zmike 1943098145 block apm activation for now since mpd is borked 2014-11-11 21:59:28 -05:00
zmike 9f0a2895ac run apm update checker on idler to reduce input/animation lag 2014-11-11 19:00:29 -05:00
zmike 5041b8a901 apm module only adds updated songs if they aren't already in playlist 2014-11-11 18:54:39 -05:00
zmike fb2e6f6d74 add modapi function to check playlist for song file 2014-11-11 18:54:19 -05:00
zmike 6577f465fd redo apm module to use specific pm hooks for db events 2014-11-11 18:43:31 -05:00
zmike 99b129ed21 ensure auto updates don't overlap previous updates 2014-11-09 20:01:24 -05:00
zmike 7c0f187946 add MAX() macro 2014-11-09 20:01:11 -05:00
zmike 85e19f9121 remove duplicate line 2014-11-09 19:59:04 -05:00
zmike 981af9cf4e add auto playlist manager module
attempts to auto add recently modified songs to end of playlist
2014-11-09 18:08:36 -05:00
zmike b9332485ad make eldbus proxies usable by modules 2014-11-09 18:08:15 -05:00
zmike fbffcf3ba7 make empc.h includable without needing Evas.h 2014-11-09 18:07:56 -05:00
zmike c034ce3440 implement playlist manager type module 2014-11-09 18:07:23 -05:00
zmike 6c089a7612 make eldbus proxies in empc void* to reduce header requirements 2014-11-09 18:06:19 -05:00
zmike 952e24f1cb move mpd defines from empc.c -> empc.h 2014-11-09 18:05:44 -05:00
zmike e2ef708e85 break up azy+eldbus generated sources into C+H vars in makefile 2014-11-09 18:04:33 -05:00
zmike 93c9d99fbb add empd dbupdate begin signal, rename prev signal to dbupdate end 2014-11-09 18:04:00 -05:00
zmike a777fb1891 fix empdd lsinfo crashes 2014-11-09 17:42:18 -05:00
zmike a7e7a27083 add empdd find method
only modified-since is implemented
2014-11-09 16:53:12 -05:00
zmike a19d3f8d23 fix empdd idling 2014-11-09 16:34:34 -05:00
zmike e18782f2aa improve db update signal detection 2014-11-09 16:03:46 -05:00
zmike f9b3c5a6a5 empc should try to maintain scroller position and selection states when updating playlist 2014-11-09 00:41:56 -05:00
zmike 4c14e346f5 remove browser inner w/h from google fetcher
this seems to have no effect
2014-11-06 00:52:03 -05:00
zmike 7dd810c0f3 sync image file when saving images... 2014-11-06 00:42:31 -05:00
zmike 87ff038a52 set bgselector info when pasting/dbusing images (fixes header update) 2014-11-06 00:40:21 -05:00