Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | InputLegacy: move functions to the input_stream class | Max Kellermann | 2013-09-05 | 47 | -605/+458 | |
| | | ||||||
* | | test/read_tags: use input_stream_wait_ready() | Max Kellermann | 2013-09-05 | 1 | -4/+1 | |
| | | ||||||
* | | TagTable: un-inline the two functions | Max Kellermann | 2013-09-04 | 6 | -25/+65 | |
| | | | | | | | | Reduce header dependencies. | |||||
* | | Tag*: move TagTable.hxx to libtag.a | Max Kellermann | 2013-09-04 | 6 | -5/+5 | |
| | | ||||||
* | | Tag*: move libtag.a sources to src/tag/ | Max Kellermann | 2013-09-04 | 23 | -26/+22 | |
| | | ||||||
* | | system/SocketError: un-inline constructor | Max Kellermann | 2013-09-04 | 3 | -13/+26 | |
| | | | | | | | | Reduces header dependencies. | |||||
* | | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 256 | -3373/+3271 | |
| | | | | | | | | Replaces GLib's GError. | |||||
* | | system/resolver: convert to C++ | Max Kellermann | 2013-09-04 | 7 | -27/+17 | |
| | | ||||||
* | | output/pulse: require libpulse 0.9.16 | Max Kellermann | 2013-09-04 | 2 | -52/+4 | |
| | | | | | | | | | | Remove all #ifdefs. Old versions of libpulse are not being tested, and thus I'm removing support. | |||||
* | | IOThread: pass GError to FatalError() | Max Kellermann | 2013-09-04 | 1 | -2/+4 | |
| | | | | | | | | Fixes build failure on GLib < 2.32. | |||||
* | | DatabaseSave: eliminate redundant db_quark() implementation | Max Kellermann | 2013-09-03 | 1 | -7/+1 | |
| | | ||||||
* | | IOThread: use FatalError() on g_thread_create() error | Max Kellermann | 2013-09-03 | 10 | -49/+15 | |
| | | | | | | | | New GLib versions don't fail. | |||||
* | | input/{mms,despotify}: remove "seek" implementation | Max Kellermann | 2013-09-03 | 2 | -19/+3 | |
| | | | | | | | | Omitting it has the same effect as returning false unconditionally. | |||||
* | | input_stream.h: rename to InputLegacy.hxx | Max Kellermann | 2013-09-03 | 22 | -38/+26 | |
| | | ||||||
* | | db_error: convert to C++ | Max Kellermann | 2013-08-10 | 6 | -11/+8 | |
| | | ||||||
* | | playlist_error: convert to C++ | Max Kellermann | 2013-08-10 | 6 | -8/+8 | |
| | | ||||||
* | | ack.h: move to protocol/ | Max Kellermann | 2013-08-10 | 4 | -3/+3 | |
| | | ||||||
* | | alsa/mixer: defer InvalidateSockets() call to I/O thread | Max Kellermann | 2013-08-10 | 1 | -1/+2 | |
| | | ||||||
* | | EventLoop: initialise the thread id explicitly | Max Kellermann | 2013-08-10 | 1 | -1/+2 | |
| | | ||||||
* | | ZeroconfAvahi: disable Avahi with epoll | Max Kellermann | 2013-08-10 | 1 | -0/+1 | |
| | | | | | | | | | | Temporary hotfix until we have integrated avahi into our new event loop. | |||||
* | | EventLoop: new implementation using epoll | Max Kellermann | 2013-08-10 | 14 | -16/+716 | |
| | | | | | | | | Implement an event loop without GLib. | |||||
* | | mixer/alsa: invoke InvalidateSockets() in constructor | Max Kellermann | 2013-08-10 | 1 | -1/+3 | |
| | | ||||||
* | | event/Call: signal the calling thread | Max Kellermann | 2013-08-10 | 1 | -0/+5 | |
| | | | | | | | | Fixes regression from commit 018f4155. | |||||
* | | event/IdleMonitor: new monitor class | Max Kellermann | 2013-08-10 | 3 | -0/+131 | |
| | | ||||||
* | | event/MultiSocketMonitor: add struct SingleFD | Max Kellermann | 2013-08-10 | 2 | -8/+32 | |
| | | | | | | | | Prepare for migrating away from GLib. | |||||
* | | event/MultiSocketMonitor: use uint64_t instead of gint64 | Max Kellermann | 2013-08-10 | 2 | -5/+6 | |
| | | | | | | | | Unsigned and portable. | |||||
* | | event/MultiSocketMonitor: eliminate virtual method CheckSockets() | Max Kellermann | 2013-08-10 | 3 | -36/+16 | |
| | | | | | | | | Handle timeout internally. | |||||
* | | event/MultiSocketMonitor: PrepareSockets() returns timeout | Max Kellermann | 2013-08-10 | 3 | -11/+17 | |
| | | | | | | | | Simplify the API, don't use GLib specific integer type. | |||||
* | | glib_compat.h: use monotonic_clock_us() in g_source_get_time() | Max Kellermann | 2013-08-10 | 1 | -3/+3 | |
| | | ||||||
* | | glib_compat.h: remove unused wrapper g_file_test() | Max Kellermann | 2013-08-10 | 1 | -28/+0 | |
| | | ||||||
* | | decoder/wildmidi: use class Path for the "timidity.cfg" location | Max Kellermann | 2013-08-10 | 1 | -10/+14 | |
| | | ||||||
* | | ConfigData: overload GetBlockPath() with default value | Max Kellermann | 2013-08-10 | 2 | -5/+21 | |
| | | ||||||
* | | ConfigData: use FatalError() instead of MPD_ERROR() | Max Kellermann | 2013-08-10 | 2 | -5/+11 | |
| | | ||||||
* | | system/EPollFD: fix typo in Add() | Max Kellermann | 2013-08-10 | 1 | -1/+1 | |
| | | ||||||
* | | thread/Id: new class replacing GThread pointers | Max Kellermann | 2013-08-10 | 6 | -15/+117 | |
| | | | | | | | | Remove a GLib dependencies from class EventLoop and DatabaseLock. | |||||
* | | event: add function BlockingCall() | Max Kellermann | 2013-08-08 | 6 | -108/+130 | |
| | | | | | | | | | | Replaces io_thread_call(). This approach is more generic and easier to use due to std::function. | |||||
* | | EventLoop: add methodd IsInside() | Max Kellermann | 2013-08-08 | 2 | -2/+26 | |
| | | | | | | | | | | Track which thread runs the EventLoop and provide a check whether we're currently inside. | |||||
* | | EventLoop: un-inline Run() and others | Max Kellermann | 2013-08-08 | 3 | -23/+62 | |
| | | | | | | | | Prepare for adding more code. | |||||
* | | event/*Monitor: add method GetEventLoop() | Max Kellermann | 2013-08-08 | 4 | -1/+16 | |
| | | ||||||
* | | event/SocketMonitor: un-inline Schedule() | Max Kellermann | 2013-08-08 | 2 | -24/+23 | |
| | | | | | | | | Merge with CommitEventFlags(). | |||||
* | | event/SocketMonitor: add assertions | Max Kellermann | 2013-08-08 | 2 | -0/+12 | |
| | | ||||||
* | | output/httpd: use "unsigned" instead of "guint" | Max Kellermann | 2013-08-08 | 1 | -2/+2 | |
| | | ||||||
* | | Client{Event,Write}: add missing include | Max Kellermann | 2013-08-08 | 3 | -0/+6 | |
| | | ||||||
* | | event/BufferedSocket: add missing include | Max Kellermann | 2013-08-08 | 1 | -0/+1 | |
| | | ||||||
* | | os/FileSystem: disable mkfifo() wrapper on WIN32 | Max Kellermann | 2013-08-07 | 1 | -0/+4 | |
| | | ||||||
* | | ConfigPath: return a Path object | Max Kellermann | 2013-08-07 | 19 | -173/+176 | |
| | | | | | | | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller. | |||||
* | | *: remove remaining __cplusplus checks | Max Kellermann | 2013-08-07 | 8 | -77/+1 | |
| | | ||||||
* | | event/EPollFD: basic support for Linux epoll | Max Kellermann | 2013-08-07 | 4 | -0/+114 | |
| | | ||||||
* | | event/DeferredMonitor: rename Run() to RunDeferred() | Max Kellermann | 2013-08-07 | 3 | -6/+6 | |
| | | ||||||
* | | event/DeferredMonitor: use EventLoop::AddIdle() | Max Kellermann | 2013-08-07 | 5 | -7/+16 | |
| | |