- 21 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 18 Aug, 2017 1 commit
-
-
Max Kellermann authored
-
- 04 Jun, 2017 1 commit
-
-
Max Kellermann authored
-
- 15 May, 2017 1 commit
-
-
Max Kellermann authored
See commit 71f0ed8b
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 08 Feb, 2017 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
An explicit destructor prevents usage of implicit move operators, even if it's empty. Therefore, declaring a defaulted destructor with GCC attribute "noinline" does what we want without preventing those implicit operators.
-
Max Kellermann authored
-
Max Kellermann authored
This reverts commit 67b7d464. Turns out I was wrong, and mentioning these does make a difference: the implicit move constructor is not defined in the presence of a user-declared destructor.
-
Max Kellermann authored
Sometimes, it's useful to construct a DetachedSong from a LightSong even without having real_uri initialized.
-
Max Kellermann authored
Mentioning these doesn't make a difference.
-
- 18 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 14 Jan, 2017 1 commit
-
-
Max Kellermann authored
This method is used by DecoderControl::IsCurrentSong(), which is used by the player thread to check whether the current decoder instance can be reused to seek. When switching to another song in the same CUE sheet, previously DetachedSong::IsSame() returned true, and thus the old decoder instance was used for the new song, not considering the new end_time. This led to the old decoder quickly quitting.
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 23 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 20 Oct, 2015 1 commit
-
-
Max Kellermann authored
Avoid duplicate AllocatedPath::FromUTF8() invocations in two callers.
-
- 12 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 29 Aug, 2014 1 commit
-
-
Max Kellermann authored
-
- 28 Aug, 2014 1 commit
-
-
Max Kellermann authored
-
- 06 Feb, 2014 1 commit
-
-
Max Kellermann authored
Use Storage::MapUTF8() internally, don't use global variables.
-
- 23 Jan, 2014 1 commit
-
-
Max Kellermann authored
Reduce bloat.
-
- 21 Jan, 2014 3 commits
-
-
Max Kellermann authored
Prepare for UPnP songs that retain there database identity.
-
Max Kellermann authored
Suppresses gcc warnings.
-
Max Kellermann authored
Remove unnecessary explicit code.
-
- 19 Jan, 2014 1 commit
-
-
Max Kellermann authored
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
-
- 17 Jan, 2014 1 commit
-
-
Max Kellermann authored
Make the DetachedSong(Song) conversion constructor private. Everybody should use map_song_detach() which will take over more responsibilities soon.
-
- 15 Jan, 2014 2 commits
-
-
Max Kellermann authored
Don't create an intermediate Song instance when all we want is a DetachedSong.
-
Max Kellermann authored
-
- 09 Jan, 2014 1 commit
-
-
Max Kellermann authored
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
-