Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | protocol/Result: move current_command to class Response | Max Kellermann | 2015-08-14 | 2 | -4/+0 |
| | |||||
* | protocol/Result: move command_list_num to class Response | Max Kellermann | 2015-08-14 | 2 | -2/+0 |
| | |||||
* | protocol/Result: move error code to class Response | Max Kellermann | 2015-08-14 | 2 | -37/+0 |
| | |||||
* | client/Response: new Client wrapper class for writing responses | Max Kellermann | 2015-08-12 | 2 | -47/+40 |
| | |||||
* | command/Request: add parser methods | Max Kellermann | 2015-08-11 | 1 | -0/+4 |
| | | | | Wrapper for protocol/ArgParser.cxx. | ||||
* | protocol/ArgParser: add overload with max_value parameter | Max Kellermann | 2015-08-11 | 2 | -5/+29 |
| | |||||
* | protocol/ArgParser: use std::numeric_limits | Max Kellermann | 2015-08-11 | 2 | -3/+3 |
| | | | | Using unsigned(-1) renders undefined behavior. | ||||
* | protocol/ArgParser: overload as ParseCommandArg(), pass references | Max Kellermann | 2015-08-11 | 2 | -14/+14 |
| | |||||
* | protocol/ArgParser: add struct RangeArg | Max Kellermann | 2015-08-11 | 2 | -9/+16 |
| | |||||
* | Copyright year 2015 | Max Kellermann | 2015-01-01 | 6 | -6/+6 |
| | |||||
* | Merge tag 'v0.18.14' | Max Kellermann | 2014-09-11 | 1 | -2/+2 |
|\ | |||||
| * | protocol/ArgParser: fix integer overflow in parse_range() | Max Kellermann | 2014-09-04 | 1 | -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 Kellermann | 2014-08-29 | 1 | -4/+4 |
| | | |||||
* | | Playlist: use std::chrono::duration for Seek*() | Max Kellermann | 2014-08-28 | 2 | -0/+31 |
| | | |||||
* | | Client*: move to client/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 |
| | | |||||
* | | copyright year 2014 | Max Kellermann | 2014-01-13 | 6 | -6/+6 |
|/ | |||||
* | *: update copyright year to 2013 | Max Kellermann | 2013-10-30 | 2 | -2/+2 |
| | |||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-28 | 1 | -2/+2 |
| | |||||
* | *: use references instead of pointers | Max Kellermann | 2013-10-19 | 4 | -19/+18 |
| | |||||
* | *: use std::numeric_limits | Max Kellermann | 2013-10-17 | 1 | -13/+10 |
| | |||||
* | gcc.h: rename to Compiler.h | Max Kellermann | 2013-10-15 | 1 | -1/+1 |
| | |||||
* | gcc.h: major update | Max Kellermann | 2013-10-15 | 1 | -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 library | Max Kellermann | 2013-09-04 | 3 | -12/+28 |
| | | | | Replaces GLib's GError. | ||||
* | ack.h: move to protocol/ | Max Kellermann | 2013-08-10 | 2 | -1/+54 |
| | |||||
* | include cleanup | Max Kellermann | 2013-07-30 | 1 | -1/+0 |
| | |||||
* | Merge branch 'v0.17.x' | Max Kellermann | 2013-02-19 | 1 | -1/+1 |
|\ | |||||
| * | command: allow to omit END in ranges (START:END) | Jörg Thalheim | 2013-02-19 | 1 | -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 Client | Max Kellermann | 2013-01-03 | 4 | -20/+20 |
| | | |||||
* | | client: convert to C++ | Max Kellermann | 2013-01-03 | 4 | -12/+12 |
| | | |||||
* | | gcc.h: re-add gcc_const and gcc_pure | Max Kellermann | 2012-08-02 | 1 | -3/+2 |
|/ | | | | Remove GLib dependency from some headers. | ||||
* | command: move code to protocol/argparser.c | Max Kellermann | 2012-02-14 | 2 | -0/+240 |
| | |||||
* | command: move functions to protocol/result.c | Max Kellermann | 2012-02-14 | 2 | -0/+101 |