aboutsummaryrefslogtreecommitdiffstats
path: root/src/command (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Copyright year 2015Max Kellermann31-31/+31
2014-12-12sticker/Match: add inequality operatorsMax Kellermann1-0/+4
2014-12-12sticker/Match: add operator "EQUALS"Max Kellermann1-1/+17
Mapped to "=" in the MPD protocol. This is the first operator, initially supporting value matches in the MPD protocol.
2014-12-12sticker/Song: add enum StickerOperator to sticker_song_find()Max Kellermann1-0/+4
2014-12-12sticker/Database: use the Error libraryMax Kellermann1-7/+23
2014-12-09AllCommands: use ARRAY_SIZE()Max Kellermann1-1/+2
2014-12-08command: use ConstBuffer<const char *> for argument listMax Kellermann25-420/+417
2014-12-08AllCommands: simplify the tokenizer loopMax Kellermann1-17/+19
2014-12-08AllCommands: assign current_command earlyMax Kellermann1-5/+4
2014-12-08AllCommands: remove redundant initializerMax Kellermann1-1/+1
2014-12-06AllCommands: make variables more localMax Kellermann1-16/+13
2014-12-06AllCommands: make the commands array "constexpr"Max Kellermann1-1/+1
2014-11-25{Tag,Song}Print, PlayerCommands: report song duration with milliseconds ↵Max Kellermann1-0/+4
precision
2014-11-18QueueCommands: workaround for buggy clients that send "add /"Max Kellermann1-1/+10
2014-11-18DatabaseCommands: add "window" parameter to "search"/"find"Max Kellermann1-1/+13
2014-10-25AllCommands: "commands" returns playlist commands only if playlist_directory ↵Max Kellermann3-0/+23
configured
2014-10-09StoragePlugin: pass EventLoop to constructorMax Kellermann1-2/+4
2014-10-01storage/Interface: include cleanupMax Kellermann1-0/+1
2014-09-18command/list: reset used size after the list has been processedAndrzej Rybczak1-0/+1
2014-08-29PlayerThread: use SongTime for elapsed_timeMax Kellermann1-2/+2
2014-08-29PlayerControl: use SignedSongTime for the song durationMax Kellermann1-1/+3
2014-08-28PlaylistEdit: pass std::chrono::duration to SetSongIdRange()Max Kellermann1-11/+11
2014-08-28Playlist: use std::chrono::duration for Seek*()Max Kellermann1-6/+8
2014-08-12AllCommands: close connection after syntax errorMax Kellermann1-1/+3
Stop HTTP clients from exploiting MPD via forged POST requests.
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-07-12QueueCommands: new command "rangeid"Max Kellermann3-0/+58
Manipulates the playback range of a queued song.
2014-07-11PlaylistEdit: postpone UpdateQueuedSong() when adding multiple songsMax Kellermann3-0/+9
Implement a "bulk" edit mode that postpones both UpdateQueuedSong() and OnModified(). This way, the playlist version gets incremented only once. More importantly: when adding multiple songs to a queue that consists of only one song, the first song that got added will always be played next. By postponing this choice, all newly added songs get a chance to become the next song. Fixes the second (and last) part of Mantis ticket 0004005.
2014-07-11QueueCommands: make "result" more localMax Kellermann1-3/+2
2014-06-16command: make argc unsignedMax Kellermann25-206/+205
2014-06-11ClientList: use class boost::intrusive::listMax Kellermann1-4/+4
Eliminate extra allocations for the std::list node instances.
2014-05-10PlaylistCommands: remove redundant playlist_load_spl() callMax Kellermann1-17/+1
This case is handled already by playlist_open_in_playlist_dir() (via playlist_mapper_open()). And the call didn't work anyway.
2014-04-27db/Count: implement groupingMax Kellermann1-2/+16
2014-04-26DatabasePrint: move PrintSongCount() to Count.cxxMax Kellermann1-0/+1
2014-04-25DatabasePrint: refactor variable/function namesMax Kellermann1-2/+2
2014-04-25DatabaseCommands: disallow "grouping" by the selected tagMax Kellermann1-0/+7
Fixes assertion failure.
2014-04-24DatabasePrint: eliminate printAllIn(), printInfoForAllIn()Max Kellermann1-2/+4
2014-04-24DatabaseCommands: "list" allows groupingMax Kellermann1-1/+20
2014-04-24DatabaseCommands: simplify the handle_list() argument parserMax Kellermann1-9/+12
2014-04-24SongFilter: convert argv to ConstBufferMax Kellermann2-7/+20
2014-04-24DatabaseCommands: fix crash on "list base"Max Kellermann1-7/+2
The string "base" is understood by locate_parse_type(), but not by listAllUniqueTags(). The special tag type LOCATE_TAG_BASE_TYPE causes a crash in PrintUniqueTag().
2014-04-24DatabaseCommands: clarify compatibility commentMax Kellermann1-1/+1
2014-03-14command/{storage,file}: suppress bogus format warnings on WIN32Max Kellermann2-0/+22
2014-03-01command: add command "listfiles"Max Kellermann9-2/+237
Lists files and directories. Supports storage plugins.
2014-02-28{Other,Database}Commands: contract declaration and assignmentMax Kellermann2-12/+6
2014-02-27AllCommands: "findadd" requires the "add" permissionMax Kellermann1-1/+1
2014-02-27db/simple: mount pointsMax Kellermann2-0/+51
A SimpleDatabase instance can now "mount" other Database instances at certain locations. This is used to use a new SimpleDatabase instance for each storage mount (issued with the "mount" protocol command). Each such instance has its own database file, stored in the directory that is specified with the "cache_directory" option.
2014-02-27Playlist: use the Error library to return errorsMax Kellermann2-17/+17
2014-02-27Playlist*: move to queue/Max Kellermann3-3/+3
2014-02-19DatabasePlugin: split headerMax Kellermann1-1/+1