aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-26neighbor/upnp: UPnP media server discoveryMax Kellermann4-0/+175
2014-01-26db/upnp: remove sleep(2) callMax Kellermann1-3/+0
This call was unnecessary. It is a bad idea anyway to block the MPD process for some arbitrary amount of time.
2014-01-26upnp: initialize the client handle only onceMax Kellermann3-69/+72
Eliminate class LibUPnP and move the code to ClientInit.cxx. Its initialization function can be called multiple times, but UpnpRegisterClient() is called at most once.
2014-01-26upnp: move library initialization to Init.cxxMax Kellermann3-17/+111
Allow calling UpnpGlobalInit() multiple times.
2014-01-26upnp/discovery: use a plain UpnpClient_Handle instead of class LibUPnPMax Kellermann3-9/+7
2014-01-26upnp: add class UpnpCallbackMax Kellermann5-26/+64
Each Upnp*Async() call passes a new cookie pointer, and the cookie passed to UpnpRegisterClient() appears to be ignored. Using this interface is a more elegant approach than having one single "handler" function.
2014-01-26CueParser: don't "move" the filenameMax Kellermann1-1/+1
This invalidated the std::string instance, and thus broke the CUE parser (commit 322b061632).
2014-01-26upnp: remove obsolete global variable "theLib"Max Kellermann1-6/+0
2014-01-26upnp/Discovery: add listener interfaceMax Kellermann2-2/+36
2014-01-26db/upnp: move generic code to lib/upnp/Max Kellermann19-79/+105
2014-01-26neighbor/Glue: fix rollback rangeMax Kellermann1-1/+1
2014-01-26db/upnp: rename variablesMax Kellermann1-21/+21
2014-01-26neighbor/Info: add constructorMax Kellermann2-6/+6
2014-01-26NeighborCommands: convert assertion to runtime checkMax Kellermann1-1/+5
2014-01-26neighbor: new subsystem to detect file servers on the local networkMax Kellermann21-2/+939
This commit adds the NeighborPlugin API which can be used to detect nearby file servers that can be used by input plugins. This list of servers is exported using the new "listneighbors" command. The idle even "neighbor" notifies interested clients when a new neighbor is found or an existing one is lost. There's a lot missing currently: protocol&user documentation, and a way to "mount" remote servers into the music database. Obviously, some code from the UPnP database plugin can be moved to a neighbor plugin.
2014-01-26lib/smbclient/Init: return empty username/passwordMax Kellermann1-2/+2
This appears to be the right thing to do when we want anonymous login.
2014-01-25input/smbclient: move code to lib/smbclient/Init.cxxMax Kellermann3-19/+86
2014-01-24ConfigGlobal: add config_find_block()Max Kellermann6-122/+38
Merge duplicate code.
2014-01-24DespotifyUtils, Expat: move to lib/Max Kellermann11-8/+8
2014-01-24Mixer*: move to mixer/Max Kellermann33-24/+24
2014-01-24Filter*: move to filter/Max Kellermann25-40/+40
2014-01-24Database*: move to db/Max Kellermann121-106/+106
2014-01-24Sticker*: move to sticker/Max Kellermann10-7/+7
2014-01-24Win32Main: move to win32/Max Kellermann3-1/+1
2014-01-24move daemonization code to unix/Max Kellermann6-2/+2
2014-01-24Input*: move to input/Max Kellermann67-78/+78
2014-01-24Client*: move to client/Max Kellermann42-29/+29
2014-01-24Update*: move to update/Max Kellermann32-5/+5
2014-01-24Config*: move to config/Max Kellermann66-85/+85
2014-01-24Queue*: move to queue/Max Kellermann10-3/+3
2014-01-24Zeroconf*: move to zeroconf/Max Kellermann10-1/+1
2014-01-24archive/*: move to archive/plugins/Max Kellermann20-24/+24
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann106-61/+61
2014-01-23output/*: move to output/plugins/Max Kellermann68-48/+48
2014-01-23playlist/*: move to playlist/plugins/Max Kellermann42-92/+143
2014-01-23Encoder*: move to src/encoderMax Kellermann27-24/+24
.. and move the plugins to src/encoder/plugins/.
2014-01-23db/upnp/Discovery: use std::list instead of std::mapMax Kellermann2-16/+33
There will only be very few items, and that does not justify the bloat of std::map.
2014-01-23db/upnp/Discovery: move code to LockAdd(), LockRemove()Max Kellermann2-9/+21
2014-01-23db/upnp/Discovery: un-inline the destructorMax Kellermann2-0/+6
2014-01-23DetachedSong: un-inline the destructorMax Kellermann2-0/+7
Reduce bloat.
2014-01-23db/upnp: un-inline a few destructorsMax Kellermann8-0/+49
Reduce bloat.
2014-01-23thread/Name: set thread namesMax Kellermann5-0/+71
For debugging.
2014-01-23thread/Util: set the SCHED_RESET_ON_FORK flag in SetThreadRealtime()Max Kellermann1-1/+1
2014-01-23db/upnp: strict vpath checks for the "root" directoryMax Kellermann1-0/+20
2014-01-23db/upnp: move code to VisitObject()Max Kellermann1-22/+33
2014-01-23db/upnp: merge two PathTraitsUTF8::Build() callsMax Kellermann1-16/+4
2014-01-23db/upnp: move code to VisitItem()Max Kellermann1-61/+56
2014-01-23db/upnp: fix subdirectory paths in "listallinfo"Max Kellermann1-3/+3
Add missing server name prefix.
2014-01-23base_uriMax Kellermann1-0/+4
2014-01-23db/upnp: pass char* to visitSong()Max Kellermann1-6/+6
Don't use std::string, reduce bloat.