aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-26MusicBuffer: expose the C++ APIMax Kellermann11-118/+95
2013-09-26MusicPipe: expose the C++ APIMax Kellermann15-244/+189
2013-09-26MusicChunk: use constexpr for CHUNK_SIZEMax Kellermann1-3/+1
2013-09-26*Plugin: remove redundant "line %i" from error messagesMax Kellermann5-49/+32
The MPD core will add this as a prefeix.
2013-09-26SongFilter: search for album artist falls back to the artist tagMax Kellermann1-9/+21
Implement Mantis ticket 0003646.
2013-09-26IdTable, SongFilter: use std::fill_n() instead of std::fill()Max Kellermann2-2/+2
2013-09-26TagType: reduce the enum size to 1 byteMax Kellermann2-2/+13
Reduce the TagItem overhead.
2013-09-26Tag: add "pure" attributesMax Kellermann1-0/+3
2013-09-26TagHandler: use a TagBuilder internallyMax Kellermann8-47/+55
Reduce heap allocator overhead.
2013-09-26Main: fix crash if no database was configuredMax Kellermann1-0/+3
Add nullptr check, and return early from glue_db_init_and_load().
2013-09-26Main: use nullptr instead of NULLMax Kellermann1-11/+11
2013-09-26decoder/modplug: fix include directoryMax Kellermann1-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.
2013-09-26input/curl: fix EventLoop stall after curl_easy_pauseArtem Savkov1-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.
2013-09-12ConfigPath: return early on "~"Max Kellermann1-3/+6
Previously, the pointer was moved to undefined memory.
2013-09-12ConfigPath: skip the slash of "~/"Max Kellermann1-3/+3
Increment the "path" earlier.
2013-09-12ConfigPath: remove the "~/" from the constructed pathMax Kellermann1-6/+9
This was building broken paths like "/home/foo/~/bar". Bug found by Maarten de Vries.
2013-09-12ConfigPath: simplify the duplicate tilde checkMax Kellermann1-5/+5
2013-09-12ConfigPath: convert "home" variable to Path objectMax Kellermann1-9/+11
Use Path::FromUTF8() for the g_get_home_dir() return value instead of assuming it's already FS charset.
2013-09-12ConfigPath: move code to GetHome()Max Kellermann1-28/+48
2013-09-12ConfigPath: include cleanupMax Kellermann1-16/+0
2013-09-12Path: add FromUTF8() overload that returns an ErrorMax Kellermann4-8/+26
2013-09-12ConfigPath: move path_domain to system/Path.cxxMax Kellermann3-3/+5
2013-09-12Listen: Allow tilde paths for socket.Maarten de Vries3-2/+18
2013-09-05TagBuilder: add method Commit(Tag&)Max Kellermann2-8/+21
For callers that already have a Tag instance.
2013-09-05TagBuilder: add method IsEmpty()Max Kellermann1-1/+9
2013-09-05Tag: remove the obsolete "bulk" modeMax Kellermann2-88/+3
Methods BeginAdd() and EndAdd() have been replaced by class TagBuilder.
2013-09-05db/proxy: use class TagBuilderMax Kellermann1-8/+6
2013-09-05SongSave: use class TagBuilderMax Kellermann1-24/+8
2013-09-05TagBuilder: new class for constructing Tag objectsMax Kellermann2-0/+229
Obsoletes Tag::BeginAdd() and the complicated "bulk add" code.
2013-09-05TagItem: disable the copy constructor/operatorMax Kellermann1-0/+4
This is not a C++ class and must not be copied.
2013-09-05Tag: compile-time initialisation of ignore_tag_itemsMax Kellermann8-22/+33
Move to TagSettings.c and use C99 initializers.
2013-09-05Tag: move struct TagItem to TagItem.hxxMax Kellermann3-16/+43
2013-09-05Tag: move fix_tag_value() to TagString.cxxMax Kellermann3-102/+160
2013-09-05Tag: remove unused methodsMax Kellermann2-70/+0
2013-09-05TagNames: make tag_item_names constMax Kellermann2-2/+2
2013-09-05Tag: move configuration code to TagConfig.cxxMax Kellermann4-50/+103
Allow using the Tag.cxx library without the Config library.
2013-09-05Tag, ...: move to libtag.aMax Kellermann76-78/+73
2013-09-05mpd_error.h: remove obsolete headerMax Kellermann18-94/+68
Migrate the remaining callers to FatalError().
2013-09-05input/curl: enable httpsAles Guzik2-1/+3
2013-09-05PlaylistPlugin: add interface SongEnumeratorMax Kellermann24-311/+200
Replaces struct playlist_provider.
2013-09-05PlaylistPlugin, ConfigGlobal: use nullptr instead of NULLMax Kellermann3-15/+11
2013-09-05use standard snprintf() instead of GLib g_snprintf()Max Kellermann4-26/+28
2013-09-05conf.h: remove obsolete headerMax Kellermann44-73/+64
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-05conf.h: move constants to ConfigDefaults.hxxMax Kellermann5-9/+28
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann41-556/+413
2013-09-04TagTable: un-inline the two functionsMax Kellermann5-24/+64
Reduce header dependencies.
2013-09-04Tag*: move TagTable.hxx to libtag.aMax Kellermann5-4/+4
2013-09-04Tag*: move libtag.a sources to src/tag/Max Kellermann20-9/+9
2013-09-04system/SocketError: un-inline constructorMax Kellermann3-13/+26
Reduces header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann236-3115/+3070
Replaces GLib's GError.