- 21 Jan, 2014 14 commits
-
-
Max Kellermann authored
Don't allocate the object when it's not needed.
-
Max Kellermann authored
The caller should better obtain the object id from the returned UPnPDirObject instance.
-
Max Kellermann authored
If Namei() succeeds, the object id is guaranteed to be set.
-
Max Kellermann authored
Reduce runtime overhead.
-
Max Kellermann authored
-
Max Kellermann authored
Reduce bloat.
-
Max Kellermann authored
We know already that vpath is empty, let's use this instance.
-
Max Kellermann authored
-
Max Kellermann authored
The UPnP database plugin can now show relative song URIs for remote songs.
-
Max Kellermann authored
Prepare for UPnP songs that retain there database identity.
-
Max Kellermann authored
Suppresses gcc warnings.
-
Max Kellermann authored
Fall back to UPnPDirObject::url if there is no override.
-
Max Kellermann authored
Remove unnecessary explicit code.
-
Chase Geigle authored
-
- 20 Jan, 2014 11 commits
-
-
Max Kellermann authored
Reduce bloat.
-
Max Kellermann authored
-
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 8 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
-