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