Max Kellermann
|
70e5ab3fde
|
db/upnp/Directory: don't log unknown items
|
2014-01-10 22:59:16 +01:00 |
|
Max Kellermann
|
f4490f6918
|
db/upnp/Directory: eliminate the "attributes" std::map
Look up attributes in the "atts" array. Reduce bloat.
|
2014-01-10 22:59:01 +01:00 |
|
Max Kellermann
|
dadd987bf4
|
db/upnp/Directory: move "res" attributes to array
Reduce bloat.
|
2014-01-10 22:58:37 +01:00 |
|
Max Kellermann
|
a1ced29279
|
db/upnp: use nullptr-terminated array
Reduce bloat.
|
2014-01-10 22:58:23 +01:00 |
|
Max Kellermann
|
791d6c1336
|
db/upnp/Directory: eliminate struct StackEl, use std::string
Reduces bloat.
|
2014-01-10 22:57:57 +01:00 |
|
Max Kellermann
|
10abb07960
|
db/upnp/Directory: make "attributes" a local variable
We only need it inside StartElement(). Reduces bloat.
|
2014-01-10 22:57:46 +01:00 |
|
Max Kellermann
|
040a5ddad5
|
db/upnp/Directory: move "res" tag handler to StartElement()
No need to handle this in EndElement() - in StartElement(), we already
have all we need.
|
2014-01-10 22:57:22 +01:00 |
|
Max Kellermann
|
e7eb04954d
|
db/upnp/Directory: don't use std::map to parse upnp:class
Reduce excessive bloat.
|
2014-01-10 22:57:16 +01:00 |
|
Max Kellermann
|
09b00fa4e3
|
db/upnp/Object: use strictly-typed enums
At the same time, rename the enum types and the class attributes, and
add an "UNKNOWN" type/class. The latter avoids the "-1" hack.
|
2014-01-10 22:56:52 +01:00 |
|
Max Kellermann
|
74842fd6d4
|
db/upnp: getprop() returns const char *
Return the return value, instead returning it in a reference
parameter. Reduces bloat by reducing unnecessary std::string usage.
|
2014-01-10 22:56:45 +01:00 |
|
Jean-Francois Dockes
|
406452f019
|
UPnP database plugin
[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]
|
2014-01-09 20:56:00 +01:00 |
|