Max Kellermann
|
4c995eb498
|
db/UpdateWalk: move LocalStorage to Instance
Keep only a reference.
|
2014-02-05 17:58:13 +01:00 |
|
Max Kellermann
|
2c70251df1
|
db/UpdateGlue: relax assertion
Fixes assertion failure when update gets launched during MPD startup.
|
2014-02-05 10:04:03 +01:00 |
|
Max Kellermann
|
ff665b37cb
|
db/DatabaseListener: add method OnDatabaseSongRemoved()
Decouples db/update/Remove.cpp from global variables.
|
2014-02-04 19:53:37 +01:00 |
|
Max Kellermann
|
eec6d09959
|
db/update/Service: use DatabaseListener instead of Instance
Don't use the global variable "instance".
|
2014-02-04 18:54:54 +01:00 |
|
Max Kellermann
|
c5fa8ed321
|
db/update/Service: use EventLoop::IsInside()
Don't use the global variable "main_thread".
|
2014-02-04 18:54:45 +01:00 |
|
Max Kellermann
|
c953904343
|
db/update/Service: initialize "progress" and "update_task_id"
Database update was randomly broken due to these uninitialized
variables.
|
2014-02-04 11:22:13 +01:00 |
|
Max Kellermann
|
d76b6f878e
|
db/update/Service: add SimpleDatabase reference
Don't use the global variables from the DatabaseSimple library.
|
2014-02-04 09:05:32 +01:00 |
|
Max Kellermann
|
f25ef8d682
|
db/update/Walk: add Directory reference parameter
Remove dependency on the DatabaseSimple library.
|
2014-02-04 09:05:32 +01:00 |
|
Max Kellermann
|
04b4f53488
|
db/update: convert runtime check to assertion
|
2014-01-31 21:59:35 +01:00 |
|
Max Kellermann
|
c6725884bc
|
db/update: convert to OO API
Move global variables into the new classes. That may allow multiple
update threads for multiple databases one day.
|
2014-01-30 18:47:05 +01:00 |
|
Max Kellermann
|
9d34fc394c
|
Database*: move to db/
|
2014-01-24 16:38:44 +01:00 |
|