aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SongFilter: search for album artist falls back to the artist tagMax Kellermann2013-09-261-9/+21
| | | | Implement Mantis ticket 0003646.
* IdTable, SongFilter: use std::fill_n() instead of std::fill()Max Kellermann2013-09-262-2/+2
|
* TagType: reduce the enum size to 1 byteMax Kellermann2013-09-262-2/+13
| | | | Reduce the TagItem overhead.
* Tag: add "pure" attributesMax Kellermann2013-09-261-0/+3
|
* TagHandler: use a TagBuilder internallyMax Kellermann2013-09-268-47/+55
| | | | Reduce heap allocator overhead.
* Main: fix crash if no database was configuredMax Kellermann2013-09-261-0/+3
| | | | Add nullptr check, and return early from glue_db_init_and_load().
* Main: use nullptr instead of NULLMax Kellermann2013-09-261-11/+11
|
* decoder/modplug: fix include directoryMax Kellermann2013-09-261-1/+3
| | | | | | Since Debian package 1:0.8.8.4-4, the pkg-config file does not contain -I/usr/include/libmodplug anymore, and we need to add the "libmodplug/" prefix to the #include line.
* input/curl: fix EventLoop stall after curl_easy_pauseArtem Savkov2013-09-261-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 Kellermann2013-09-121-3/+6
| | | | Previously, the pointer was moved to undefined memory.
* ConfigPath: skip the slash of "~/"Max Kellermann2013-09-121-3/+3
| | | | Increment the "path" earlier.
* ConfigPath: remove the "~/" from the constructed pathMax Kellermann2013-09-121-6/+9
| | | | | This was building broken paths like "/home/foo/~/bar". Bug found by Maarten de Vries.
* ConfigPath: simplify the duplicate tilde checkMax Kellermann2013-09-121-5/+5
|
* ConfigPath: convert "home" variable to Path objectMax Kellermann2013-09-121-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 Kellermann2013-09-121-28/+48
|
* ConfigPath: include cleanupMax Kellermann2013-09-121-16/+0
|
* Path: add FromUTF8() overload that returns an ErrorMax Kellermann2013-09-124-8/+26
|
* ConfigPath: move path_domain to system/Path.cxxMax Kellermann2013-09-123-3/+5
|
* Listen: Allow tilde paths for socket.Maarten de Vries2013-09-123-2/+18
|
* TagBuilder: add method Commit(Tag&)Max Kellermann2013-09-052-8/+21
| | | | For callers that already have a Tag instance.
* TagBuilder: add method IsEmpty()Max Kellermann2013-09-051-1/+9
|
* Tag: remove the obsolete "bulk" modeMax Kellermann2013-09-052-88/+3
| | | | | Methods BeginAdd() and EndAdd() have been replaced by class TagBuilder.
* db/proxy: use class TagBuilderMax Kellermann2013-09-051-8/+6
|
* SongSave: use class TagBuilderMax Kellermann2013-09-051-24/+8
|
* TagBuilder: new class for constructing Tag objectsMax Kellermann2013-09-052-0/+229
| | | | Obsoletes Tag::BeginAdd() and the complicated "bulk add" code.
* TagItem: disable the copy constructor/operatorMax Kellermann2013-09-051-0/+4
| | | | This is not a C++ class and must not be copied.
* Tag: compile-time initialisation of ignore_tag_itemsMax Kellermann2013-09-058-22/+33
| | | | Move to TagSettings.c and use C99 initializers.
* Tag: move struct TagItem to TagItem.hxxMax Kellermann2013-09-053-16/+43
|
* Tag: move fix_tag_value() to TagString.cxxMax Kellermann2013-09-053-102/+160
|
* Tag: remove unused methodsMax Kellermann2013-09-052-70/+0
|
* TagNames: make tag_item_names constMax Kellermann2013-09-052-2/+2
|
* Tag: move configuration code to TagConfig.cxxMax Kellermann2013-09-054-50/+103
| | | | Allow using the Tag.cxx library without the Config library.
* Tag, ...: move to libtag.aMax Kellermann2013-09-0576-78/+73
|
* mpd_error.h: remove obsolete headerMax Kellermann2013-09-0518-94/+68
| | | | Migrate the remaining callers to FatalError().
* input/curl: enable httpsAles Guzik2013-09-052-1/+3
|
* PlaylistPlugin: add interface SongEnumeratorMax Kellermann2013-09-0524-311/+200
| | | | Replaces struct playlist_provider.
* PlaylistPlugin, ConfigGlobal: use nullptr instead of NULLMax Kellermann2013-09-053-15/+11
|
* use standard snprintf() instead of GLib g_snprintf()Max Kellermann2013-09-054-26/+28
|
* conf.h: remove obsolete headerMax Kellermann2013-09-0544-73/+64
| | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies.
* conf.h: move constants to ConfigDefaults.hxxMax Kellermann2013-09-055-9/+28
|
* InputLegacy: move functions to the input_stream classMax Kellermann2013-09-0541-556/+413
|
* TagTable: un-inline the two functionsMax Kellermann2013-09-045-24/+64
| | | | Reduce header dependencies.
* Tag*: move TagTable.hxx to libtag.aMax Kellermann2013-09-045-4/+4
|
* Tag*: move libtag.a sources to src/tag/Max Kellermann2013-09-0420-9/+9
|
* system/SocketError: un-inline constructorMax Kellermann2013-09-043-13/+26
| | | | Reduces header dependencies.
* util/Error: new error passing libraryMax Kellermann2013-09-04236-3115/+3070
| | | | Replaces GLib's GError.
* system/resolver: convert to C++Max Kellermann2013-09-045-23/+13
|
* output/pulse: require libpulse 0.9.16Max Kellermann2013-09-041-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 Kellermann2013-09-041-2/+4
| | | | Fixes build failure on GLib < 2.32.
* DatabaseSave: eliminate redundant db_quark() implementationMax Kellermann2013-09-031-7/+1
|