Max Kellermann
|
b3f5b4932c
|
configure.ac: add macro MPD_ENABLE_AUTO_PKG
Simplify the definition of many build options.
|
2014-11-21 22:19:57 +01:00 |
|
Max Kellermann
|
77f2cd6513
|
Merge branch 'v0.18.x'
|
2014-08-24 13:15:17 +02:00 |
|
Thomas Klausner
|
c38f29ce56
|
system/ByteOrder: <endian.h> is a non-standard header that only Linux provides.
|
2014-08-23 14:27:44 +02:00 |
|
Max Kellermann
|
664fc76ac7
|
system/Resolver: use nullptr instead of NULL
|
2014-07-30 18:44:40 +02:00 |
|
Max Kellermann
|
f68d2f7c7f
|
system/fd_util: export fd_set_cloexec()
|
2014-03-15 20:03:31 +01:00 |
|
Max Kellermann
|
7d353bbe2a
|
configure.ac: always define _GNU_SOURCE on Linux
Make sure glibc gives us all features.
|
2014-03-15 18:27:09 +01:00 |
|
Max Kellermann
|
e8789d7cb9
|
system/FatalError: remove GError support
|
2014-02-18 23:05:40 +01:00 |
|
Max Kellermann
|
6eda79d02d
|
system/EPollFD: add epoll_create1() fallback for Android
|
2014-02-18 09:54:35 +01:00 |
|
Max Kellermann
|
4f83c60296
|
copyright year 2014
|
2014-01-13 22:31:55 +01:00 |
|
Max Kellermann
|
d5dfe7d457
|
configure.ac: add option "--disable-glib"
Allows building without GLib. This fails to compile currently,
because GLib is still used in the MPD core.
|
2013-12-15 18:43:12 +01:00 |
|
Max Kellermann
|
635d6a19ef
|
util/Tokenizer, ...: include cleanup
|
2013-12-15 18:33:26 +01:00 |
|
Max Kellermann
|
777844ae0c
|
system/SocketError, ...: use strerror() instead of g_strerror()
Avoid GLib.
|
2013-12-15 18:32:07 +01:00 |
|
Max Kellermann
|
0c53e8c2d0
|
system/Resolver: use std::string to allocate internal buffer
No GLib memory allocation.
|
2013-12-04 14:27:28 +01:00 |
|
Max Kellermann
|
e1901e97c2
|
system/Resolver: sockaddr_to_string() returns std::string()
No GLib memory allocation.
|
2013-12-04 08:43:55 +01:00 |
|
Denis Krjuchkov
|
65b24ce557
|
Clock.cxx: provide all arguments for GetProcessTimes
All parameters seem mandatory, otherwise this call makes MPD crash.
|
2013-11-29 15:21:31 +06:00 |
|
Max Kellermann
|
f90abe9530
|
include cleanup using iwyu
|
2013-11-28 11:50:54 +01:00 |
|
Max Kellermann
|
51de8fd10a
|
Volume, Output: use new class PeriodClock instead of GTimer
|
2013-11-25 22:09:46 +01:00 |
|
Max Kellermann
|
529b4bd185
|
Stats: use monotonic clock instead of GTimer
Reduce GLib usage.
|
2013-11-24 21:14:38 +01:00 |
|
Max Kellermann
|
85b51e4e77
|
Stats: use GetProcessTimes() on WIN32 to determine MPD uptime
Don't use GTimer if the operating system is able to tell us the
uptime.
|
2013-11-24 20:41:00 +01:00 |
|
Florian Schlichting
|
51ec499c89
|
system/ByteOrder: testing for endianness in a more general way
Fixes build tests on ia64 and mipsel by testing for endianness in a
more general / portable way.
|
2013-11-21 23:04:49 +01:00 |
|
Max Kellermann
|
3a4df25db2
|
util/ByteOrder: add comments
|
2013-11-21 23:04:31 +01:00 |
|
Max Kellermann
|
37cf78ef45
|
util/ByteOrder: indent the preprocessor directives
Improve readability.
|
2013-11-21 23:03:28 +01:00 |
|
Denis Krjuchkov
|
740d8ec5ab
|
system/fd_util.h: avoid symbol conflict with statically linked libmpdclient
|
2013-11-18 16:35:22 +06:00 |
|
Max Kellermann
|
ed436c6f0c
|
system/ByteOrder: fix big-endian support
D'oh!
|
2013-11-05 22:08:53 +01:00 |
|
Natanael Copa
|
3f21581a81
|
add various missing headers
Fixes building with gcc-4.8
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
|
2013-11-05 11:08:36 +01:00 |
|
Max Kellermann
|
7adfea8ca2
|
system/resolver: return path of UNIX domain sockets
getnameinfo() doesn't work well - it always returns "localhost".
|
2013-11-04 19:13:05 +01:00 |
|
Max Kellermann
|
8c834a4ff6
|
system/FatalError: use _exit() instead of exit()
Skip the global destructors. We don't need them here - we bail out as
quickly as we can.
|
2013-10-30 23:42:16 +01:00 |
|
Max Kellermann
|
8c01004219
|
system/FatalError: move code to Abort()
|
2013-10-30 23:41:02 +01:00 |
|
Max Kellermann
|
163848ab3b
|
fd_util: avoid unnecessary fcntl() calls
|
2013-10-29 13:02:53 +01:00 |
|
Max Kellermann
|
8118bc93a8
|
FatalError: remove unused GError overload
|
2013-10-20 13:10:09 +02:00 |
|
Max Kellermann
|
5e26e2ab1d
|
system/ByteOrder: new library for byte ordering / endianess
Replacing GLib macros.
|
2013-10-16 22:09:44 +02:00 |
|
Max Kellermann
|
0c13703da3
|
system/clock: convert to C++
|
2013-10-15 09:38:12 +02:00 |
|
Max Kellermann
|
be2951b45f
|
gcc.h: rename to Compiler.h
|
2013-10-15 09:21:59 +02:00 |
|
Max Kellermann
|
e4e80ff0cb
|
*: use WIN32 instead of G_OS_WIN32
|
2013-10-15 08:33:44 +02:00 |
|
Max Kellermann
|
060814daa8
|
Log: new logging library API
Prepare to migrate away from GLib. Currently, we're still using GLib
as a backend.
|
2013-10-02 08:57:55 +02:00 |
|
Max Kellermann
|
7a4c9f5f4c
|
mpd_error.h: remove obsolete header
Migrate the remaining callers to FatalError().
|
2013-09-05 18:26:46 +02:00 |
|
Max Kellermann
|
fccba1af2a
|
use standard snprintf() instead of GLib g_snprintf()
|
2013-09-05 09:21:53 +02:00 |
|
Max Kellermann
|
ee9e238179
|
system/SocketError: un-inline constructor
Reduces header dependencies.
|
2013-09-04 23:36:30 +02:00 |
|
Max Kellermann
|
29030b54c9
|
util/Error: new error passing library
Replaces GLib's GError.
|
2013-09-04 18:14:22 +02:00 |
|
Max Kellermann
|
c9fcc7f148
|
system/resolver: convert to C++
|
2013-09-04 18:02:09 +02:00 |
|
Max Kellermann
|
81175b0717
|
system/EPollFD: fix typo in Add()
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
dff05c71e6
|
event/EPollFD: basic support for Linux epoll
|
2013-08-07 19:44:43 +02:00 |
|
Max Kellermann
|
f2ce8c3b62
|
event/EventFD: move to libsystem
|
2013-08-07 11:52:26 +02:00 |
|
Max Kellermann
|
4223657ab8
|
event/SignalMonitor: use signalfd() if available
|
2013-08-07 11:03:47 +02:00 |
|
Max Kellermann
|
b70d38dc10
|
Makefile.am: move sources to libsystem.a
|
2013-08-07 10:31:31 +02:00 |
|