aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/Configured.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fs/Traits: add macro PATH_LITERAL()Max Kellermann2015-03-051-1/+2
|
* db/Configured: convert path to UTF-8 before injecting into configurationMax Kellermann2015-03-051-1/+4
|
* config/Param: split block-specific attributes to new struct ConfigBlockMax Kellermann2015-01-211-4/+5
| | | | The old struct config_param remains only for top-level string options.
* config/Option: convert to strictly-typed enumMax Kellermann2015-01-211-2/+2
|
* ConfigData: move struct config_param to Param.hxxMax Kellermann2015-01-211-1/+1
|
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* fs/StandardDirectory: add GetUserCacheDir()Max Kellermann2014-03-011-15/+4
| | | | | | Move code from CreateConfiguredDatabase() and add XDG support. This implements an automatic Linux fallback for the setting "db_file" if none was specified.
* db/Configured: store database file in cache directoryMax Kellermann2014-03-011-1/+25
| | | | | Add class Context which wraps the Android/Java Context class and add a JNI wrapper for method Context.getCacheDir().
* db/Interface: add attribute "plugin"Max Kellermann2014-02-191-2/+2
| | | | The new method IsPlugin() replaces the "is_simple" flag.
* Main: initialize Database before StorageMax Kellermann2014-02-171-13/+1
|
* db/Configured: disallow both "db_file" and "database"Max Kellermann2014-02-171-3/+7
| | | | This is misconfiguration, and MPD should abort.
* Main: move code to db/Configured.cxxMax Kellermann2014-02-171-0/+67