Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | configure.ac: check for libpthread | Max Kellermann | 2014-02-18 | 1 | -0/+5 | |
| | | | | | | | | Required for building without GLib. | |||||
* | | PlaylistRegistry: disable the "pls" plugin without GLib | Max Kellermann | 2014-02-18 | 1 | -0/+3 | |
| | | ||||||
* | | LogInit: disable SetLogCharset() without GLib | Max Kellermann | 2014-02-18 | 2 | -0/+7 | |
| | | ||||||
* | | util/StringUtil: add StringEndsWith() | Max Kellermann | 2014-02-18 | 3 | -3/+17 | |
| | | | | | | Replaces g_str_has_suffix(). | |||||
* | | SongFilter: disable g_utf8_casefold() without GLib | Max Kellermann | 2014-02-18 | 1 | -0/+14 | |
| | | | | | | | | Temporary hack for the experimental no-GLib build. | |||||
* | | fs/TextFile: use custom allocation instead of GString | Max Kellermann | 2014-02-17 | 3 | -27/+32 | |
| | | ||||||
* | | fs/Charset: disable if GLib is disabled | Max Kellermann | 2014-02-17 | 3 | -2/+31 | |
| | | ||||||
* | | TagId3: use xstrdup() instead of g_strdup() | Max Kellermann | 2014-02-17 | 1 | -3/+4 | |
| | | ||||||
* | | util/StringUtil: add function Strip() | Max Kellermann | 2014-02-17 | 5 | -6/+27 | |
| | | | | | | Replaces g_strstrip(). | |||||
* | | TagString: disable UTF-8 validation if GLib is disabled | Max Kellermann | 2014-02-17 | 1 | -3/+13 | |
| | | ||||||
* | | Main: initialize Database before Storage | Max Kellermann | 2014-02-17 | 3 | -19/+14 | |
| | | ||||||
* | | Main: move code to InitDatabaseAndStorage() | Max Kellermann | 2014-02-17 | 1 | -6/+12 | |
| | | ||||||
* | | db/Configured: disallow both "db_file" and "database" | Max Kellermann | 2014-02-17 | 1 | -3/+7 | |
| | | | | | | | | This is misconfiguration, and MPD should abort. | |||||
* | | Main: move code to db/Configured.cxx | Max Kellermann | 2014-02-17 | 4 | -39/+118 | |
| | | ||||||
* | | Main: check if database exists before attempting to close it | Max Kellermann | 2014-02-17 | 1 | -2/+5 | |
| | | | | | | | | Fixes nullptr dereference. | |||||
* | | db/DatabaseSimple: remove obsolete header | Max Kellermann | 2014-02-17 | 2 | -48/+0 | |
| | | ||||||
* | | StorageCommands: add command "unmount" | Max Kellermann | 2014-02-12 | 3 | -0/+33 | |
| | | ||||||
* | | CompositeStorage: fix tree walk in Directory::Unmount() | Max Kellermann | 2014-02-12 | 1 | -1/+4 | |
| | | ||||||
* | | StorageCommands: emit IDLE_MOUNT on successful "mount" | Max Kellermann | 2014-02-12 | 3 | -0/+6 | |
| | | | | | | | | Add the new idle event to Idle.hxx/Idle.cxx. | |||||
* | | StorageCommands: add command "listmounts" | Max Kellermann | 2014-02-12 | 4 | -0/+86 | |
| | | ||||||
* | | systemd: add socket activation files | Max Kellermann | 2014-02-12 | 4 | -17/+17 | |
| | | ||||||
* | | systemd: assign real-time budget | Max Kellermann | 2014-02-12 | 1 | -0/+13 | |
| | | ||||||
* | | util/HugeAllocator: relicense to BSD-2 | Max Kellermann | 2014-02-10 | 2 | -28/+48 | |
| | | ||||||
* | | PlaylistSong: copy the "real" URI | Max Kellermann | 2014-02-10 | 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). | |||||
* | | StorageCommands: expose the "mount" command | Max Kellermann | 2014-02-09 | 4 | -0/+98 | |
| | | ||||||
* | | Main: wrap the Storage instance in CompositeStorage | Max Kellermann | 2014-02-09 | 2 | -2/+15 | |
| | | ||||||
* | | CompositeStorage: new Storage implementation | Max Kellermann | 2014-02-09 | 3 | -0/+468 | |
| | | | | | | | | This is the backend for the upcoming "mount" command. | |||||
* | | db/update/Walk: disable FindAncestorLoop() if device/inode==0 | Max Kellermann | 2014-02-09 | 1 | -0/+5 | |
| | | ||||||
* | | db/update/Walk: document FindAncestorLoop() | Max Kellermann | 2014-02-09 | 1 | -0/+6 | |
| | | ||||||
* | | db/update/Walk: rename find_inode_ancestor() to FindAncestorLoop() | Max Kellermann | 2014-02-09 | 1 | -4/+4 | |
| | | ||||||
* | | Main: move code to storage/Configured.cxx | Max Kellermann | 2014-02-09 | 4 | -29/+118 | |
| | | ||||||
* | | Idle: error out when unrecognized idle event was specified | Max Kellermann | 2014-02-09 | 4 | -8/+33 | |
| | | | | | | | | Implements the error checks missing in commit 0bad8406 | |||||
* | | OtherCommands: remove unnecessary nullptr check | Max Kellermann | 2014-02-09 | 1 | -3/+0 | |
| | | ||||||
* | | storage/nfs: new storage plugin | Max Kellermann | 2014-02-08 | 6 | -0/+291 | |
| | | ||||||
* | | input/nfs: move nfs_domain to lib/nfs/Domain.cxx | Max Kellermann | 2014-02-08 | 4 | -3/+53 | |
| | | ||||||
* | | ArchivePlugin: pass Path to open() | Max Kellermann | 2014-02-08 | 8 | -17/+25 | |
| | | ||||||
* | | ArchivePlugin: rename struct archive_plugin to ArchivePlugin | Max Kellermann | 2014-02-08 | 15 | -27/+33 | |
| | | ||||||
* | | doc/user: document storage plugins | Max Kellermann | 2014-02-08 | 1 | -0/+33 | |
| | | ||||||
* | | Main: support arbitrary storage plugins | Max Kellermann | 2014-02-08 | 2 | -0/+15 | |
| | | ||||||
* | | storage: add struct StoragePlugin and a plugin registry | Max Kellermann | 2014-02-07 | 9 | -6/+177 | |
| | | ||||||
* | | storage/local: remove utf8 path from constructor | Max Kellermann | 2014-02-07 | 4 | -13/+14 | |
| | | | | | | | | Build the UTF-8 version of the path automatically in the constructor. | |||||
* | | Main: move storage initialization to InitStorage() | Max Kellermann | 2014-02-07 | 1 | -20/+27 | |
| | | ||||||
* | | Mapper: obtain music directory from Storage | Max Kellermann | 2014-02-07 | 3 | -31/+19 | |
| | | | | | | | | Eliminate duplicate variable. | |||||
* | | Main: check the music directory | Max Kellermann | 2014-02-07 | 2 | -3/+4 | |
| | | | | | | | | Move call from Mapper.cxx. | |||||
* | | Mapper: move check_directory() to the filesystem library | Max Kellermann | 2014-02-07 | 4 | -44/+100 | |
| | | ||||||
* | | Main: chop separators from music directory | Max Kellermann | 2014-02-07 | 2 | -1/+3 | |
| | | | | | | | | Move call from Mapper.cxx. | |||||
* | | Mapper: remove unused functions | Max Kellermann | 2014-02-07 | 2 | -65/+1 | |
| | | ||||||
* | | OtherCommands: use Storage::MapUTF8() instead of Mapper.cxx | Max Kellermann | 2014-02-07 | 1 | -4/+6 | |
| | | ||||||
* | | Main: create Storage instance in glue_mapper_init() | Max Kellermann | 2014-02-07 | 1 | -5/+12 | |
| | | | | | | | | Don't use the obsolete Mapper library to create it. | |||||
* | | Main: allow playlist directory without music directory | Max Kellermann | 2014-02-07 | 2 | -4/+2 | |
| | |