Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | system/FatalError: add FatalSystemError() overload with WIN32 error code | Max Kellermann | 2014-12-05 | 2 | -10/+30 |
| | |||||
* | system/FatalError: use FormatMessage() instead of g_win32_error_message() | Max Kellermann | 2014-12-05 | 1 | -5/+6 |
| | |||||
* | configure.ac: add macro MPD_ENABLE_AUTO_PKG | Max Kellermann | 2014-11-21 | 1 | -1/+1 |
| | | | | Simplify the definition of many build options. | ||||
* | Merge branch 'v0.18.x' | Max Kellermann | 2014-08-24 | 1 | -0/+10 |
|\ | |||||
| * | system/ByteOrder: <endian.h> is a non-standard header that only Linux provides. | Thomas Klausner | 2014-08-23 | 1 | -0/+10 |
| | | |||||
* | | system/Resolver: use nullptr instead of NULL | Max Kellermann | 2014-07-30 | 1 | -5/+5 |
| | | |||||
* | | system/fd_util: export fd_set_cloexec() | Max Kellermann | 2014-03-15 | 2 | -1/+4 |
| | | |||||
* | | configure.ac: always define _GNU_SOURCE on Linux | Max Kellermann | 2014-03-15 | 2 | -8/+0 |
| | | | | | | | | Make sure glibc gives us all features. | ||||
* | | system/FatalError: remove GError support | Max Kellermann | 2014-02-18 | 2 | -17/+0 |
| | | |||||
* | | system/EPollFD: add epoll_create1() fallback for Android | Max Kellermann | 2014-02-18 | 1 | -0/+15 |
| | | |||||
* | | copyright year 2014 | Max Kellermann | 2014-01-13 | 21 | -21/+21 |
| | | |||||
* | | configure.ac: add option "--disable-glib" | Max Kellermann | 2013-12-15 | 2 | -1/+7 |
| | | | | | | | | | | Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core. | ||||
* | | util/Tokenizer, ...: include cleanup | Max Kellermann | 2013-12-15 | 1 | -2/+0 |
| | | |||||
* | | system/SocketError, ...: use strerror() instead of g_strerror() | Max Kellermann | 2013-12-15 | 2 | -3/+6 |
| | | | | | | | | Avoid GLib. | ||||
* | | system/Resolver: use std::string to allocate internal buffer | Max Kellermann | 2013-12-04 | 1 | -13/+11 |
| | | | | | | | | No GLib memory allocation. | ||||
* | | system/Resolver: sockaddr_to_string() returns std::string() | Max Kellermann | 2013-12-04 | 2 | -18/+23 |
| | | | | | | | | No GLib memory allocation. | ||||
* | | Clock.cxx: provide all arguments for GetProcessTimes | Denis Krjuchkov | 2013-11-29 | 1 | -2/+2 |
| | | | | | | | | All parameters seem mandatory, otherwise this call makes MPD crash. | ||||
* | | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 5 | -6/+12 |
| | | |||||
* | | Volume, Output: use new class PeriodClock instead of GTimer | Max Kellermann | 2013-11-25 | 1 | -0/+149 |
| | | |||||
* | | Stats: use monotonic clock instead of GTimer | Max Kellermann | 2013-11-24 | 2 | -0/+29 |
| | | | | | | | | Reduce GLib usage. | ||||
* | | Stats: use GetProcessTimes() on WIN32 to determine MPD uptime | Max Kellermann | 2013-11-24 | 2 | -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 way | Florian Schlichting | 2013-11-21 | 1 | -1/+11 |
| | | | | | Fixes build tests on ia64 and mipsel by testing for endianness in a more general / portable way. | ||||
* | util/ByteOrder: add comments | Max Kellermann | 2013-11-21 | 1 | -0/+2 |
| | |||||
* | util/ByteOrder: indent the preprocessor directives | Max Kellermann | 2013-11-21 | 1 | -4/+4 |
| | | | | Improve readability. | ||||
* | system/fd_util.h: avoid symbol conflict with statically linked libmpdclient | Denis Krjuchkov | 2013-11-18 | 1 | -0/+5 |
| | |||||
* | system/ByteOrder: fix big-endian support | Max Kellermann | 2013-11-05 | 1 | -2/+2 |
| | | | | D'oh! | ||||
* | add various missing headers | Natanael Copa | 2013-11-05 | 1 | -0/+1 |
| | | | | | | Fixes building with gcc-4.8 Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> | ||||
* | system/resolver: return path of UNIX domain sockets | Max Kellermann | 2013-11-04 | 1 | -7/+15 |
| | | | | getnameinfo() doesn't work well - it always returns "localhost". | ||||
* | system/FatalError: use _exit() instead of exit() | Max Kellermann | 2013-10-30 | 1 | -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 Kellermann | 2013-10-30 | 1 | -3/+10 |
| | |||||
* | fd_util: avoid unnecessary fcntl() calls | Max Kellermann | 2013-10-29 | 1 | -6/+8 |
| | |||||
* | FatalError: remove unused GError overload | Max Kellermann | 2013-10-20 | 2 | -10/+0 |
| | |||||
* | system/ByteOrder: new library for byte ordering / endianess | Max Kellermann | 2013-10-16 | 1 | -0/+183 |
| | | | | Replacing GLib macros. | ||||
* | system/clock: convert to C++ | Max Kellermann | 2013-10-15 | 2 | -15/+7 |
| | |||||
* | gcc.h: rename to Compiler.h | Max Kellermann | 2013-10-15 | 6 | -6/+6 |
| | |||||
* | *: use WIN32 instead of G_OS_WIN32 | Max Kellermann | 2013-10-15 | 2 | -6/+6 |
| | |||||
* | Log: new logging library API | Max Kellermann | 2013-10-02 | 1 | -5/+6 |
| | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | ||||
* | mpd_error.h: remove obsolete header | Max Kellermann | 2013-09-05 | 2 | -0/+10 |
| | | | | Migrate the remaining callers to FatalError(). | ||||
* | use standard snprintf() instead of GLib g_snprintf() | Max Kellermann | 2013-09-05 | 1 | -1/+2 |
| | |||||
* | system/SocketError: un-inline constructor | Max Kellermann | 2013-09-04 | 2 | -13/+24 |
| | | | | Reduces header dependencies. | ||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 8 | -49/+80 |
| | | | | Replaces GLib's GError. | ||||
* | system/resolver: convert to C++ | Max Kellermann | 2013-09-04 | 2 | -18/+10 |
| | |||||
* | system/EPollFD: fix typo in Add() | Max Kellermann | 2013-08-10 | 1 | -1/+1 |
| | |||||
* | event/EPollFD: basic support for Linux epoll | Max Kellermann | 2013-08-07 | 2 | -0/+112 |
| | |||||
* | event/EventFD: move to libsystem | Max Kellermann | 2013-08-07 | 4 | -0/+359 |
| | |||||
* | event/SignalMonitor: use signalfd() if available | Max Kellermann | 2013-08-07 | 2 | -0/+120 |
| | |||||
* | Makefile.am: move sources to libsystem.a | Max Kellermann | 2013-08-07 | 11 | -0/+1340 |