Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | db/simple: mount points | Max Kellermann | 2014-02-27 | 1 | -1/+1 |
| | | | | | | | | A SimpleDatabase instance can now "mount" other Database instances at certain locations. This is used to use a new SimpleDatabase instance for each storage mount (issued with the "mount" protocol command). Each such instance has its own database file, stored in the directory that is specified with the "cache_directory" option. | ||||
* | db/update: cancel the update on shutdown | Max Kellermann | 2014-02-27 | 1 | -0/+3 |
| | |||||
* | db/simple: create dedicated directory | Max Kellermann | 2014-02-26 | 1 | -1/+1 |
| | |||||
* | SongSort, ...: use libicu instead of GLib's g_utf8_*() | Max Kellermann | 2014-02-24 | 1 | -0/+8 |
| | |||||
* | Main: use INT_MAX instead of G_MAXUINT | Max Kellermann | 2014-02-24 | 1 | -1/+1 |
| | |||||
* | first Android release | Max Kellermann | 2014-02-22 | 1 | -0/+19 |
| | | | | | Finally, MPD runs on Android. For some small value of "runs". Very much work left, too much to describe. | ||||
* | Main: disable command-line parser and signal handlers on Android | Max Kellermann | 2014-02-22 | 1 | -0/+19 |
| | |||||
* | Main: initialize Partition before Listener | Max Kellermann | 2014-02-20 | 1 | -1/+2 |
| | | | | Fixes nullptr dereference (regression by commit df5f9f4a). | ||||
* | Listen: add Partition reference | Max Kellermann | 2014-02-19 | 1 | -1/+2 |
| | |||||
* | DatabasePlugin: add FLAG_REQUIRE_STORAGE | Max Kellermann | 2014-02-19 | 1 | -9/+17 |
| | | | | | Ignore the storage configuration if FLAG_REQUIRE_STORAGE is not set in the DatabasePlugin. | ||||
* | db/Interface: add attribute "plugin" | Max Kellermann | 2014-02-19 | 1 | -3/+2 |
| | | | | The new method IsPlugin() replaces the "is_simple" flag. | ||||
* | Mixer: add class MixerListener | Max Kellermann | 2014-02-19 | 1 | -2/+0 |
| | | | | Use a listener interface instead of GlobalEvents. | ||||
* | Main: disable inotify check without database | Max Kellermann | 2014-02-18 | 1 | -5/+6 |
| | | | | Fix build failure. | ||||
* | Main: initialize Database before Storage | Max Kellermann | 2014-02-17 | 1 | -5/+12 |
| | |||||
* | Main: move code to InitDatabaseAndStorage() | Max Kellermann | 2014-02-17 | 1 | -6/+12 |
| | |||||
* | Main: move code to db/Configured.cxx | Max Kellermann | 2014-02-17 | 1 | -39/+11 |
| | |||||
* | 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 | 1 | -1/+0 |
| | |||||
* | Main: wrap the Storage instance in CompositeStorage | Max Kellermann | 2014-02-09 | 1 | -2/+11 |
| | |||||
* | Main: move code to storage/Configured.cxx | Max Kellermann | 2014-02-09 | 1 | -29/+3 |
| | |||||
* | Main: support arbitrary storage plugins | Max Kellermann | 2014-02-08 | 1 | -0/+12 |
| | |||||
* | storage/local: remove utf8 path from constructor | Max Kellermann | 2014-02-07 | 1 | -4/+1 |
| | | | | 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 | 1 | -1/+1 |
| | | | | Eliminate duplicate variable. | ||||
* | Main: check the music directory | Max Kellermann | 2014-02-07 | 1 | -1/+4 |
| | | | | Move call from Mapper.cxx. | ||||
* | Main: chop separators from music directory | Max Kellermann | 2014-02-07 | 1 | -0/+3 |
| | | | | Move call from Mapper.cxx. | ||||
* | 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 | 1 | -4/+1 |
| | |||||
* | InotifyUpdate: use class Storage instead of Mapper.cxx | Max Kellermann | 2014-02-07 | 1 | -1/+4 |
| | |||||
* | storage/local: hide the class declarations | Max Kellermann | 2014-02-07 | 1 | -2/+2 |
| | | | | Hide inside CreateLocalStorage(). | ||||
* | storage/local: move to src/storage/plugins/ | Max Kellermann | 2014-02-05 | 1 | -1/+1 |
| | |||||
* | db/UpdateWalk: move LocalStorage to Instance | Max Kellermann | 2014-02-05 | 1 | -0/+4 |
| | | | | Keep only a reference. | ||||
* | Main: remove unused global variable "main_thread" | Max Kellermann | 2014-02-05 | 1 | -4/+0 |
| | |||||
* | Instance: add attribute "event_loop" | Max Kellermann | 2014-02-05 | 1 | -14/+16 |
| | | | | Replaces global variable "main_loop". | ||||
* | MixerPlugin: add EventLoop& init() parameter | Max Kellermann | 2014-02-05 | 1 | -1/+2 |
| | |||||
* | event/Loop: remove the dummy constructor argument | Max Kellermann | 2014-02-05 | 1 | -1/+1 |
| | |||||
* | db/update/Service: use DatabaseListener instead of Instance | Max Kellermann | 2014-02-04 | 1 | -1/+1 |
| | | | | Don't use the global variable "instance". | ||||
* | Instance: add Database attribute | Max Kellermann | 2014-02-04 | 1 | -7/+11 |
| | | | | Move from db/DatabaseGlue.cxx, eliminating global variable. | ||||
* | Main: create UpdateService instance in glue_db_init_and_load() | Max Kellermann | 2014-02-04 | 1 | -5/+6 |
| | |||||
* | db/update/Service: add SimpleDatabase reference | Max Kellermann | 2014-02-04 | 1 | -1/+2 |
| | | | | Don't use the global variables from the DatabaseSimple library. | ||||
* | Main: don't measure DatabaseGlobalDeinit() time | Max Kellermann | 2014-02-01 | 1 | -4/+0 |
| | | | | Useless information. | ||||
* | db: add compile-time option to disable database | Max Kellermann | 2014-01-30 | 1 | -3/+20 |
| | |||||
* | db/update: convert to OO API | Max Kellermann | 2014-01-30 | 1 | -6/+11 |
| | | | | | Move global variables into the new classes. That may allow multiple update threads for multiple databases one day. | ||||
* | Main, OutputThread: increase kernel timer slack (Linux) | Max Kellermann | 2014-01-30 | 1 | -0/+5 |
| | | | | | Allows the kernel to combine timer wakeups with other processes, reducing power usage. | ||||
* | InotifyUpdate: pass EventLoop to mpd_inotify_init() | Max Kellermann | 2014-01-29 | 1 | -1/+2 |
| | |||||
* | Listen: pass EventLoop to listen_global_init() | Max Kellermann | 2014-01-29 | 1 | -1/+1 |
| | | | | Don't use global variables. | ||||
* | OutputAll: convert to class, move instance to class Partition | Max Kellermann | 2014-01-28 | 1 | -4/+2 |
| | | | | Another big chunk of code for multi-player support. | ||||
* | neighbor: new subsystem to detect file servers on the local network | Max Kellermann | 2014-01-26 | 1 | -0/+30 |
| | | | | | | | | | | | | | This commit adds the NeighborPlugin API which can be used to detect nearby file servers that can be used by input plugins. This list of servers is exported using the new "listneighbors" command. The idle even "neighbor" notifies interested clients when a new neighbor is found or an existing one is lost. There's a lot missing currently: protocol&user documentation, and a way to "mount" remote servers into the music database. Obviously, some code from the UPnP database plugin can be moved to a neighbor plugin. | ||||
* | Mixer*: move to mixer/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 |
| | |||||
* | Database*: move to db/ | Max Kellermann | 2014-01-24 | 1 | -4/+4 |
| |