- 20 Jan, 2014 9 commits
-
-
Max Kellermann authored
This has been verified already in the caller.
-
Max Kellermann authored
Allows applying map_to_relative_path() with base_uri.
-
Max Kellermann authored
No caller passes a database song to this function, but if he does, this check doesn't make sense.
-
Max Kellermann authored
This didn't make sense.
-
Max Kellermann authored
-
Max Kellermann authored
-
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 24 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.
-