aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins/simple (follow)
Commit message (Collapse)AuthorAgeFilesLines
* storage/local: convert mangled URI to FS charsetMax Kellermann2015-03-031-1/+5
|
* db/simple: eliminate UpdateFileInArchive() if archive API is disabledMax Kellermann2015-03-011-0/+4
| | | | Reduce some unnecessary overhead.
* fs/FileInfo: new library providing GetFileInfo()Max Kellermann2015-02-281-18/+14
| | | | Replaces StatFile(), with a portable data object.
* fs/FileSystem: merge CheckAccess() into PathExists()Max Kellermann2015-02-271-1/+1
| | | | | PathExists() should better do what CheckAccess() does, and CheckAccess() doesn't do what its name implies.
* config/Param: split block-specific attributes to new struct ConfigBlockMax Kellermann2015-01-212-10/+10
| | | | The old struct config_param remains only for top-level string options.
* ConfigData: move struct config_param to Param.hxxMax Kellermann2015-01-211-1/+1
|
* Copyright year 2015Max Kellermann2015-01-0115-15/+15
|
* Merge branch 'v0.19.x'Max Kellermann2014-12-262-7/+10
|\
| * db/simple: fix implicit nullptr/bool conversionMax Kellermann2014-12-261-3/+3
| | | | | | | | | | Return false on error, not nullptr.
| * fs/Traits, ...: work around -Wtautological-pointer-compareMax Kellermann2014-12-261-1/+4
| | | | | | | | New in clang 3.6.
| * Merge branch 'v0.18.x' into v0.19.xMax Kellermann2014-12-261-3/+3
| |
* | configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann2014-11-212-10/+10
|/ | | | Simplify the definition of many build options.
* db/simple: fix build failure without zlibMax Kellermann2014-08-301-1/+4
|
* db/simple/Song: use std::chrono::duration for start_ms and end_msMax Kellermann2014-08-282-9/+11
|
* db/LightSong: use std::chrono::duration for start_ms and end_msMax Kellermann2014-08-281-2/+2
|
* DetachedSong: use std::chrono::duration for start_ms and end_msMax Kellermann2014-08-281-2/+2
|
* db/simple: check for I/O errors in Load()Max Kellermann2014-08-111-1/+1
|
* db/simple: compress the database file using gzipMax Kellermann2014-08-112-5/+60
|
* fs/io/BufferedReader: new class to replace class TextFileMax Kellermann2014-08-071-5/+2
| | | | | | | The new class is pluggable, to prepare for gzipped database files. For now, the TextFile class remains, and will be refactored away later.
* fs/output, fs/TextFile: move to fs/io/Max Kellermann2014-08-073-7/+7
|
* *Save, *State: use the OutputStream API instead of FILE*Max Kellermann2014-07-305-37/+33
|
* Directory: eliminate attribute "have_stat"Max Kellermann2014-06-162-2/+2
| | | | Check for 0 in "device" and "inode" instead.
* db/simple: use class boost::intrusive::listMax Kellermann2014-06-166-103/+114
| | | | Remove the C list_head library and use type-safe C++ instead.
* db/Helpers: split libraryMax Kellermann2014-04-251-0/+1
|
* DatabaseCommands: "list" allows groupingMax Kellermann2014-04-242-5/+6
|
* db/simple: mount pointsMax Kellermann2014-02-278-6/+386
| | | | | | | | 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/simple: GetRoot() returns referenceMax Kellermann2014-02-271-2/+2
|
* db/simple/Directory: eliminate method LookupSong()Max Kellermann2014-02-263-30/+19
| | | | Move to SimpleDatabase::GetSong() to give that method more control.
* db/simple/Directory: LookupDirectory() return remaining URIMax Kellermann2014-02-263-41/+62
| | | | Code can now be reused in LookupSong().
* db/simple/Directory: make variables more localMax Kellermann2014-02-261-4/+2
|
* db/Directory: add DEVICE_* documentationMax Kellermann2014-02-261-0/+10
|
* db/simple: create dedicated directoryMax Kellermann2014-02-2612-0/+1776