Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-01-26 | upnp/discovery: use a plain UpnpClient_Handle instead of class LibUPnP | Max Kellermann | 1 | -5/+4 | |
2014-01-26 | upnp: add class UpnpCallback | Max Kellermann | 1 | -8/+4 | |
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-26 | upnp/Discovery: add listener interface | Max Kellermann | 1 | -1/+27 | |
2014-01-26 | db/upnp: move generic code to lib/upnp/ | Max Kellermann | 1 | -0/+0 | |
2014-01-24 | Database*: move to db/ | Max Kellermann | 1 | -0/+0 | |
2014-01-23 | db/upnp/Discovery: use std::list instead of std::map | Max Kellermann | 1 | -11/+25 | |
There will only be very few items, and that does not justify the bloat of std::map. | |||||
2014-01-23 | db/upnp/Discovery: move code to LockAdd(), LockRemove() | Max Kellermann | 1 | -9/+18 | |
2014-01-23 | db/upnp/Discovery: un-inline the destructor | Max Kellermann | 1 | -0/+5 | |
2014-01-22 | db/upnp/Discovery: unlock mutex before deleting DiscoveredTask | Max Kellermann | 1 | -1/+2 | |
2014-01-22 | db/upnp/Discovery: eliminate two strlen() calls | Max Kellermann | 1 | -4/+4 | |
2014-01-18 | db/upnp/Discovery: eliminate attribute "last_seen" | Max Kellermann | 1 | -1/+1 | |
2014-01-18 | db/upnp/Discovery: use monotonic clock instead of time() | Max Kellermann | 1 | -3/+4 | |
2014-01-18 | db/upnp/Discovery: eliminate full copy in getServer() | Max Kellermann | 1 | -6/+16 | |
2014-01-18 | db/upnp/Discovery: eliminate Error attribute | Max Kellermann | 1 | -14/+21 | |
Move code to method Start() and add Error& parameters to several methods. | |||||
2014-01-18 | db/upnp/Device: move code to method Parse() | Max Kellermann | 1 | -6/+12 | |
Forward the Error to the caller. | |||||
2014-01-18 | db/upnp/Device: use ContentDirectoryDescriptor's move operator | Max Kellermann | 1 | -7/+1 | |
Reduce bloat. | |||||
2014-01-18 | db/upnp/Discovery: fix memory leak | Max Kellermann | 1 | -0/+1 | |
2014-01-18 | db/upnp/Discovery: free the response body | Max Kellermann | 1 | -0/+1 | |
Memory leak. | |||||
2014-01-18 | db/upnp/Discovery: don't copy the response body | Max Kellermann | 1 | -2/+1 | |
Bloat. | |||||
2014-01-18 | db/upnp: don't hold mutex while downloading device description | Max Kellermann | 1 | -1/+1 | |
Must not perform blocking I/O while holding a mutex. | |||||
2014-01-18 | db/upnp: don't use WorkQueue for _ADVERTISEMENT_BYEBYE | Max Kellermann | 1 | -33/+28 | |
Remove the ContentDirectoryDescriptor right away. Reduces bloat. | |||||
2014-01-17 | db/upnp/Discovery: move callbacks and data structures into class | Max Kellermann | 1 | -72/+24 | |
Eliminate global variables. | |||||
2014-01-17 | db/upnp: split cluCallback() | Max Kellermann | 1 | -15/+29 | |
2014-01-17 | db/upnp: add local reference variables | Max Kellermann | 1 | -11/+16 | |
Prepare to refactor some code. | |||||
2014-01-16 | db/upnp: move the LibUPnP instance to class UpnpDatabase | Max Kellermann | 1 | -10/+2 | |
Delete the object when closing the database. | |||||
2014-01-16 | db/upnp: remove useless static Mutex | Max Kellermann | 1 | -6/+0 | |
2014-01-16 | db/upnp: move the UPnPDeviceDirectory instance to class UpnpDatabase | Max Kellermann | 1 | -11/+0 | |
Delete the object when closing the database. | |||||
2014-01-14 | db/upnp/WorkQueue: pass reference to take() | Max Kellermann | 1 | -1/+1 | |
2014-01-14 | db/upnp/WorkQueue: remove unused "szp" parameter from take() | Max Kellermann | 1 | -2/+1 | |
2014-01-13 | db/upnp: add fallback for emplace() | Max Kellermann | 1 | -0/+4 | |
The method emplace() was added in gcc 4.8. This commit restores compatibility with gcc 4.7. | |||||
2014-01-13 | db/upnp: use std::function for the libupnp callback | Max Kellermann | 1 | -6/+4 | |
Replaces the bloated std::map. | |||||
2014-01-11 | db/upnp/discovery: convert std::strings to const char * | Max Kellermann | 1 | -11/+13 | |
Reduce bloat. | |||||
2014-01-09 | UPnP database plugin | Jean-Francois Dockes | 1 | -0/+326 | |
[mk: renamed source files, applied coding style, reduced bloat, using MPD's threading library, using MPD's error reporting and logging library and refactoring, fixed lots of bugs] |