aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'v0.18.x'Max Kellermann2014-07-1110-33/+144
|\|
| * decoder/sndfile: use decoder_read_full()Max Kellermann2014-07-111-16/+6
| | | | | | | | | | Replaces the loop in sndfile_vio_read(), eliminating duplicate and fragile code.
| * decoder/sndfile: use decoder_read()Max Kellermann2014-07-111-16/+22
| | | | | | | | .. instead of InputStream::LockRead(). The former is cancellable.
| * decoder/sndfile: log seek errorsMax Kellermann2014-07-111-1/+4
| |
| * decoder/audiofile: log seek errorsMax Kellermann2014-07-111-0/+1
| |
| * decoder/audiofile: fix typo in commentMax Kellermann2014-07-111-1/+1
| |
| * PlaylistEdit: postpone UpdateQueuedSong() when adding multiple songsMax Kellermann2014-07-117-1/+109
| | | | | | | | | | | | | | | | | | | | Implement a "bulk" edit mode that postpones both UpdateQueuedSong() and OnModified(). This way, the playlist version gets incremented only once. More importantly: when adding multiple songs to a queue that consists of only one song, the first song that got added will always be played next. By postponing this choice, all newly added songs get a chance to become the next song. Fixes the second (and last) part of Mantis ticket 0004005.
| * QueueCommands: make "result" more localMax Kellermann2014-07-111-3/+2
| |
| * Playlist: randomize next song when enabling "random" mode while not playingMax Kellermann2014-07-111-1/+3
| | | | | | | | | | | | Don't restore the current song after shufflung when MPD is stopped (but still remembers the current song internally). Fixes the first part of Mantis ticket 0004005.
| * PlaylistControl: update code commentMax Kellermann2014-07-111-1/+1
| |
* | input/curl: options "verify_peer" and "verify_host"Max Kellermann2014-07-111-0/+8
| |
* | fs/StandardDirectory: look for cache dir in environment, not user-dirsMantas Mikulėnas2014-07-111-3/+15
| | | | | | | | | | The XDG cache directory is part of the "base directories" spec like $XDG_CONFIG_HOME, not "user directories".
* | input/async: more API documentationMax Kellermann2014-07-101-0/+26
| |
* | decoder/audiofile: log libaudiofile errorsMax Kellermann2014-07-101-4/+15
| |
* | decoder/audiofile: make variables more localMax Kellermann2014-07-101-28/+24
| |
* | decoder/audiofile: implement scan_stream() instead of scan_file()Max Kellermann2014-07-101-23/+23
| |
* | decoder/audiofile: use audiofile_get_duration() in _stream_decode()Max Kellermann2014-07-101-5/+2
| |
* | decoder/audiofile: split audiofile_get_duration()Max Kellermann2014-07-101-4/+11
| |
* | decoder/audiofile: remove unused Error variableMax Kellermann2014-07-091-1/+0
| |
* | Merge branch 'v0.18.x'Max Kellermann2014-07-097-46/+50
|\|
| * decoder/dsd: use decoder_read_full() where appropriateJoff2014-07-094-31/+19
| | | | | | | | | | | | | | Addresses Mantis ticket 0004015. [mk: use decoder_read_full() only when needed, and a few formal changes]
| * decoder/audiofile: use decoder_read_full()Max Kellermann2014-07-091-1/+6
| | | | | | | | | | Works around WAV stream playback bug, because libaudiofile does not like partial reads (Mantis 0004028).
| * DecoderAPI: add function decoder_read_full()Max Kellermann2014-07-093-12/+31
| | | | | | | | Move code from the "mad" plugin.
| * DecoderAPI: add function decoder_skip()Max Kellermann2014-07-093-14/+25
| | | | | | | | Move code from the "mad" plugin.
| * decoder/audiofile: use decoder_read()Max Kellermann2014-07-091-15/+24
| | | | | | | | | | .. instead of InputStream::LockRead(). The former is cancellable.
| * playlist/PlsPlaylistPlugin: fix build failure due to missing stdio.h includeGustavo Zacarias2014-07-091-0/+1
| | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
| * output/HttpdClient: fix build failure due to missing stdio.h includeGustavo Zacarias2014-07-091-0/+1
| | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
| * decoder/OpusDecoderPlugin: fix build failure due to missing stdio.h includeGustavo Zacarias2014-07-091-0/+1
| | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
| * decoder/AudiofileDecoderPlugin: fix build failure due to missing stdio.h includeGustavo Zacarias2014-07-091-0/+1
| | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
* | playlist/plugins/DespotifyPlaylistPlugin: fix build failure due to missing ↵Gustavo Zacarias2014-07-091-0/+1
| | | | | | | | | | | | stdio.h include Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
* | output/plugins/httpd/HttpdClient: fix build failure due to missing stdio.h ↵Gustavo Zacarias2014-07-091-0/+1
| | | | | | | | | | | | include Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
* | decoder/plugins/FlacIOHandle: fix build failure due to missing stdio.h includeGustavo Zacarias2014-07-091-0/+1
| | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
* | decoder/dsdlib: use decoder_skip()Max Kellermann2014-07-091-26/+6
| | | | | | | | Reduce duplicate code.
* | decoder/dsdlib: pass unsigned offsets to dsdlib_skip*()Max Kellermann2014-07-092-11/+9
| |
* | thread/{Mutex,Cond}: relicense to BSD-2Max Kellermann2014-07-026-38/+58
| |
* | thread/GLib{Mutex,Cond}: remove obsolete classesMax Kellermann2014-07-022-178/+0
| |
* | lib/nfs/Connection: include poll.hMax Kellermann2014-06-301-0/+2
| |
* | Added Comment/Description to decoder/plugins/XiphTags.cxxChristoph Tieben2014-06-271-0/+4
| |
* | decoder: vorbis, flac, opus: honor DESCRIPTION= tag in Xiph-based files as a ↵Christoph Tieben2014-06-271-0/+1
| | | | | | | | | | | | comment to the song (see https://www.xiph.org/vorbis/doc/v-comment.html for Details)
* | util/ConstBuffer: add method skip_front()Max Kellermann2014-06-261-0/+9
| |
* | util/ConstBuffer: wrap assert() in NDEBUG checkMax Kellermann2014-06-261-0/+4
| | | | | | | | Fixes build failure because assert.h was not included.
* | util/ConstBuffer: add method Contains()Max Kellermann2014-06-231-0/+10
| |
* | Merge branch 'v0.18.x'Max Kellermann2014-06-235-1/+63
|\|
| * db/proxy: fall back to recursive walk on old libmpdclient/MPDMax Kellermann2014-06-235-1/+63
| | | | | | | | | | Error message was 'too few arguments for "find"' because the "base" constraint was not supported, and no other constraints remained.
| * db/proxy: use mpd_song_get_{start,end}() only with libmpdclient >= 2.3Max Kellermann2014-06-231-0/+5
| |
* | db/proxy: use mpd_song_get_{start,end}() only with libmpdclient >= 2.3Max Kellermann2014-06-231-0/+5
| |
* | input/async: use IsEOF() instead of !open for "ready" checkMax Kellermann2014-06-211-2/+3
| | | | | | | | | | Checking "!open" did not work with the NFS plugin because that plugin does not close the file automatically, unlike CURL.
* | Revert "AsyncInputStream: fix assertion failure in AppendToBuffer()"Max Kellermann2014-06-211-6/+4
| | | | | | | | | | | | | | This reverts commit 966c4244cbe0de174df1e72e917078269ec9dbb9. The commit was bad, because the bug was really in NfsInputStream::DoRead(); see previous commit.
* | input/nfs: never read more than space available in bufferMax Kellermann2014-06-211-2/+4
| | | | | | | | Avoids off-by-one bug and obsoletes the bug fix in commit 966c4244
* | db/proxy: initialize LightSong::real_uriMax Kellermann2014-06-211-0/+1
| | | | | | | | Fixes potential crash.