aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Main: delete the Storage instance on shutdownMax Kellermann2014-06-101-0/+2
|
* lib/icu: add IcuInit(), IcuFinish()Max Kellermann2014-06-101-3/+3
|
* Main: auto-configure state file on AndroidMax Kellermann2014-03-021-2/+15
|
* Main: use getExternalStorageDirectory() for locating mpd.confMax Kellermann2014-03-021-2/+11
|
* db/Configured: store database file in cache directoryMax Kellermann2014-03-011-1/+9
| | | | | Add class Context which wraps the Android/Java Context class and add a JNI wrapper for method Context.getCacheDir().
* Main: inline mpd_main() on AndroidMax Kellermann2014-03-011-0/+3
|
* Android: obtain music directory from ↵Max Kellermann2014-03-011-0/+4
| | | | Environment.getExternalStoragePublicDirectory()
* java: new helper library for the Android portMax Kellermann2014-03-011-1/+6
|
* Main: load mpd.conf from /sdcard/ on AndroidMax Kellermann2014-03-011-0/+3
| | | | Hard-coded path. Will be replaced soon.
* db/simple: mount pointsMax Kellermann2014-02-271-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 shutdownMax Kellermann2014-02-271-0/+3
|
* db/simple: create dedicated directoryMax Kellermann2014-02-261-1/+1
|
* SongSort, ...: use libicu instead of GLib's g_utf8_*()Max Kellermann2014-02-241-0/+8
|
* Main: use INT_MAX instead of G_MAXUINTMax Kellermann2014-02-241-1/+1
|
* first Android releaseMax Kellermann2014-02-221-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 AndroidMax Kellermann2014-02-221-0/+19
|
* Main: initialize Partition before ListenerMax Kellermann2014-02-201-1/+2
| | | | Fixes nullptr dereference (regression by commit df5f9f4a).
* Listen: add Partition referenceMax Kellermann2014-02-191-1/+2
|
* DatabasePlugin: add FLAG_REQUIRE_STORAGEMax Kellermann2014-02-191-9/+17
| | | | | Ignore the storage configuration if FLAG_REQUIRE_STORAGE is not set in the DatabasePlugin.
* db/Interface: add attribute "plugin"Max Kellermann2014-02-191-3/+2
| | | | The new method IsPlugin() replaces the "is_simple" flag.
* Mixer: add class MixerListenerMax Kellermann2014-02-191-2/+0
| | | | Use a listener interface instead of GlobalEvents.
* Main: disable inotify check without databaseMax Kellermann2014-02-181-5/+6
| | | | Fix build failure.
* Main: initialize Database before StorageMax Kellermann2014-02-171-5/+12
|
* Main: move code to InitDatabaseAndStorage()Max Kellermann2014-02-171-6/+12
|
* Main: move code to db/Configured.cxxMax Kellermann2014-02-171-39/+11
|
* Main: check if database exists before attempting to close itMax Kellermann2014-02-171-2/+5
| | | | Fixes nullptr dereference.
* db/DatabaseSimple: remove obsolete headerMax Kellermann2014-02-171-1/+0
|
* Main: wrap the Storage instance in CompositeStorageMax Kellermann2014-02-091-2/+11
|
* Main: move code to storage/Configured.cxxMax Kellermann2014-02-091-29/+3
|
* Main: support arbitrary storage pluginsMax Kellermann2014-02-081-0/+12
|
* storage/local: remove utf8 path from constructorMax Kellermann2014-02-071-4/+1
| | | | Build the UTF-8 version of the path automatically in the constructor.
* Main: move storage initialization to InitStorage()Max Kellermann2014-02-071-20/+27
|
* Mapper: obtain music directory from StorageMax Kellermann2014-02-071-1/+1
| | | | Eliminate duplicate variable.
* Main: check the music directoryMax Kellermann2014-02-071-1/+4
| | | | Move call from Mapper.cxx.
* Main: chop separators from music directoryMax Kellermann2014-02-071-0/+3
| | | | Move call from Mapper.cxx.
* Main: create Storage instance in glue_mapper_init()Max Kellermann2014-02-071-5/+12
| | | | Don't use the obsolete Mapper library to create it.
* Main: allow playlist directory without music directoryMax Kellermann2014-02-071-4/+1
|
* InotifyUpdate: use class Storage instead of Mapper.cxxMax Kellermann2014-02-071-1/+4
|
* storage/local: hide the class declarationsMax Kellermann2014-02-071-2/+2
| | | | Hide inside CreateLocalStorage().
* storage/local: move to src/storage/plugins/Max Kellermann2014-02-051-1/+1
|
* db/UpdateWalk: move LocalStorage to InstanceMax Kellermann2014-02-051-0/+4
| | | | Keep only a reference.
* Main: remove unused global variable "main_thread"Max Kellermann2014-02-051-4/+0
|
* Instance: add attribute "event_loop"Max Kellermann2014-02-051-14/+16
| | | | Replaces global variable "main_loop".
* MixerPlugin: add EventLoop& init() parameterMax Kellermann2014-02-051-1/+2
|
* event/Loop: remove the dummy constructor argumentMax Kellermann2014-02-051-1/+1
|
* db/update/Service: use DatabaseListener instead of InstanceMax Kellermann2014-02-041-1/+1
| | | | Don't use the global variable "instance".
* Instance: add Database attributeMax Kellermann2014-02-041-7/+11
| | | | Move from db/DatabaseGlue.cxx, eliminating global variable.
* Main: create UpdateService instance in glue_db_init_and_load()Max Kellermann2014-02-041-5/+6
|
* db/update/Service: add SimpleDatabase referenceMax Kellermann2014-02-041-1/+2
| | | | Don't use the global variables from the DatabaseSimple library.
* Main: don't measure DatabaseGlobalDeinit() timeMax Kellermann2014-02-011-4/+0
| | | | Useless information.