summaryrefslogtreecommitdiff
path: root/src/system
AgeCommit message (Collapse)Author
2017-05-29system/ByteOrder: fix byte order detection on FreeBSD/aarch64Max Kellermann
Patch from https://svnweb.freebsd.org/ports/head/audio/musicpd/files/patch-src_system_ByteOrder.hxx?revision=441921&view=co (with a tiny modification) Closes #59
2017-05-08*: add "noexcept" to many, many function prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-01-17AUTHORS, ...: update my email addressMax Kellermann
2017-01-03update copyright yearMax Kellermann
2016-12-28system/Clock: remove obsolete MonotonicClock*() functionsMax Kellermann
We're using std::chrono::steady_clock now. No need to duplicate code.
2016-12-28system/PeriodClock: use std::chrono::steady_clockMax Kellermann
2016-12-28system/PeriodClock: indent with tabsMax Kellermann
2016-12-04system/Error: use std::generic_category() for errno on WindowsMax Kellermann
It's wrong to use std::system_category() for both GetLastError() and errno on Windows. Apparently, everybody uses std::generic_category() for errno values, which appears to be a safe choice. Some discussion on this confusing topic can be found here: https://stackoverflow.com/questions/28746372/system-error-categories-and-standard-system-error-codes
2016-12-04system/Error: allow using errno functions on WindowsMax Kellermann
The Windows standard library emulates part of POSIX, which includes errno.
2016-11-10system/FatalError: remove the obsolete class Error overloadsMax Kellermann
2016-09-09input/Plugin: migrate open() from class Error to C++ exceptionsMax Kellermann
2016-08-23Merge tag 'v0.19.19'Max Kellermann
release v0.19.19
2016-08-23system/ByteOrder: gssupport non-x86 NetBSDThomas Klausner
2016-07-02system/Error: add missing includeMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2016-02-19system/FileDescriptor: add method Skip()Max Kellermann
2015-12-29system/Error: add IsAccessDenied()Max Kellermann
2015-12-27system/Error: fix duplicate strerror() callMax Kellermann
Apparently, the std::system_error constructor appends strerror() already.
2015-12-18system/Error: add MakeErrno(), MakeLastError()Max Kellermann
2015-12-18system/Error: add IsFileNotFound()Max Kellermann
2015-12-16system/Error: helper library for constructing std::system_errorMax Kellermann
2015-06-21Merge tag 'v0.19.10'Max Kellermann
2015-06-20system/PeriodClock: make IsDefined() "constexpr"Max Kellermann
2015-03-24system/FileDescriptor: add method Tell()Max Kellermann
2015-03-03system/FileDescriptor: Close() returns boolMax Kellermann
2015-03-03system/FileDescriptor: add "mode" parameter to Open()Max Kellermann
2015-03-03system/FileDescriptor: move O_NOCTTY|O_CLOEXEC to Open()Max Kellermann
2015-03-03system/FileDescriptor: remove bogus assertionsMax Kellermann
2015-03-03system/FileDescriptor: fix WIN32 checksMax Kellermann
2015-03-03system/FileDescriptor: new wrapper class for a file descriptorMax Kellermann
2015-03-03system/fd_util: remove unused functionsMax Kellermann
2015-02-12system/ByteOrder: use GCC built-ins if availableMax Kellermann
2015-02-10system/{Resolver,Socket{Error,Util}}: move to new library libnet.aMax Kellermann
2015-01-29Merge branch 'v0.19.x'Max Kellermann
2015-01-29Avoid integer overflow in MonotonicClock{S,MS,US}PHO
This is Darwin specific: the previous implementation was causing an integer overflow when base.numer is very large. On PPC Darwin, the timebase info is 1000000000/33330116 and this is too large for integer arithmetic.
2015-01-01Copyright year 2015Max Kellermann
2014-12-05system/FatalError: add FatalSystemError() overload with WIN32 error codeMax Kellermann
2014-12-05system/FatalError: use FormatMessage() instead of g_win32_error_message()Max Kellermann
2014-11-21configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann
Simplify the definition of many build options.
2014-08-24Merge branch 'v0.18.x'Max Kellermann
2014-08-23system/ByteOrder: <endian.h> is a non-standard header that only Linux provides.Thomas Klausner
2014-07-30system/Resolver: use nullptr instead of NULLMax Kellermann
2014-03-15system/fd_util: export fd_set_cloexec()Max Kellermann
2014-03-15configure.ac: always define _GNU_SOURCE on LinuxMax Kellermann
Make sure glibc gives us all features.
2014-02-18system/FatalError: remove GError supportMax Kellermann
2014-02-18system/EPollFD: add epoll_create1() fallback for AndroidMax Kellermann
2014-01-13copyright year 2014Max Kellermann
2013-12-15configure.ac: add option "--disable-glib"Max Kellermann
Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core.
2013-12-15util/Tokenizer, ...: include cleanupMax Kellermann
2013-12-15system/SocketError, ...: use strerror() instead of g_strerror()Max Kellermann
Avoid GLib.