Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-02-06 | mixer/Plugin: pass AudioOutput reference to init() | Max Kellermann | 17 | -89/+79 | |
Passing a void pointer is unsafe. | |||||
2014-02-06 | MixerPlugin: convert function pointers to Mixer virtual methods | Max Kellermann | 11 | -298/+200 | |
2014-02-06 | Mixer: delete the implicit copy constructor | Max Kellermann | 1 | -0/+2 | |
2014-02-06 | Mixer: make the constructor "explicit" | Max Kellermann | 1 | -1/+1 | |
2014-02-06 | mixer/software: use IgnoreError() | Max Kellermann | 1 | -2/+2 | |
2014-02-06 | SongUpdate: use the Storage interface, support remote files | Max Kellermann | 4 | -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-06 | SongUpdate: make variables more local | Max Kellermann | 1 | -10/+5 | |
2014-02-06 | input/nfs: new plugin using libnfs | Max Kellermann | 4 | -0/+237 | |
2014-02-06 | storage/smbclient: Storage implementation using libsmbclient | Max Kellermann | 2 | -0/+211 | |
2014-02-06 | Instance: narrow "storage" to class Storage | Max Kellermann | 1 | -2/+2 | |
2014-02-05 | storage/local: OpenDirectory() returns StorageDirectoryReader* | Max Kellermann | 2 | -3/+3 | |
2014-02-05 | storage/Interface: explicitly delete copy constructors | Max Kellermann | 2 | -2/+4 | |
2014-02-05 | storage/local: move to src/storage/plugins/ | Max Kellermann | 3 | -3/+3 | |
2014-02-05 | db/update: include StorageInterface.hxx instead of LocalStorage.hxx | Max Kellermann | 2 | -2/+2 | |
2014-02-05 | storage: add abstract interface | Max Kellermann | 10 | -63/+148 | |
Prepare for the plugin interface. | |||||
2014-02-05 | db/UpdateWalk: move LocalStorage to Instance | Max Kellermann | 8 | -7/+21 | |
Keep only a reference. | |||||
2014-02-05 | db/update/Remove: initialize attribute "removed_song" | Max Kellermann | 1 | -1/+2 | |
Fixes bogus assertion failure. | |||||
2014-02-05 | Mixer: use reference instead of pointer for MixerPlugin | Max Kellermann | 5 | -28/+20 | |
2014-02-05 | Mixer: rename struct mixer_plugin to MixerPlugin | Max Kellermann | 13 | -21/+24 | |
2014-02-05 | Main: remove unused global variable "main_thread" | Max Kellermann | 2 | -7/+0 | |
2014-02-05 | LocalStorage: new API abstracting filesystem walk | Max Kellermann | 12 | -198/+527 | |
Prepare to make this a new plugin API, for example to use a SMB share for the music_directory. | |||||
2014-02-05 | db/UpdateIO: add "pure" attributes | Max Kellermann | 1 | -0/+4 | |
2014-02-05 | db/UpdateGlue: relax assertion | Max Kellermann | 1 | -2/+2 | |
Fixes assertion failure when update gets launched during MPD startup. | |||||
2014-02-05 | Instance: add attribute "event_loop" | Max Kellermann | 4 | -18/+22 | |
Replaces global variable "main_loop". | |||||
2014-02-05 | MixerPlugin: add EventLoop& init() parameter | Max Kellermann | 14 | -29/+44 | |
2014-02-05 | event/Loop: remove the dummy constructor argument | Max Kellermann | 3 | -5/+3 | |
2014-02-04 | db/DatabaseListener: add method OnDatabaseSongRemoved() | Max Kellermann | 9 | -38/+45 | |
Decouples db/update/Remove.cpp from global variables. | |||||
2014-02-04 | db/proxy: include cleanup | Max Kellermann | 1 | -1/+0 | |
2014-02-04 | Instance: merge DatabaseModified() into OnDatabaseModified() | Max Kellermann | 2 | -18/+7 | |
2014-02-04 | db/update/Service: use DatabaseListener instead of Instance | Max Kellermann | 3 | -6/+12 | |
Don't use the global variable "instance". | |||||
2014-02-04 | db/update/Service: use EventLoop::IsInside() | Max Kellermann | 1 | -2/+6 | |
Don't use the global variable "main_thread". | |||||
2014-02-04 | {Message,Neighbor}Commands: use Client::partition instead of Main.hxx | Max Kellermann | 4 | -13/+17 | |
2014-02-04 | ClientMessage: undefine GetMessage on WIN32 | Max Kellermann | 1 | -0/+6 | |
2014-02-04 | GlobalEvents: remove obsolete event DELETE | Max Kellermann | 1 | -3/+0 | |
2014-02-04 | Instance: add Database attribute | Max Kellermann | 19 | -149/+97 | |
Move from db/DatabaseGlue.cxx, eliminating global variable. | |||||
2014-02-04 | Main: create UpdateService instance in glue_db_init_and_load() | Max Kellermann | 2 | -5/+12 | |
2014-02-04 | db/update/Service: initialize "progress" and "update_task_id" | Max Kellermann | 1 | -1/+3 | |
Database update was randomly broken due to these uninitialized variables. | |||||
2014-02-04 | StateFile: pass Database to SongLoader | Max Kellermann | 1 | -1/+2 | |
Fixes loading database songs from state file (regression by commit 29072797c). | |||||
2014-02-04 | db/update/Service: add SimpleDatabase reference | Max Kellermann | 6 | -41/+24 | |
Don't use the global variables from the DatabaseSimple library. | |||||
2014-02-04 | db/update/Walk: add Directory reference parameter | Max Kellermann | 3 | -14/+14 | |
Remove dependency on the DatabaseSimple library. | |||||
2014-02-04 | db/Simple: remove unused function db_get_directory() | Max Kellermann | 3 | -22/+0 | |
2014-02-04 | SongSticker: add Database reference parameter | Max Kellermann | 3 | -8/+5 | |
2014-02-04 | db/DatabasePlaylist: pass Database reference around | Max Kellermann | 8 | -23/+47 | |
Reduce global variable usage, move to frontend code. | |||||
2014-02-04 | db/LightSong: make "real_uri" a pointer | Max Kellermann | 3 | -3/+4 | |
Reduce overhead. LightSong can always point to the "real" allocated string. | |||||
2014-02-03 | PlaylistFile: use class SongLoader | Max Kellermann | 3 | -25/+16 | |
2014-02-03 | PlaylistFile: switch spl_append_uri() arguments | Max Kellermann | 3 | -3/+3 | |
Playlist file name first, to be consistent with the other functions in this library. | |||||
2014-02-03 | QueueSave: use class SongLoader | Max Kellermann | 5 | -20/+25 | |
2014-02-03 | SongLoader: new class that merges duplicate code | Max Kellermann | 13 | -169/+235 | |
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files. | |||||
2014-02-03 | FileCommands: use PathTraitsUTF8::IsAbsolute() | Max Kellermann | 1 | -1/+1 | |
2014-02-03 | PlaylistSave: remove redundant backslash conversion | Max Kellermann | 1 | -16/+3 | |
This is already being done by FixSeparators(), called from PathToUTF8(). |