aboutsummaryrefslogtreecommitdiffstats
path: root/src/system (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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