aboutsummaryrefslogtreecommitdiffstats
path: root/src/system (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'v0.19.10'Max Kellermann2015-06-211-1/+1
|\
| * system/PeriodClock: make IsDefined() "constexpr"Max Kellermann2015-06-201-1/+1
| |
* | system/FileDescriptor: add method Tell()Max Kellermann2015-03-241-0/+5
| |
* | system/FileDescriptor: Close() returns boolMax Kellermann2015-03-031-2/+2
| |
* | system/FileDescriptor: add "mode" parameter to Open()Max Kellermann2015-03-032-3/+3
| |
* | system/FileDescriptor: move O_NOCTTY|O_CLOEXEC to Open()Max Kellermann2015-03-031-3/+3
| |
* | system/FileDescriptor: remove bogus assertionsMax Kellermann2015-03-031-4/+0
| |
* | system/FileDescriptor: fix WIN32 checksMax Kellermann2015-03-032-5/+5
| |
* | system/FileDescriptor: new wrapper class for a file descriptorMax Kellermann2015-03-038-88/+409
| |
* | system/fd_util: remove unused functionsMax Kellermann2015-03-032-154/+0
| |
* | system/ByteOrder: use GCC built-ins if availableMax Kellermann2015-02-121-6/+38
| |
* | system/{Resolver,Socket{Error,Util}}: move to new library libnet.aMax Kellermann2015-02-106-558/+0
| |
* | Merge branch 'v0.19.x'Max Kellermann2015-01-291-6/+6
|\|
| * Avoid integer overflow in MonotonicClock{S,MS,US}PHO2015-01-291-6/+6
| | | | | | | | | | 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.
* | Copyright year 2015Max Kellermann2015-01-0121-21/+21
| |
* | system/FatalError: add FatalSystemError() overload with WIN32 error codeMax Kellermann2014-12-052-10/+30
| |
* | system/FatalError: use FormatMessage() instead of g_win32_error_message()Max Kellermann2014-12-051-5/+6
| |
* | configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann2014-11-211-1/+1
|/ | | | Simplify the definition of many build options.
* Merge branch 'v0.18.x'Max Kellermann2014-08-241-0/+10
|\
| * system/ByteOrder: <endian.h> is a non-standard header that only Linux provides.Thomas Klausner2014-08-231-0/+10
| |
* | system/Resolver: use nullptr instead of NULLMax Kellermann2014-07-301-5/+5
| |
* | system/fd_util: export fd_set_cloexec()Max Kellermann2014-03-152-1/+4
| |
* | configure.ac: always define _GNU_SOURCE on LinuxMax Kellermann2014-03-152-8/+0
| | | | | | | | Make sure glibc gives us all features.
* | system/FatalError: remove GError supportMax Kellermann2014-02-182-17/+0
| |
* | system/EPollFD: add epoll_create1() fallback for AndroidMax Kellermann2014-02-181-0/+15
| |
* | copyright year 2014Max Kellermann2014-01-1321-21/+21
| |
* | configure.ac: add option "--disable-glib"Max Kellermann2013-12-152-1/+7
| | | | | | | | | | Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core.
* | util/Tokenizer, ...: include cleanupMax Kellermann2013-12-151-2/+0
| |
* | system/SocketError, ...: use strerror() instead of g_strerror()Max Kellermann2013-12-152-3/+6
| | | | | | | | Avoid GLib.
* | system/Resolver: use std::string to allocate internal bufferMax Kellermann2013-12-041-13/+11
| | | | | | | | No GLib memory allocation.
* | system/Resolver: sockaddr_to_string() returns std::string()Max Kellermann2013-12-042-18/+23
| | | | | | | | No GLib memory allocation.
* | Clock.cxx: provide all arguments for GetProcessTimesDenis Krjuchkov2013-11-291-2/+2
| | | | | | | | All parameters seem mandatory, otherwise this call makes MPD crash.
* | include cleanup using iwyuMax Kellermann2013-11-285-6/+12
| |
* | Volume, Output: use new class PeriodClock instead of GTimerMax Kellermann2013-11-251-0/+149
| |
* | Stats: use monotonic clock instead of GTimerMax Kellermann2013-11-242-0/+29
| | | | | | | | Reduce GLib usage.
* | Stats: use GetProcessTimes() on WIN32 to determine MPD uptimeMax Kellermann2013-11-242-0/+37
|/ | | | | Don't use GTimer if the operating system is able to tell us the uptime.
* system/ByteOrder: testing for endianness in a more general wayFlorian Schlichting2013-11-211-1/+11
| | | | | Fixes build tests on ia64 and mipsel by testing for endianness in a more general / portable way.
* util/ByteOrder: add commentsMax Kellermann2013-11-211-0/+2
|
* util/ByteOrder: indent the preprocessor directivesMax Kellermann2013-11-211-4/+4
| | | | Improve readability.
* system/fd_util.h: avoid symbol conflict with statically linked libmpdclientDenis Krjuchkov2013-11-181-0/+5
|
* system/ByteOrder: fix big-endian supportMax Kellermann2013-11-051-2/+2
| | | | D'oh!
* add various missing headersNatanael Copa2013-11-051-0/+1
| | | | | | Fixes building with gcc-4.8 Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
* system/resolver: return path of UNIX domain socketsMax Kellermann2013-11-041-7/+15
| | | | getnameinfo() doesn't work well - it always returns "localhost".
* system/FatalError: use _exit() instead of exit()Max Kellermann2013-10-301-2/+2
| | | | | Skip the global destructors. We don't need them here - we bail out as quickly as we can.
* system/FatalError: move code to Abort()Max Kellermann2013-10-301-3/+10
|
* fd_util: avoid unnecessary fcntl() callsMax Kellermann2013-10-291-6/+8
|
* FatalError: remove unused GError overloadMax Kellermann2013-10-202-10/+0
|
* system/ByteOrder: new library for byte ordering / endianessMax Kellermann2013-10-161-0/+183
| | | | Replacing GLib macros.
* system/clock: convert to C++Max Kellermann2013-10-152-15/+7
|
* gcc.h: rename to Compiler.hMax Kellermann2013-10-156-6/+6
|