Commit Graph

2031 Commits

Author SHA1 Message Date
casey langen
82931b3669 Fixed *nix compile. 2018-02-12 23:26:23 -08:00
casey langen
005bfeeb3a Fixed a bug where OnChildVisibilityChanged() was calling up to
super::OnParentVisibilityChanged(). Oops.
2018-02-12 23:21:24 -08:00
casey langen
ab79b4bdbe Fixed up DirectoryLayout's TrackList title. 2018-02-12 21:37:29 -08:00
casey langen
acf9befb86 Don't show path chooser if there is only one indexed path. Also:
remember the previously selected directory.
2018-02-12 21:21:59 -08:00
casey langen
d8d2fc7da0 Fixed focus order issue in DirectoryLayout when hiding/showing directory
list.
2018-02-12 20:55:55 -08:00
casey langen
1f88974620 Fixed bugs related to LayoutBase not properly re-indexing focusable
targets when views are hidden or shown. Added new
IWindow::OnChildVisibilityChanged that is automatically called by all
child Windows to notify containers of visibility changes.
2018-02-12 20:55:02 -08:00
casey langen
5dbb2c6abc A handful of additional small bugfixes for directory browsing:
1. Update the tracklist on indexer progress
2. Optimized DirectoryAdapter::HasSubdirectories()
3. Added directory name to tracklist title
4. Hide direcotry chooser for root paths without any subdirs
2018-02-12 09:45:17 -08:00
casey langen
e5d82dc868 A couple small bug fixes in the directory browser. 2018-02-12 08:10:38 -08:00
casey langen
80a10ffe5f Don't requery unless we need to. 2018-02-12 00:21:10 -08:00
casey langen
0cf2274745 Browsing metadata by directory is now pretty much working. 2018-02-12 00:08:16 -08:00
casey langen
8885651ea7 More boilerplate -- added an overlay to BrowseOverlays to allow the user
to select the browse root, then pass it through all relevant components.
Also added some localized strings.
2018-02-11 13:09:23 -08:00
casey langen
8673eddda4 - Added DirectoryTrackListQuery.
- Updated 'directories' table so columns are compatible with generic
"regular" category (and category tracklist) queries.
2018-02-11 01:15:52 -08:00
casey langen
0ba98925ba Stubbed DirectoryLayout for browse by directories functionality.
Required moving some functionality from BrowseLayout LibraryLayout.
2018-02-11 00:25:03 -08:00
casey langen
4a033ae0c6 Index track directory metadata as well -- this is the first step towards
directory browsing.
2018-02-10 23:50:47 -08:00
casey langen
bcec9dc7ca Added scrollbar support to ListOverlay. 2018-02-10 13:03:06 -08:00
casey langen
cfdd4db53d Killed some unnecessary boost dependencies. 2018-02-04 13:48:16 -08:00
Casey Langen
bc565f31b3 Fixed the macOS packaging process. 2018-02-02 10:30:25 -08:00
casey langen
ed037e8639 Bump version in musikcube.spec -- let's see if we can get the packaging
to work again.
2018-02-01 22:13:49 -08:00
casey langen
e648076a5c Fix a syntax error in musikcube.spec. 2018-02-01 22:05:22 -08:00
casey langen
ee3dfe9725 Updated musikcube.spec to ensure libmusikcore.so is executable so the tooling detects it as a bundled library dependency. 2018-02-01 21:57:27 -08:00
casey langen
c2891dda34 Added missing file to musikcube.spec 2018-02-01 19:53:33 -08:00
casey langen
aaaea49025
Update CMakeLists.txt 2018-02-01 19:35:48 -08:00
casey langen
e44d24e8c8 Exit with failure if "--stop" fails. Also give the daemon a couple more seconds to clean up. 2018-02-01 19:13:21 -08:00
casey langen
27d4696971 Fix RPATH handling in CMakeLists.txt 2018-02-01 19:12:28 -08:00
casey langen
a630fa8ffa (Hopefully) fix Zesty build on CircleCI 2018-02-01 08:59:04 -08:00
casey langen
2655c8a265 Ensure arguments get forwarded from wrapper script to executable 2018-02-01 01:10:18 -08:00
casey langen
c1a0708089 Enabled SO_REUSEADDR for server sockets. 2018-01-31 20:13:12 -08:00
Casey Langen
084f888d14 Added support for a basic set of command line options: --start, --stop,
--running, --version and --help.
2018-01-31 12:33:10 -08:00
casey langen
8d142fefcd More musikcubed code cleanup -- verified working on FreeBSD now. 2018-01-30 23:29:54 +00:00
casey langen
35689bb143 Cleaned up exitIfRunning() and simplified LOCKFILE 2018-01-31 06:24:50 +00:00
Casey Langen
b04aa4e529 Use libev to drive daemon event loop. This prevents the hacky periodic
wakeups to check the (now unnecessary) global quit flag.
2018-01-30 21:44:57 -08:00
Casey Langen
c8b81162f3 Ensure MessageQueue wait time calculations always use the same time
unit!
2018-01-30 09:39:22 -08:00
Casey Langen
0fdb83d643 MaxKellermann@ correctly pointed out the SIGTERM signal handler was not safe, and
may result in deadlock. Updated code to avoid allocations and just set
the quit flag. Required minor surgery to IMessageQueue and impl to add
a timeout to WaitAndDispatch().
2018-01-30 09:21:04 -08:00
casey langen
b18ed5ab18 The play queue now shows sequential track numbers instead of ones read
from metadata.
2018-01-29 22:58:10 -08:00
casey langen
402aab9d2c Ensure musikcubed shuts down cleanly on SIGTERM. 2018-01-29 20:59:13 -08:00
casey langen
a87c998fcf
Merge pull request #179 from zant95/include-fstream
Include fstream
2018-01-29 19:18:32 -08:00
Héctor Molinero Fernández
cf3cbfd7f6 Include fstream 2018-01-29 21:19:44 +01:00
casey langen
c25cf00013 Updated changelog for 0.40.0 2018-01-29 09:32:28 -08:00
casey langen
1a0bc55a15 Updated to boost 1.66.0 on Windows. 2018-01-29 09:10:21 -08:00
casey langen
4c758af5ac MessageQueue implementation now uses checked weak_ptr receivers for
broadcasts. This solves an issue where the message queue may prevent
components (like views) from getting cleaned up if they don't unregister
before they are discarded.
2018-01-29 09:08:54 -08:00
casey langen
5df2881a46 Ensure playlist browse uses sequential track numbers, instead of track
numbers from metadata.
2018-01-29 09:07:13 -08:00
casey langen
4fd9d358a5 More small string updates. 2018-01-28 23:40:34 -08:00
casey langen
e009adeb24 Minor string change to the API version mismatch warning. 2018-01-28 23:20:26 -08:00
casey langen
a5707f547e Updated musikcube.spec with next version. 2018-01-28 17:55:02 -08:00
casey langen
b8fe116836 Fixed daemon lock checking on BSD. 2018-01-28 16:52:24 +00:00
casey langen
7fc95e553b Version bump for next release. 2018-01-28 16:18:17 -08:00
casey langen
c1574960db - Check to see if musikcubed is already running before allowing the process to start.
- Fixed rpath linking in musikcubed CMakeLists.
- CMake "install" fixes to properly include shared library and daemon.
- Experimental changes to use a shared libmusikcore library, instead of
  a static one.
2018-01-28 15:47:23 -08:00
casey langen
369f9054ba Added musikcubed daemon. 2018-01-27 23:25:26 -08:00
casey langen
5807fafe1b - Updated transfer/copy copy to (hopefully) make things slightly less
confusing.
- Updated exoplayer and arch components to latest versions
- Added a "server mismatch" dialog
2018-01-27 01:46:28 -08:00
casey langen
87178e2a7d Updated checkbox styling to be more standard. 2018-01-26 11:00:07 -08:00