aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol (follow)
Commit message (Collapse)AuthorAgeFilesLines
* protocol/Result: move current_command to class ResponseMax Kellermann2015-08-142-4/+0
|
* protocol/Result: move command_list_num to class ResponseMax Kellermann2015-08-142-2/+0
|
* protocol/Result: move error code to class ResponseMax Kellermann2015-08-142-37/+0
|
* client/Response: new Client wrapper class for writing responsesMax Kellermann2015-08-122-47/+40
|
* command/Request: add parser methodsMax Kellermann2015-08-111-0/+4
| | | | Wrapper for protocol/ArgParser.cxx.
* protocol/ArgParser: add overload with max_value parameterMax Kellermann2015-08-112-5/+29
|
* protocol/ArgParser: use std::numeric_limitsMax Kellermann2015-08-112-3/+3
| | | | Using unsigned(-1) renders undefined behavior.
* protocol/ArgParser: overload as ParseCommandArg(), pass referencesMax Kellermann2015-08-112-14/+14
|
* protocol/ArgParser: add struct RangeArgMax Kellermann2015-08-112-9/+16
|
* Copyright year 2015Max Kellermann2015-01-016-6/+6
|
* Merge tag 'v0.18.14'Max Kellermann2014-09-111-2/+2
|\
| * protocol/ArgParser: fix integer overflow in parse_range()Max Kellermann2014-09-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Casting std::numeric_limits<unsigned>::max() to "long" leads to an overflow if sizeof(unsigned)==sizeof(long), and the result will be -1. This happens on some 32 bit architectures, for example ARM and WIN32. Workaround: use std::numeric_limits<int>::max(), which is the largest signed integer. Since sizeof(long)>=sizeof(int), this will never overflow. Fixes Mantis ticket 0004080.
* | ArgParser: allow fractional seconds in ParseCommandArg(SongTime)Max Kellermann2014-08-291-4/+4
| |
* | Playlist: use std::chrono::duration for Seek*()Max Kellermann2014-08-282-0/+31
| |
* | Client*: move to client/Max Kellermann2014-01-241-1/+1
| |
* | copyright year 2014Max Kellermann2014-01-136-6/+6
|/
* *: update copyright year to 2013Max Kellermann2013-10-302-2/+2
|
* *: use nullptr instead of NULLMax Kellermann2013-10-281-2/+2
|
* *: use references instead of pointersMax Kellermann2013-10-194-19/+18
|
* *: use std::numeric_limitsMax Kellermann2013-10-171-13/+10
|
* gcc.h: rename to Compiler.hMax Kellermann2013-10-151-1/+1
|
* gcc.h: major updateMax Kellermann2013-10-151-1/+1
| | | | | Copy the according file from another project (i.e. XCSoar). This will allow copying more code more easily.
* util/Error: new error passing libraryMax Kellermann2013-09-043-12/+28
| | | | Replaces GLib's GError.
* ack.h: move to protocol/Max Kellermann2013-08-102-1/+54
|
* include cleanupMax Kellermann2013-07-301-1/+0
|
* Merge branch 'v0.17.x'Max Kellermann2013-02-191-1/+1
|\
| * command: allow to omit END in ranges (START:END)Jörg Thalheim2013-02-191-1/+1
| | | | | | | | | | If END is omitted, mpd should use the highest possible value instead of raising an error. This partially reverts 52e9cab1c1743f64a7
* | Client: rename the struct client to class ClientMax Kellermann2013-01-034-20/+20
| |
* | client: convert to C++Max Kellermann2013-01-034-12/+12
| |
* | gcc.h: re-add gcc_const and gcc_pureMax Kellermann2012-08-021-3/+2
|/ | | | Remove GLib dependency from some headers.
* command: move code to protocol/argparser.cMax Kellermann2012-02-142-0/+240
|
* command: move functions to protocol/result.cMax Kellermann2012-02-142-0/+101