mpd/src/command
Max Kellermann 907af2ad02 Permission: refactor getPermissionFromPassword() to return std::optional
This replaces the output parameter (which is bad API design).  As a
side effect, it fixes the bad [[gnu::pure]] attribute added by commit
a636d2127 which caused optimizing compilers to miscompile calls to
that function.  "Pure" functions can be assumed to have no output
arguments, so the compiler can assume the function doesn't modify
them.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1282
2021-10-17 19:58:50 +02:00
..
AllCommands.cxx command/queue: add position parameter to "load" 2021-10-14 15:11:11 +02:00
AllCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
ClientCommands.cxx Permission: refactor getPermissionFromPassword() to return std::optional 2021-10-17 19:58:50 +02:00
ClientCommands.hxx protocol: add command "binarylimit" 2021-01-21 17:17:10 +01:00
CommandError.cxx more [[gnu::...]] attributes 2021-10-13 17:38:01 +02:00
CommandError.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
CommandListBuilder.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
CommandListBuilder.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
CommandResult.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
DatabaseCommands.cxx command/database: add "position" parameter to "findadd" and "searchadd" 2021-10-14 15:03:02 +02:00
DatabaseCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
FileCommands.cxx release v0.22.11 2021-08-24 22:19:38 +02:00
FileCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
FingerprintCommands.cxx client/Response: add method Fmt() based on libfmt 2021-05-25 16:01:56 +02:00
FingerprintCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
MessageCommands.cxx client/Response: add method Fmt() based on libfmt 2021-05-25 16:01:56 +02:00
MessageCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
NeighborCommands.cxx client/Response: add method Fmt() based on libfmt 2021-05-25 16:01:56 +02:00
NeighborCommands.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
OtherCommands.cxx client/Response: refactor FormatError() to use libfmt 2021-05-27 15:15:47 +02:00
OtherCommands.hxx Merge branch 'v0.22.x' 2021-01-01 19:59:15 +01:00
OutputCommands.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
OutputCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
PartitionCommands.cxx client/Response: add method Fmt() based on libfmt 2021-05-25 16:01:56 +02:00
PartitionCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
PlayerCommands.cxx output/print, command/player: print bool as integer 2021-05-28 18:02:00 +02:00
PlayerCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
PlaylistCommands.cxx command/queue: add position parameter to "load" 2021-10-14 15:11:11 +02:00
PlaylistCommands.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
QueueCommands.cxx command/QueueCommands: disallow moving the current song relative to itself 2021-10-07 22:55:41 +02:00
QueueCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Request.hxx command/Request: ParseUnsigned() returns unsigned 2021-01-21 16:33:17 +01:00
StickerCommands.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
StickerCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
StorageCommands.cxx client/Response: add method Fmt() based on libfmt 2021-05-25 16:01:56 +02:00
StorageCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagCommands.cxx client/Response: refactor FormatError() to use libfmt 2021-05-27 15:15:47 +02:00
TagCommands.hxx copyright year 2021 2021-01-01 19:54:28 +01:00