Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | input/curl: fix EventLoop stall after curl_easy_pause | Artem Savkov | 2013-09-26 | 1 | -0/+1 |
| | | | | | | | | When playing finite http streams, e.g. something from soundcloud, eventloop stalls after pausing writefunc. TimeoutMonitor is cancelled by the time resume happens, so when enough data is consumed writefunc is called only once. Calling InvalidateSockets() from input_curl_resume() seems to fix the issue. | ||||
* | ConfigPath: return early on "~" | Max Kellermann | 2013-09-12 | 1 | -3/+6 |
| | | | | Previously, the pointer was moved to undefined memory. | ||||
* | ConfigPath: skip the slash of "~/" | Max Kellermann | 2013-09-12 | 1 | -3/+3 |
| | | | | Increment the "path" earlier. | ||||
* | ConfigPath: remove the "~/" from the constructed path | Max Kellermann | 2013-09-12 | 1 | -6/+9 |
| | | | | | This was building broken paths like "/home/foo/~/bar". Bug found by Maarten de Vries. | ||||
* | ConfigPath: simplify the duplicate tilde check | Max Kellermann | 2013-09-12 | 1 | -5/+5 |
| | |||||
* | ConfigPath: convert "home" variable to Path object | Max Kellermann | 2013-09-12 | 1 | -9/+11 |
| | | | | | Use Path::FromUTF8() for the g_get_home_dir() return value instead of assuming it's already FS charset. | ||||
* | ConfigPath: move code to GetHome() | Max Kellermann | 2013-09-12 | 1 | -28/+48 |
| | |||||
* | ConfigPath: include cleanup | Max Kellermann | 2013-09-12 | 1 | -16/+0 |
| | |||||
* | Path: add FromUTF8() overload that returns an Error | Max Kellermann | 2013-09-12 | 4 | -8/+26 |
| | |||||
* | ConfigPath: move path_domain to system/Path.cxx | Max Kellermann | 2013-09-12 | 3 | -3/+5 |
| | |||||
* | Listen: Allow tilde paths for socket. | Maarten de Vries | 2013-09-12 | 3 | -2/+18 |
| | |||||
* | TagBuilder: add method Commit(Tag&) | Max Kellermann | 2013-09-05 | 2 | -8/+21 |
| | | | | For callers that already have a Tag instance. | ||||
* | TagBuilder: add method IsEmpty() | Max Kellermann | 2013-09-05 | 1 | -1/+9 |
| | |||||
* | Tag: remove the obsolete "bulk" mode | Max Kellermann | 2013-09-05 | 2 | -88/+3 |
| | | | | | Methods BeginAdd() and EndAdd() have been replaced by class TagBuilder. | ||||
* | db/proxy: use class TagBuilder | Max Kellermann | 2013-09-05 | 1 | -8/+6 |
| | |||||
* | SongSave: use class TagBuilder | Max Kellermann | 2013-09-05 | 1 | -24/+8 |
| | |||||
* | TagBuilder: new class for constructing Tag objects | Max Kellermann | 2013-09-05 | 2 | -0/+229 |
| | | | | Obsoletes Tag::BeginAdd() and the complicated "bulk add" code. | ||||
* | TagItem: disable the copy constructor/operator | Max Kellermann | 2013-09-05 | 1 | -0/+4 |
| | | | | This is not a C++ class and must not be copied. | ||||
* | Tag: compile-time initialisation of ignore_tag_items | Max Kellermann | 2013-09-05 | 8 | -22/+33 |
| | | | | Move to TagSettings.c and use C99 initializers. | ||||
* | Tag: move struct TagItem to TagItem.hxx | Max Kellermann | 2013-09-05 | 3 | -16/+43 |
| | |||||
* | Tag: move fix_tag_value() to TagString.cxx | Max Kellermann | 2013-09-05 | 3 | -102/+160 |
| | |||||
* | Tag: remove unused methods | Max Kellermann | 2013-09-05 | 2 | -70/+0 |
| | |||||
* | TagNames: make tag_item_names const | Max Kellermann | 2013-09-05 | 2 | -2/+2 |
| | |||||
* | Tag: move configuration code to TagConfig.cxx | Max Kellermann | 2013-09-05 | 4 | -50/+103 |
| | | | | Allow using the Tag.cxx library without the Config library. | ||||
* | Tag, ...: move to libtag.a | Max Kellermann | 2013-09-05 | 76 | -78/+73 |
| | |||||
* | mpd_error.h: remove obsolete header | Max Kellermann | 2013-09-05 | 18 | -94/+68 |
| | | | | Migrate the remaining callers to FatalError(). | ||||
* | input/curl: enable https | Ales Guzik | 2013-09-05 | 2 | -1/+3 |
| | |||||
* | PlaylistPlugin: add interface SongEnumerator | Max Kellermann | 2013-09-05 | 24 | -311/+200 |
| | | | | Replaces struct playlist_provider. | ||||
* | PlaylistPlugin, ConfigGlobal: use nullptr instead of NULL | Max Kellermann | 2013-09-05 | 3 | -15/+11 |
| | |||||
* | use standard snprintf() instead of GLib g_snprintf() | Max Kellermann | 2013-09-05 | 4 | -26/+28 |
| | |||||
* | conf.h: remove obsolete header | Max Kellermann | 2013-09-05 | 44 | -73/+64 |
| | | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies. | ||||
* | conf.h: move constants to ConfigDefaults.hxx | Max Kellermann | 2013-09-05 | 5 | -9/+28 |
| | |||||
* | InputLegacy: move functions to the input_stream class | Max Kellermann | 2013-09-05 | 41 | -556/+413 |
| | |||||
* | TagTable: un-inline the two functions | Max Kellermann | 2013-09-04 | 5 | -24/+64 |
| | | | | Reduce header dependencies. | ||||
* | Tag*: move TagTable.hxx to libtag.a | Max Kellermann | 2013-09-04 | 5 | -4/+4 |
| | |||||
* | Tag*: move libtag.a sources to src/tag/ | Max Kellermann | 2013-09-04 | 20 | -9/+9 |
| | |||||
* | 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 | 236 | -3115/+3070 |
| | | | | Replaces GLib's GError. | ||||
* | system/resolver: convert to C++ | Max Kellermann | 2013-09-04 | 5 | -23/+13 |
| | |||||
* | 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. | ||||
* | 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 | 3 | -14/+8 |
| | | | | 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 | 18 | -34/+22 |
| | |||||
* | db_error: convert to C++ | Max Kellermann | 2013-08-10 | 5 | -10/+7 |
| | |||||
* | playlist_error: convert to C++ | Max Kellermann | 2013-08-10 | 5 | -7/+7 |
| | |||||
* | ack.h: move to protocol/ | Max Kellermann | 2013-08-10 | 3 | -2/+2 |
| | |||||
* | 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 |
| |