main: eliminate another local dummy variable
main: move "#ifdef ENABLE_LIRC" to lirc.h"
lirc: rename public functions
main: move LIRC GIOChannel setup to lirc.c
main: call g_io_channel_unref() early
Release the reference right after registering the channel in the event
loop. We don't need the reference, and the main loop has its own
reference.
Release the reference right after registering the channel in the event
loop. We don't need the reference, and the main loop has its own
reference.
main: merge exit_and_cleanup() into main()
There's no point in having this function that is called only once.
There's no point in having this function that is called only once.
mpdclient: convert port to "unsigned"
mpdclient: remove unnecessary NULL check
callbacks: add "connected" and "failed" callback
More preparations for asynchronous connect.
More preparations for asynchronous connect.
mpdclient: add _is_dead()
Prepare for asynchronous connect.
Prepare for asynchronous connect.
mpdclient: add "playing" attribute
Cache the mpd_status_get_state()==MPD_STATE_PLAY value which is used
pretty often.
Cache the mpd_status_get_state()==MPD_STATE_PLAY value which is used
pretty often.
main: remove unnecessary "mpd!=NULL" checks
mpdclient: reorder attributes for better packing
mpdclient: move volume reset to _status_free()
Make sure that volume gets reset whenever status==NULL, also in
mpdclient_disconnect().
Make sure that volume gets reset whenever status==NULL, also in
mpdclient_disconnect().
mpdclient: move code to mpdclient_status_free()
mpdclient: remove unused attribute "update_id"
mpdclient: update the "source" documentation
mpdclient: wrap the idle callback, unified error handling
mpdclient: convert UTF-8 error message to locale charset
Provide a consistent, documented API.
Provide a consistent, documented API.
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