Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-01-21 | config/Param: split block-specific attributes to new struct ConfigBlock | Max Kellermann | 1 | -7/+7 | |
The old struct config_param remains only for top-level string options. | |||||
2015-01-21 | ConfigData: move struct config_param to Param.hxx | Max Kellermann | 1 | -1/+1 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-12-26 | db/simple: fix implicit nullptr/bool conversion | Max Kellermann | 1 | -3/+3 | |
Return false on error, not nullptr. | |||||
2014-12-26 | fs/Traits, ...: work around -Wtautological-pointer-compare | Max Kellermann | 1 | -1/+4 | |
New in clang 3.6. | |||||
2014-11-21 | configure.ac: add macro MPD_ENABLE_AUTO_PKG | Max Kellermann | 1 | -9/+9 | |
Simplify the definition of many build options. | |||||
2014-08-30 | db/simple: fix build failure without zlib | Max Kellermann | 1 | -1/+4 | |
2014-08-11 | db/simple: check for I/O errors in Load() | Max Kellermann | 1 | -1/+1 | |
2014-08-11 | db/simple: compress the database file using gzip | Max Kellermann | 1 | -4/+54 | |
2014-08-07 | fs/io/BufferedReader: new class to replace class TextFile | Max Kellermann | 1 | -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-07 | fs/output, fs/TextFile: move to fs/io/ | Max Kellermann | 1 | -3/+3 | |
2014-07-30 | *Save, *State: use the OutputStream API instead of FILE* | Max Kellermann | 1 | -12/+8 | |
2014-04-25 | db/Helpers: split library | Max Kellermann | 1 | -0/+1 | |
2014-04-24 | DatabaseCommands: "list" allows grouping | Max Kellermann | 1 | -3/+4 | |
2014-02-27 | db/simple: mount points | Max Kellermann | 1 | -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. | |||||
2014-02-26 | db/simple/Directory: eliminate method LookupSong() | Max Kellermann | 1 | -1/+19 | |
Move to SimpleDatabase::GetSong() to give that method more control. | |||||
2014-02-26 | db/simple/Directory: LookupDirectory() return remaining URI | Max Kellermann | 1 | -13/+18 | |
Code can now be reused in LookupSong(). | |||||
2014-02-26 | db/simple: create dedicated directory | Max Kellermann | 1 | -3/+3 | |
2014-02-25 | db/simple: remove unused method LookupDirectory() | Max Kellermann | 1 | -11/+0 | |
2014-02-19 | DatabasePlugin: add FLAG_REQUIRE_STORAGE | Max Kellermann | 1 | -1/+1 | |
Ignore the storage configuration if FLAG_REQUIRE_STORAGE is not set in the DatabasePlugin. | |||||
2014-02-19 | DatabasePlugin: add attribute "flags" | Max Kellermann | 1 | -0/+1 | |
2014-02-19 | db/Interface: add attribute "plugin" | Max Kellermann | 1 | -0/+4 | |
The new method IsPlugin() replaces the "is_simple" flag. | |||||
2014-02-19 | DatabasePlugin: split header | Max Kellermann | 1 | -0/+1 | |
2014-01-24 | Database*: move to db/ | Max Kellermann | 1 | -8/+8 | |
2014-01-24 | Config*: move to config/ | Max Kellermann | 1 | -1/+1 | |
2014-01-22 | LightDirectory: new struct replacing Directory in the DB API | Max Kellermann | 1 | -1/+2 | |
2014-01-19 | LightSong: new class to be used by DatabasePlugin callbacks | Max Kellermann | 1 | -11/+19 | |
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread. | |||||
2014-01-19 | db/simple: make borrowed_song_count "mutable" | Max Kellermann | 1 | -2/+2 | |
Simpler to use than const_cast. | |||||
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2014-01-11 | DatabasePlugin: add interface DatabaseListener | Max Kellermann | 1 | -1/+3 | |
Allow database plugins to announce that they have been modified. | |||||
2014-01-09 | Directory: remove method Free() | Max Kellermann | 1 | -2/+2 | |
2013-12-08 | TextFile: move to fs subsystem | Denis Krjuchkov | 1 | -1/+1 | |
2013-12-05 | db/SimpleDatabasePlugin.cxx: don't use CheckAccess with mode on Windows | Denis Krjuchkov | 1 | -2/+5 | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -1/+0 | |
2013-10-30 | *: update copyright year to 2013 | Max Kellermann | 1 | -1/+1 | |
2013-10-29 | DatabaseSelection: use std::string | Max Kellermann | 1 | -2/+2 | |
2013-10-20 | TagType: rename enum tag_type to TagType | Max Kellermann | 1 | -1/+1 | |
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -2/+2 | |
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -8/+8 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -1/+1 | |
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object. | |||||
2013-10-15 | Client, ...: remove unnecessary glib.h include | Max Kellermann | 1 | -2/+0 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -4/+5 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-10-02 | filesystem/Path: use std::string | Max Kellermann | 1 | -2/+1 | |
2013-10-02 | Listen, ...: add missing includes | Max Kellermann | 1 | -0/+2 | |
2013-09-05 | conf.h: remove obsolete header | Max Kellermann | 1 | -1/+1 | |
Use only ConfigData.hxx in plugin sources to reduce header dependencies. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -70/+53 | |
Replaces GLib's GError. | |||||
2013-08-10 | db_error: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-08-07 | ConfigPath: return a Path object | Max Kellermann | 1 | -12/+3 | |
Migrate all callers to use Path directly, instead of doing the conversion in each caller. | |||||
2013-08-04 | *: use gcc.h macros instead of GLib | Max Kellermann | 1 | -2/+2 | |
2013-08-04 | DatabasePlugin: pass config_param reference | Max Kellermann | 1 | -3/+3 | |