Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util/AllocatedString: add method empty() | Max Kellermann | 2015-06-25 | 1 | -0/+4 |
| | |||||
* | SongFilter: add assertion to StringMatch() | Max Kellermann | 2015-06-25 | 1 | -0/+2 |
| | |||||
* | SongFilter: return "const char *" instead of std::string | Max Kellermann | 2015-06-25 | 5 | -15/+18 |
| | |||||
* | lib/icu/Collate: fall back to strxfrm() | Max Kellermann | 2015-06-25 | 1 | -2/+16 |
| | |||||
* | lib/icu/Collate: fix indent | Max Kellermann | 2015-06-25 | 1 | -3/+3 |
| | |||||
* | lib/icu/Collate: fall back to strcoll() instead of strcasecmp() | Max Kellermann | 2015-06-23 | 2 | -1/+2 |
| | |||||
* | lib/icu/Collate: use CompareStringEx() on Windows | Max Kellermann | 2015-06-23 | 1 | -0/+26 |
| | |||||
* | fs/NarrowPath: use the WideCharToMultiByte() wrapper | Max Kellermann | 2015-06-23 | 1 | -14/+16 |
| | |||||
* | lib/icu/Win32: wrappers for WideCharToMultiByte(), MultiByteToWideChar() | Max Kellermann | 2015-06-23 | 4 | -28/+111 |
| | |||||
* | util/AllocatedString: remove bogus code from operator= | Max Kellermann | 2015-06-23 | 1 | -1/+0 |
| | |||||
* | util/AllocatedString: new utility class | Max Kellermann | 2015-06-23 | 2 | -0/+101 |
| | |||||
* | fs/Path: include cleanup | Max Kellermann | 2015-06-23 | 1 | -1/+0 |
| | |||||
* | fs/Path: use base class StringPointer | Max Kellermann | 2015-06-23 | 2 | -12/+10 |
| | |||||
* | util/StringPointer: new utility class | Max Kellermann | 2015-06-23 | 2 | -0/+65 |
| | |||||
* | fs/Path: use method c_str() internally | Max Kellermann | 2015-06-23 | 1 | -5/+5 |
| | |||||
* | fs/Config: remove charset auto-detection via GLib | Max Kellermann | 2015-06-22 | 1 | -14/+0 |
| | | | | The default is always UTF-8. | ||||
* | LogBackend: remove character set support | Max Kellermann | 2015-06-22 | 4 | -57/+1 |
| | | | | Always write UTF-8 to the log file. | ||||
* | fs/Charset: hard-code Windows to ACP | Max Kellermann | 2015-06-22 | 3 | -15/+5 |
| | | | | | | Don't define HAVE_FS_CHARSET, and make GetFSCharset() return "ACP" instead of "UTF-8". Ignore the configuration setting, which had no effect anyway. | ||||
* | fs/Glob: use PathMatchSpec() on Windows | Max Kellermann | 2015-06-22 | 2 | -2/+13 |
| | |||||
* | fs/Glob: use fnmatch() if available | Max Kellermann | 2015-06-22 | 2 | -1/+22 |
| | |||||
* | fs/Glob: make constructor "explicit" | Max Kellermann | 2015-06-22 | 1 | -1/+1 |
| | |||||
* | db/update/ExcludeList: remove obsolete TODO comments | Max Kellermann | 2015-06-22 | 2 | -5/+3 |
| | |||||
* | test/TestFs: new unit test for libfs.a | Max Kellermann | 2015-06-22 | 2 | -0/+116 |
| | |||||
* | db/update/ExcludeList: move class Pattern to fs/Glob.hxx | Max Kellermann | 2015-06-22 | 4 | -31/+70 |
| | |||||
* | test/test_translate_song: use PATH_LITERAL() | Max Kellermann | 2015-06-22 | 1 | -1/+1 |
| | |||||
* | test/test_pcm_util: call the C++11 random engine instead of random() | Max Kellermann | 2015-06-22 | 1 | -1/+1 |
| | | | | Stupid mistake from commit 7cb803ad | ||||
* | pcm/Interleave: add stereo optimization | Max Kellermann | 2015-06-22 | 1 | -0/+19 |
| | |||||
* | pcm/Interleave: instantiate a 16 bit optimization | Max Kellermann | 2015-06-22 | 1 | -0/+15 |
| | |||||
* | pcm/Interleave: convert PcmInterleave32() to template | Max Kellermann | 2015-06-22 | 1 | -4/+13 |
| | |||||
* | pcm/Interleave: add optimization for 32 bit samples | Max Kellermann | 2015-06-22 | 3 | -12/+51 |
| | | | | Move code from the "vorbis" decoder. | ||||
* | pcm/Interleave: add "restrict" keywords | Max Kellermann | 2015-06-22 | 2 | -3/+6 |
| | |||||
* | test/test_pcm: add PcmInterleave() unit test | Max Kellermann | 2015-06-22 | 4 | -0/+145 |
| | |||||
* | decoder/ffmpeg: move code to pcm/Interleave.cxx | Max Kellermann | 2015-06-22 | 4 | -19/+87 |
| | |||||
* | decoder/ffmpeg: check for commands earlier | Max Kellermann | 2015-06-22 | 1 | -22/+22 |
| | | | | | Improve initial seek by not reading/decoding the first frame before checking for the seek command. | ||||
* | decoder/vorbis: check STOP before entering the loop | Max Kellermann | 2015-06-22 | 1 | -2/+2 |
| | |||||
* | OutputThread: move code to CloseOutput() | Max Kellermann | 2015-06-22 | 2 | -6/+19 |
| | |||||
* | lib/ffmpeg/Buffer: add "malloc" attribute | Max Kellermann | 2015-06-22 | 1 | -0/+1 |
| | |||||
* | InputStream: add ReadFull method | Thomas Guillem | 2015-06-22 | 2 | -1/+49 |
| | | | | | | | | Convenient method that behave differently than Read, and that will be used by tag scanners. This method will return in case of error, if the whole data is read or is EOF is reached. | ||||
* | Merge tag 'v0.19.10' | Max Kellermann | 2015-06-21 | 11 | -16/+108 |
|\ | |||||
| * | release v0.19.10 | Max Kellermann | 2015-06-21 | 1 | -1/+1 |
| | | |||||
| * | PlayerThread: start the decoder on PlayerCommand::QUEUE | Max Kellermann | 2015-06-21 | 2 | -0/+7 |
| | | | | | | | | Fixes missing SongBorder() call, which causes "single" mode breakage. | ||||
| * | DecoderAPI: discard unused song tag early | Max Kellermann | 2015-06-21 | 1 | -2/+5 |
| | | | | | | | | | | If there's a stream tag, don't let the song tag override it in the next update_stream_tag() call. | ||||
| * | DecoderThread: set Decoder::song_tag only for local files | Max Kellermann | 2015-06-21 | 2 | -1/+6 |
| | | | | | | | | | | | | | | If the song tag comes from a stream, and MPD playback restarts, MPD would believe the tag should override the newly received tag. This makes the previous tag appear stuck. This change passes the song tag only if it's authoritative - i.e. if it's a song file. | ||||
| * | DecoderAPI: "move" the Tag object | Max Kellermann | 2015-06-20 | 1 | -1/+1 |
| | | | | | | | | Reduce runtime overhead. | ||||
| * | OutputControl: fix fail_timer check right after booting | Romain Rollet | 2015-06-20 | 2 | -1/+4 |
| | | | | | | | | | | | | Right after booting, the monotonic clock starts with a very small value, and AudioOutput::LockUpdate() may believe that the fail_timer has not recovered yet. | ||||
| * | system/PeriodClock: make IsDefined() "constexpr" | Max Kellermann | 2015-06-20 | 1 | -1/+1 |
| | | |||||
| * | decoder/ffmpeg: skip unwanted samples after seeking | Max Kellermann | 2015-06-20 | 2 | -5/+50 |
| | | | | | | | | | | When seeking to the beginning of a packet, skip the samples that come before the desired time stamp. | ||||
| * | decoder/ffmpeg: use AVSEEK_FLAG_BACKWARD for seeking | Max Kellermann | 2015-06-20 | 1 | -1/+5 |
| | | | | | | | | | | | | Ask FFmpeg to seek to the next packet boundary *before* the seek position, so we don't miss audio data. Now we get too much, but we'll solve that in the next commit. | ||||
| * | decoder/ffmpeg: move code to StreamRelativePts() | Max Kellermann | 2015-06-19 | 1 | -6/+20 |
| | | |||||
| * | input/curl: trigger the condition variable in RequestDone() | Max Kellermann | 2015-06-19 | 2 | -0/+3 |
| | | | | | | | | Fixes deadlock on small responses. |