Max Kellermann [Tue, 10 Sep 2019 18:16:53 +0000 (20:16 +0200)]
Styles: add `noexcept`
Max Kellermann [Tue, 10 Sep 2019 18:14:33 +0000 (20:14 +0200)]
CustomColors: add `noexcept`
Max Kellermann [Tue, 10 Sep 2019 07:54:05 +0000 (09:54 +0200)]
Completion: add `noexcept`
Max Kellermann [Tue, 10 Sep 2019 07:53:43 +0000 (09:53 +0200)]
KeyName: add `noexcept`
Max Kellermann [Tue, 10 Sep 2019 07:53:21 +0000 (09:53 +0200)]
GlobalBindings: add `noexcept`
Max Kellermann [Tue, 10 Sep 2019 07:51:56 +0000 (09:51 +0200)]
Bindings: add `noexcept`
Max Kellermann [Tue, 10 Sep 2019 07:51:35 +0000 (09:51 +0200)]
time_format: add `noexcept`
Max Kellermann [Tue, 10 Sep 2019 07:50:45 +0000 (09:50 +0200)]
screen_status: add `noexcept`
Max Kellermann [Mon, 9 Sep 2019 18:28:36 +0000 (20:28 +0200)]
mpdclient: convert MPD_IDLE_ALL to `constexpr`
Max Kellermann [Mon, 9 Sep 2019 18:25:23 +0000 (20:25 +0200)]
screen: add `noexcept`
Max Kellermann [Mon, 9 Sep 2019 18:24:32 +0000 (20:24 +0200)]
TitleBar: add `noexcept`
Max Kellermann [Mon, 9 Sep 2019 18:23:21 +0000 (20:23 +0200)]
paint: add `noexcept`
Max Kellermann [Mon, 9 Sep 2019 18:22:46 +0000 (20:22 +0200)]
ProgressBar: add `noexcept`
Max Kellermann [Mon, 9 Sep 2019 18:22:18 +0000 (20:22 +0200)]
xterm_title: add `noexcept`
Max Kellermann [Mon, 9 Sep 2019 18:22:01 +0000 (20:22 +0200)]
Styles: remove unused constant COLOR_ERROR
Using C++ exceptions now.
Max Kellermann [Sun, 8 Sep 2019 20:01:21 +0000 (22:01 +0200)]
conf: show line number in error message
Max Kellermann [Sun, 8 Sep 2019 19:49:27 +0000 (21:49 +0200)]
conf: throw on error
Max Kellermann [Sun, 8 Sep 2019 19:45:24 +0000 (21:45 +0200)]
Main: catch and print C++ exceptions
Max Kellermann [Sun, 8 Sep 2019 19:47:38 +0000 (21:47 +0200)]
conf: add `noexcept`
Max Kellermann [Sun, 8 Sep 2019 19:45:59 +0000 (21:45 +0200)]
Main: use EXIT_SUCCESS
Max Kellermann [Sun, 8 Sep 2019 18:39:37 +0000 (20:39 +0200)]
include cleanups (using iwyu)
Max Kellermann [Sun, 8 Sep 2019 18:35:46 +0000 (20:35 +0200)]
song_paint: rename source file
Max Kellermann [Sun, 8 Sep 2019 18:30:31 +0000 (20:30 +0200)]
copyright year 2019
Max Kellermann [Sun, 8 Sep 2019 11:57:34 +0000 (13:57 +0200)]
po/{en,de}.po: use ellipsis
Max Kellermann [Sun, 8 Sep 2019 11:56:54 +0000 (13:56 +0200)]
po: add English translation
To allow using Unicode characters in "translated" strings.
Max Kellermann [Sun, 8 Sep 2019 11:56:30 +0000 (13:56 +0200)]
po: update ncmpc.pot and *.po
Max Kellermann [Sun, 8 Sep 2019 11:54:49 +0000 (13:54 +0200)]
po/meson.build: remove obsolete variable `langs`
The "i18n" module loads the "LINGUAS" file instead.
Michal Čihař [Thu, 22 Aug 2019 10:22:55 +0000 (10:22 +0000)]
Translated using Weblate (Chinese (Simplified))
Currently translated at 83.1% (222 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/zh_Hans/
Elizabeth Sherrock [Thu, 15 Aug 2019 14:52:55 +0000 (14:52 +0000)]
Translated using Weblate (Chinese (Simplified))
Currently translated at 83.1% (222 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/zh_Hans/
Elizabeth Sherrock [Wed, 31 Jul 2019 17:32:20 +0000 (17:32 +0000)]
Translated using Weblate (Chinese (Simplified))
Currently translated at 80.9% (216 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/zh_Hans/
Max Kellermann [Mon, 19 Aug 2019 12:18:59 +0000 (14:18 +0200)]
conf: translate deprecated names in "screen-list"
Max Kellermann [Mon, 19 Aug 2019 11:49:16 +0000 (13:49 +0200)]
screen: add "pure" attribute
Max Kellermann [Mon, 19 Aug 2019 11:42:26 +0000 (13:42 +0200)]
conf: allow escaping single quote with backslash in key bindings
Fixing part of https://github.com/MusicPlayerDaemon/ncmpc/issues/51
Max Kellermann [Mon, 19 Aug 2019 11:42:37 +0000 (13:42 +0200)]
conf: add `constexpr`
Max Kellermann [Sat, 8 Jun 2019 10:34:02 +0000 (12:34 +0200)]
StatusBar: require a minimum width to enable hscroll
If the width goes to zero or below, an assertion may crash the process
in hscroll::Paint().
Max Kellermann [Wed, 22 May 2019 13:47:06 +0000 (15:47 +0200)]
po/meson.build: register Occidental translation
OIS [Sat, 18 May 2019 01:55:42 +0000 (01:55 +0000)]
Translated using Weblate (Russian)
Currently translated at 100.0% (267 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/ru/
OIS [Sat, 18 May 2019 00:21:08 +0000 (00:21 +0000)]
Translated using Weblate (Occidental)
Currently translated at 89.5% (239 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/ie/
ssantos [Sat, 18 May 2019 10:46:47 +0000 (10:46 +0000)]
Translated using Weblate (German)
Currently translated at 100.0% (267 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/de/
OIS [Sat, 18 May 2019 00:20:27 +0000 (00:20 +0000)]
Added translation using Weblate (Occidental)
Max Kellermann [Wed, 15 May 2019 11:19:39 +0000 (13:19 +0200)]
defaults: fall back to "AlbumArtist" tag in the default format
Max Kellermann [Wed, 10 Apr 2019 09:10:30 +0000 (11:10 +0200)]
increment version number to 0.35
Max Kellermann [Wed, 10 Apr 2019 09:08:34 +0000 (11:08 +0200)]
release v0.34
Max Kellermann [Wed, 10 Apr 2019 09:04:30 +0000 (11:04 +0200)]
doc: improve documentation for "title" and "title-bold"
Closes https://github.com/MusicPlayerDaemon/ncmpc/issues/35
Max Kellermann [Wed, 10 Apr 2019 08:41:09 +0000 (10:41 +0200)]
{Queue,FileList}Page: show total duration of range selection in status bar
Closes https://github.com/MusicPlayerDaemon/ncmpc/issues/46
Max Kellermann [Wed, 10 Apr 2019 08:30:05 +0000 (10:30 +0200)]
Page: add virtual method PaintStatusBarOverride()
Max Kellermann [Wed, 10 Apr 2019 08:28:13 +0000 (10:28 +0200)]
StatusBar: GetWindow() returns const reference
Max Kellermann [Wed, 10 Apr 2019 08:22:53 +0000 (10:22 +0200)]
ListCursor: store only height, move width to class ListWindow
Max Kellermann [Wed, 10 Apr 2019 08:21:28 +0000 (10:21 +0200)]
ListWindow: use GetHeight()
Max Kellermann [Wed, 10 Apr 2019 08:19:20 +0000 (10:19 +0200)]
ListWindow: include cleanup
Max Kellermann [Wed, 10 Apr 2019 07:44:07 +0000 (09:44 +0200)]
ListWindow: move cursor management code to class ListCursor
Max Kellermann [Wed, 10 Apr 2019 07:35:19 +0000 (09:35 +0200)]
ListWindow: make "w" const
Max Kellermann [Wed, 10 Apr 2019 07:33:47 +0000 (09:33 +0200)]
ListWindow: make all attributes private
Max Kellermann [Wed, 10 Apr 2019 07:03:46 +0000 (09:03 +0200)]
wreadln: add missing include for errno
Fixes regression by
79b967b6ed274fd765d7cc155286208f5c9491e4
kaliko [Mon, 10 Dec 2018 12:46:42 +0000 (13:46 +0100)]
doc/meson.build: fix manual install dir
Closes https://github.com/MusicPlayerDaemon/ncmpc/issues/41
Max Kellermann [Tue, 9 Apr 2019 21:25:06 +0000 (23:25 +0200)]
wreadln, screen_utils: avoid busy looping wgetch()
boost::asio switches STDIN_FILENO to non-blocking mode, causing
wgetch() to always return immediately, causing EAGAIN if no key press
is pending. This causes wreadln() and screen_getch() to busy-loop.
This commit adds poll() calls to idle while no key press is pending.
Closes https://github.com/MusicPlayerDaemon/ncmpc/issues/50
Max Kellermann [Tue, 9 Apr 2019 21:17:07 +0000 (23:17 +0200)]
wreadln: move poll() call to WaitUserInput.hxx
Max Kellermann [Tue, 9 Apr 2019 20:47:16 +0000 (22:47 +0200)]
keyboard: split class
Max Kellermann [Sun, 24 Mar 2019 20:11:07 +0000 (21:11 +0100)]
LyricsPage: use ScreenManager::get_io_service()
boost::asio::steady_timer::get_io_service() has been removed in Boost
1.70, but ScreenManager has a reference to the
boost::asio::io_service.
Fixes the missing piece for https://github.com/MusicPlayerDaemon/ncmpc/issues/49
Max Kellermann [Thu, 21 Mar 2019 09:37:54 +0000 (10:37 +0100)]
adapt to Boost 1.70.0 API changes
The get_io_service() method has beenn removed from various classes
(https://github.com/boostorg/asio/commit/
a72fbb0b867f), so we need to
keep references instead of asking existing asio objects for their
stored reference.
Tested with Boost 1.70.0b1
Closes https://github.com/MusicPlayerDaemon/ncmpc/issues/49
Max Kellermann [Thu, 21 Mar 2019 10:03:58 +0000 (11:03 +0100)]
StatusBar: add missing include to fix the "mini" build
Jon Cox [Mon, 18 Mar 2019 23:55:45 +0000 (17:55 -0600)]
Fix logic to allow for 'none' as object background color.
Checking for color < 0 doesn't allow for the case where otherwise
valid 'none' value is specified as a background color. I have changed
this to be consistent with the check for the 'color background'
processing.
Max Kellermann [Fri, 25 Jan 2019 13:33:53 +0000 (14:33 +0100)]
Instance: fix wrong timer object in ScheduleCheckKeyBindings()
By using the wrong timer, ncmpc could go into an endless busy loop,
because the (unconfigured) `reconnect_timer` was scheduled over and
over without a timeout. This caused high CPU usage.
Closes #40
Min Ho Park [Mon, 21 Jan 2019 12:49:05 +0000 (12:49 +0000)]
Translated using Weblate (Korean)
Currently translated at 100.0% (267 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/ko/
Nathan [Sun, 20 Jan 2019 20:46:40 +0000 (20:46 +0000)]
Translated using Weblate (French)
Currently translated at 100.0% (267 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/fr/
Min Ho Park [Thu, 3 Jan 2019 23:52:07 +0000 (23:52 +0000)]
Translated using Weblate (Korean)
Currently translated at 100.0% (267 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/ko/
kaliko [Wed, 19 Dec 2018 15:37:40 +0000 (16:37 +0100)]
Fixed a spelling error (spotted by lintian)
Min Ho Park [Thu, 3 Jan 2019 06:20:10 +0000 (06:20 +0000)]
Translated using Weblate (Korean)
Currently translated at 100.0% (267 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/ko/
Min Ho Park [Thu, 3 Jan 2019 00:54:57 +0000 (00:54 +0000)]
Translated using Weblate (Korean)
Currently translated at 100.0% (267 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/ko/
Christophe [Fri, 2 Nov 2018 07:50:37 +0000 (07:50 +0000)]
Translated using Weblate (French)
Currently translated at 99.6% (266 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/fr/
ButterflyOfFire [Wed, 24 Oct 2018 17:24:27 +0000 (17:24 +0000)]
Translated using Weblate (French)
Currently translated at 98.8% (264 of 267 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/fr/
Max Kellermann [Mon, 29 Oct 2018 13:28:15 +0000 (14:28 +0100)]
increment version number to 0.34
Max Kellermann [Mon, 22 Oct 2018 17:04:35 +0000 (19:04 +0200)]
release v0.33
Max Kellermann [Wed, 17 Oct 2018 15:49:23 +0000 (17:49 +0200)]
LibraryPage: make tag list configurable
Max Kellermann [Wed, 17 Oct 2018 15:21:40 +0000 (17:21 +0200)]
screen_artist: rename to "library"
This shows a view on the music library, structured by tag values; only
the entry page shows artists.
Max Kellermann [Wed, 17 Oct 2018 14:37:36 +0000 (16:37 +0200)]
conf: add `noexcept`
Max Kellermann [Wed, 17 Oct 2018 14:30:25 +0000 (16:30 +0200)]
TabBar: add `noexcept`
Max Kellermann [Wed, 17 Oct 2018 14:29:03 +0000 (16:29 +0200)]
screen_list: add `noexcept`
Max Kellermann [Wed, 17 Oct 2018 14:00:33 +0000 (16:00 +0200)]
doc/meson.build: add "upload" rule
Max Kellermann [Wed, 17 Oct 2018 13:58:06 +0000 (15:58 +0200)]
doc/meson.build: use subdir_done() to simplify the Meson rules
Max Kellermann [Wed, 17 Oct 2018 11:15:36 +0000 (13:15 +0200)]
screen_artist: make the TagListPage list dynamic
Prepare to make it configurable.
Max Kellermann [Wed, 17 Oct 2018 11:17:47 +0000 (13:17 +0200)]
screen_artist: remove obsolete SongListPage attributes
Max Kellermann [Wed, 17 Oct 2018 10:23:19 +0000 (12:23 +0200)]
screen_artist: use TagListPage::MakeCursorFilter()
Max Kellermann [Wed, 17 Oct 2018 10:15:15 +0000 (12:15 +0200)]
screen_artist: more generic page title generator
Max Kellermann [Wed, 17 Oct 2018 10:32:51 +0000 (12:32 +0200)]
screen_artist: simplify the GO_PARENT_DIRECTORY handler
Max Kellermann [Wed, 17 Oct 2018 09:53:58 +0000 (11:53 +0200)]
po: update ncmpc.pot and *.po
Max Kellermann [Wed, 17 Oct 2018 09:52:08 +0000 (11:52 +0200)]
po: update POTFILES
Generated with:
git grep --files-with-matches '_("'|sort --ignore-case
Max Kellermann [Wed, 17 Oct 2018 09:44:10 +0000 (11:44 +0200)]
screen_artist: simplify page titles
Max Kellermann [Wed, 17 Oct 2018 08:56:28 +0000 (10:56 +0200)]
screen_artist: fix initial page title by calling OpenArtistList()
Max Kellermann [Wed, 10 Oct 2018 21:06:06 +0000 (23:06 +0200)]
util/NulledString: remove obsolete library
Max Kellermann [Wed, 10 Oct 2018 21:02:26 +0000 (23:02 +0200)]
screen_artist: use TagListPage::GetTag() instead of hard-coding tag
Max Kellermann [Wed, 10 Oct 2018 14:00:17 +0000 (16:00 +0200)]
{Album,Artist}ListPage: merge common code into a generic class
Max Kellermann [Wed, 10 Oct 2018 13:58:16 +0000 (15:58 +0200)]
{Album,Artist}ListPage: remove unused macro `BUFSIZE`
Max Kellermann [Wed, 10 Oct 2018 13:47:45 +0000 (15:47 +0200)]
conf: remove trailing whitespace from option names
Closes #39
Max Kellermann [Wed, 10 Oct 2018 13:45:30 +0000 (15:45 +0200)]
Styles: add missing newline to error message
Hosted Weblate [Fri, 5 Oct 2018 17:33:13 +0000 (19:33 +0200)]
Merge branch 'origin/master' into Weblate
Mirosław Borodeńko [Thu, 4 Oct 2018 17:46:39 +0000 (17:46 +0000)]
Translated using Weblate (Polish)
Currently translated at 99.6% (269 of 270 strings)
Translation: Ncmpc/Translations
Translate-URL: https://hosted.weblate.org/projects/ncmpc/translations/pl/
Max Kellermann [Fri, 5 Oct 2018 17:32:10 +0000 (19:32 +0200)]
Merge branch 'master' of https://hosted.weblate.org/git/ncmpc/translations
Max Kellermann [Fri, 5 Oct 2018 17:28:46 +0000 (19:28 +0200)]
Match: fix the #ifdef, fixes build failure without libpcre
Max Kellermann [Fri, 5 Oct 2018 17:25:00 +0000 (19:25 +0200)]
meson_options.txt: add option `regex`