aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-27PlayerThread: use strictly typed enumMax Kellermann1-14/+14
2013-09-27PlayerControl: use strictly typed enumsMax Kellermann8-128/+129
2013-09-27DecoderControl: convert "enum decoder_state" to strictly-typed enumMax Kellermann4-47/+53
2013-09-27DecoderCommand: convert to strictly-typed enumMax Kellermann30-205/+201
2013-09-27OutputAll: add pure/const attributesMax Kellermann2-0/+6
2013-09-27PlayerControl: convert functions to methodsMax Kellermann2-63/+73
2013-09-27DecoderControl: convert functions to methodsMax Kellermann2-40/+52
2013-09-27PlayerThread: move code to player_control::CommandFinished()Max Kellermann2-21/+26
2013-09-27PlayerThread: use nullptr instead of NULLMax Kellermann1-37/+37
2013-09-26PlayerThread: unlock/lock in player_task()Max Kellermann1-8/+3
2013-09-26PlayerThread: move code into the player classMax Kellermann1-269/+277
2013-09-26PlayerThread: use player referencesMax Kellermann1-116/+115
2013-09-26PlayerThread: use {decoder,player}_control referencesMax Kellermann3-216/+216
2013-09-26PlayerThread: allocate decoder_control on the stackMax Kellermann1-5/+5
2013-09-26PlayerThread: move global MusicBuffer variable into the player objectMax Kellermann1-24/+27
2013-09-26PlayerThread: simplify "buffer empty" assertionMax Kellermann2-7/+12
2013-09-26MusicChunk: remove obsolete prototypesMax Kellermann1-7/+1
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