aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-07fixed possible format_context not closed in ffmpeg_decodegeneticdrift1-1/+4
2014-02-07storage/local: hide the class declarationsMax Kellermann3-49/+63
Hide inside CreateLocalStorage().
2014-02-07Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann16-49/+81
Use Storage::MapUTF8() internally, don't use global variables.
2014-02-07Mapper: convert IsInDatabase() check to assertion in map_song_detach()Max Kellermann1-1/+2
2014-02-06pcm/FallbackResampler: add missing ConstBuffer<T>::ToVoid() callMax Kellermann1-1/+1
2014-02-06fixed leaked LocalDirectoryReader *const reader in UpdateWalk::UpdateDirectorygeneticdrift1-3/+3
2014-02-06*/smbclient: protect all libsmbclient calls with a mutexMax Kellermann6-1/+85
libsmbclient is not thread-safe nor reentrant. We must protect all function calls with a global mutex, unfortunately.
2014-02-06neighbor/smbclient: move smbclient_domain to lib/smbclient/Domain.cxxMax Kellermann3-2/+52
2014-02-06mixer/Plugin: pass AudioOutput reference to init()Max Kellermann17-89/+79
Passing a void pointer is unsafe.
2014-02-06MixerPlugin: convert function pointers to Mixer virtual methodsMax Kellermann11-298/+200
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