Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | db/upnp: remove sleep(2) call | Max Kellermann | 2014-01-26 | 1 | -3/+0 |
| | | | | | This call was unnecessary. It is a bad idea anyway to block the MPD process for some arbitrary amount of time. | ||||
* | upnp: initialize the client handle only once | Max Kellermann | 2014-01-26 | 4 | -70/+73 |
| | | | | | | 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. | ||||
* | upnp: move library initialization to Init.cxx | Max Kellermann | 2014-01-26 | 4 | -17/+112 |
| | | | | Allow calling UpnpGlobalInit() multiple times. | ||||
* | upnp/discovery: use a plain UpnpClient_Handle instead of class LibUPnP | Max Kellermann | 2014-01-26 | 3 | -9/+7 |
| | |||||
* | upnp: add class UpnpCallback | Max Kellermann | 2014-01-26 | 6 | -26/+65 |
| | | | | | | | 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. | ||||
* | CueParser: don't "move" the filename | Max Kellermann | 2014-01-26 | 1 | -1/+1 |
| | | | | | This invalidated the std::string instance, and thus broke the CUE parser (commit 322b061632). | ||||
* | upnp: remove obsolete global variable "theLib" | Max Kellermann | 2014-01-26 | 1 | -6/+0 |
| | |||||
* | upnp/Discovery: add listener interface | Max Kellermann | 2014-01-26 | 2 | -2/+36 |
| | |||||
* | db/upnp: move generic code to lib/upnp/ | Max Kellermann | 2014-01-26 | 20 | -88/+118 |
| | |||||
* | neighbor/Glue: fix rollback range | Max Kellermann | 2014-01-26 | 1 | -1/+1 |
| | |||||
* | db/upnp: rename variables | Max Kellermann | 2014-01-26 | 1 | -21/+21 |
| | |||||
* | neighbor/Info: add constructor | Max Kellermann | 2014-01-26 | 2 | -6/+6 |
| | |||||
* | Makefile.am: add DespotifyUtils.cxx to libinput.a and libplaylist_plugins.a | Max Kellermann | 2014-01-26 | 1 | -20/+6 |
| | | | | Simplifies test program rules. | ||||
* | Makefile.am: use $(MKDIR_P) | Max Kellermann | 2014-01-26 | 1 | -1/+1 |
| | |||||
* | NeighborCommands: convert assertion to runtime check | Max Kellermann | 2014-01-26 | 1 | -1/+5 |
| | |||||
* | neighbor: new subsystem to detect file servers on the local network | Max Kellermann | 2014-01-26 | 26 | -2/+1101 |
| | | | | | | | | | | | | | 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. | ||||
* | lib/smbclient/Init: return empty username/password | Max Kellermann | 2014-01-26 | 1 | -2/+2 |
| | | | | This appears to be the right thing to do when we want anonymous login. | ||||
* | input/smbclient: move code to lib/smbclient/Init.cxx | Max Kellermann | 2014-01-25 | 4 | -19/+87 |
| | |||||
* | ConfigGlobal: add config_find_block() | Max Kellermann | 2014-01-24 | 6 | -122/+38 |
| | | | Merge duplicate code. | ||||
* | DespotifyUtils, Expat: move to lib/ | Max Kellermann | 2014-01-24 | 12 | -17/+18 |
| | |||||
* | Mixer*: move to mixer/ | Max Kellermann | 2014-01-24 | 36 | -44/+44 |
| | |||||
* | Filter*: move to filter/ | Max Kellermann | 2014-01-24 | 29 | -67/+67 |
| | |||||
* | Database*: move to db/ | Max Kellermann | 2014-01-24 | 125 | -174/+174 |
| | |||||
* | Sticker*: move to sticker/ | Max Kellermann | 2014-01-24 | 11 | -10/+10 |
| | |||||
* | Win32Main: move to win32/ | Max Kellermann | 2014-01-24 | 6 | -9/+9 |
| | |||||
* | move daemonization code to unix/ | Max Kellermann | 2014-01-24 | 7 | -5/+5 |
| | |||||
* | Input*: move to input/ | Max Kellermann | 2014-01-24 | 76 | -117/+114 |
| | |||||
* | Client*: move to client/ | Max Kellermann | 2014-01-24 | 43 | -43/+43 |
| | |||||
* | Update*: move to update/ | Max Kellermann | 2014-01-24 | 34 | -23/+23 |
| | |||||
* | Config*: move to config/ | Max Kellermann | 2014-01-24 | 80 | -111/+111 |
| | |||||
* | Queue*: move to queue/ | Max Kellermann | 2014-01-24 | 12 | -9/+9 |
| | |||||
* | Zeroconf*: move to zeroconf/ | Max Kellermann | 2014-01-24 | 12 | -8/+8 |
| | |||||
* | archive/*: move to archive/plugins/ | Max Kellermann | 2014-01-24 | 25 | -43/+43 |
| | |||||
* | decoder/*: move to decoder/plugins/ | Max Kellermann | 2014-01-24 | 111 | -142/+142 |
| | |||||
* | output/*: move to output/plugins/ | Max Kellermann | 2014-01-23 | 71 | -91/+103 |
| | |||||
* | playlist/*: move to playlist/plugins/ | Max Kellermann | 2014-01-23 | 45 | -125/+178 |
| | |||||
* | Encoder*: move to src/encoder | Max Kellermann | 2014-01-23 | 30 | -46/+49 |
| | | | | .. and move the plugins to src/encoder/plugins/. | ||||
* | UPGRADING: remove obsolete file | Max Kellermann | 2014-01-23 | 2 | -93/+1 |
| | | | | | This file has been unmaintained for 5 years, and nowadays, MPD tries very hard to stay compatible with older versions. | ||||
* | db/upnp/Discovery: use std::list instead of std::map | Max Kellermann | 2014-01-23 | 2 | -16/+33 |
| | | | | | There will only be very few items, and that does not justify the bloat of std::map. | ||||
* | db/upnp/Discovery: move code to LockAdd(), LockRemove() | Max Kellermann | 2014-01-23 | 2 | -9/+21 |
| | |||||
* | db/upnp/Discovery: un-inline the destructor | Max Kellermann | 2014-01-23 | 2 | -0/+6 |
| | |||||
* | Makefile.am: always link test/dump_playlist with DetachedSong.cxx | Max Kellermann | 2014-01-23 | 1 | -1/+1 |
| | | | | Fixes linker failure. | ||||
* | DetachedSong: un-inline the destructor | Max Kellermann | 2014-01-23 | 3 | -0/+10 |
| | | | | Reduce bloat. | ||||
* | db/upnp: un-inline a few destructors | Max Kellermann | 2014-01-23 | 9 | -1/+50 |
| | | | | Reduce bloat. | ||||
* | thread/Name: set thread names | Max Kellermann | 2014-01-23 | 7 | -0/+79 |
| | | | | For debugging. | ||||
* | thread/Util: set the SCHED_RESET_ON_FORK flag in SetThreadRealtime() | Max Kellermann | 2014-01-23 | 1 | -1/+1 |
| | |||||
* | db/upnp: strict vpath checks for the "root" directory | Max Kellermann | 2014-01-23 | 1 | -0/+20 |
| | |||||
* | db/upnp: move code to VisitObject() | Max Kellermann | 2014-01-23 | 1 | -22/+33 |
| | |||||
* | db/upnp: merge two PathTraitsUTF8::Build() calls | Max Kellermann | 2014-01-23 | 1 | -16/+4 |
| | |||||
* | db/upnp: move code to VisitItem() | Max Kellermann | 2014-01-23 | 1 | -61/+56 |
| |