aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/OtherCommands.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-11-13command/other: re-allow "lsinfo /"Max Kellermann1-1/+8
This compatibility hack was accidently broken by commit f072cbbb
2015-10-22LocateUri: new library to classify URIs in a standard wayMax Kellermann1-59/+97
2015-10-20PlaylistPrint: fix -Wunused #ifndef ENABLE_DATABASEMax Kellermann1-0/+1
2015-10-20DetachedSong: move code from Update() to LoadFile()Max Kellermann1-1/+1
Avoid duplicate AllocatedPath::FromUTF8() invocations in two callers.
2015-10-20command/DatabaseCommands: pass URI to handle_lsinfo2()Max Kellermann1-1/+1
2015-08-14client, command: use StringIsEqual()Max Kellermann1-1/+2
2015-08-13command: pass Response object to command callbacksMax Kellermann1-50/+31
2015-08-12client/Response: new Client wrapper class for writing responsesMax Kellermann1-52/+65
2015-08-11command/Request: add parser methodsMax Kellermann1-5/+4
Wrapper for protocol/ArgParser.cxx.
2015-08-11protocol/ArgParser: add overload with max_value parameterMax Kellermann1-12/+2
2015-08-11protocol/ArgParser: overload as ParseCommandArg(), pass referencesMax Kellermann1-2/+2
2015-08-11command/Request: new struct wrapping ConstBuffer<const char *>Max Kellermann1-17/+18
2015-08-11command/{Queue,Other}: eliminate local "bool" variableMax Kellermann1-4/+1
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-12-08command: use ConstBuffer<const char *> for argument listMax Kellermann1-48/+35
2014-07-29db/Interface: add virtual method Update()Max Kellermann1-0/+24
For database plugins that don't use the UpdateService.
2014-07-29OtherCommands: split handle_update()Max Kellermann1-16/+22
2014-06-16command: make argc unsignedMax Kellermann1-19/+18
2014-03-01command: add command "listfiles"Max Kellermann1-0/+37
Lists files and directories. Supports storage plugins.
2014-02-28{Other,Database}Commands: contract declaration and assignmentMax Kellermann1-6/+3
2014-02-09Idle: error out when unrecognized idle event was specifiedMax Kellermann1-8/+9
Implements the error checks missing in commit 0bad8406
2014-02-09OtherCommands: remove unnecessary nullptr checkMax Kellermann1-3/+0
2014-02-07OtherCommands: use Storage::MapUTF8() instead of Mapper.cxxMax Kellermann1-4/+6
2014-02-02ClientFile: move client_allow_file() into the Client classMax Kellermann1-2/+1
2014-01-30db: add compile-time option to disable databaseMax Kellermann1-2/+24
2014-01-30OtherCommands: merge duplicate code from handle_update(), handle_rescan()Max Kellermann1-31/+10
2014-01-30db/update: convert to OO APIMax Kellermann1-5/+16
Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.
2014-01-29db/Directory: move isRootDirectory() to Uri.hxxMax Kellermann1-1/+1
Decouple command/OtherCommands.cxx from the "simple" database plugin.
2014-01-28OutputAll: convert to class, move instance to class PartitionMax Kellermann1-3/+5
Another big chunk of code for multi-player support.
2014-01-27Playlist{Info,Vector}: move to db/Max Kellermann1-1/+1
2014-01-24Mixer*: move to mixer/Max Kellermann1-1/+1
2014-01-24Database*: move to db/Max Kellermann1-2/+2
2014-01-24Client*: move to client/Max Kellermann1-2/+2
2014-01-24Update*: move to update/Max Kellermann1-1/+1
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann1-1/+1
2014-01-22LightDirectory: new struct replacing Directory in the DB APIMax Kellermann1-0/+1
2014-01-15DetachedSong: add method Update()Max Kellermann1-5/+4
Don't create an intermediate Song instance when all we want is a DetachedSong.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-08SongUpdate: move code to handle_lsinfo()Max Kellermann1-5/+17
Don't create a temporary Song object in handle_lsinfo(). Instead, print all tags while parsing the remote file.
2013-12-29command: "lsinfo" and "readcomments" allowed for remote filesMax Kellermann1-0/+20
2013-11-28include cleanup using iwyuMax Kellermann1-4/+0
2013-11-06ClientRead: "close" flushes the output bufferMax Kellermann1-1/+1
Add a new CommandResult code called "FINISH" which, unlike "CLOSE", will attempt to flush the output buffer. This is a one-shot attempt; it will do one write, and not try again.
2013-10-28*: use nullptr instead of NULLMax Kellermann1-2/+2
2013-10-25OtherCommands: re-add the "volume" commandMax Kellermann1-0/+33
This command was removed by commit 206392ad (MPD 0.16), even though it was been proven useful for some very simple clients. On request, I add it to the protocol again.
2013-10-20Util/ASCII: add function StringEqualsCaseASCII()Max Kellermann1-3/+2
Replaces GLib's g_ascii_strcasecmp().
2013-10-20*Commands: move to src/command/Max Kellermann1-0/+0
2013-10-20command: convert command_return to to a strictly-typed enumMax Kellermann1-42/+42
2013-10-19Client: move trivial functions into the Client classMax Kellermann1-3/+3
2013-10-19ClientInternal: move class Client to Client.hxxMax Kellermann1-1/+1
Publish the Client API, preparing to move more code into the Client class.
2013-10-19*: use references instead of pointersMax Kellermann1-17/+17