Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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 | |
2013-07-28 | song: convert header to C++ | Max Kellermann | 1 | -4/+4 | |
2013-02-02 | SimpleDatabasePlugin: use file system API, log in UTF-8 | Denis Krjuchkov | 1 | -25/+23 | |
2013-01-28 | Path::FromUTF8() returns nulled instance on error, add error handling where ↵ | Denis Krjuchkov | 1 | -0/+6 | |
required | |||||
2013-01-18 | Path: new class "Path" wraps filesystem path strings | Max Kellermann | 1 | -2/+3 | |
2013-01-07 | decoder_api.h, ...: add "extern C" | Max Kellermann | 1 | -3/+0 | |
2013-01-03 | TextFile: convert to a class | Max Kellermann | 1 | -7/+4 | |
2013-01-03 | Directory: rename struct directory to Directory | Max Kellermann | 1 | -4/+4 | |
2013-01-02 | Directory: turn functions to methods | Max Kellermann | 1 | -12/+10 | |
2013-01-02 | Directory: make the header C++ only | Max Kellermann | 1 | -2/+1 | |
2013-01-02 | db_lock: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2013-01-02 | db_save, state_file: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2012-09-05 | db/SimpleDatabasePlugin: fix memory leak in Visit() | Max Kellermann | 1 | -7/+11 | |
When visiting a song, GetSong() was called, but this object was never returned by calling ReturnSong(). This patch locks the database only once in Visit() and passes the original song object to the visitor, avoiding the copy. | |||||
2012-09-05 | db_lock: add C++ helper class ScopeDatabaseLock | Max Kellermann | 1 | -11/+6 | |