aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update (follow)
Commit message (Collapse)AuthorAgeFilesLines
* db/update: include StorageInterface.hxx instead of LocalStorage.hxxMax Kellermann2014-02-052-2/+2
|
* storage: add abstract interfaceMax Kellermann2014-02-056-25/+25
| | | | Prepare for the plugin interface.
* db/UpdateWalk: move LocalStorage to InstanceMax Kellermann2014-02-056-7/+13
| | | | Keep only a reference.
* db/update/Remove: initialize attribute "removed_song"Max Kellermann2014-02-051-1/+2
| | | | Fixes bogus assertion failure.
* LocalStorage: new API abstracting filesystem walkMax Kellermann2014-02-057-174/+211
| | | | | Prepare to make this a new plugin API, for example to use a SMB share for the music_directory.
* db/UpdateIO: add "pure" attributesMax Kellermann2014-02-051-0/+4
|
* db/UpdateGlue: relax assertionMax Kellermann2014-02-051-2/+2
| | | | Fixes assertion failure when update gets launched during MPD startup.
* db/DatabaseListener: add method OnDatabaseSongRemoved()Max Kellermann2014-02-046-28/+13
| | | | Decouples db/update/Remove.cpp from global variables.
* db/update/Service: use DatabaseListener instead of InstanceMax Kellermann2014-02-042-5/+11
| | | | Don't use the global variable "instance".
* db/update/Service: use EventLoop::IsInside()Max Kellermann2014-02-041-2/+6
| | | | Don't use the global variable "main_thread".
* db/update/Service: initialize "progress" and "update_task_id"Max Kellermann2014-02-041-1/+3
| | | | | Database update was randomly broken due to these uninitialized variables.
* db/update/Service: add SimpleDatabase referenceMax Kellermann2014-02-042-8/+11
| | | | Don't use the global variables from the DatabaseSimple library.
* db/update/Walk: add Directory reference parameterMax Kellermann2014-02-043-14/+14
| | | | Remove dependency on the DatabaseSimple library.
* db/update/Archive: delete archive from database on errorMax Kellermann2014-01-311-0/+2
|
* db/update/Editor: add locking method variantsMax Kellermann2014-01-315-27/+36
|
* db/update: convert runtime check to assertionMax Kellermann2014-01-311-4/+1
|
* update/Walk: declare std::string at assignmentMax Kellermann2014-01-301-4/+2
| | | | Reduce overhead.
* db/update: convert to OO APIMax Kellermann2014-01-3023-494/+468
| | | | | Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.
* ExcludeList: move to db/update/Max Kellermann2014-01-302-0/+163
|
* InotifyUpdate: pass EventLoop to mpd_inotify_init()Max Kellermann2014-01-292-6/+8
|
* db/Directory: move isRootDirectory() to Uri.hxxMax Kellermann2014-01-291-0/+1
| | | | Decouple command/OtherCommands.cxx from the "simple" database plugin.
* Playlist{Info,Vector}: move to db/Max Kellermann2014-01-272-2/+2
|
* Database*: move to db/Max Kellermann2014-01-2429-0/+2660