Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-11-13 | command/queue: use StringIsEqual() instead of memcmp() | Max Kellermann | 1 | -1/+2 | |
memcmp() can overflow the buffer. | |||||
2015-10-27 | command/queue: add range parameter to plchanges and plchangesposid | Max Kellermann | 1 | -2/+12 | |
2015-10-22 | LocateUri: new library to classify URIs in a standard way | Max Kellermann | 1 | -29/+53 | |
2015-08-13 | command: pass Response object to command callbacks | Max Kellermann | 1 | -58/+23 | |
2015-08-12 | client/Response: new Client wrapper class for writing responses | Max Kellermann | 1 | -51/+81 | |
2015-08-11 | command/Request: add parser methods | Max Kellermann | 1 | -26/+20 | |
Wrapper for protocol/ArgParser.cxx. | |||||
2015-08-11 | protocol/ArgParser: add overload with max_value parameter | Max Kellermann | 1 | -14/+2 | |
2015-08-11 | protocol/ArgParser: overload as ParseCommandArg(), pass references | Max Kellermann | 1 | -25/+16 | |
2015-08-11 | command/Request: new struct wrapping ConstBuffer<const char *> | Max Kellermann | 1 | -21/+22 | |
2015-08-11 | protocol/ArgParser: add struct RangeArg | Max Kellermann | 1 | -19/+22 | |
2015-08-11 | command/{Queue,Other}: eliminate local "bool" variable | Max Kellermann | 1 | -3/+1 | |
2015-02-09 | command/{Queue,File}Commands: drop "file:///" prefix for absolute paths | Max Kellermann | 1 | -12/+3 | |
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-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-12-08 | command: use ConstBuffer<const char *> for argument list | Max Kellermann | 1 | -59/+55 | |
2014-11-18 | QueueCommands: workaround for buggy clients that send "add /" | Max Kellermann | 1 | -1/+10 | |
2014-08-28 | PlaylistEdit: pass std::chrono::duration to SetSongIdRange() | Max Kellermann | 1 | -11/+11 | |
2014-07-12 | QueueCommands: new command "rangeid" | Max Kellermann | 1 | -0/+54 | |
Manipulates the playback range of a queued song. | |||||
2014-07-11 | PlaylistEdit: postpone UpdateQueuedSong() when adding multiple songs | Max Kellermann | 1 | -0/+3 | |
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-11 | QueueCommands: make "result" more local | Max Kellermann | 1 | -3/+2 | |
2014-06-16 | command: make argc unsigned | Max Kellermann | 1 | -22/+22 | |
2014-04-24 | SongFilter: convert argv to ConstBuffer | Max Kellermann | 1 | -1/+4 | |
2014-02-27 | Playlist: use the Error library to return errors | Max Kellermann | 1 | -9/+11 | |
2014-02-27 | Playlist*: move to queue/ | Max Kellermann | 1 | -1/+1 | |
2014-02-03 | SongLoader: new class that merges duplicate code | Max Kellermann | 1 | -55/+30 | |
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files. | |||||
2014-02-02 | ClientFile: move client_allow_file() into the Client class | Max Kellermann | 1 | -3/+2 | |
2014-01-30 | db: add compile-time option to disable database | Max Kellermann | 1 | -0/+5 | |
2014-01-24 | Database*: move to db/ | Max Kellermann | 1 | -2/+2 | |
2014-01-24 | Client*: move to client/ | Max Kellermann | 1 | -2/+2 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-10-20 | *Commands: move to src/command/ | Max Kellermann | 1 | -0/+0 | |
2013-10-20 | command: convert command_return to to a strictly-typed enum | Max Kellermann | 1 | -60/+60 | |
2013-10-20 | PlaylistError: convert playlist_result to a strictly-typed enum | Max Kellermann | 1 | -16/+16 | |
2013-10-19 | ClientInternal: move class Client to Client.hxx | Max Kellermann | 1 | -1/+1 | |
Publish the Client API, preparing to move more code into the Client class. | |||||
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -45/+45 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -3/+3 | |
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-17 | *: use std::numeric_limits | Max Kellermann | 1 | -3/+4 | |
2013-10-17 | Thread/Thread: replacement library for GThread | Max Kellermann | 1 | -0/+2 | |
2013-10-14 | Mapper, ...: use memcmp() instead of strncmp() where appropriate | Max Kellermann | 1 | -2/+2 | |
Micro-optimization. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -6/+7 | |
Replaces GLib's GError. | |||||
2013-08-04 | *: use gcc.h macros instead of GLib | Max Kellermann | 1 | -14/+14 | |
2013-05-06 | ClientFile: use Path and file system API, update usages accordingly | Denis Krjuchkov | 1 | -6/+21 | |
This commit also fixes incorrect passing of UTF-8 strings to client_allow_file | |||||
2013-04-08 | uri: convert to C++ | Max Kellermann | 1 | -4/+1 | |
2013-01-07 | Playlist: convert functions to methods | Max Kellermann | 1 | -50/+24 | |
2013-01-07 | DatabaseQueue: pass DatabaseSelection to Add...() | Max Kellermann | 1 | -2/+3 | |
2013-01-07 | Client: add Partition reference attribute | Max Kellermann | 1 | -2/+2 | |
playlist and player_control are deprecated. | |||||
2013-01-06 | queue: convert all functions to methods | Max Kellermann | 1 | -1/+1 | |
2013-01-04 | DatabaseQueue: pass playlist object | Max Kellermann | 1 | -1/+2 | |
Don't use the global variable "g_playlist". | |||||
2013-01-04 | Client: add "playlist" attribute | Max Kellermann | 1 | -24/+30 | |
Reduce access to the global variable "g_playlist". | |||||
2013-01-04 | playlist: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | Client: rename the struct client to class Client | Max Kellermann | 1 | -20/+20 | |