Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | db/proxy, output/shout: fix implicit nullptr/bool conversion | Max Kellermann | 2014-12-26 | 1 | -1/+1 |
| | | | | Return false on error, not nullptr. | ||||
* | output/roar: remove unnecessary "volatile" keyword | Max Kellermann | 2014-11-02 | 1 | -1/+1 |
| | | | | | A mutex acts as a memory barrier, and thus "volatile" is not necessary. | ||||
* | output/alsa: fix endless loop at end of file in dsd_usb mode | Max Kellermann | 2014-08-31 | 1 | -0/+9 |
| | |||||
* | output/{alsa,oss}: add assertions | Max Kellermann | 2014-08-31 | 2 | -0/+6 |
| | |||||
* | output/HttpdClient: fix build failure due to missing stdio.h include | Gustavo Zacarias | 2014-07-09 | 1 | -0/+1 |
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | ||||
* | output/alsa: remove the obsolete Raspberry Pi workaround | Max Kellermann | 2014-03-02 | 1 | -36/+0 |
| | | | | Has been superseded by the previous commit. | ||||
* | output/alsa: call snd_pcm_prepare() after snd_pcm_drop() | Max Kellermann | 2014-03-02 | 1 | -0/+25 |
| | | | | | | | Don't wait for an optimistic write to fail. This is an improved workaround for the infamous Raspberry Pi bug (see commit af991765). It works much better and comes without the negative side effects. The old workaround is now obsolete. | ||||
* | output/pulse: remove bogus g_free() call | Max Kellermann | 2014-02-24 | 1 | -2/+0 |
| | |||||
* | output/osx: fix build failure | Lukas Stabe | 2013-12-10 | 1 | -3/+3 |
| | |||||
* | output/openal: check __APPLE__ instead of HAVE_OSX | Lukas Stabe | 2013-12-02 | 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. | ||||
* | output/httpd: don't use incomplete template argument with libc++ | Max Kellermann | 2013-11-11 | 1 | -0/+5 |
| | |||||
* | output/alsa: avoid endless loop in Raspberry Pi workaround | Max Kellermann | 2013-11-04 | 1 | -1/+17 |
| | | | | See code comment. | ||||
* | Log: add level "DEFAULT" | Max Kellermann | 2013-11-04 | 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". | ||||
* | *: update copyright year to 2013 | Max Kellermann | 2013-10-30 | 2 | -2/+2 |
| | |||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-28 | 2 | -18/+18 |
| | |||||
* | output/httpd: accept icy-metadata with and without space | Oddegamra | 2013-10-26 | 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. | ||||
* | output/httpd: support HEAD requests | Max Kellermann | 2013-10-25 | 2 | -5/+29 |
| | |||||
* | output/httpd: remove bogus assertion | Max Kellermann | 2013-10-25 | 1 | -1/+0 |
| | |||||
* | Util/ASCII: add StringEqualsCaseASCII() overload with length | Max Kellermann | 2013-10-21 | 1 | -3/+3 |
| | | | | Replaces GLib's g_ascii_strncasecmp(). | ||||
* | TagType: rename enum tag_type to TagType | Max Kellermann | 2013-10-20 | 2 | -2/+2 |
| | |||||
* | util/FormatString: new library to replace g_strdup_printf() | Max Kellermann | 2013-10-19 | 1 | -4/+2 |
| | |||||
* | fs/Path: rename to AllocatedPath | Max Kellermann | 2013-10-17 | 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. | ||||
* | system/ByteOrder: new library for byte ordering / endianess | Max Kellermann | 2013-10-16 | 2 | -7/+5 |
| | | | | Replacing GLib macros. | ||||
* | output/roar: use const_cast instead of g_strdup() | Max Kellermann | 2013-10-15 | 1 | -9/+3 |
| | |||||
* | output/roar: use std::string | Max Kellermann | 2013-10-15 | 1 | -12/+10 |
| | |||||
* | output/roar: move code into the RoarOutput class | Max Kellermann | 2013-10-15 | 2 | -96/+137 |
| | |||||
* | output/pipe: use std::string | Max Kellermann | 2013-10-15 | 1 | -8/+6 |
| | |||||
* | event/BufferedSocket: pass writable pointer to OnSocketInput() | Max Kellermann | 2013-10-15 | 2 | -8/+6 |
| | | | | | Remove the const_cast from HttpdClient.cxx, and avoid one allocation in ClientRead.cxx. | ||||
* | Util/Macros: replacement for GLib's G_N_ELEMENTS() | Max Kellermann | 2013-10-15 | 2 | -10/+12 |
| | |||||
* | output/winmm: use delete instead of g_free() | Max Kellermann | 2013-10-15 | 1 | -2/+2 |
| | |||||
* | gcc.h: rename to Compiler.h | Max Kellermann | 2013-10-15 | 2 | -2/+2 |
| | |||||
* | Mapper, ...: use memcmp() instead of strncmp() where appropriate | Max Kellermann | 2013-10-14 | 1 | -2/+2 |
| | | | | Micro-optimization. | ||||
* | output/httpd: don't include glib.h in header | Max Kellermann | 2013-10-02 | 3 | -4/+6 |
| | |||||
* | Log: new logging library API | Max Kellermann | 2013-10-02 | 16 | -124/+131 |
| | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | ||||
* | DecoderControl: use GLib forward declarations | Max Kellermann | 2013-09-27 | 3 | -0/+6 |
| | |||||
* | *Plugin: remove redundant "line %i" from error messages | Max Kellermann | 2013-09-26 | 2 | -10/+8 |
| | | | | The MPD core will add this as a prefeix. | ||||
* | mpd_error.h: remove obsolete header | Max Kellermann | 2013-09-05 | 1 | -3/+3 |
| | | | | Migrate the remaining callers to FatalError(). | ||||
* | use standard snprintf() instead of GLib g_snprintf() | Max Kellermann | 2013-09-05 | 1 | -20/+20 |
| | |||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 20 | -661/+528 |
| | | | | Replaces GLib's GError. | ||||
* | system/resolver: convert to C++ | Max Kellermann | 2013-09-04 | 1 | -1/+1 |
| | |||||
* | output/pulse: require libpulse 0.9.16 | Max Kellermann | 2013-09-04 | 1 | -51/+3 |
| | | | | | Remove all #ifdefs. Old versions of libpulse are not being tested, and thus I'm removing support. | ||||
* | output/httpd: use "unsigned" instead of "guint" | Max Kellermann | 2013-08-08 | 1 | -2/+2 |
| | |||||
* | ConfigPath: return a Path object | Max Kellermann | 2013-08-07 | 1 | -27/+29 |
| | | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller. | ||||
* | *: remove remaining __cplusplus checks | Max Kellermann | 2013-08-07 | 1 | -8/+0 |
| | |||||
* | Makefile.am: move sources to libsystem.a | Max Kellermann | 2013-08-07 | 6 | -7/+7 |
| | |||||
* | *: use gcc.h macros instead of GLib | Max Kellermann | 2013-08-04 | 9 | -20/+21 |
| | |||||
* | EncoderPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 3 | -3/+3 |
| | |||||
* | OutputPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 17 | -120/+112 |
| | |||||
* | audio_format: convert to C++ | Max Kellermann | 2013-08-03 | 17 | -189/+191 |
| | |||||
* | gcc.h: add macro gcc_unreachable() | Max Kellermann | 2013-08-03 | 2 | -1/+2 |
| |