aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol/ArgParser.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* 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-281-0/+23
| |
* | copyright year 2014Max Kellermann2014-01-131-1/+1
|/
* *: use references instead of pointersMax Kellermann2013-10-191-6/+6
|
* *: use std::numeric_limitsMax Kellermann2013-10-171-13/+10
|
* Merge branch 'v0.17.x'Max Kellermann2013-02-191-1/+1
|
* Client: rename the struct client to class ClientMax Kellermann2013-01-031-6/+6
|
* client: convert to C++Max Kellermann2013-01-031-0/+191