Commit Graph

606 Commits

Author SHA1 Message Date
Casey Langen
4cc9e33c55 Added musik::core::GetHomeDirectory(), wired it into DirectoryAdapter 2016-06-23 01:13:54 -07:00
Casey Langen
59a2a4794f A couple small layout tweaks in IndexerLayout.cpp 2016-06-23 00:41:13 -07:00
Casey Langen
67b5260229 Add/remove path functionality actually working in IndexerLayout and DirectoryAdapter. Finally. 2016-06-23 00:35:17 -07:00
Casey Langen
1733530066 Quick fix for an off-by-1 error in DirectoryAdapter::Select 2016-06-23 00:08:00 -07:00
Casey Langen
1702b37d0a The directory browser is kind of basically working, but still has a couple hard-coded values and will need to be tweaked for Windows. 2016-06-22 23:49:46 -07:00
Casey Langen
45c8aeb1c7 Added the concept of ScrollAdapter ItemDecorators that can be used to decorate entries in a ScrollableWindow. 2016-06-22 21:24:05 -07:00
casey
e1086b9847 very beginnings of the IndexerLayout where users can configure paths. 2016-06-22 01:02:38 -07:00
casey
b5a4f5ff3d Added DB transactions when adding files to the library to speed up the
process and reduce CPU usage.
2016-06-19 21:04:03 -07:00
casey
4f466e6d01 Added a new preference to the indexer to NOT delete files missing from
the filesystem.
2016-06-19 14:25:03 -07:00
casey
d8714bb59b Store preferences in JSON files not, instead of the DB. This way they
are easier to edit by the end-user.
2016-06-19 13:54:22 -07:00
Casey Langen
c0b29ac204 Added json.hpp (https://github.com/nlohmann/json) -- going to use this to replace the current preferences implementation. 2016-06-19 11:30:15 -07:00
casey
401b3cc19f Fixed a small bug in SearchLayout where the category listviews were
overlapping the transport.
2016-06-18 12:38:50 -07:00
clangen
8429edf19b Update README.md 2016-06-18 12:35:23 -07:00
clangen
8a5cab4d82 Update README.md 2016-06-18 12:34:26 -07:00
casey
28278494b2 Fixed track search compile and warnings in Windows. 2016-06-18 12:03:50 -07:00
Casey Langen
84e235c5d3 Added a couple fixes for the empty/reset state in TrackSearchLayout and added Alt+B keyboard shortcut. 2016-06-18 12:00:39 -07:00
Casey Langen
53f7034185 Fixed up TrackSearchLayout to work properly, including input debouncing. 2016-06-18 11:51:57 -07:00
Casey Langen
00a1827b1f Added a stubbed track search view. 2016-06-18 11:10:58 -07:00
casey
dfcaa7caa1 Cleaned up some unused functionality in TrackList, TrackListView 2016-06-18 10:22:42 -07:00
casey
cae288f6b6 Fixed a super annoying bug where SOMETIMES search would select the wrong category value. 2016-06-17 22:36:31 -07:00
casey
c7a9a93937 Optimized prefetch of next track to happen way ahead of time to limit chance of gapless playback not working properly. 2016-06-17 22:17:55 -07:00
casey
b9447a7bec Merge branch 'master' into tracklist 2016-06-17 22:01:54 -07:00
casey
9aa1a0081c Fixed a bug introduced by recent buffer changes that broke low-level seek behavior. 2016-06-17 22:01:06 -07:00
casey
680195a21a A bit of TrackList cleanup. 2016-06-17 21:49:19 -07:00
Casey Langen
72975b5a98 Partial implementation of TrackList to improve performance of large collections of tracks. 2016-06-17 21:17:35 -07:00
Casey Langen
050736b339 Fixed broken OS X compile. 2016-06-15 22:38:09 -07:00
clangen
188d0e5690 Updated CMakeLists.txt with the new files so Linux and Mac compile again. 2016-06-15 22:25:57 -07:00
casey
526cb025c2 - Reduced default Buffer size in Stream.cpp
- Added a new TextLabel class
- Added category labels to SearchLayout
2016-06-15 22:30:44 -07:00
clangen
f823a2462d Fixed the AlsaOut plugin to work with the updated Buffer samples semantics. 2016-06-14 23:56:25 -07:00
casey
20cdc0d6ff Simplified the way Buffer handles sample count. Updated decoders and output plugins accordingly. 2016-06-14 23:47:19 -07:00
casey
250a265de4 - Fixed scroll behavior to show one item above when jumping to search results and showing now playing
- Highlight CategoryListView rows with current playing info like we do in TrackListView
2016-06-14 21:57:30 -07:00
casey
4d38d4f9ee Added some boundry checking to BrowseLayout and PlaybackService, which should fix the empty library crash. 2016-06-13 16:42:57 -07:00
Casey Langen
c6610585b7 Fixed a bug that could result in Player threads being unable to terminate. 2016-06-13 00:43:14 -07:00
casey
deddc410a0 Ensure the track list view is automatically selected after searching. 2016-06-13 00:22:08 -07:00
clangen
0f8fd82a5b Fixed another deadlock in Player.cpp. Hopefully this is the last one. 2016-06-12 21:29:37 -07:00
Casey Langen
e15d4118ef Fixed a deadlock in Player and also made some of the locking more granular. 2016-06-12 20:31:38 -07:00
clangen
026d81e86b Update README.md 2016-06-12 17:46:17 -07:00
casey
33cd7c8340 Fixed a race condition in CategoryListView. 2016-06-12 17:43:13 -07:00
casey
be5ef75fad A couple small tweaks to SearchLayout to ensure it requeries only when required. 2016-06-12 17:03:56 -07:00
casey
14b516060d Plumbed the remaining search-related events throughout the browse and library layouts, and updated the queries accordingly. We can now search and jump directly to results in browse view. 2016-06-12 16:54:46 -07:00
Casey Langen
e1da4b32e5 Small fix for clang 3.7 on OSX. 2016-06-12 15:35:03 -07:00
casey
a960ec46db Search view filtering works, but doesn't do anything yet. Also: probably really inefficient. 2016-06-12 15:30:33 -07:00
casey
45bd3f4c0d Stubbed out a SearchLayout and fixed some key handling and focus order issues. 2016-06-12 13:37:48 -07:00
casey
c7a0377632 Fixed LayoutBase::FocusPrev, and wired up shift+tab support in Main.cpp. 2016-06-12 13:24:39 -07:00
casey
c3217bf65c Cleaned up a couple more core class and typedef definitions, including QueryPtr -> IQueryPtr. 2016-06-12 12:25:17 -07:00
casey
0ac12016e9 Finally got around to extracting TextInput from CommandWindow so it's reusable in other contexts 2016-06-11 23:20:17 -07:00
clangen
e4d7cd7f8f Some minor AlsaOut.cpp cleanups. 2016-06-11 22:30:14 -07:00
casey
85f63ce303 - Added ITransport interface
- Moved Transport.h/cpp -> GaplessTransport.h/cpp
- Moved all Transport-related source units to the core/audio/ directory
- Moved NonLibraryTrackHelper to core/support/
2016-06-11 22:22:24 -07:00
casey
ad70ef988e Updated LICENSE.txt 2016-06-11 18:22:59 -07:00
casey langen
15d3160cf5 More CRLF -> LF conversion. 2016-06-11 18:21:43 -07:00