aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-16PlayerThread: rename player_create() to StartPlayerThread()Max Kellermann1-1/+1
2014-07-30Main: don't require mpd.conf on AndroidMax Kellermann1-1/+3
Don't fail to start if mpd.conf does not exist; just use default values.
2014-06-10Main: delete the Storage instance on shutdownMax Kellermann1-0/+2
2014-06-10lib/icu: add IcuInit(), IcuFinish()Max Kellermann1-3/+3
2014-03-02Main: auto-configure state file on AndroidMax Kellermann1-2/+15
2014-03-02Main: use getExternalStorageDirectory() for locating mpd.confMax Kellermann1-2/+11
2014-03-01db/Configured: store database file in cache directoryMax Kellermann1-1/+9
Add class Context which wraps the Android/Java Context class and add a JNI wrapper for method Context.getCacheDir().
2014-03-01Main: inline mpd_main() on AndroidMax Kellermann1-0/+3
2014-03-01Android: obtain music directory from ↵Max Kellermann1-0/+4
Environment.getExternalStoragePublicDirectory()
2014-03-01java: new helper library for the Android portMax Kellermann1-1/+6
2014-03-01Main: load mpd.conf from /sdcard/ on AndroidMax Kellermann1-0/+3
Hard-coded path. Will be replaced soon.
2014-02-27db/simple: mount pointsMax Kellermann1-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.
2014-02-27db/update: cancel the update on shutdownMax Kellermann1-0/+3
2014-02-26db/simple: create dedicated directoryMax Kellermann1-1/+1
2014-02-24SongSort, ...: use libicu instead of GLib's g_utf8_*()Max Kellermann1-0/+8
2014-02-24Main: use INT_MAX instead of G_MAXUINTMax Kellermann1-1/+1
2014-02-22first Android releaseMax Kellermann1-0/+19
Finally, MPD runs on Android. For some small value of "runs". Very much work left, too much to describe.
2014-02-22Main: disable command-line parser and signal handlers on AndroidMax Kellermann1-0/+19
2014-02-20Main: initialize Partition before ListenerMax Kellermann1-1/+2
Fixes nullptr dereference (regression by commit df5f9f4a).
2014-02-19Listen: add Partition referenceMax Kellermann1-1/+2
2014-02-19DatabasePlugin: add FLAG_REQUIRE_STORAGEMax Kellermann1-9/+17
Ignore the storage configuration if FLAG_REQUIRE_STORAGE is not set in the DatabasePlugin.
2014-02-19db/Interface: add attribute "plugin"Max Kellermann1-3/+2
The new method IsPlugin() replaces the "is_simple" flag.
2014-02-19Mixer: add class MixerListenerMax Kellermann1-2/+0
Use a listener interface instead of GlobalEvents.
2014-02-18Main: disable inotify check without databaseMax Kellermann1-5/+6
Fix build failure.
2014-02-17Main: initialize Database before StorageMax Kellermann1-5/+12
2014-02-17Main: move code to InitDatabaseAndStorage()Max Kellermann1-6/+12
2014-02-17Main: move code to db/Configured.cxxMax Kellermann1-39/+11
2014-02-17Main: check if database exists before attempting to close itMax Kellermann1-2/+5
Fixes nullptr dereference.
2014-02-17db/DatabaseSimple: remove obsolete headerMax Kellermann1-1/+0
2014-02-09Main: wrap the Storage instance in CompositeStorageMax Kellermann1-2/+11
2014-02-09Main: move code to storage/Configured.cxxMax Kellermann1-29/+3
2014-02-08Main: support arbitrary storage pluginsMax Kellermann1-0/+12
2014-02-07storage/local: remove utf8 path from constructorMax Kellermann1-4/+1
Build the UTF-8 version of the path automatically in the constructor.
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