aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins/simple (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-11-11db/simple: use StringAfterPrefix() instead of StringStartsWith()Max Kellermann2-21/+20
2015-11-06util/StringUtil: move comparison functions to StringCompare.cxxMax Kellermann2-2/+2
2015-10-19util/DeleteDisposer: new utility classMax Kellermann2-9/+5
2015-08-24db/UniqueTags, tag/Set, ...: use typedef tag_mask_tMax Kellermann2-2/+2
2015-08-24tag/Settings: convert to C++Max Kellermann1-1/+1
2015-08-24tag/Settings: add function IsTagEnabled() wrapping access to ignore_tag_items[]Max Kellermann1-2/+2
2015-03-03storage/local: convert mangled URI to FS charsetMax Kellermann1-1/+5
2015-03-01db/simple: eliminate UpdateFileInArchive() if archive API is disabledMax Kellermann1-0/+4
Reduce some unnecessary overhead.
2015-02-28fs/FileInfo: new library providing GetFileInfo()Max Kellermann1-18/+14
Replaces StatFile(), with a portable data object.
2015-02-27fs/FileSystem: merge CheckAccess() into PathExists()Max Kellermann1-1/+1
PathExists() should better do what CheckAccess() does, and CheckAccess() doesn't do what its name implies.
2015-01-21config/Param: split block-specific attributes to new struct ConfigBlockMax Kellermann2-10/+10
The old struct config_param remains only for top-level string options.
2015-01-21ConfigData: move struct config_param to Param.hxxMax Kellermann1-1/+1
2015-01-01Copyright year 2015Max Kellermann15-15/+15
2014-12-26db/simple: fix implicit nullptr/bool conversionMax Kellermann1-3/+3
Return false on error, not nullptr.
2014-12-26fs/Traits, ...: work around -Wtautological-pointer-compareMax Kellermann1-1/+4
New in clang 3.6.
2014-11-21configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann2-10/+10
Simplify the definition of many build options.
2014-08-30db/simple: fix build failure without zlibMax Kellermann1-1/+4
2014-08-28db/simple/Song: use std::chrono::duration for start_ms and end_msMax Kellermann2-9/+11
2014-08-28db/LightSong: use std::chrono::duration for start_ms and end_msMax Kellermann1-2/+2
2014-08-28DetachedSong: use std::chrono::duration for start_ms and end_msMax Kellermann1-2/+2
2014-08-11db/simple: check for I/O errors in Load()Max Kellermann1-1/+1
2014-08-11db/simple: compress the database file using gzipMax Kellermann2-5/+60
2014-08-07fs/io/BufferedReader: new class to replace class TextFileMax Kellermann1-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.
2014-08-07fs/output, fs/TextFile: move to fs/io/Max Kellermann3-7/+7
2014-07-30*Save, *State: use the OutputStream API instead of FILE*Max Kellermann5-37/+33
2014-06-16Directory: eliminate attribute "have_stat"Max Kellermann2-2/+2
Check for 0 in "device" and "inode" instead.
2014-06-16db/simple: use class boost::intrusive::listMax Kellermann6-103/+114
Remove the C list_head library and use type-safe C++ instead.
2014-04-25db/Helpers: split libraryMax Kellermann1-0/+1
2014-04-24DatabaseCommands: "list" allows groupingMax Kellermann2-5/+6
2014-02-27db/simple: mount pointsMax Kellermann8-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.
2014-02-27db/simple: GetRoot() returns referenceMax Kellermann1-2/+2
2014-02-26db/simple/Directory: eliminate method LookupSong()Max Kellermann3-30/+19
Move to SimpleDatabase::GetSong() to give that method more control.
2014-02-26db/simple/Directory: LookupDirectory() return remaining URIMax Kellermann3-41/+62
Code can now be reused in LookupSong().
2014-02-26db/simple/Directory: make variables more localMax Kellermann1-4/+2
2014-02-26db/Directory: add DEVICE_* documentationMax Kellermann1-0/+10
2014-02-26db/simple: create dedicated directoryMax Kellermann12-0/+1776