aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* command: rename to AllCommands.cxxMax Kellermann2012-09-251-385/+0
|
* command: move remaining handlers to OtherCommands.cxxMax Kellermann2012-09-251-277/+1
|
* command: move code to *Commands.cxxMax Kellermann2012-08-291-1289/+8
|
* Stats: stats_print() returns voidMax Kellermann2012-08-291-1/+2
|
* Merge branch 'v0.17.x'Max Kellermann2012-08-251-1/+1
|\ | | | | | | | | Conflicts: src/queue_save.c
| * command: make "single" a boolMax Kellermann2012-08-211-1/+1
| |
* | DatabasePlugin: add method ReturnSong()Max Kellermann2012-08-161-0/+4
| | | | | | | | Allow the plugin to allocate the GetSong() return value.
* | Merge branch 'v0.17.x'Max Kellermann2012-08-141-1/+1
|\| | | | | | | | | Conflicts: src/mapper.h
| * mapper: fix non-UTF8 music directory nameMax Kellermann2012-08-141-1/+1
| | | | | | | | | | | | Duplicate the music_dir variable: one encoded in UTF-8, and another one using the configured filesystem character set. This fixes an ancient MPD bug.
* | DatabasePrint: don't print Last-Modified if unknownMax Kellermann2012-08-081-1/+2
| |
* | time_print: new library, function time_print()Max Kellermann2012-08-081-16/+2
| | | | | | | | | | Implements error checking for the gmtime_r() call, which was missing in two code locations.
* | DatabaseCommands: merge duplicate search/find codeMax Kellermann2012-08-081-15/+10
| |
* | locate: add a per-item "fold_case" flagMax Kellermann2012-08-081-1/+1
| | | | | | | | Merge locate_song_search() and locate_song_match().
* | locate: don't allow empty listMax Kellermann2012-08-071-8/+2
| |
* | locate: add "casefold" flag to parserMax Kellermann2012-08-071-2/+2
| | | | | | | | | | Fold the case during construction, without having to create another copy.
* | command: move code to DatabaseCommands.cxxMax Kellermann2012-08-071-238/+4
| | | | | | | | Prepare to use the DatabasePlugin C++ API directly.
* | command: move print_error() to CommandError.cxxMax Kellermann2012-08-071-104/+1
|/ | | | Prepare for splitting command.c.
* command: require appropriate permissions for searchadd{,pl}Jonathan Neuschäfer2012-07-101-2/+2
|
* New command searchaddplgeneticdrift2012-06-271-0/+28
| | | | Search and add search result to a stored playlist.
* New command searchadd similar to command findadd.geneticdrift2012-06-271-0/+26
|
* command: read arbitrary local files with "lsinfo"Max Kellermann2012-03-061-1/+22
| | | | Requires UNIX domain socket connection.
* playlist_edit: move UID check to client_allow_file()Max Kellermann2012-03-061-11/+15
|
* command, ack: add ack_quark()Max Kellermann2012-03-061-0/+4
| | | | To pass ack values around.
* use g_strerror() instead of strerror()Max Kellermann2012-03-061-1/+2
| | | | Make sure we get a UTF-8 encoded string.
* command: fix the "DENIED" ACK codeMax Kellermann2012-03-061-1/+1
| | | | Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST.
* command: move code to protocol/argparser.cMax Kellermann2012-02-141-166/+1
|
* command: use standard error messages in check_int()Max Kellermann2012-02-141-49/+27
|
* command: check for empty string after strtol()Max Kellermann2012-02-141-7/+7
| | | | An empty string is obviously not a valid integer.
* command: parse unsigned integers and booleans where applicableMax Kellermann2012-02-141-67/+39
|
* command: move functions to protocol/result.cMax Kellermann2012-02-141-31/+1
|
* command: eliminate local buffer "unknown"Max Kellermann2012-02-141-2/+1
|
* command: new command "config"Max Kellermann2012-02-131-0/+19
|
* client: add function client_is_local()Max Kellermann2012-02-131-1/+1
|
* command: never print "bad name" in response to "load"Max Kellermann2012-02-131-5/+14
| | | | Work around a confusing error message.
* command: add optional range parameter to "load"Max Kellermann2012-02-091-4/+13
|
* playlist_save: add start/end_index parametersMax Kellermann2012-02-091-1/+2
|
* playlist_queue: add start/end_index parametersMax Kellermann2012-02-091-1/+3
|
* directory: require the caller to lock the db_mutexMax Kellermann2012-02-021-0/+4
| | | | | Reduce the number of lock/unlock cycles, and make database handling safer.
* command: new command "seekcur"Max Kellermann2011-12-241-0/+16
| | | | For simpler seeking within current song.
* db_print: move code to function db_selection_print()Max Kellermann2011-09-131-9/+6
| | | | Use it in handle_lsinfo(), and eliminate some duplicate code.
* database: don't allow uri==NULLMax Kellermann2011-09-131-6/+6
| | | | Add nonnull attributes and fix all callers.
* database: generate GError when database is disabledMax Kellermann2011-09-131-0/+6
|
* database: add struct db_visitorMax Kellermann2011-09-131-48/+43
| | | | Use this struct for db_walk().
* stored_playlist: return GError, code is playlist_resultMax Kellermann2011-09-111-51/+72
| | | | | Improve error reporting and handling. command.c gets the new function print_error(), which sends a GError to the client.
* dbUtils: move code to db_print.cMax Kellermann2011-09-061-0/+1
|
* dbUtils: pass player_control to findAddIn()Max Kellermann2011-09-051-1/+1
| | | | Allow calling findAddIn() without a client object.
* queue: implement song "priorities"Max Kellermann2011-07-191-0/+64
| | | | | Sorts remaining songs by priority. This can be used for the much-demanded "queue feature".
* Merge branch 'v0.16.x'Max Kellermann2011-04-121-1/+1
|\ | | | | | | | | | | Conflicts: NEWS configure.ac
| * Merge branch 'v0.15.x' into v0.16.xMax Kellermann2011-04-121-1/+1
| |\ | | | | | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/listen.c
| | * command: fix return value of handle_currentsong()Max Kellermann2011-03-231-1/+1
| | | | | | | | | | | | Thanks to clang for complaining.