aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-06Mixer: delete the implicit copy constructorMax Kellermann1-0/+2
2014-02-06Mixer: make the constructor "explicit"Max Kellermann1-1/+1
2014-02-06mixer/software: use IgnoreError()Max Kellermann1-2/+2
2014-02-06SongUpdate: use the Storage interface, support remote filesMax Kellermann4-19/+33
This commit finally allows the database update to scan remote files, e.g. using the smbclient storage plugin. However, it is not yet possible to configure that, therefore the feature is not accessible yet.
2014-02-06SongUpdate: make variables more localMax Kellermann1-10/+5
2014-02-06input/nfs: new plugin using libnfsMax Kellermann4-0/+237
2014-02-06storage/smbclient: Storage implementation using libsmbclientMax Kellermann2-0/+211
2014-02-06Instance: narrow "storage" to class StorageMax Kellermann1-2/+2
2014-02-05storage/local: OpenDirectory() returns StorageDirectoryReader*Max Kellermann2-3/+3
2014-02-05storage/Interface: explicitly delete copy constructorsMax Kellermann2-2/+4
2014-02-05storage/local: move to src/storage/plugins/Max Kellermann3-3/+3
2014-02-05db/update: include StorageInterface.hxx instead of LocalStorage.hxxMax Kellermann2-2/+2
2014-02-05storage: add abstract interfaceMax Kellermann10-63/+148
Prepare for the plugin interface.
2014-02-05db/UpdateWalk: move LocalStorage to InstanceMax Kellermann8-7/+21
Keep only a reference.
2014-02-05db/update/Remove: initialize attribute "removed_song"Max Kellermann1-1/+2
Fixes bogus assertion failure.
2014-02-05Mixer: use reference instead of pointer for MixerPluginMax Kellermann5-28/+20
2014-02-05Mixer: rename struct mixer_plugin to MixerPluginMax Kellermann13-21/+24
2014-02-05Main: remove unused global variable "main_thread"Max Kellermann2-7/+0
2014-02-05LocalStorage: new API abstracting filesystem walkMax Kellermann12-198/+527
Prepare to make this a new plugin API, for example to use a SMB share for the music_directory.
2014-02-05db/UpdateIO: add "pure" attributesMax Kellermann1-0/+4
2014-02-05db/UpdateGlue: relax assertionMax Kellermann1-2/+2
Fixes assertion failure when update gets launched during MPD startup.
2014-02-05Instance: add attribute "event_loop"Max Kellermann4-18/+22
Replaces global variable "main_loop".
2014-02-05MixerPlugin: add EventLoop& init() parameterMax Kellermann14-29/+44
2014-02-05event/Loop: remove the dummy constructor argumentMax Kellermann3-5/+3
2014-02-04db/DatabaseListener: add method OnDatabaseSongRemoved()Max Kellermann9-38/+45
Decouples db/update/Remove.cpp from global variables.
2014-02-04db/proxy: include cleanupMax Kellermann1-1/+0
2014-02-04Instance: merge DatabaseModified() into OnDatabaseModified()Max Kellermann2-18/+7
2014-02-04db/update/Service: use DatabaseListener instead of InstanceMax Kellermann3-6/+12
Don't use the global variable "instance".
2014-02-04db/update/Service: use EventLoop::IsInside()Max Kellermann1-2/+6
Don't use the global variable "main_thread".
2014-02-04{Message,Neighbor}Commands: use Client::partition instead of Main.hxxMax Kellermann4-13/+17
2014-02-04ClientMessage: undefine GetMessage on WIN32Max Kellermann1-0/+6
2014-02-04GlobalEvents: remove obsolete event DELETEMax Kellermann1-3/+0
2014-02-04Instance: add Database attributeMax Kellermann19-149/+97
Move from db/DatabaseGlue.cxx, eliminating global variable.
2014-02-04Main: create UpdateService instance in glue_db_init_and_load()Max Kellermann2-5/+12
2014-02-04db/update/Service: initialize "progress" and "update_task_id"Max Kellermann1-1/+3
Database update was randomly broken due to these uninitialized variables.
2014-02-04StateFile: pass Database to SongLoaderMax Kellermann1-1/+2
Fixes loading database songs from state file (regression by commit 29072797c).
2014-02-04db/update/Service: add SimpleDatabase referenceMax Kellermann6-41/+24
Don't use the global variables from the DatabaseSimple library.
2014-02-04db/update/Walk: add Directory reference parameterMax Kellermann3-14/+14
Remove dependency on the DatabaseSimple library.
2014-02-04db/Simple: remove unused function db_get_directory()Max Kellermann3-22/+0
2014-02-04SongSticker: add Database reference parameterMax Kellermann3-8/+5
2014-02-04db/DatabasePlaylist: pass Database reference aroundMax Kellermann8-23/+47
Reduce global variable usage, move to frontend code.
2014-02-04db/LightSong: make "real_uri" a pointerMax Kellermann3-3/+4
Reduce overhead. LightSong can always point to the "real" allocated string.
2014-02-03PlaylistFile: use class SongLoaderMax Kellermann3-25/+16
2014-02-03PlaylistFile: switch spl_append_uri() argumentsMax Kellermann3-3/+3
Playlist file name first, to be consistent with the other functions in this library.
2014-02-03QueueSave: use class SongLoaderMax Kellermann5-20/+25
2014-02-03SongLoader: new class that merges duplicate codeMax Kellermann13-169/+235
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
2014-02-03FileCommands: use PathTraitsUTF8::IsAbsolute()Max Kellermann1-1/+1
2014-02-03PlaylistSave: remove redundant backslash conversionMax Kellermann1-16/+3
This is already being done by FixSeparators(), called from PathToUTF8().
2014-02-02ClientFile: move client_allow_file() into the Client classMax Kellermann6-51/+18
2014-02-01Playlist: pass Database to DatabaseModified()Max Kellermann5-13/+9
Don't use global variable.