Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-03-03 | system/FileDescriptor: Close() returns bool | Max Kellermann | 1 | -2/+2 | |
2015-03-03 | system/FileDescriptor: add "mode" parameter to Open() | Max Kellermann | 2 | -3/+3 | |
2015-03-03 | system/FileDescriptor: move O_NOCTTY|O_CLOEXEC to Open() | Max Kellermann | 1 | -3/+3 | |
2015-03-03 | system/FileDescriptor: remove bogus assertions | Max Kellermann | 1 | -4/+0 | |
2015-03-03 | system/FileDescriptor: fix WIN32 checks | Max Kellermann | 2 | -5/+5 | |
2015-03-03 | system/FileDescriptor: new wrapper class for a file descriptor | Max Kellermann | 8 | -88/+409 | |
2015-03-03 | system/fd_util: remove unused functions | Max Kellermann | 2 | -154/+0 | |
2015-02-12 | system/ByteOrder: use GCC built-ins if available | Max Kellermann | 1 | -6/+38 | |
2015-02-10 | system/{Resolver,Socket{Error,Util}}: move to new library libnet.a | Max Kellermann | 6 | -558/+0 | |
2015-01-29 | Avoid integer overflow in MonotonicClock{S,MS,US} | PHO | 1 | -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. | |||||
2015-01-29 | Avoid integer overflow in MonotonicClock{S,MS,US} | PHO | 1 | -4/+4 | |
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-01 | Copyright year 2015 | Max Kellermann | 21 | -21/+21 | |
2014-12-05 | system/FatalError: add FatalSystemError() overload with WIN32 error code | Max Kellermann | 2 | -10/+30 | |
2014-12-05 | system/FatalError: use FormatMessage() instead of g_win32_error_message() | Max Kellermann | 1 | -5/+6 | |
2014-11-21 | configure.ac: add macro MPD_ENABLE_AUTO_PKG | Max Kellermann | 1 | -1/+1 | |
Simplify the definition of many build options. | |||||
2014-08-23 | system/ByteOrder: <endian.h> is a non-standard header that only Linux provides. | Thomas Klausner | 1 | -0/+10 | |
2014-07-30 | system/Resolver: use nullptr instead of NULL | Max Kellermann | 1 | -5/+5 | |
2014-03-15 | system/fd_util: export fd_set_cloexec() | Max Kellermann | 2 | -1/+4 | |
2014-03-15 | configure.ac: always define _GNU_SOURCE on Linux | Max Kellermann | 2 | -8/+0 | |
Make sure glibc gives us all features. | |||||
2014-02-18 | system/FatalError: remove GError support | Max Kellermann | 2 | -17/+0 | |
2014-02-18 | system/EPollFD: add epoll_create1() fallback for Android | Max Kellermann | 1 | -0/+15 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 21 | -21/+21 | |
2013-12-15 | configure.ac: add option "--disable-glib" | Max Kellermann | 2 | -1/+7 | |
Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core. | |||||
2013-12-15 | util/Tokenizer, ...: include cleanup | Max Kellermann | 1 | -2/+0 | |
2013-12-15 | system/SocketError, ...: use strerror() instead of g_strerror() | Max Kellermann | 2 | -3/+6 | |
Avoid GLib. | |||||
2013-12-04 | system/Resolver: use std::string to allocate internal buffer | Max Kellermann | 1 | -13/+11 | |
No GLib memory allocation. | |||||
2013-12-04 | system/Resolver: sockaddr_to_string() returns std::string() | Max Kellermann | 2 | -18/+23 | |
No GLib memory allocation. | |||||
2013-11-29 | Clock.cxx: provide all arguments for GetProcessTimes | Denis Krjuchkov | 1 | -2/+2 | |
All parameters seem mandatory, otherwise this call makes MPD crash. | |||||
2013-11-28 | include cleanup using iwyu | Max Kellermann | 5 | -6/+12 | |
2013-11-25 | Volume, Output: use new class PeriodClock instead of GTimer | Max Kellermann | 1 | -0/+149 | |
2013-11-24 | Stats: use monotonic clock instead of GTimer | Max Kellermann | 2 | -0/+29 | |
Reduce GLib usage. | |||||
2013-11-24 | Stats: use GetProcessTimes() on WIN32 to determine MPD uptime | Max Kellermann | 2 | -0/+37 | |
Don't use GTimer if the operating system is able to tell us the uptime. | |||||
2013-11-21 | system/ByteOrder: testing for endianness in a more general way | Florian Schlichting | 1 | -1/+11 | |
Fixes build tests on ia64 and mipsel by testing for endianness in a more general / portable way. | |||||
2013-11-21 | util/ByteOrder: add comments | Max Kellermann | 1 | -0/+2 | |
2013-11-21 | util/ByteOrder: indent the preprocessor directives | Max Kellermann | 1 | -4/+4 | |
Improve readability. | |||||
2013-11-18 | system/fd_util.h: avoid symbol conflict with statically linked libmpdclient | Denis Krjuchkov | 1 | -0/+5 | |
2013-11-05 | system/ByteOrder: fix big-endian support | Max Kellermann | 1 | -2/+2 | |
D'oh! | |||||
2013-11-05 | add various missing headers | Natanael Copa | 1 | -0/+1 | |
Fixes building with gcc-4.8 Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> | |||||
2013-11-04 | system/resolver: return path of UNIX domain sockets | Max Kellermann | 1 | -7/+15 | |
getnameinfo() doesn't work well - it always returns "localhost". | |||||
2013-10-30 | system/FatalError: use _exit() instead of exit() | Max Kellermann | 1 | -2/+2 | |
Skip the global destructors. We don't need them here - we bail out as quickly as we can. | |||||
2013-10-30 | system/FatalError: move code to Abort() | Max Kellermann | 1 | -3/+10 | |
2013-10-29 | fd_util: avoid unnecessary fcntl() calls | Max Kellermann | 1 | -6/+8 | |
2013-10-20 | FatalError: remove unused GError overload | Max Kellermann | 2 | -10/+0 | |
2013-10-16 | system/ByteOrder: new library for byte ordering / endianess | Max Kellermann | 1 | -0/+183 | |
Replacing GLib macros. | |||||
2013-10-15 | system/clock: convert to C++ | Max Kellermann | 2 | -15/+7 | |
2013-10-15 | gcc.h: rename to Compiler.h | Max Kellermann | 6 | -6/+6 | |
2013-10-15 | *: use WIN32 instead of G_OS_WIN32 | Max Kellermann | 2 | -6/+6 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -5/+6 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-05 | mpd_error.h: remove obsolete header | Max Kellermann | 2 | -0/+10 | |
Migrate the remaining callers to FatalError(). | |||||
2013-09-05 | use standard snprintf() instead of GLib g_snprintf() | Max Kellermann | 1 | -1/+2 | |