aboutsummaryrefslogtreecommitdiffstats
path: root/src/system (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-04system/Resolver: use std::string to allocate internal bufferMax Kellermann1-13/+11
No GLib memory allocation.
2013-12-04system/Resolver: sockaddr_to_string() returns std::string()Max Kellermann2-18/+23
No GLib memory allocation.
2013-11-29Clock.cxx: provide all arguments for GetProcessTimesDenis Krjuchkov1-2/+2
All parameters seem mandatory, otherwise this call makes MPD crash.
2013-11-28include cleanup using iwyuMax Kellermann5-6/+12
2013-11-25Volume, Output: use new class PeriodClock instead of GTimerMax Kellermann1-0/+149
2013-11-24Stats: use monotonic clock instead of GTimerMax Kellermann2-0/+29
Reduce GLib usage.
2013-11-24Stats: use GetProcessTimes() on WIN32 to determine MPD uptimeMax Kellermann2-0/+37
Don't use GTimer if the operating system is able to tell us the uptime.
2013-11-21system/ByteOrder: testing for endianness in a more general wayFlorian Schlichting1-1/+11
Fixes build tests on ia64 and mipsel by testing for endianness in a more general / portable way.
2013-11-21util/ByteOrder: add commentsMax Kellermann1-0/+2
2013-11-21util/ByteOrder: indent the preprocessor directivesMax Kellermann1-4/+4
Improve readability.
2013-11-18system/fd_util.h: avoid symbol conflict with statically linked libmpdclientDenis Krjuchkov1-0/+5
2013-11-05system/ByteOrder: fix big-endian supportMax Kellermann1-2/+2
D'oh!
2013-11-05add various missing headersNatanael Copa1-0/+1
Fixes building with gcc-4.8 Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
2013-11-04system/resolver: return path of UNIX domain socketsMax Kellermann1-7/+15
getnameinfo() doesn't work well - it always returns "localhost".
2013-10-30system/FatalError: use _exit() instead of exit()Max Kellermann1-2/+2
Skip the global destructors. We don't need them here - we bail out as quickly as we can.
2013-10-30system/FatalError: move code to Abort()Max Kellermann1-3/+10
2013-10-29fd_util: avoid unnecessary fcntl() callsMax Kellermann1-6/+8
2013-10-20FatalError: remove unused GError overloadMax Kellermann2-10/+0
2013-10-16system/ByteOrder: new library for byte ordering / endianessMax Kellermann1-0/+183
Replacing GLib macros.
2013-10-15system/clock: convert to C++Max Kellermann2-15/+7
2013-10-15gcc.h: rename to Compiler.hMax Kellermann6-6/+6
2013-10-15*: use WIN32 instead of G_OS_WIN32Max Kellermann2-6/+6
2013-10-02Log: new logging library APIMax Kellermann1-5/+6
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-05mpd_error.h: remove obsolete headerMax Kellermann2-0/+10
Migrate the remaining callers to FatalError().
2013-09-05use standard snprintf() instead of GLib g_snprintf()Max Kellermann1-1/+2
2013-09-04system/SocketError: un-inline constructorMax Kellermann2-13/+24
Reduces header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann8-49/+80
Replaces GLib's GError.
2013-09-04system/resolver: convert to C++Max Kellermann2-18/+10
2013-08-10system/EPollFD: fix typo in Add()Max Kellermann1-1/+1
2013-08-07event/EPollFD: basic support for Linux epollMax Kellermann2-0/+112
2013-08-07event/EventFD: move to libsystemMax Kellermann4-0/+359
2013-08-07event/SignalMonitor: use signalfd() if availableMax Kellermann2-0/+120
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann11-0/+1340