Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | client/Response: new Client wrapper class for writing responses | Max Kellermann | 2015-08-12 | 1 | -36/+29 |
| | |||||
* | protocol/ArgParser: add overload with max_value parameter | Max Kellermann | 2015-08-11 | 1 | -5/+21 |
| | |||||
* | protocol/ArgParser: use std::numeric_limits | Max Kellermann | 2015-08-11 | 1 | -2/+0 |
| | | | | Using unsigned(-1) renders undefined behavior. | ||||
* | protocol/ArgParser: overload as ParseCommandArg(), pass references | Max Kellermann | 2015-08-11 | 1 | -10/+10 |
| | |||||
* | protocol/ArgParser: add struct RangeArg | Max Kellermann | 2015-08-11 | 1 | -7/+6 |
| | |||||
* | Copyright year 2015 | Max Kellermann | 2015-01-01 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -0/+23 |
| | | |||||
* | | copyright year 2014 | Max Kellermann | 2014-01-13 | 1 | -1/+1 |
|/ | |||||
* | *: use references instead of pointers | Max Kellermann | 2013-10-19 | 1 | -6/+6 |
| | |||||
* | *: use std::numeric_limits | Max Kellermann | 2013-10-17 | 1 | -13/+10 |
| | |||||
* | Merge branch 'v0.17.x' | Max Kellermann | 2013-02-19 | 1 | -1/+1 |
| | |||||
* | Client: rename the struct client to class Client | Max Kellermann | 2013-01-03 | 1 | -6/+6 |
| | |||||
* | client: convert to C++ | Max Kellermann | 2013-01-03 | 1 | -0/+191 |