aboutsummaryrefslogtreecommitdiffstats
path: root/src/command (follow)
Commit message (Collapse)AuthorAgeFilesLines
* command/other: re-allow "lsinfo /"Max Kellermann2015-11-131-1/+8
| | | | This compatibility hack was accidently broken by commit f072cbbb
* command/queue: use StringIsEqual() instead of memcmp()Max Kellermann2015-11-131-1/+2
| | | | memcmp() can overflow the buffer.
* queue/Playlist: seek methods return bool/Error instead of PlaylistResultMax Kellermann2015-11-111-9/+12
|
* command/CommandError: send verbose error message to clientMax Kellermann2015-11-111-22/+55
|
* PlaylistError: remove unused code "ERRNO"Max Kellermann2015-11-111-4/+0
|
* player/Control: add Lock prefix to locking method namesMax Kellermann2015-11-111-4/+4
|
* command/queue: add range parameter to plchanges and plchangesposidMax Kellermann2015-10-272-4/+14
|
* LocateUri: new library to classify URIs in a standard wayMax Kellermann2015-10-225-151/+205
|
* PlaylistPrint: fix -Wunused #ifndef ENABLE_DATABASEMax Kellermann2015-10-201-0/+1
|
* DetachedSong: move code from Update() to LoadFile()Max Kellermann2015-10-201-1/+1
| | | | Avoid duplicate AllocatedPath::FromUTF8() invocations in two callers.
* command/DatabaseCommands: pass URI to handle_lsinfo2()Max Kellermann2015-10-203-6/+3
|
* command/FileCommands: fix access to absolute paths in "readcomments"Max Kellermann2015-10-201-6/+3
|
* db/UniqueTags, tag/Set, ...: use typedef tag_mask_tMax Kellermann2015-08-241-3/+3
|
* client, command: use StringIsEqual()Max Kellermann2015-08-144-25/+27
|
* command/CommandListBuilder: postpone "size" initializationMax Kellermann2015-08-142-2/+2
|
* protocol/Result: move current_command to class ResponseMax Kellermann2015-08-141-14/+2
|
* protocol/Result: move command_list_num to class ResponseMax Kellermann2015-08-141-4/+1
|
* command: pass Response object to command callbacksMax Kellermann2015-08-1325-395/+246
|
* client/Response: new Client wrapper class for writing responsesMax Kellermann2015-08-1217-465/+588
|
* command/Request: add parser methodsMax Kellermann2015-08-118-67/+92
| | | | Wrapper for protocol/ArgParser.cxx.
* protocol/ArgParser: add overload with max_value parameterMax Kellermann2015-08-112-26/+4
|
* protocol/ArgParser: overload as ParseCommandArg(), pass referencesMax Kellermann2015-08-116-57/+42
|
* command/Request: new struct wrapping ConstBuffer<const char *>Max Kellermann2015-08-1126-215/+262
|
* protocol/ArgParser: add struct RangeArgMax Kellermann2015-08-113-31/+32
|
* command/{Queue,Other}: eliminate local "bool" variableMax Kellermann2015-08-113-13/+6
|
* PlaylistSave: return bool/Error instead of PlaylistResultMax Kellermann2015-03-241-2/+4
|
* *: change C-style prototypes, drop "(void)"Max Kellermann2015-03-032-4/+8
|
* FileCommands: use Path::HasNewline()Max Kellermann2015-03-031-3/+3
|
* StorageCommands: use PathTraitsUTF8 for protocol argumentMax Kellermann2015-03-021-1/+1
|
* FileCommands: use PathTraitsFS typedefsMax Kellermann2015-02-281-2/+2
|
* fs/FileInfo: new library providing GetFileInfo()Max Kellermann2015-02-281-7/+7
| | | | Replaces StatFile(), with a portable data object.
* FileCommands: skip special files completelyMax Kellermann2015-02-281-0/+2
| | | | | Previously, MPD printed the time stamp without printing the file name. That made no sense.
* storage/FileInfo: rename to StorageFileInfoMax Kellermann2015-02-281-4/+4
|
* command/{Queue,File}Commands: drop "file:///" prefix for absolute pathsMax Kellermann2015-02-092-13/+15
| | | | | | | | | | | | Requiring this prefix makes the client's intention very clear, but it was too hard to understand why this prefix was needed. Initially, my intention was to differentiate from broken clients which prefix relate URIs with a slash; once MPD allowed that. In the past few years however, MPD has disallowed that, and there was no significant breakage (except for the "add /" special case which some clients apparently still do). So I figure it's about time to define that an URI that begins with a slash points to an arbitrary file on the file system.
* StickerDatabase: convert the struct name to upper caseMax Kellermann2015-01-281-1/+1
|
* Copyright year 2015Max Kellermann2015-01-0131-31/+31
|
* sticker/Match: add inequality operatorsMax Kellermann2014-12-121-0/+4
|
* sticker/Match: add operator "EQUALS"Max Kellermann2014-12-121-1/+17
| | | | | Mapped to "=" in the MPD protocol. This is the first operator, initially supporting value matches in the MPD protocol.
* sticker/Song: add enum StickerOperator to sticker_song_find()Max Kellermann2014-12-121-0/+4
|
* sticker/Database: use the Error libraryMax Kellermann2014-12-121-7/+23
|
* AllCommands: use ARRAY_SIZE()Max Kellermann2014-12-091-1/+2
|
* command: use ConstBuffer<const char *> for argument listMax Kellermann2014-12-0825-420/+417
|
* AllCommands: simplify the tokenizer loopMax Kellermann2014-12-081-17/+19
|
* AllCommands: assign current_command earlyMax Kellermann2014-12-081-5/+4
|
* AllCommands: remove redundant initializerMax Kellermann2014-12-081-1/+1
|
* AllCommands: make variables more localMax Kellermann2014-12-061-16/+13
|
* AllCommands: make the commands array "constexpr"Max Kellermann2014-12-061-1/+1
|
* {Tag,Song}Print, PlayerCommands: report song duration with milliseconds ↵Max Kellermann2014-11-251-0/+4
| | | | precision
* Merge tag 'v0.19.4'Max Kellermann2014-11-181-1/+10
|\
| * QueueCommands: workaround for buggy clients that send "add /"Max Kellermann2014-11-181-1/+10
| |