- 05 Mar, 2021 4 commits
-
-
Max Kellermann authored
Casting to std::runtime_error loses information (and prevents RVO).
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 04 Mar, 2021 24 commits
-
-
Rosen Penev authored
Shorter. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-
Shen-Ta Hsieh authored
* Use PcmExport for 24bit packed output
-
Shen-Ta Hsieh authored
-
Shen-Ta Hsieh authored
-
Shen-Ta Hsieh authored
-
Shen-Ta Hsieh authored
-
Shen-Ta Hsieh authored
-
Shen-Ta Hsieh authored
-
Shen-Ta Hsieh authored
-
Max Kellermann authored
-
Shen-Ta Hsieh authored
-
Shen-Ta Hsieh authored
-
Shen-Ta Hsieh authored
-
Shen-Ta Hsieh authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Replaces the static Duplicate() method.
-
Max Kellermann authored
-
Max Kellermann authored
To make things simpler, AllocatedString is now a non-template class.
-
Érico Rolim authored
Per the manual for strptime, %F is equivalent %Y-%m-%d, so use that directly.
-
Érico Rolim authored
ParseTimePoint. %Z is a glibc extension to strptime, and is a no-op there, due to the mapping between timezone names and their definition (especially when the name comes from a different machine) being ambiguous / impossible. Time in HTTP headers is guaranteed to be UTC. Passing an unknown format to strptime() implementations that don't support it will generally cause them to return NULL, which will lead to ParseTimePoint throwing an exception and ParseTimeStamp using an unnecessary fallback. Since the timezone name goes at the end of the string, we don't need to use %Z to skip it (could be an issue in a different time stamp format), so simply removing %Z works best.
-
- 25 Feb, 2021 1 commit
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1112
-
- 22 Feb, 2021 2 commits
-
-
Max Kellermann authored
Regression by commit a22d1c88 Closes https://github.com/MusicPlayerDaemon/MPD/issues/1097
-
Max Kellermann authored
-
- 17 Feb, 2021 2 commits
-
-
Max Kellermann authored
-
Florian Schlichting authored
Exmaple -> Example
-
- 16 Feb, 2021 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
If the constructor moves from an ExportedSong instance which refers to somebody else's "Tag" instance, the newly constructed instance will instead refer to its own empty "tag_buffer" field. This broke SimpleDatabase::GetSong(), i.e. all songs on the queue restored from the state file or added using the "addid" command. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1089
-
Max Kellermann authored
-
- 15 Feb, 2021 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Needed for `requestLegacyExternalStorage` (commit ca02fb77).
-
Max Kellermann authored
The "move" command doesn't allow open-ended ranges because they don't make a lot of sense; moving an open-ended range is only possible if the destination index is before the range, and in that case, the client should be well aware how many songs there are. Closes https://github.com/MusicPlayerDaemon/MPD/pull/1057
-
Max Kellermann authored
Catch errors like that early, before invalid ranges get passed to internal MPD subsystems.
-