Merge branch '0.7.x'

This commit is contained in:
Andrzej Rybczak
2016-04-23 13:59:32 +02:00
4 changed files with 14 additions and 2 deletions

7
NEWS
View File

@@ -1,5 +1,12 @@
ncmpcpp-0.8 (????-??-??) ncmpcpp-0.8 (????-??-??)
ncmpcpp 0.7.4 (2016-04-17)
* Fetching lyrics from lyricwiki.org was fixed.
* Configure script now continues without errors if ICU library was not found.
ncmpcpp 0.7.3 (2016-01-20)
* Home and End keys are now recognized in a few specific terminal emulators.
ncmpcpp-0.7.2 (2016-01-16) ncmpcpp-0.7.2 (2016-01-16)
* Attempt to add non-song item to playlist from search engine doesn't trigger assertion failure anymore. * Attempt to add non-song item to playlist from search engine doesn't trigger assertion failure anymore.
* Fetching lyrics from metrolyrics.com was fixed. * Fetching lyrics from metrolyrics.com was fixed.

View File

@@ -186,7 +186,7 @@ PKG_CHECK_MODULES([ICU], [icu-uc], [
CPPFLAGS="$old_CPPFLAGS" CPPFLAGS="$old_CPPFLAGS"
LIBS="$old_LIBS", LIBS="$old_LIBS",
) )
], []) ], [[]])
dnl ============================= dnl =============================
dnl = checking for boost.thread = dnl = checking for boost.thread =

View File

@@ -126,7 +126,7 @@ LyricsFetcher::Result LyricwikiFetcher::fetch(const std::string &artist, const s
return result; return result;
} }
auto lyrics = getContent("<div class='lyricbox'><script>.*?</script>(.*?)<!--", data); auto lyrics = getContent("<div class='lyricbox'>(.*?)<!--", data);
if (lyrics.empty()) if (lyrics.empty())
{ {

View File

@@ -819,6 +819,11 @@ Key::Type Window::getInputChar(int key)
return Key::Right; return Key::Right;
case 'D': case 'D':
return Key::Left; return Key::Left;
// terminator
case 'F':
return Key::End;
case 'H':
return Key::Home;
// rxvt // rxvt
case 'a': case 'a':
return Key::Ctrl | Key::Up; return Key::Ctrl | Key::Up;