Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | db/upnp/Discovery: eliminate attribute "last_seen" | Max Kellermann | 2014-01-18 | 1 | -1/+1 |
| | |||||
* | db/upnp/Discovery: use monotonic clock instead of time() | Max Kellermann | 2014-01-18 | 1 | -3/+4 |
| | |||||
* | db/upnp/Discovery: eliminate full copy in getServer() | Max Kellermann | 2014-01-18 | 1 | -6/+16 |
| | |||||
* | db/upnp/Discovery: eliminate Error attribute | Max Kellermann | 2014-01-18 | 1 | -14/+21 |
| | | | | | Move code to method Start() and add Error& parameters to several methods. | ||||
* | db/upnp/Device: move code to method Parse() | Max Kellermann | 2014-01-18 | 1 | -6/+12 |
| | | | | Forward the Error to the caller. | ||||
* | db/upnp/Device: use ContentDirectoryDescriptor's move operator | Max Kellermann | 2014-01-18 | 1 | -7/+1 |
| | | | | Reduce bloat. | ||||
* | db/upnp/Discovery: fix memory leak | Max Kellermann | 2014-01-18 | 1 | -0/+1 |
| | |||||
* | db/upnp/Discovery: free the response body | Max Kellermann | 2014-01-18 | 1 | -0/+1 |
| | | | | Memory leak. | ||||
* | db/upnp/Discovery: don't copy the response body | Max Kellermann | 2014-01-18 | 1 | -2/+1 |
| | | | | Bloat. | ||||
* | db/upnp: don't hold mutex while downloading device description | Max Kellermann | 2014-01-18 | 1 | -1/+1 |
| | | | | Must not perform blocking I/O while holding a mutex. | ||||
* | db/upnp: don't use WorkQueue for _ADVERTISEMENT_BYEBYE | Max Kellermann | 2014-01-18 | 1 | -33/+28 |
| | | | | Remove the ContentDirectoryDescriptor right away. Reduces bloat. | ||||
* | db/upnp/Discovery: move callbacks and data structures into class | Max Kellermann | 2014-01-17 | 1 | -72/+24 |
| | | | | Eliminate global variables. | ||||
* | db/upnp: split cluCallback() | Max Kellermann | 2014-01-17 | 1 | -15/+29 |
| | |||||
* | db/upnp: add local reference variables | Max Kellermann | 2014-01-17 | 1 | -11/+16 |
| | | | | Prepare to refactor some code. | ||||
* | db/upnp: move the LibUPnP instance to class UpnpDatabase | Max Kellermann | 2014-01-16 | 1 | -10/+2 |
| | | | | Delete the object when closing the database. | ||||
* | db/upnp: remove useless static Mutex | Max Kellermann | 2014-01-16 | 1 | -6/+0 |
| | |||||
* | db/upnp: move the UPnPDeviceDirectory instance to class UpnpDatabase | Max Kellermann | 2014-01-16 | 1 | -11/+0 |
| | | | | Delete the object when closing the database. | ||||
* | db/upnp/WorkQueue: pass reference to take() | Max Kellermann | 2014-01-14 | 1 | -1/+1 |
| | |||||
* | db/upnp/WorkQueue: remove unused "szp" parameter from take() | Max Kellermann | 2014-01-14 | 1 | -2/+1 |
| | |||||
* | db/upnp: add fallback for emplace() | Max Kellermann | 2014-01-13 | 1 | -0/+4 |
| | | | | | The method emplace() was added in gcc 4.8. This commit restores compatibility with gcc 4.7. | ||||
* | db/upnp: use std::function for the libupnp callback | Max Kellermann | 2014-01-13 | 1 | -6/+4 |
| | | | | Replaces the bloated std::map. | ||||
* | db/upnp/discovery: convert std::strings to const char * | Max Kellermann | 2014-01-11 | 1 | -11/+13 |
| | | | | Reduce bloat. | ||||
* | UPnP database plugin | Jean-Francois Dockes | 2014-01-09 | 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] |