screen_play: move selection when moving a single song in playlist
Selection didn't move when moving a single song in playlist.
Introduced by the visual selection - selection is only updated when
moving in visual mode, not when moving a single song (nonvisual
mode).
Selection didn't move when moving a single song in playlist.
Introduced by the visual selection - selection is only updated when
moving in visual mode, not when moving a single song (nonvisual
mode).
use the new mpd shufflerange command.
Removed colons to simplify translation.
In wreadln() is a hard-coded colon, so there must not be colons at the end
of the prompts.
In wreadln() is a hard-coded colon, so there must not be colons at the end
of the prompts.
po: Updated the german translation.
Added a german translation for the new visual selection and jump
command.
Added a german translation for the new visual selection and jump
command.
AUTHORS: added Romain Bignon, Patrick Hallen
Also added translators Jon Bergli Heier, Jay Whang, Atie.
Also added translators Jon Bergli Heier, Jay Whang, Atie.
list_window: Added message when selection is enabled/disabled.
The user should get a visual feedback, when he enables or disables the visual selection,
so I added a message which is shown in the status screen. Perhaps there should be a flag
on the right top, when visual selection is enabled to not confuse users, who accidentally
enable it.
The user should get a visual feedback, when he enables or disables the visual selection,
so I added a message which is shown in the status screen. Perhaps there should be a flag
on the right top, when visual selection is enabled to not confuse users, who accidentally
enable it.
screen_artist: Added the jump command to the artist screen.
screen_play: Added the jump command to the playlist screen.
screen_browser: Added the jump command to the browser screen.
command: Added the new jump command.
Added the new jump command, which queries the user for a string
and jumps to the entry which begins with that string while the user is
typing.
Added the new jump command, which queries the user for a string
and jumps to the entry which begins with that string while the user is
typing.
screen_utils: Added new function which jumps to an entry.
Added a new function which opens a prompt. While typing it jumps to the
entry on the screen which starts with the sequence of character you just
typed. Typing any non-printable ncmpc hotkey will exit the prompt.
Added a new function which opens a prompt. While typing it jumps to the
entry on the screen which starts with the sequence of character you just
typed. Typing any non-printable ncmpc hotkey will exit the prompt.
screen_utils: Use werase() instead of wclear().
Use werase() instead of wclear() in screen_readch(), because wclear() rebuilds the whole window from
scratch and flickers.
Use werase() instead of wclear() in screen_readch(), because wclear() rebuilds the whole window from
scratch and flickers.
screen_utils: Moved the colons of the prompts to wreadln.
Moved the colons of the find prompts to wreadln to simplify translation.
Moved the colons of the find prompts to wreadln to simplify translation.
list_window: Added new function, which finds the beginning of a string
Added a new function which finds a string in a listwindow which begins with
the given characters.
Added a new function which finds a string in a listwindow which begins with
the given characters.
screen_song: Added more readable table layout.
Added a table layout with linebreaks to the song screen to make it nicer to
read.
Added a table layout with linebreaks to the song screen to make it nicer to
read.
can shuffle selected list
support multiple lines selection
documentation for the new "bell-on-wrap" option
list_window: bell when searches wrap
NCMPC triggers a bell whenever a search wraps. (Note that this means a
double-bell whenever a wrapped search finds nothing.) I can see this
being reasonable, if the playlist is short and the user is aware of
which direction they want to search in. However if you predominantly
use long playlists and don't know which direction your target is in,
this means you get bells on half your searches.
Since I could see people wanting it either way, my best idea is making
the bell optional. Here's a patch to do that, defaulting to the
current behavior. (I'm a little confused about defaults - looks like
there are only default values for some in options.c - but it looks
like this behaves as desired.)
NCMPC triggers a bell whenever a search wraps. (Note that this means a
double-bell whenever a wrapped search finds nothing.) I can see this
being reasonable, if the playlist is short and the user is aware of
which direction they want to search in. However if you predominantly
use long playlists and don't know which direction your target is in,
this means you get bells on half your searches.
Since I could see people wanting it either way, my best idea is making
the bell optional. Here's a patch to do that, defaulting to the
current behavior. (I'm a little confused about defaults - looks like
there are only default values for some in options.c - but it looks
like this behaves as desired.)
include "config.h" without "../"
Including "../config.h" breaks on some systems.
Including "../config.h" breaks on some systems.
po: updated Korean translation
po: added Korean translation
po: updated Norwegian translation
po: renamed no.po to nb.po
The Norwegian translation seems to be Norwegian Bokmal, according to
Launchpad's auto detection. I have no idea of the two Norwegian
forms, but let's just rename no.po to nb.po, to get rid of the
Launchpad warning, hoping this results in better overall Norwegian
language support.
The Norwegian translation seems to be Norwegian Bokmal, according to
Launchpad's auto detection. I have no idea of the two Norwegian
forms, but let's just rename no.po to nb.po, to get rid of the
Launchpad warning, hoping this results in better overall Norwegian
language support.
Modify version string to post-release version 0.14~git
ncmpc version 0.13
libmpdclient: fix shadow warnings
Renamed "time" variables.
Renamed "time" variables.
screen_browser: removed "OLD_ADD" code
The code was disabled via CPP.
The code was disabled via CPP.
removed newline from translatable strings
Don't make translators deal with newlines.
Don't make translators deal with newlines.
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.