Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-01-15 | output/httpd: convert to C++ | Max Kellermann | 8 | -987/+911 | |
2013-01-15 | output_internal, ...: add extern "C" | Max Kellermann | 7 | -0/+56 | |
2013-01-15 | encoder/{Vorbis,Opus}: use new/delete | Max Kellermann | 2 | -10/+14 | |
2013-01-15 | InotifySource: use the SocketMonitor class | Max Kellermann | 3 | -40/+24 | |
2013-01-15 | mixer/Alsa: use MultiSocketMonitor | Max Kellermann | 1 | -134/+37 | |
2013-01-15 | input/Curl: move code to class MultiSocketMonitor | Max Kellermann | 3 | -116/+291 | |
2013-01-15 | input/Curl: simpler GPollFD initialisation | Max Kellermann | 1 | -5/+2 | |
Using initializer list. | |||||
2013-01-15 | input/Curl: don't remove/add modified GPollFD | Max Kellermann | 1 | -9/+2 | |
Not necessary, GLib will pick up the updated GPollFD automatically. | |||||
2013-01-15 | Client: rebase on the new BufferedSocket class | Max Kellermann | 10 | -304/+66 | |
2013-01-15 | event/SocketMonitor: wrapper class for GSource + GPollFD | Max Kellermann | 4 | -0/+607 | |
2013-01-15 | Client: move output buffer code to new class PeakBuffer | Max Kellermann | 6 | -165/+244 | |
2013-01-15 | util/fifo_buffer: add method _init() | Max Kellermann | 2 | -0/+11 | |
2013-01-15 | Client: move connection functions into the class | Max Kellermann | 11 | -56/+50 | |
2013-01-15 | SignalHandlers: emit GlobalEvents::SHUTDOWN | Max Kellermann | 1 | -1/+1 | |
.. instead of calling g_main_loop_quit(), which may dead-lock. | |||||
2013-01-15 | fifo_buffer: move to util/ | Max Kellermann | 13 | -12/+12 | |
2013-01-15 | fifo_buffer: add extern "C" | Max Kellermann | 4 | -8/+9 | |
2013-01-15 | socket_error: new library for errno / WSAGetLastError() | Max Kellermann | 1 | -0/+146 | |
2013-01-15 | io_error: add function new_error_errno() | Max Kellermann | 1 | -1/+8 | |
2013-01-14 | Client*: include check.h / config.h | Max Kellermann | 3 | -0/+3 | |
2013-01-14 | ClientList: allow deleting clients in client_list_foreach() callback | Dark Raven | 1 | -2/+2 | |
2013-01-14 | Revert "ClientList.cxx: copy client list before iterating" | Max Kellermann | 1 | -2/+1 | |
This reverts commit f53dadcc6d0a29ce7419a07a51762b4b44654696, to prepare for a better solution. | |||||
2013-01-14 | event/TimeoutMonitor: wrapper for g_timeout_source_new() | Max Kellermann | 8 | -60/+152 | |
2013-01-14 | StateFile: convert to a class | Max Kellermann | 3 | -75/+80 | |
2013-01-14 | gcc.h: add C++11 "final" fallback macro | Max Kellermann | 1 | -0/+1 | |
2013-01-14 | InotifyQueue: convert to a class | Max Kellermann | 3 | -41/+45 | |
2013-01-14 | InotifySource: convert to a class | Max Kellermann | 3 | -98/+96 | |
2013-01-14 | Main, IOThread: move GMainLoop setup code to class EventLoop | Max Kellermann | 11 | -76/+131 | |
2013-01-14 | IOThread: use gcc.h | Max Kellermann | 1 | -4/+6 | |
2013-01-13 | ClientList.cxx: copy client list before iterating | Denis Krjuchkov | 1 | -1/+2 | |
It seems that it is not safe to remove the item from std::list while it's being iterated somewhere else. This is a very simple quick fix to make things work until some better solution is implemented. | |||||
2013-01-13 | WakeFD.cxx: use two sockets instead of pipe on Win32 | Denis Krjuchkov | 2 | -5/+128 | |
Pipes aren't really pollable on Windows. GLib emulates polling on pipes using separate reader/writer threads. This adds significant overhead and keeps a strong dependency on GLib. socketpair() function is absent on Windows as well. We implement it here in a loose way. | |||||
2013-01-13 | Win32Main.cxx: more clean shutdown | Denis Krjuchkov | 1 | -5/+22 | |
This change fixes two issues: 1) console_handler is called from a separate thread. Thread-safe primitive is required for correct operation. 2) If console_handler returns TRUE our process is immediately terminated. We use Sleep() to give main thread an opportunity to shutdown correctly. | |||||
2013-01-11 | thread/{Mutex,Cond}: new backend for WIN32 | Max Kellermann | 4 | -4/+135 | |
Use CRITICAL_SECTION and CONDITION_VARIABLE. This requires Windows Vista or newer. It fixes problems with GLib threading objects that were implicitly created by static constructors before g_thread_init(). | |||||
2013-01-11 | GlobalEvents: #undef DELETE on Windows | Max Kellermann | 1 | -0/+8 | |
Work around a build failure due to windows.h macro. | |||||
2013-01-11 | configure.ac: enable WIN32_LEAN_AND_MEAN on Windows | Max Kellermann | 3 | -1/+3 | |
2013-01-11 | string_util.c: provide fallback strndup() implementation | Denis Krjuchkov | 3 | -0/+48 | |
This patch also adds extern "C" { } wrapper around string_util.h to allow its usage in C++ code | |||||
2013-01-10 | input/curl: use std::list instead of GQueue | Max Kellermann | 1 | -93/+80 | |
2013-01-10 | icy_metadata: convert to C++ | Max Kellermann | 4 | -163/+136 | |
2013-01-10 | input/Curl: add constructor to input_curl class | Max Kellermann | 1 | -32/+30 | |
2013-01-10 | input/Curl: remove unused source/source_id attributes | Max Kellermann | 1 | -7/+0 | |
2013-01-10 | input/Curl: remove redundant attribute "url" | Max Kellermann | 1 | -4/+2 | |
Use the "url" attribute from the base class instead. | |||||
2013-01-10 | input/Curl: use std::forward_list instead of GSList | Max Kellermann | 1 | -27/+21 | |
2013-01-10 | input/Curl: remove unused attribute "fds" | Max Kellermann | 1 | -3/+1 | |
2013-01-10 | input/Curl: require libcurl 7.18 | Max Kellermann | 1 | -24/+4 | |
2013-01-10 | output/shout: refactor check_block_param() to a function | Max Kellermann | 1 | -18/+15 | |
Don't use macro magic, don't dereference the block_param. | |||||
2013-01-10 | Log, ...: include cleanup | Max Kellermann | 3 | -3/+0 | |
2013-01-10 | decoder/wavpack: convert to C++ | Max Kellermann | 4 | -36/+58 | |
2013-01-10 | decoder/wavpack: include cleanup | Max Kellermann | 1 | -3/+0 | |
2013-01-10 | conf: convert to C++ | Max Kellermann | 1 | -63/+73 | |
2013-01-10 | path: move code to IsSupportedCharset() | Max Kellermann | 1 | -6/+15 | |
2013-01-10 | path: make the "win_charset" buffer static | Max Kellermann | 1 | -1/+1 | |
It is illegal to use it after going out of scope. |