command: check_key_bindings() returns message without comment
The comment "press %s for the key editor" is only used by
timer_check_key_bindings(), move it there. This lets us merge the two
error messages in check_key_bindings() and eases the translator's
work.
The comment "press %s for the key editor" is only used by
timer_check_key_bindings(), move it there. This lets us merge the two
error messages in check_key_bindings() and eases the translator's
work.
po: updated French translation
po: updated Slovak translation
Makefile.am: distribute autogen.sh
m4: deleted codeset.m4 and glib-2.0.m4
Both files are unused.
Both files are unused.
autogen.sh: removed $PWD from aclocal call
This allows aclocal to generate the correct m4/*.m4 dependencies for
the "dist" target.
This allows aclocal to generate the correct m4/*.m4 dependencies for
the "dist" target.
po: updated Galician translation
po: updated Spanish translation
po: updated Swedish translation
po: updated Russian translation
configure.ac: moved ALL_LINGUAS to po/LINGUAS
ALL_LINGUAS is deprecated according to
http://live.gnome.org/GnomeGoals/PoLinguas
Keep ALL_LINGUAS in configure.ac for now, to preserve compatibility
with older tools.
ALL_LINGUAS is deprecated according to
http://live.gnome.org/GnomeGoals/PoLinguas
Keep ALL_LINGUAS in configure.ac for now, to preserve compatibility
with older tools.
po: added missing "\n" to Danish po file
match: enable regular expressions when using find
It uses g_regex_match_simple() in glib and is case insensitive. The
search in the NCMPC_MINI case is unchanged.
It uses g_regex_match_simple() in glib and is case insensitive. The
search in the NCMPC_MINI case is unchanged.
po: updated Danish translation
po: updated Hungarian translation
added option to disable the status line clock display
I already have a clock, and I don't need ncmpc showing me another one.
This patch adds command line options and a config file item to allow the
user to flexibly enable or disable the clock.
[mk: patch from http://bugs.debian.org/510392; removed command line
options]
I already have a clock, and I don't need ncmpc showing me another one.
This patch adds command line options and a config file item to allow the
user to flexibly enable or disable the clock.
[mk: patch from http://bugs.debian.org/510392; removed command line
options]
Update copyright notices
po: updated German translation
updated .gitignore
configure.ac: use AC_CONFIG_AUX_DIR
Put lots of clutter into ./build/
Put lots of clutter into ./build/
po: converted all PO files to UTF-8
Converted Danish, German, Norwegian from ISO-Latin-1 to UTF-8.
Converted Slovakian fro ISO-Latin-2 to UTF-8.
Converted Danish, German, Norwegian from ISO-Latin-1 to UTF-8.
Converted Slovakian fro ISO-Latin-2 to UTF-8.
Standardize the AC_INIT() along with other projects.
po: updated *.po
po: regenerated ncmpc.pot
added comments for translators
Give translators hints about the meaning of some difficult messages.
Give translators hints about the meaning of some difficult messages.
command: renamed "Update screen" to "Refresh screen"
simplified translation strings
Removed colon and "Error: " / "Keys - " prefix.
Removed colon and "Error: " / "Keys - " prefix.
screen_help: removed "bold" marker from "MOVE_UP" line
conf: improved error messages
Makefile.am: removed AUTHORS, README, NEWS from $(EXTRA_DIST)
These files are automatically distributed.
These files are automatically distributed.
conf: simplified parse_key_value()
Removed the state machine stuff, and use strtol() if the first
character is not a single quote. strtol() will do the error
checking.
Removed the state machine stuff, and use strtol() if the first
character is not a single quote. strtol() will do the error
checking.
conf: don't pass length to parse_key_value()
We have a null-terminated string, no need to pass the length around.
We have a null-terminated string, no need to pass the length around.
conf: optimized parse_color() with strchr()
The same for parse_color_definition(). Use strtol() directly there.
The same for parse_color_definition(). Use strtol() directly there.
conf: use GLib's string stripping functions
conf: use buffered I/O for reading the config file
Don't read byte by byte until a newline is found. Use fgets()
instead.
Don't read byte by byte until a newline is found. Use fgets()
instead.
conf: don't free filename in read_rc_file()
The code was unused, because free_filename was always 0.
The code was unused, because free_filename was always 0.
conf: moved code to parse_line()
conf: simplified translation strings
Removed the "Error: " prefix and the newline. Separated the format
string.
Removed the "Error: " prefix and the newline. Separated the format
string.
po: fixed C format string mismatch in Swedish translation
configure.ac: fix glib error message
The message was still referring to GLib 2.2.
The message was still referring to GLib 2.2.
configure.ac: added --disable-multibyte
This allows you to disable wide character support, retaining multibyte
character support.
This allows you to disable wide character support, retaining multibyte
character support.
configure.ac: disable NLS in mini mode
show translator credits
Print translator credits after the --version message.
Print translator credits after the --version message.
initialize NLS without locale support
Initialize the NLS subsystem even when locale support is disabled.
This may be a very exotic configuration, but it is valid.
Initialize the NLS subsystem even when locale support is disabled.
This may be a very exotic configuration, but it is valid.
configure.ac: added --disable-locale option
Make locale.h mandatory. --disable-locale disables the locale.h
check.
Make locale.h mandatory. --disable-locale disables the locale.h
check.
i18n: don't use locale.h
Just for the _() and N_() macros, we don't need to include locale.h -
define them in i18n.h.
Just for the _() and N_() macros, we don't need to include locale.h -
define them in i18n.h.
autogen.sh: run glib-gettextize
Removed po/Makefile.in.in and mkinstalldirs from git, they are created
by glib-gettextize.
Removed po/Makefile.in.in and mkinstalldirs from git, they are created
by glib-gettextize.
po: added conf.c to POTFILES.in
configure.ac: added --enable-werror, rewrote --enable-debug
"--enable-werror" adds "-Werror" to CFLAGS.
"--enable-werror" adds "-Werror" to CFLAGS.
configure.ac: moved CFLAGS settings to the bottom
configure.ac: removed duplicate NLS option
There was --enable-nls in configure.ac, and --disable-nls in
m4/nls.m4. Remove the first one, it wasn't working anyway.
There was --enable-nls in configure.ac, and --disable-nls in
m4/nls.m4. Remove the first one, it wasn't working anyway.
configure.ac: drop support for GLib < 2.4
GLib 2.4 is required for proper NLS support. It is so old, we can
safely remove support for GLib 2.2.
GLib 2.4 is required for proper NLS support. It is so old, we can
safely remove support for GLib 2.2.
configure.ac: clarify --enable-mini documentation
Rename variable sun as it is predefined (to 1) on solaris
po: converted Swedish translation to UTF-8
AUTHORS: added Björn Pettersson (translator)
po: updated Swedish translation
po: updated Danish translation
configure.ac: display the correct default values
The artist and the outputs screen are both enabled by default.
The artist and the outputs screen are both enabled by default.
screen_lyrics: use screen_text
Use the new screen_text library to display multi-line text from the
plugin.
Use the new screen_text library to display multi-line text from the
plugin.
screen_text: new library for displaying large texts
Took a lot of code from screen_lyrics.
Took a lot of code from screen_lyrics.
screen_lyrics: disabled _GNU_SOURCE
Seems we don't need _GNU_SOURCE anymore.
Seems we don't need _GNU_SOURCE anymore.
lyrics: return plugin_cycle struct
Eliminated the lyrics_loader struct. Instead of lyrics_free(),
callers should use plugin_stop().
Eliminated the lyrics_loader struct. Instead of lyrics_free(),
callers should use plugin_stop().
lyrics: use the new plugin library
plugin: new plugin library
The plugin library is based on code from lyrics.c.
The plugin library is based on code from lyrics.c.
lyrics: free lyrics_loader struct in lyrics_free()
main: deinitialize lyrics library
Free memory held by the plugin list at the end, make valgrind happier.
Free memory held by the plugin list at the end, make valgrind happier.
lyrics: g_new() cannot fail, don't check
g_new() aborts the program when the kernel runs out of memory.
g_new() aborts the program when the kernel runs out of memory.
command: disable check_key_bindings() with --enable-mini
Remove another superfluous feature from the ncmpc-mini mode.
Remove another superfluous feature from the ncmpc-mini mode.
po: clean up POTFILES.in
Removed sources which do not contain translatable strings.
Removed sources which do not contain translatable strings.
match: case sensitive search with --enable-mini
Drop support for the expensive case insensitive search in ncmpc-mini
mode.
Drop support for the expensive case insensitive search in ncmpc-mini
mode.
hscroll: don't compile source in ncmpc-mini mode
This source is not required with --enable-mini.
This source is not required with --enable-mini.
support: renamed source to hscroll.c
There is only strscroll() left in support.c. Give the source a better
name.
There is only strscroll() left in support.c. Give the source a better
name.
support: removed fallback strcasestr() implementation
The code which used to call strcasestr() has been converted to
match_line().
The code which used to call strcasestr() has been converted to
match_line().
match: use g_utf8_casefold() in match_line()
strcasestr() is a non-standard function, and requires setting
_GNU_SOURCE. To avoid this, do wasteful g_utf8_casefold() conversions
and use strstr().
strcasestr() is a non-standard function, and requires setting
_GNU_SOURCE. To avoid this, do wasteful g_utf8_casefold() conversions
and use strstr().
list_window: moved string matching to match.h
Provide the new function match_line() which searches a string for a
needle (ignoring case). This wraps the non-standard function
strcasestr().
Provide the new function match_line() which searches a string for a
needle (ignoring case). This wraps the non-standard function
strcasestr().
screen: use print_hotkey() for the output screen tab
Don't use markup in the translated string; use print_hotkey() as a
simple wrapper.
Don't use markup in the translated string; use print_hotkey() as a
simple wrapper.
support: don't declare strcasestr() if provided by the system
If the system library provides strcasestr(), don't do an extra
declaration in support.h.
If the system library provides strcasestr(), don't do an extra
declaration in support.h.
options: Include all build options in version output.
NEWS: version 0.13, described new outputs screen
AUTHORS: added "translators" section
AUTHORS: added missing authors
AUTHORS: added "former authors" section
added missing copyright headers
screen_outputs: new screen to control MPD's output devices
The "outputs" screen allows the user to enable or disable MPD's audio
output devices.
The "outputs" screen allows the user to enable or disable MPD's audio
output devices.
configure.ac: bumped version number to 0.13~git
The development of version 0.13 has started!
The development of version 0.13 has started!
ncmpc version 0.12
added build test script "test.sh"
sreen_play: fixed the g_completion_set_compare() callback type
Passing strncmp to g_completion_set_compare() is incorrect, because
the type of the third parameter (n) differs. This patch adds a
wrapper function with the correct type.
Passing strncmp to g_completion_set_compare() is incorrect, because
the type of the third parameter (n) differs. This patch adds a
wrapper function with the correct type.
screen_song: make the variable "current" static
The global variable "current" should not be exported, and should be
"static".
The global variable "current" should not be exported, and should be
"static".
Makefile.am: distribute the lyrics plugins even when they are disabled
The source tarball should always contain all files. The lyrics
plugins were not distributed when the plugin was disabled in the last
configure run.
The source tarball should always contain all files. The lyrics
plugins were not distributed when the plugin was disabled in the last
configure run.
configure.ac: disable color terminal support with --enable-mini
configure.ac: disable the artist screen with --enable-mini
m4: removed unused scripts
Some of those have become obsolete since we require a C99 build
environment. Others have been obsoleted by using more of GLib.
Some of those have become obsolete since we require a C99 build
environment. Others have been obsoleted by using more of GLib.
added .gitignore
po: added Hungarian translation
screen: fixed "screen too small" typo
The "too" had only one 'o'. Remove the newline character at the end
to simplify translation.
The "too" had only one 'o'. Remove the newline character at the end
to simplify translation.
lyrics: include the lyrics plugins in the dist tarball
Add the lyrics scripts to $(EXTRA_DIST).
Add the lyrics scripts to $(EXTRA_DIST).
po: updated Slovak translation
po: updated Galician translation