Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | db_save, state_file: convert to C++ | Max Kellermann | 2013-01-02 | 1 | -1/+1 |
| | |||||
* | db/SimpleDatabasePlugin: fix memory leak in Visit() | Max Kellermann | 2012-09-05 | 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. | ||||
* | db_lock: add C++ helper class ScopeDatabaseLock | Max Kellermann | 2012-09-05 | 1 | -11/+6 |
| | |||||
* | SongFilter: convert to a C++ class | Max Kellermann | 2012-08-29 | 1 | -1/+1 |
| | |||||
* | DatabaseSelection: add method Match() | Max Kellermann | 2012-08-29 | 1 | -2/+1 |
| | |||||
* | locate: rename to SongFilter.cxx | Max Kellermann | 2012-08-29 | 1 | -1/+1 |
| | |||||
* | DatabasePlugin: add method ReturnSong() | Max Kellermann | 2012-08-16 | 1 | -0/+20 |
| | | | | Allow the plugin to allocate the GetSong() return value. | ||||
* | DatabasePlugin: add method GetStats() | Max Kellermann | 2012-08-15 | 1 | -0/+7 |
| | | | | | Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs. | ||||
* | DatabasePlugin: add method VisitUniqueTags() | Max Kellermann | 2012-08-15 | 1 | -0/+11 |
| | | | | | Optimize the ProxyDatabase by invoking "list" on the peer, instead of visiting all songs. | ||||
* | db_visitor: delete obsolete header | Max Kellermann | 2012-08-15 | 1 | -1/+0 |
| | |||||
* | DatabaseSelection: add "match" attribute | Max Kellermann | 2012-08-08 | 1 | -2/+5 |
| | | | | Let the database plugin do the match. | ||||
* | db_selection: rename to DatabaseSelection | Max Kellermann | 2012-08-07 | 1 | -2/+2 |
| | |||||
* | Database{Plugin,Visitor}: pass references | Max Kellermann | 2012-08-07 | 1 | -7/+7 |
| | |||||
* | DatabasePlugin: make Visit() const | Max Kellermann | 2012-08-02 | 1 | -2/+2 |
| | |||||
* | db_plugin: convert to C++ | Max Kellermann | 2012-08-01 | 1 | -0/+315 |