Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-01-23 | output/*: move to output/plugins/ | Max Kellermann | 57 | -17/+3501 | |
2014-01-23 | Encoder*: move to src/encoder | Max Kellermann | 3 | -6/+6 | |
.. and move the plugins to src/encoder/plugins/. | |||||
2014-01-13 | copyright year 2014 | Max Kellermann | 35 | -35/+35 | |
2014-01-07 | util/Alloc: new library replacing GLib's g_malloc() | Max Kellermann | 1 | -1/+1 | |
2014-01-06 | event/SocketMonitor: don't close the socket automatically | Max Kellermann | 1 | -0/+3 | |
Users now have to call Close() explicitly. This simplifies using the class, as most users have automatic socket management already, and Steal() had to be used often. | |||||
2014-01-06 | util/Cast: new utility library | Max Kellermann | 1 | -1/+2 | |
2014-01-05 | output/httpd: move the clients.clear() call to the IOThread | Max Kellermann | 1 | -1/+3 | |
This call is not thread-safe. | |||||
2014-01-05 | output/httpd: import GetEventLoop() | Max Kellermann | 2 | -3/+5 | |
2014-01-04 | output/httpd: move Bind()/Unbind() to the IOThread | Max Kellermann | 1 | -4/+8 | |
Fixes more thread-safety bugs. | |||||
2014-01-04 | output/httpd: move all broadcast operations to the IOThread | Max Kellermann | 2 | -11/+76 | |
Add a Page queue to class HttpdOutput, and use DeferredMonitor to flush this queue inside the IOThread. This fixes a thread-safety issue: much of EventLoop is not thread-safe, and the httpd plugin ignored that problem. | |||||
2014-01-04 | output/httpd: use the IOThread | Max Kellermann | 1 | -2/+2 | |
Do all I/O in the IOThread and not in the main thread. This solves an upcoming deadlock problem. | |||||
2014-01-04 | output/httpd: move queue size check to HttpdClient::PushPage() | Max Kellermann | 3 | -18/+6 | |
Don't let the server care for client problems. | |||||
2014-01-04 | output/httpd: wrap the std::list in std::queue | Max Kellermann | 2 | -6/+16 | |
2014-01-04 | output/httpd: merge duplicate code to ClearQueue() | Max Kellermann | 2 | -5/+15 | |
2014-01-04 | output/httpd: keep track of queue size | Max Kellermann | 2 | -13/+14 | |
Don't iterate the std::list each time. | |||||
2013-12-31 | output/httpd: change "struct" to "class" | Max Kellermann | 3 | -4/+7 | |
2013-12-31 | output/httpd: move code to methods Delay(), Play(), Cancel() | Max Kellermann | 2 | -22/+46 | |
2013-12-31 | output/httpd: move Cast() into the class | Max Kellermann | 2 | -25/+23 | |
2013-12-31 | output/httpd: add methods Init(), Finish() | Max Kellermann | 2 | -12/+29 | |
2013-12-31 | output/httpd: use reference instead of pointer | Max Kellermann | 3 | -14/+14 | |
2013-12-31 | output/httpd: make the HttpdClient base class "private" | Max Kellermann | 1 | -1/+1 | |
2013-12-19 | output/osx: fix typo | Max Kellermann | 1 | -1/+1 | |
2013-12-19 | output/osx: use DynamicFifoBuffer instead of struct fifo_buffer | Max Kellermann | 1 | -26/+21 | |
2013-12-14 | output/alsa: use new[] instead of g_malloc() | Max Kellermann | 1 | -6/+5 | |
2013-12-10 | output/osx: fix build failure | Lukas Stabe | 1 | -3/+3 | |
2013-12-04 | system/Resolver: sockaddr_to_string() returns std::string() | Max Kellermann | 1 | -8/+3 | |
No GLib memory allocation. | |||||
2013-12-02 | output/openal: check __APPLE__ instead of HAVE_OSX | Lukas Stabe | 1 | -1/+1 | |
On OSX, the configure-flag --enable-osx is used to enable the unsupported osx output. It sets the HAVE_OSX preprocessor define. src/output/OpenALOutputPlugin.cxx uses this define to determine wether it is building on OSX, and imports different headers (which have nothing to do with the osx output) depending on wether or not it is set. | |||||
2013-11-28 | include cleanup using iwyu | Max Kellermann | 4 | -10/+1 | |
2013-11-26 | HttpdOutputPlugin.cxx: fix null pointer dereference | Denis Krjuchkov | 1 | -1/+2 | |
2013-11-11 | output/httpd: don't use incomplete template argument with libc++ | Max Kellermann | 1 | -0/+5 | |
2013-11-04 | output/alsa: avoid endless loop in Raspberry Pi workaround | Max Kellermann | 1 | -1/+17 | |
See code comment. | |||||
2013-11-04 | Log: add level "DEFAULT" | Max Kellermann | 1 | -1/+1 | |
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure". | |||||
2013-10-30 | *: update copyright year to 2013 | Max Kellermann | 2 | -2/+2 | |
2013-10-28 | *: use nullptr instead of NULL | Max Kellermann | 2 | -18/+18 | |
2013-10-26 | output/httpd: accept icy-metadata with and without space | Oddegamra | 1 | -1/+2 | |
Some, or most, Win32 audio players will pass "icy-metadata:1" to streaming servers. MPD expects a space between ":" and "1" at this point, and thus does not send any stream metadata. This applies to foobar2k and Winamp, for example. According to forums.radiotoolbox.com/viewtopic.php?t=74 not having a space there is expected behavior, so maybe MPD could accept both forms to determine if metadata should be sent or not. | |||||
2013-10-25 | output/httpd: support HEAD requests | Max Kellermann | 2 | -5/+29 | |
2013-10-25 | output/httpd: remove bogus assertion | Max Kellermann | 1 | -1/+0 | |
2013-10-21 | Util/ASCII: add StringEqualsCaseASCII() overload with length | Max Kellermann | 1 | -3/+3 | |
Replaces GLib's g_ascii_strncasecmp(). | |||||
2013-10-20 | TagType: rename enum tag_type to TagType | Max Kellermann | 2 | -2/+2 | |
2013-10-19 | util/FormatString: new library to replace g_strdup_printf() | Max Kellermann | 1 | -4/+2 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -3/+4 | |
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object. | |||||
2013-10-16 | system/ByteOrder: new library for byte ordering / endianess | Max Kellermann | 2 | -7/+5 | |
Replacing GLib macros. | |||||
2013-10-15 | output/roar: use const_cast instead of g_strdup() | Max Kellermann | 1 | -9/+3 | |
2013-10-15 | output/roar: use std::string | Max Kellermann | 1 | -12/+10 | |
2013-10-15 | output/roar: move code into the RoarOutput class | Max Kellermann | 2 | -96/+137 | |
2013-10-15 | output/pipe: use std::string | Max Kellermann | 1 | -8/+6 | |
2013-10-15 | event/BufferedSocket: pass writable pointer to OnSocketInput() | Max Kellermann | 2 | -8/+6 | |
Remove the const_cast from HttpdClient.cxx, and avoid one allocation in ClientRead.cxx. | |||||
2013-10-15 | Util/Macros: replacement for GLib's G_N_ELEMENTS() | Max Kellermann | 2 | -10/+12 | |
2013-10-15 | output/winmm: use delete instead of g_free() | Max Kellermann | 1 | -2/+2 | |
2013-10-15 | gcc.h: rename to Compiler.h | Max Kellermann | 2 | -2/+2 | |