aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins/simple/SimpleDatabasePlugin.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-24DatabaseCommands: "list" allows groupingMax Kellermann1-2/+2
2014-02-27db/simple: mount pointsMax Kellermann1-0/+30
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: create dedicated directoryMax Kellermann1-0/+0
2014-02-25db/simple: remove unused method LookupDirectory()Max Kellermann1-3/+0
2014-02-25db/simple: make internal methods "private"Max Kellermann1-1/+1
2014-02-25db/simple: add commentMax Kellermann1-0/+1
2014-02-25db/simple: move Create() upMax Kellermann1-4/+4
2014-02-19db/Interface: add attribute "plugin"Max Kellermann1-2/+1
The new method IsPlugin() replaces the "is_simple" flag.
2014-02-19DatabasePlugin: split headerMax Kellermann1-1/+5
2014-02-04Instance: add Database attributeMax Kellermann1-0/+3
Move from db/DatabaseGlue.cxx, eliminating global variable.
2014-02-04db/update/Service: add SimpleDatabase referenceMax Kellermann1-0/+4
Don't use the global variables from the DatabaseSimple library.
2014-01-24Database*: move to db/Max Kellermann1-2/+2
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann1-3/+9
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-19db/simple: make borrowed_song_count "mutable"Max Kellermann1-1/+1
Simpler to use than const_cast.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-11DatabasePlugin: add interface DatabaseListenerMax Kellermann1-1/+2
Allow database plugins to announce that they have been modified.
2013-11-22DatabasePlugin: add method GetUpdateStamp()Max Kellermann1-7/+4
Refactor SimpleDatabase::GetLastModified() to be generic for all plugins. Remove the SimpleDatabase assumption from db_stats_print(), allowing it to be implemented by all database plugins.
2013-10-30*: update copyright year to 2013Max Kellermann1-1/+1
2013-10-20TagType: rename enum tag_type to TagTypeMax Kellermann1-1/+1
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann1-3/+3
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-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-09-04util/Error: new error passing libraryMax Kellermann1-10/+10
Replaces GLib's GError.
2013-08-04DatabasePlugin: pass config_param referenceMax Kellermann1-2/+2
2013-07-28song: convert header to C++Max Kellermann1-2/+2
2013-02-02SimpleDatabasePlugin: use file system API, log in UTF-8Denis Krjuchkov1-0/+1
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov1-1/+1
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann1-2/+5
2013-01-03Directory: rename struct directory to DirectoryMax Kellermann1-4/+4
2013-01-02don't include stdbool.h in C++ sourcesMax Kellermann1-1/+0
The "bool" type is built-in.
2012-08-16DatabasePlugin: add method ReturnSong()Max Kellermann1-0/+6
Allow the plugin to allocate the GetSong() return value.
2012-08-15DatabasePlugin: add method GetStats()Max Kellermann1-0/+5
Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs.
2012-08-15DatabasePlugin: add method VisitUniqueTags()Max Kellermann1-0/+5
Optimize the ProxyDatabase by invoking "list" on the peer, instead of visiting all songs.
2012-08-07db_selection: rename to DatabaseSelectionMax Kellermann1-1/+1
2012-08-07Database{Plugin,Visitor}: pass referencesMax Kellermann1-1/+1
2012-08-02DatabasePlugin: make Visit() constMax Kellermann1-2/+2
2012-08-02gcc.h: re-add gcc_const and gcc_pureMax Kellermann1-5/+4
Remove GLib dependency from some headers.
2012-08-01db_plugin: convert to C++Max Kellermann1-0/+84