aboutsummaryrefslogtreecommitdiffstats
path: root/src/system (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* *: use WIN32 instead of G_OS_WIN32Max Kellermann2013-10-152-6/+6
|
* Log: new logging library APIMax Kellermann2013-10-021-5/+6
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* mpd_error.h: remove obsolete headerMax Kellermann2013-09-052-0/+10
| | | | Migrate the remaining callers to FatalError().
* use standard snprintf() instead of GLib g_snprintf()Max Kellermann2013-09-051-1/+2
|
* system/SocketError: un-inline constructorMax Kellermann2013-09-042-13/+24
| | | | Reduces header dependencies.
* util/Error: new error passing libraryMax Kellermann2013-09-048-49/+80
| | | | Replaces GLib's GError.
* system/resolver: convert to C++Max Kellermann2013-09-042-18/+10
|
* system/EPollFD: fix typo in Add()Max Kellermann2013-08-101-1/+1
|
* event/EPollFD: basic support for Linux epollMax Kellermann2013-08-072-0/+112
|
* event/EventFD: move to libsystemMax Kellermann2013-08-074-0/+359
|
* event/SignalMonitor: use signalfd() if availableMax Kellermann2013-08-072-0/+120
|
* Makefile.am: move sources to libsystem.aMax Kellermann2013-08-0711-0/+1340