aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/SimpleDatabasePlugin.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SimpleDatabasePlugin: use file system API, log in UTF-8Denis Krjuchkov2013-02-021-25/+23
|
* Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov2013-01-281-0/+6
| | | | required
* Path: new class "Path" wraps filesystem path stringsMax Kellermann2013-01-181-2/+3
|
* decoder_api.h, ...: add "extern C"Max Kellermann2013-01-071-3/+0
|
* TextFile: convert to a classMax Kellermann2013-01-031-7/+4
|
* Directory: rename struct directory to DirectoryMax Kellermann2013-01-031-4/+4
|
* Directory: turn functions to methodsMax Kellermann2013-01-021-12/+10
|
* Directory: make the header C++ onlyMax Kellermann2013-01-021-2/+1
|
* db_lock: convert to C++Max Kellermann2013-01-021-2/+2
|
* db_save, state_file: convert to C++Max Kellermann2013-01-021-1/+1
|
* db/SimpleDatabasePlugin: fix memory leak in Visit()Max Kellermann2012-09-051-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.
* db_lock: add C++ helper class ScopeDatabaseLockMax Kellermann2012-09-051-11/+6
|
* SongFilter: convert to a C++ classMax Kellermann2012-08-291-1/+1
|
* DatabaseSelection: add method Match()Max Kellermann2012-08-291-2/+1
|
* locate: rename to SongFilter.cxxMax Kellermann2012-08-291-1/+1
|
* DatabasePlugin: add method ReturnSong()Max Kellermann2012-08-161-0/+20
| | | | Allow the plugin to allocate the GetSong() return value.
* DatabasePlugin: add method GetStats()Max Kellermann2012-08-151-0/+7
| | | | | Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs.
* DatabasePlugin: add method VisitUniqueTags()Max Kellermann2012-08-151-0/+11
| | | | | Optimize the ProxyDatabase by invoking "list" on the peer, instead of visiting all songs.
* db_visitor: delete obsolete headerMax Kellermann2012-08-151-1/+0
|
* DatabaseSelection: add "match" attributeMax Kellermann2012-08-081-2/+5
| | | | Let the database plugin do the match.
* db_selection: rename to DatabaseSelectionMax Kellermann2012-08-071-2/+2
|
* Database{Plugin,Visitor}: pass referencesMax Kellermann2012-08-071-7/+7
|
* DatabasePlugin: make Visit() constMax Kellermann2012-08-021-2/+2
|
* db_plugin: convert to C++Max Kellermann2012-08-011-0/+315