aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/OtherCommands.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann1-2/+2
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object.
2013-10-17UpdateGlue: never pass null to update_enqueue()Max Kellermann1-3/+3
2013-10-14Mapper, ...: use memcmp() instead of strncmp() where appropriateMax Kellermann1-1/+1
Micro-optimization.
2013-10-02Stats: don't include glib.h in headerMax Kellermann1-0/+2
Use forward declaration instead.
2013-10-02Stats: rename stats.h to Stats.hxxMax Kellermann1-5/+1
2013-09-04util/Error: new error passing libraryMax Kellermann1-3/+5
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-16/+16
2013-07-28song: convert header to C++Max Kellermann1-3/+3
2013-05-06ClientFile: use Path and file system API, update usages accordinglyDenis Krjuchkov1-1/+9
This commit also fixes incorrect passing of UTF-8 strings to client_allow_file
2013-04-08uri: convert to C++Max Kellermann1-1/+1
2013-01-18Playlist, Song: clarify parameter encodingMax Kellermann1-3/+3
2013-01-16Client: move "idle" functions into the classMax Kellermann1-3/+2
2013-01-09idle: convert to C++Max Kellermann1-4/+1
2013-01-07volume: convert to C++Max Kellermann1-1/+1
2013-01-04PlaylistFile: reuse classes PlaylistInfo and PlaylistVectorMax Kellermann1-1/+1
.. instead of rolling own classes.