mpdclient: move code to mpdclient_invoke_error_callback()
mpdclient: include cleanup
mpdclient: remove unused macro BUFSIZE
mpdclient: remove unused function compare_filelistentry_format()
main: move mpd_glib_new() call to mpdclient.c
callbacks: rename functions
screen_client: move functions to callbacks.c
main: remove redundant mpdclient_disconnect() call
mpdclient_free() will do this implicitly.
mpdclient_free() will do this implicitly.
main: remove the "idle" fallback code
ncmpc has been requiring MPD 0.14+ for 7 years (commit e25d7523), and
we really don't need the timer fallback. "idle" just has to be
supported.
ncmpc has been requiring MPD 0.14+ for 7 years (commit e25d7523), and
we really don't need the timer fallback. "idle" just has to be
supported.
configure.ac: remove redundant libmpdclient version test
Obsoleted by 323d2239df7d8b6a3b8005f14c7e90b5271a77e9
Obsoleted by 323d2239df7d8b6a3b8005f14c7e90b5271a77e9
Makefile.am: merge ncmpc_headers into src_ncmpc_SOURCES
update copyright year
main: eliminate local dummy variable
command: fix swapped help texts
screen_song: show "dsd64" etc. shortcuts
screen_song: show "f" and "dsd" formats
screen_song: move code to audio_format_to_string()
screen_{find,search}: work around gcc7 -Wimplicit-fallthrough
Compiler.h: exclude clang from GCC_CHECK_VERSION()
Compiler.h: reimplement GCC_CHECK_VERSION() using GCC_MAKE_VERSION()
Compiler.h: add macro CLANG_OR_GCC_VERSION()
Compiler.h: add macro GCC_OLDER_THAN()
Compiler.h: add macro CLANG_VERSION
Compiler.h: add macro GCC_MAKE_VERSION()
require libmpdclient 2.9, remove several #ifdefs
lyrics: lyrics area regex fix for LyricWikia
configure.ac: detect lirc 0.9.4
configure.ac: prepare for 0.26
release v0.25
strfsong: implement "%disc%"
https://bugs.musicpd.org/view.php?id=4479
https://bugs.musicpd.org/view.php?id=4479
m4/pkg.m4: update from pkg-config 0.29
m4/{nls,po,progtest}.m4: update from gettest 0.19.8.1
m4/glib-gettext.m4: update from GLib 2.48.1
Fixes "error: m4_copy: won't overwrite defined macro: glib_DEFUN".
Fixes "error: m4_copy: won't overwrite defined macro: glib_DEFUN".
lyrics: no extra XML tags in lyricbox anymore
lyrics: use open-uri to handle HTTP 301 redirection
lyrics: fixed XML tag removal on wikia.com
configure.ac: prepare for 0.25
release v0.24
m4: import ax_require_defined.m4 from autoconf-archive
screen_song: draw bit rate in screen_song_update()
Drawing the bit rate in screen_song_add_song() requires some redundant
checks.
Drawing the bit rate in screen_song_add_song() requires some redundant
checks.
main: make variables more local
conf: check_user_conf_dir() returns bool
conf: include cleanup
conf: remove WIN32 debug logs
command: return bool for success/failure
command: make variables more local
screen_browser: fix crash on "jump" (hotkey ".")
Regression caused by commit 4345c919f: screen_browser_paint_callback()
now expects a struct screen_browser pointer instead of a struct
filelist pointer, because it now requires access to the song format.
However, browser_lw_callback() still wants a struct filelist, and the
CMD_LIST_JUMP handler passes the former to screen_jump() for both
callbacks.
Regression caused by commit 4345c919f: screen_browser_paint_callback()
now expects a struct screen_browser pointer instead of a struct
filelist pointer, because it now requires access to the song format.
However, browser_lw_callback() still wants a struct filelist, and the
CMD_LIST_JUMP handler passes the former to screen_jump() for both
callbacks.
screen_find: fix indent
configure.ac: prepare for 0.24
release v0.23
README: update URLs
configure.ac: use $srcdir to refer to po/LINGUAS
Fixes out-of-tree builds. Previously, no PO file was used, and thus
no PO files were included in the tarball (Mantis 0004016).
Fixes out-of-tree builds. Previously, no PO file was used, and thus
no PO files were included in the tarball (Mantis 0004016).
configure.ac: prepare for 0.23
release v0.22
m4/po.m4: update to gettext 0.18.3
m4/pkg.m4: update to serial 1
m4/ax_check*: update to serial 3
m4/ax_append*: update to serial 4
m4/ax_with_curses.m4: update to serial 15
Makefile.am: disable dist-bzip2
bzip2-compressed tarballs are obsolete, xz is better and widely
understood.
bzip2-compressed tarballs are obsolete, xz is better and widely
understood.
screen_song: show audio format
remove broken leoslyrics plugin
Implement a search-format configuration option (Mantis #4007)
This configures the song format for the search window,
and defaults to the value of list-format if not specified.
This configures the song format for the search window,
and defaults to the value of list-format if not specified.
Flush stdout to change xterm title.
If stdout is not flushed, printf may not terminate control string
properly. This way xterm title changes only sometimes.
Also use standard (ECMA-048) control string terminator ^[\ instead of \a.
If stdout is not flushed, printf may not terminate control string
properly. This way xterm title changes only sometimes.
Also use standard (ECMA-048) control string terminator ^[\ instead of \a.
charset: work around "unused function" compiler warnings
Fixed colours for status-flags (previously documented but not a feature)
fix typo in error message
*: make variables more local
configure.ac: require libmpdclient 2.3
*: use Compiler.h macros instead of glib.h
conf: simplify read_configuration()
Move code to find_config_file() and find_keys_file().
Move code to find_config_file() and find_keys_file().
conf: convert runtime check to assertion
conf: eliminate local variable "match_found"
*: add "pure" attributes
main: remove useless "Connected to ..." message
This message has no use, because the user already knows where he asked
ncmpc to connect to. And it was annoying, because it delays the
progress display in the status bar.
This message has no use, because the user already knows where he asked
ncmpc to connect to. And it was annoying, because it delays the
progress display in the status bar.
status_bar: export _clear_message()
main: require MPD 0.16
Remove a few version checks and some fallback code.
Remove a few version checks and some fallback code.
match,charset: add obsolete GLib version checks
resolver: remove unused library
glib_compat.h: remove obsolete header
We require GLib 2.14, and the GLib 2.16 functions are not used by
ncmpc.
We require GLib 2.14, and the GLib 2.16 functions are not used by
ncmpc.
configure.ac: enable automake silent-rules
configure.ac: update VERSION_MINOR
screen_queue: rename "playlist" to "queue"
"Playlists" are m3u files, and the "queue" is the current list of
songs that are about to be played by MPD.
"Playlists" are m3u files, and the "queue" is the current list of
songs that are about to be played by MPD.
configure.ac: add more optimization flags
configure.ac: prepare for 0.22
release 0.21
Makefile.am: remove src/win/ncmpc.rc from SOURCES
po: regenerate ncmpc.pot
po/POTFILES.in: add screen_chat.c
po: update Spanish translation
configure.ac: require GLib 2.14
Required for GRegex.
Required for GRegex.
strfsong: Add fallback mpd tags for more compatibility
screen_lyrics: return if fork fails
Avoids the clang warning due to uninitialized "status".
Avoids the clang warning due to uninitialized "status".
autogen.sh: use $AUTOMAKE_FLAGS
Allows caller to pass --copy.
Allows caller to pass --copy.
lyricswiki: fix Ruby 2.0 and UTF-8
screen_song: show song position
screen_queue: fix CMD_SCREEN_SWAP with an empty queue
It crashed without this patch.
It crashed without this patch.
Try to keep the cursor position when reloading lyrics