aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* *: 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