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
po: updated Spanish translation
po: regenerated ncmpc.pot
Only line numbers changed this time.
Only line numbers changed this time.
po: updated German translation
Added missing translation and removed "fuzzy" tags.
Added missing translation and removed "fuzzy" tags.
m4: imported progtest.m4 from gettext
po.m4 uses the macro AM_PATH_PROG_WITH_TEST which is provided by
progtest.m4.
po.m4 uses the macro AM_PATH_PROG_WITH_TEST which is provided by
progtest.m4.
po: fixed C format error in the French translation
screen_play: fix scrolling in auto-center mode
Commit cfad0fdf enabled horizontal scrolling, but broke auto-center
mode: regardless of whether the current song has changed, it
re-centered the list. Moved the options.scroll check to another "if"
branch.
Commit cfad0fdf enabled horizontal scrolling, but broke auto-center
mode: regardless of whether the current song has changed, it
re-centered the list. Moved the options.scroll check to another "if"
branch.
screen_help: added the artist screen hotkey
screen_help: added CMD_VIEW
screen: don't show disabled help screen in screen list
When the help screen was disabled at compile time, it was showed in
the screen list anyway.
When the help screen was disabled at compile time, it was showed in
the screen list anyway.
screen_search: use filelist_new() instead of g_malloc0()
Using the advanced search led to a segmentation fault, because with
g_malloc0(), the filelist's "entries" array was not allocated. Use
the "official" filelist constructor instead.
Using the advanced search led to a segmentation fault, because with
g_malloc0(), the filelist's "entries" array was not allocated. Use
the "official" filelist constructor instead.
ncmpc version 0.12~beta2
po: updated French translation
list_window: converted "flags" to one "bool" variable
Currently, there is only one known list_window flag ("hide_cursor").
Replace the "flags" bit field with a boolean variable. If we run out
of space some day, we can convert that to bool:1.
Currently, there is only one known list_window flag ("hide_cursor").
Replace the "flags" bit field with a boolean variable. If we run out
of space some day, we can convert that to bool:1.
list_window: use "bool" instead of "int"
For flags and return values, use the "bool" data type instead of
"int".
For flags and return values, use the "bool" data type instead of
"int".
list_window: fixed endless loop in non-wrapped search
When the cursor was at the end of a list and the user pressed 'n',
ncmpc would hang in an endless loop forever. The same bug was fixed
in the backwards search.
When the cursor was at the end of a list and the user pressed 'n',
ncmpc would hang in an endless loop forever. The same bug was fixed
in the backwards search.
po: updated Russian translation
po: updated Russian translation
po: added screen_song.c to POTFILES.in
When I created screen_song.c, I forgot to add it to POTFILES.in, and
thus its string were not part of ncmpc.pot. Add it and regenerate
ncmpc.pot and all .po files.
When I created screen_song.c, I forgot to add it to POTFILES.in, and
thus its string were not part of ncmpc.pot. Add it and regenerate
ncmpc.pot and all .po files.
po: updated Galician translation
po: updated Spanish translation
po: updated Slovak translation