Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Sticker*: move to sticker/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 | |
| | ||||||
* | move daemonization code to unix/ | Max Kellermann | 2014-01-24 | 1 | -2/+2 | |
| | ||||||
* | Input*: move to input/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 | |
| | ||||||
* | Client*: move to client/ | Max Kellermann | 2014-01-24 | 1 | -2/+2 | |
| | ||||||
* | Update*: move to update/ | Max Kellermann | 2014-01-24 | 1 | -2/+2 | |
| | ||||||
* | Config*: move to config/ | Max Kellermann | 2014-01-24 | 1 | -4/+4 | |
| | ||||||
* | Zeroconf*: move to zeroconf/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 | |
| | ||||||
* | archive/*: move to archive/plugins/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 | |
| | ||||||
* | decoder/*: move to decoder/plugins/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 | |
| | ||||||
* | output/*: move to output/plugins/ | Max Kellermann | 2014-01-23 | 1 | -1/+1 | |
| | ||||||
* | playlist/*: move to playlist/plugins/ | Max Kellermann | 2014-01-23 | 1 | -1/+1 | |
| | ||||||
* | Main: glue_mapper_init() returns true if GetUserMusicDir() fails | Max Kellermann | 2014-01-22 | 1 | -1/+1 | |
| | | | | Not a fatal error. Fixes assertion failure. | |||||
* | Daemon: fork as early as possible | Max Kellermann | 2014-01-18 | 1 | -1/+2 | |
| | | | | | | | Keep the parent process around until MPD has finished initializing. This is important for libraries that are allergic to fork(), such as libupnp. | |||||
* | Main: make variables more local | Max Kellermann | 2014-01-18 | 1 | -13/+9 | |
| | ||||||
* | Main: eliminate variable "success" | Max Kellermann | 2014-01-18 | 1 | -10/+7 | |
| | ||||||
* | copyright year 2014 | Max Kellermann | 2014-01-13 | 1 | -1/+1 | |
| | ||||||
* | DatabasePlugin: add interface DatabaseListener | Max Kellermann | 2014-01-11 | 1 | -1/+1 | |
| | | | | Allow database plugins to announce that they have been modified. | |||||
* | configure.ac: add option "--disable-glib" | Max Kellermann | 2013-12-15 | 1 | -1/+7 | |
| | | | | | Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core. | |||||
* | Main: use standard directory API | Denis Krjuchkov | 2013-12-08 | 1 | -7/+4 | |
| | ||||||
* | PcmConvert: add pcm_convert_global_init() | Max Kellermann | 2013-11-29 | 1 | -2/+2 | |
| | | | | | Wrapper for pcm_resample_global_init(), just in case other PCM libraries need initialization, too. | |||||
* | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 1 | -3/+0 | |
| | ||||||
* | Main.cxx: initialize winsock before creating IO thread | Denis Krjuchkov | 2013-11-26 | 1 | -1/+1 | |
| | | | | Otherwise sockets can't be created during IO thread initialization. | |||||
* | Volume, Output: use new class PeriodClock instead of GTimer | Max Kellermann | 2013-11-25 | 1 | -1/+0 | |
| | ||||||
* | Stats: use monotonic clock instead of GTimer | Max Kellermann | 2013-11-24 | 1 | -1/+0 | |
| | | | | Reduce GLib usage. | |||||
* | Log: add level "DEFAULT" | Max Kellermann | 2013-11-04 | 1 | -8/+8 | |
| | | | | | | Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure". | |||||
* | increase default buffer size to 4 MB | Max Kellermann | 2013-10-30 | 1 | -1/+1 | |
| | | | | | | 2 MB was too small for cross-fading a 24 bit file. Increasing to 4 MB is still not too large for weak machines, but is enough for cross-fading. | |||||
* | Main: check the g_get_user_special_dir() result | Max Kellermann | 2013-10-30 | 1 | -4/+7 | |
| | | | | Fixes crash. | |||||
* | Main: convert anonymous enum to constexpr | Max Kellermann | 2013-10-20 | 1 | -4/+2 | |
| | ||||||
* | *Commands: move to src/command/ | Max Kellermann | 2013-10-20 | 1 | -1/+1 | |
| | ||||||
* | *: use references instead of pointers | Max Kellermann | 2013-10-19 | 1 | -1/+1 | |
| | ||||||
* | fs/Path: rename to AllocatedPath | Max Kellermann | 2013-10-17 | 1 | -10/+13 | |
| | | | | | | | The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object. | |||||
* | fs/Path: move configuration code to Config.cxx | Max Kellermann | 2013-10-17 | 1 | -1/+2 | |
| | ||||||
* | UpdateGlue: never pass null to update_enqueue() | Max Kellermann | 2013-10-17 | 1 | -1/+1 | |
| |