- 20 Jan, 2014 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Works around a build failure on Solaris because annoyingly, Solaris reserves the name "queue". This rename was pending anyway.
-
Max Kellermann authored
-
- 19 Jan, 2014 7 commits
-
-
Max Kellermann authored
The Song class is only used for database songs now. A Song without a Directory is not possible anymore.
-
Max Kellermann authored
-
Max Kellermann authored
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
-
Max Kellermann authored
Check mpd_response_finish() before using mpd_song. Don't skip this check even if the mpd_song is non-nullptr.
-
Max Kellermann authored
Simpler to use than const_cast.
-
Max Kellermann authored
This saves another 3% memory.
-
Max Kellermann authored
Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%.
-
- 18 Jan, 2014 30 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
The UPnPDirObject is a temporary object, we can move its contents. This reduces runtime overhead.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Reduce bloat.
-
Max Kellermann authored
Move code to method Start() and add Error& parameters to several methods.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Eliminate the std::string bloat.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Forward the Error to the caller.
-
Max Kellermann authored
Reduce bloat.
-
Max Kellermann authored
Pass "const char *" to Expat.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Reduce runtime bloat.
-
Max Kellermann authored
Reduce overhead by omitting the part of the buffer that consists only of whitespace.
-
Max Kellermann authored
Memory leak.
-
Max Kellermann authored
Bloat.
-
Max Kellermann authored
Must not perform blocking I/O while holding a mutex.
-
Max Kellermann authored
Remove the ContentDirectoryDescriptor right away. Reduces bloat.
-
Max Kellermann authored
-
Max Kellermann authored
Now that MPD forks early, this workaround is obsolete.
-
Max Kellermann authored
Keep the parent process around until MPD has finished initializing. This is important for libraries that are allergic to fork(), such as libupnp.
-
Max Kellermann authored
-
Max Kellermann authored
-