- 13 Oct, 2021 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 24 Jun, 2021 1 commit
-
-
Max Kellermann authored
-
- 05 Feb, 2021 1 commit
-
-
Max Kellermann authored
Preparing for a variant of TimerEvent with coarse 1-second granularity, but cheaper (with a timer wheel).
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 02 Dec, 2020 1 commit
-
-
Max Kellermann authored
-
- 17 Oct, 2020 1 commit
-
-
Max Kellermann authored
snprintf() is available on mingw, and the libnfs kludge broke the build with mingw, because sprintf_s() was now both an inline function and a "dllimport" function (because the macro renamed the inline function snprintf() to sprintf_s() in mingw's stdio.h).
-
- 15 Oct, 2020 1 commit
-
-
Max Kellermann authored
-
- 14 Oct, 2020 2 commits
-
-
Max Kellermann authored
Similar to commits 1686f4e8 and 30a5dd26
-
Max Kellermann authored
Instead of using this as a base class implementing a virtual method, the new class IdleEvent can be used as a variable, decoupling IdleMonitor's internal state from the derived class. This is similar to commit 30a5dd26 which refactored TimeoutMonitor to TimerEvent.
-
- 08 Oct, 2020 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 30 May, 2020 1 commit
-
-
Rosen Penev authored
The ones in std have overloads for const char/char. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 23 Apr, 2020 5 commits
-
-
Max Kellermann authored
libnfs is compiled with `-D_FILE_OFFSET_BITS=64`, but Meson decides not to enable this mode. We could force this mode, but then again, these days, nobody should be using 32-bit Windows ... so this is a kludge only for debugging with 32-bit WINE.
-
Max Kellermann authored
-
Max Kellermann authored
This flag is output-only.
-
Max Kellermann authored
The object's state is `IDLE` when OnNfsCallback() gets invoked, so let's use the start of the method to reset the `state` field.
-
Max Kellermann authored
Fixes assertion failure if the callback fails.
-
- 08 Apr, 2020 1 commit
-
-
Rosen Penev authored
std::all_of becomes constexpr in C++20. I'm not sure it results in better performance. Found with useStlAlgorithm Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 26 Mar, 2020 1 commit
-
-
Max Kellermann authored
-
- 16 Mar, 2020 1 commit
-
-
Rosen Penev authored
[[maybe_unused]] (introduced in C++17) is standard C++. https://clang.llvm.org/docs/AttributeReference.html#maybe-unused-unused says that this is equivalent to the GNU unused attribute. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 13 Mar, 2020 2 commits
-
-
Rosen Penev authored
The former is deprecated by C++14. The standard says they are the same: The header defines all types and macros the same as the C standard library header<stdint.h>. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
The former is deprecated with C++14. The standard says both are the same: The contents and meaning of the header<cstddef>are the same as the C standard library header<stddef.h>,except that it does not declare the type wchar_t, that it also declares the type byte and its associated operations (21.2.5), and as noted in 21.2.3 and 21.2.4. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 12 Mar, 2020 1 commit
-
-
Rosen Penev authored
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Feb, 2020 1 commit
-
-
Max Kellermann authored
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 12 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2020 1 commit
-
-
Max Kellermann authored
Behave like STL.
-
- 16 Dec, 2019 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 07 May, 2019 1 commit
-
-
Max Kellermann authored
-
- 26 Apr, 2019 1 commit
-
-
Max Kellermann authored
Just like std::condition_variable, which however has no way to specify the std::mutex directly.
-
- 25 Apr, 2019 1 commit
-
-
Max Kellermann authored
-
- 04 Apr, 2019 1 commit
-
-
Max Kellermann authored
-
- 15 Feb, 2019 1 commit
-
-
Max Kellermann authored
Closes #477
-
- 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
-
- 14 Oct, 2018 1 commit
-
-
Max Kellermann authored
So long, autotools! This is my last MPD related project to migrate away from it. It has its strengths, but also very obvious weaknesses and weirdnesses. Today, many of its quirks are not needed anymore, and are cumbersome and slow. Now welcome our new Meson overlords!
-
- 20 Aug, 2018 1 commit
-
-
Max Kellermann authored
-