Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-02-17 | Main: initialize Database before Storage | Max Kellermann | 3 | -19/+14 | |
2014-02-17 | Main: move code to InitDatabaseAndStorage() | Max Kellermann | 1 | -6/+12 | |
2014-02-17 | db/Configured: disallow both "db_file" and "database" | Max Kellermann | 1 | -3/+7 | |
This is misconfiguration, and MPD should abort. | |||||
2014-02-17 | Main: move code to db/Configured.cxx | Max Kellermann | 3 | -39/+117 | |
2014-02-17 | Main: check if database exists before attempting to close it | Max Kellermann | 1 | -2/+5 | |
Fixes nullptr dereference. | |||||
2014-02-17 | db/DatabaseSimple: remove obsolete header | Max Kellermann | 2 | -48/+0 | |
2014-02-12 | StorageCommands: add command "unmount" | Max Kellermann | 3 | -0/+33 | |
2014-02-12 | CompositeStorage: fix tree walk in Directory::Unmount() | Max Kellermann | 1 | -1/+4 | |
2014-02-12 | StorageCommands: emit IDLE_MOUNT on successful "mount" | Max Kellermann | 3 | -0/+6 | |
Add the new idle event to Idle.hxx/Idle.cxx. | |||||
2014-02-12 | StorageCommands: add command "listmounts" | Max Kellermann | 4 | -0/+86 | |
2014-02-10 | util/HugeAllocator: relicense to BSD-2 | Max Kellermann | 2 | -28/+48 | |
2014-02-10 | PlaylistSong: copy the "real" URI | Max Kellermann | 1 | -0/+3 | |
Playback with some decoder plugins was broken because the Queue's DetachedSong instances did not have the "real" URI (the mapped path). | |||||
2014-02-09 | StorageCommands: expose the "mount" command | Max Kellermann | 3 | -0/+97 | |
2014-02-09 | Main: wrap the Storage instance in CompositeStorage | Max Kellermann | 2 | -2/+15 | |
2014-02-09 | CompositeStorage: new Storage implementation | Max Kellermann | 2 | -0/+467 | |
This is the backend for the upcoming "mount" command. | |||||
2014-02-09 | db/update/Walk: disable FindAncestorLoop() if device/inode==0 | Max Kellermann | 1 | -0/+5 | |
2014-02-09 | db/update/Walk: document FindAncestorLoop() | Max Kellermann | 1 | -0/+6 | |
2014-02-09 | db/update/Walk: rename find_inode_ancestor() to FindAncestorLoop() | Max Kellermann | 1 | -4/+4 | |
2014-02-09 | Main: move code to storage/Configured.cxx | Max Kellermann | 3 | -29/+117 | |
2014-02-09 | Idle: error out when unrecognized idle event was specified | Max Kellermann | 3 | -8/+32 | |
Implements the error checks missing in commit 0bad8406 | |||||
2014-02-09 | OtherCommands: remove unnecessary nullptr check | Max Kellermann | 1 | -3/+0 | |
2014-02-08 | storage/nfs: new storage plugin | Max Kellermann | 3 | -0/+271 | |
2014-02-08 | input/nfs: move nfs_domain to lib/nfs/Domain.cxx | Max Kellermann | 3 | -3/+52 | |
2014-02-08 | ArchivePlugin: pass Path to open() | Max Kellermann | 7 | -16/+24 | |
2014-02-08 | ArchivePlugin: rename struct archive_plugin to ArchivePlugin | Max Kellermann | 14 | -26/+32 | |
2014-02-08 | Main: support arbitrary storage plugins | Max Kellermann | 1 | -0/+12 | |
2014-02-07 | storage: add struct StoragePlugin and a plugin registry | Max Kellermann | 8 | -6/+175 | |
2014-02-07 | storage/local: remove utf8 path from constructor | Max Kellermann | 3 | -10/+10 | |
Build the UTF-8 version of the path automatically in the constructor. | |||||
2014-02-07 | Main: move storage initialization to InitStorage() | Max Kellermann | 1 | -20/+27 | |
2014-02-07 | Mapper: obtain music directory from Storage | Max Kellermann | 3 | -31/+19 | |
Eliminate duplicate variable. | |||||
2014-02-07 | Main: check the music directory | Max Kellermann | 2 | -3/+4 | |
Move call from Mapper.cxx. | |||||
2014-02-07 | Mapper: move check_directory() to the filesystem library | Max Kellermann | 3 | -44/+99 | |
2014-02-07 | Main: chop separators from music directory | Max Kellermann | 2 | -1/+3 | |
Move call from Mapper.cxx. | |||||
2014-02-07 | Mapper: remove unused functions | Max Kellermann | 2 | -65/+1 | |
2014-02-07 | OtherCommands: use Storage::MapUTF8() instead of Mapper.cxx | Max Kellermann | 1 | -4/+6 | |
2014-02-07 | Main: create Storage instance in glue_mapper_init() | Max Kellermann | 1 | -5/+12 | |
Don't use the obsolete Mapper library to create it. | |||||
2014-02-07 | Main: allow playlist directory without music directory | Max Kellermann | 1 | -4/+1 | |
2014-02-07 | InotifyUpdate: use class Storage instead of Mapper.cxx | Max Kellermann | 3 | -5/+11 | |
2014-02-07 | InotifyUpdate: use the root name instead of mapper_get_music_directory_fs() | Max Kellermann | 1 | -1/+1 | |
The root WatchDirectory instance already contains the music directory, and we don't need to fetch it again. | |||||
2014-02-07 | InotifyUpdate: move functions into the WatchDirectory class | Max Kellermann | 1 | -13/+18 | |
2014-02-07 | InotifyUpdate: remove unnecessary #ifdefs | Max Kellermann | 1 | -18/+0 | |
2014-02-07 | PlaylistMapper: use class Storage instead of Mapper.cxx | Max Kellermann | 7 | -12/+64 | |
2014-02-07 | Playlist{Any,Registry,Mapper}: move functions to PlaylistStream.cxx | Max Kellermann | 6 | -86/+144 | |
2014-02-07 | PlaylistSong: include cleanup | Max Kellermann | 1 | -2/+0 | |
2014-02-07 | playlist/CloseSongEnumerator: new wrapper class | Max Kellermann | 10 | -62/+109 | |
Simplifies a lot of code, because we don't need to return both the SongEnumerator and the InputStream. | |||||
2014-02-07 | StoragePlugin: add method MapToRelativeUTF8() | Max Kellermann | 8 | -39/+51 | |
Replaces map_to_relative_path() from Mapper.cxx. | |||||
2014-02-07 | fs/Traits: add function Relative() | Max Kellermann | 4 | -23/+61 | |
Move code from Path::RelativeFS() and make it generic. | |||||
2014-02-07 | DecoderPlugin: pass Path instance to file_decode() and scan_file() | Max Kellermann | 15 | -75/+94 | |
2014-02-07 | Mapper: remove unused function map_song_fs() | Max Kellermann | 2 | -86/+0 | |
2014-02-07 | DecoderThread: use only DetachedSong::GetRealURI() | Max Kellermann | 1 | -4/+2 | |
Don't use the mapper - all DetachedSong instances we get have already been mapped. |