aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins/simple/SimpleDatabasePlugin.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* db/simple: fix build failure without zlibMax Kellermann2014-08-301-1/+4
|
* 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-111-4/+54
|
* 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-071-3/+3
|
* *Save, *State: use the OutputStream API instead of FILE*Max Kellermann2014-07-301-12/+8
|
* db/Helpers: split libraryMax Kellermann2014-04-251-0/+1
|
* DatabaseCommands: "list" allows groupingMax Kellermann2014-04-241-3/+4
|
* db/simple: mount pointsMax Kellermann2014-02-271-4/+143
| | | | | | | | 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/Directory: eliminate method LookupSong()Max Kellermann2014-02-261-1/+19
| | | | Move to SimpleDatabase::GetSong() to give that method more control.
* db/simple/Directory: LookupDirectory() return remaining URIMax Kellermann2014-02-261-13/+18
| | | | Code can now be reused in LookupSong().
* db/simple: create dedicated directoryMax Kellermann2014-02-261-0/+331