- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 02 Sep, 2018 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 06 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 04 Mar, 2018 1 commit
-
-
Max Kellermann authored
Instead of stopping playback (due to seek time overflow), reject the seek command. Closes #240 Relative negative values (with "seekcur") are still allowed, and MPD will fix the resulting position if it turns out to be negative. But the "seek" and "seekid" commands use an unsigned time stamp which must not be negative.
-
- 09 Feb, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
For Android pre-5.0 compatibility (#213).
-
- 24 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
The "pure" and "const" attributes are not so well-defined, and a recent clang version implements an optimization which pushes the definition's boundary beyond what I believed it was. clang now assumes that functions declared "pure" cannot throw exceptions, even if they lack the "noexcept" specification. When compiled with this new clang version, MPD will crash randomly if an exception happens to get thrown by such as "pure" function (https://github.com/MusicPlayerDaemon/MPD/issues/41). This commit removes all such misplaced "pure" and "const" attributes, closing #41.
-
- 03 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 06 Mar, 2016 1 commit
-
-
Max Kellermann authored
The old check unsigned(value) > std::numeric_limits<unsigned>::max() .. cannot ever fail.
-
- 01 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 18 Dec, 2015 1 commit
-
-
Max Kellermann authored
-
- 14 Aug, 2015 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 12 Aug, 2015 1 commit
-
-
Max Kellermann authored
-
- 11 Aug, 2015 5 commits
-
-
Max Kellermann authored
Wrapper for protocol/ArgParser.cxx.
-
Max Kellermann authored
-
Max Kellermann authored
Using unsigned(-1) renders undefined behavior.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 04 Sep, 2014 1 commit
-
-
Max Kellermann authored
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.
-
- 29 Aug, 2014 1 commit
-
-
Max Kellermann authored
-
- 28 Aug, 2014 1 commit
-
-
Max Kellermann authored
-
- 23 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 30 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 28 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 19 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 17 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 15 Oct, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Copy the according file from another project (i.e. XCSoar). This will allow copying more code more easily.
-
- 04 Sep, 2013 1 commit
-
-
Max Kellermann authored
Replaces GLib's GError.
-