aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/FileCommands.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-22LocateUri: new library to classify URIs in a standard wayMax Kellermann1-61/+48
2015-10-20command/FileCommands: fix access to absolute paths in "readcomments"Max Kellermann1-6/+3
2015-08-13command: pass Response object to command callbacksMax Kellermann1-6/+3
2015-08-12client/Response: new Client wrapper class for writing responsesMax Kellermann1-38/+34
2015-08-11command/Request: new struct wrapping ConstBuffer<const char *>Max Kellermann1-1/+2
2015-03-03FileCommands: use Path::HasNewline()Max Kellermann1-3/+3
2015-02-28FileCommands: use PathTraitsFS typedefsMax Kellermann1-2/+2
2015-02-28fs/FileInfo: new library providing GetFileInfo()Max Kellermann1-7/+7
Replaces StatFile(), with a portable data object.
2015-02-28FileCommands: skip special files completelyMax Kellermann1-0/+2
Previously, MPD printed the time stamp without printing the file name. That made no sense.
2015-02-09command/{Queue,File}Commands: drop "file:///" prefix for absolute pathsMax Kellermann1-1/+12
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.
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-12-08command: use ConstBuffer<const char *> for argument listMax Kellermann1-4/+4
2014-10-01storage/Interface: include cleanupMax Kellermann1-0/+1
2014-06-16command: make argc unsignedMax Kellermann1-1/+1
2014-03-14command/{storage,file}: suppress bogus format warnings on WIN32Max Kellermann1-0/+11
2014-03-01command: add command "listfiles"Max Kellermann1-0/+72
Lists files and directories. Supports storage plugins.
2014-02-07FileCommands: support remove database filesMax Kellermann1-6/+13
2014-02-07FileCommands: use Storage::MapFS() instead of map_uri_fs()Max Kellermann1-5/+11
2014-02-07FileCommands: move code to read_file_comments()Max Kellermann1-15/+22
2014-02-03FileCommands: use PathTraitsUTF8::IsAbsolute()Max Kellermann1-1/+1
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-0/+5
2014-01-24Client*: move to client/Max Kellermann1-2/+2
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-12-29command: "lsinfo" and "readcomments" allowed for remote filesMax Kellermann1-0/+24
2013-12-29TagFile: pass reference instead of pointerMax Kellermann1-1/+1
2013-10-26FileCommands: "readcomments" understands APE and ID3v2 tagsMax Kellermann1-0/+5
Implements Mantis ticket 3843.
2013-10-26FileCommands: fix wrong control character check in IsValidValue()Max Kellermann1-1/+1
Check was the wrong way around, and made all valid values invisible.
2013-10-26TagFile: use Path instead of const char *Max Kellermann1-1/+1
2013-10-25command: new command "readcomments" lists arbitrary file tagsMax Kellermann1-0/+122