Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Main: remove g_set_application_name() call | Max Kellermann | 2015-06-26 | 1 | -8/+0 | |
| | | | | | | | | Since we are removing GLib, this call is useless. | |||||
* | | fs/Glob: remove GLib implementation | Max Kellermann | 2015-06-26 | 1 | -19/+0 | |
| | | | | | | | | | | I suppose there is no non-WIN32 operating system that doesn't have fnmatch(). So let's remove the GLib implementation. | |||||
* | | TagId3: remove the "id3v1_encoding" setting | Max Kellermann | 2015-06-26 | 2 | -48/+11 | |
| | | | | | | | | | | Drop support for misencoded tags. People should not be using ID3v1 anyway. | |||||
* | | config/Templates: add attribute "deprecated" | Max Kellermann | 2015-06-26 | 2 | -5/+10 | |
| | | ||||||
* | | config/Templates: add constructor with defaulted "repeat" parameter | Max Kellermann | 2015-06-26 | 2 | -49/+53 | |
| | | ||||||
* | | lib/icu/{Converter,Collate}: return AllocatedString | Max Kellermann | 2015-06-25 | 9 | -52/+57 | |
| | | ||||||
* | | util/AllocatedString: add methods Duplicate(), Clone() | Max Kellermann | 2015-06-25 | 2 | -0/+59 | |
| | | ||||||
* | | 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 | 3 | -28/+106 | |
| | | ||||||
* | | 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 | 1 | -0/+100 | |
| | | ||||||
* | | 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 | 1 | -0/+64 | |
| | | ||||||
* | | 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 | 3 | -57/+0 | |
| | | | | | | | | 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 | 1 | -2/+8 | |
| | | ||||||
* | | fs/Glob: use fnmatch() if available | Max Kellermann | 2015-06-22 | 1 | -1/+21 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | db/update/ExcludeList: move class Pattern to fs/Glob.hxx | Max Kellermann | 2015-06-22 | 3 | -31/+69 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | decoder/ffmpeg: move code to pcm/Interleave.cxx | Max Kellermann | 2015-06-22 | 3 | -19/+86 | |
| | | ||||||
* | | 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 | 10 | -16/+93 | |
|\| | ||||||
| * | PlayerThread: start the decoder on PlayerCommand::QUEUE | Max Kellermann | 2015-06-21 | 1 | -0/+6 | |
| | | | | | | | | 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 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | 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 | 1 | -1/+2 | |
| | | | | | | | | | | | | 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 | 1 | -5/+48 | |
| | | | | | | | | | | 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. |