aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-07Main: move storage initialization to InitStorage()Max Kellermann1-20/+27
2014-02-07Mapper: obtain music directory from StorageMax Kellermann1-1/+1
Eliminate duplicate variable.
2014-02-07Main: check the music directoryMax Kellermann1-1/+4
Move call from Mapper.cxx.
2014-02-07Main: chop separators from music directoryMax Kellermann1-0/+3
Move call from Mapper.cxx.
2014-02-07Main: create Storage instance in glue_mapper_init()Max Kellermann1-5/+12
Don't use the obsolete Mapper library to create it.
2014-02-07Main: allow playlist directory without music directoryMax Kellermann1-4/+1
2014-02-07InotifyUpdate: use class Storage instead of Mapper.cxxMax Kellermann1-1/+4
2014-02-07storage/local: hide the class declarationsMax Kellermann1-2/+2
Hide inside CreateLocalStorage().
2014-02-05storage/local: move to src/storage/plugins/Max Kellermann1-1/+1
2014-02-05db/UpdateWalk: move LocalStorage to InstanceMax Kellermann1-0/+4
Keep only a reference.
2014-02-05Main: remove unused global variable "main_thread"Max Kellermann1-4/+0
2014-02-05Instance: add attribute "event_loop"Max Kellermann1-14/+16
Replaces global variable "main_loop".
2014-02-05MixerPlugin: add EventLoop& init() parameterMax Kellermann1-1/+2
2014-02-05event/Loop: remove the dummy constructor argumentMax Kellermann1-1/+1
2014-02-04db/update/Service: use DatabaseListener instead of InstanceMax Kellermann1-1/+1
Don't use the global variable "instance".
2014-02-04Instance: add Database attributeMax Kellermann1-7/+11
Move from db/DatabaseGlue.cxx, eliminating global variable.
2014-02-04Main: create UpdateService instance in glue_db_init_and_load()Max Kellermann1-5/+6
2014-02-04db/update/Service: add SimpleDatabase referenceMax Kellermann1-1/+2
Don't use the global variables from the DatabaseSimple library.
2014-02-01Main: don't measure DatabaseGlobalDeinit() timeMax Kellermann1-4/+0
Useless information.
2014-01-30db: add compile-time option to disable databaseMax Kellermann1-3/+20
2014-01-30db/update: convert to OO APIMax Kellermann1-6/+11
Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.
2014-01-30Main, OutputThread: increase kernel timer slack (Linux)Max Kellermann1-0/+5
Allows the kernel to combine timer wakeups with other processes, reducing power usage.
2014-01-29InotifyUpdate: pass EventLoop to mpd_inotify_init()Max Kellermann1-1/+2
2014-01-29Listen: pass EventLoop to listen_global_init()Max Kellermann1-1/+1
Don't use global variables.
2014-01-28OutputAll: convert to class, move instance to class PartitionMax Kellermann1-4/+2
Another big chunk of code for multi-player support.
2014-01-26neighbor: new subsystem to detect file servers on the local networkMax Kellermann1-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.
2014-01-24Mixer*: move to mixer/Max Kellermann1-1/+1
2014-01-24Database*: move to db/Max Kellermann1-4/+4
2014-01-24Sticker*: move to sticker/Max Kellermann1-1/+1
2014-01-24move daemonization code to unix/Max Kellermann1-2/+2
2014-01-24Input*: move to input/Max Kellermann1-1/+1
2014-01-24Client*: move to client/Max Kellermann1-2/+2
2014-01-24Update*: move to update/Max Kellermann1-2/+2
2014-01-24Config*: move to config/Max Kellermann1-4/+4
2014-01-24Zeroconf*: move to zeroconf/Max Kellermann1-1/+1
2014-01-24archive/*: move to archive/plugins/Max Kellermann1-1/+1
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann1-1/+1
2014-01-23output/*: move to output/plugins/Max Kellermann1-1/+1
2014-01-23playlist/*: move to playlist/plugins/Max Kellermann1-1/+1
2014-01-22Main: glue_mapper_init() returns true if GetUserMusicDir() failsMax Kellermann1-1/+1
Not a fatal error. Fixes assertion failure.
2014-01-18Daemon: fork as early as possibleMax Kellermann1-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.
2014-01-18Main: make variables more localMax Kellermann1-13/+9
2014-01-18Main: eliminate variable "success"Max Kellermann1-10/+7
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-11DatabasePlugin: add interface DatabaseListenerMax Kellermann1-1/+1
Allow database plugins to announce that they have been modified.
2013-12-15configure.ac: add option "--disable-glib"Max Kellermann1-1/+7
Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core.
2013-12-08Main: use standard directory APIDenis Krjuchkov1-7/+4
2013-11-29PcmConvert: add pcm_convert_global_init()Max Kellermann1-2/+2
Wrapper for pcm_resample_global_init(), just in case other PCM libraries need initialization, too.
2013-11-28include cleanup using iwyuMax Kellermann1-3/+0
2013-11-26Main.cxx: initialize winsock before creating IO threadDenis Krjuchkov1-1/+1
Otherwise sockets can't be created during IO thread initialization.