aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Discovery.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Database*: move to db/Max Kellermann2014-01-241-318/+0
|
* db/upnp/Discovery: use std::list instead of std::mapMax Kellermann2014-01-231-11/+25
| | | | | 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 Kellermann2014-01-231-9/+18
|
* db/upnp/Discovery: un-inline the destructorMax Kellermann2014-01-231-0/+5
|
* db/upnp/Discovery: unlock mutex before deleting DiscoveredTaskMax Kellermann2014-01-221-1/+2
|
* db/upnp/Discovery: eliminate two strlen() callsMax Kellermann2014-01-221-4/+4
|
* db/upnp/Discovery: eliminate attribute "last_seen"Max Kellermann2014-01-181-1/+1
|
* db/upnp/Discovery: use monotonic clock instead of time()Max Kellermann2014-01-181-3/+4
|
* db/upnp/Discovery: eliminate full copy in getServer()Max Kellermann2014-01-181-6/+16
|
* db/upnp/Discovery: eliminate Error attributeMax Kellermann2014-01-181-14/+21
| | | | | Move code to method Start() and add Error& parameters to several methods.
* db/upnp/Device: move code to method Parse()Max Kellermann2014-01-181-6/+12
| | | | Forward the Error to the caller.
* db/upnp/Device: use ContentDirectoryDescriptor's move operatorMax Kellermann2014-01-181-7/+1
| | | | Reduce bloat.
* db/upnp/Discovery: fix memory leakMax Kellermann2014-01-181-0/+1
|
* db/upnp/Discovery: free the response bodyMax Kellermann2014-01-181-0/+1
| | | | Memory leak.
* db/upnp/Discovery: don't copy the response bodyMax Kellermann2014-01-181-2/+1
| | | | Bloat.
* db/upnp: don't hold mutex while downloading device descriptionMax Kellermann2014-01-181-1/+1
| | | | Must not perform blocking I/O while holding a mutex.
* db/upnp: don't use WorkQueue for _ADVERTISEMENT_BYEBYEMax Kellermann2014-01-181-33/+28
| | | | Remove the ContentDirectoryDescriptor right away. Reduces bloat.
* db/upnp/Discovery: move callbacks and data structures into classMax Kellermann2014-01-171-72/+24
| | | | Eliminate global variables.
* db/upnp: split cluCallback()Max Kellermann2014-01-171-15/+29
|
* db/upnp: add local reference variablesMax Kellermann2014-01-171-11/+16
| | | | Prepare to refactor some code.
* db/upnp: move the LibUPnP instance to class UpnpDatabaseMax Kellermann2014-01-161-10/+2
| | | | Delete the object when closing the database.
* db/upnp: remove useless static MutexMax Kellermann2014-01-161-6/+0
|
* db/upnp: move the UPnPDeviceDirectory instance to class UpnpDatabaseMax Kellermann2014-01-161-11/+0
| | | | Delete the object when closing the database.
* db/upnp/WorkQueue: pass reference to take()Max Kellermann2014-01-141-1/+1
|
* db/upnp/WorkQueue: remove unused "szp" parameter from take()Max Kellermann2014-01-141-2/+1
|
* db/upnp: add fallback for emplace()Max Kellermann2014-01-131-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 callbackMax Kellermann2014-01-131-6/+4
| | | | Replaces the bloated std::map.
* db/upnp/discovery: convert std::strings to const char *Max Kellermann2014-01-111-11/+13
| | | | Reduce bloat.
* UPnP database pluginJean-Francois Dockes2014-01-091-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]