Code

ncmpc.git
15 years agoscreen: explain new MPD modes in translator comments
Max Kellermann [Wed, 1 Apr 2009 21:16:58 +0000 (23:16 +0200)]
screen: explain new MPD modes in translator comments

15 years agopo: updated Galician and Spanish translation
Johám-Luís Miguéns Vila [Wed, 1 Apr 2009 14:46:48 +0000 (16:46 +0200)]
po: updated Galician and Spanish translation

15 years agopo: updated Russian translation
Max Arnold [Wed, 1 Apr 2009 14:14:17 +0000 (16:14 +0200)]
po: updated Russian translation

15 years agopo: updated Korean translation
Atie [Wed, 1 Apr 2009 10:42:35 +0000 (12:42 +0200)]
po: updated Korean translation

15 years agopo: updated Czech translation
Vojtěch Trefný [Wed, 1 Apr 2009 09:57:14 +0000 (11:57 +0200)]
po: updated Czech translation

15 years agopo: added Czech translation
Vojtěch Trefný [Tue, 31 Mar 2009 19:25:43 +0000 (21:25 +0200)]
po: added Czech translation

15 years agopo: updated ncmpc.pot and *.po
Max Kellermann [Tue, 31 Mar 2009 19:25:03 +0000 (21:25 +0200)]
po: updated ncmpc.pot and *.po

15 years agoscreen: added "mode" in mode message
Max Kellermann [Tue, 31 Mar 2009 19:24:22 +0000 (21:24 +0200)]
screen: added "mode" in mode message

Print "Single _mode_ is on" instead of just "Single is on".  This is
intended to be clearer for both users and translators.

15 years agoMerge branch 'master' of git://git.musicpd.org/patrick/ncmpc
Max Kellermann [Mon, 30 Mar 2009 17:34:01 +0000 (19:34 +0200)]
Merge branch 'master' of git://git.musicpd.org/patrick/ncmpc

15 years agosupport the 'consume' mode
Romain Bignon [Sun, 29 Mar 2009 22:01:50 +0000 (00:01 +0200)]
support the 'consume' mode

15 years agofix bug which showed only a part of help
Romain Bignon [Sun, 29 Mar 2009 21:28:25 +0000 (23:28 +0200)]
fix bug which showed only a part of help

Index was incremented twice each iteration.

15 years agooptions.c: Fixed compilation with --enable-mini --enable-debug
Patrick Hallen [Sun, 29 Mar 2009 16:24:19 +0000 (18:24 +0200)]
options.c: Fixed compilation with --enable-mini --enable-debug

With NCMPC_MINI we have no configuration file, so we can't dump the keys.

15 years agoscreen_help: Fixed an endless-loop-bug.
Patrick Hallen [Sat, 28 Mar 2009 19:39:54 +0000 (20:39 +0100)]
screen_help: Fixed an endless-loop-bug.

The cursor of the help screen was placed outside the list_window, so the
list_window_find() went into an endless loop, when wrap was enabled. Now the
cursor is placed on the first item of the list_window, so the find function
should work.

15 years agoman: Added "jump-prefix-only" to the configuration section.
Patrick Hallen [Sat, 28 Mar 2009 18:59:52 +0000 (19:59 +0100)]
man: Added "jump-prefix-only" to the configuration section.

Added a description about the new "jump-prefix" only option the the
configuration section of the manpage.

15 years agoconf: Added new "jump-prefix-only" option.
Patrick Hallen [Sat, 28 Mar 2009 18:03:51 +0000 (19:03 +0100)]
conf: Added new "jump-prefix-only" option.

Commit b36fbc3ed8b9ceed41 broke the usecase of jumping
directly to the first entry which begins with a certain letter.
This patch adds a new option, which enables the old behaviour,
which searches for the beginning of a string and not for the first
occurence.

15 years agoscreen_song: Replaced "DB last updated" with "Most recent db update"
Patrick Hallen [Sat, 28 Mar 2009 18:03:29 +0000 (19:03 +0100)]
screen_song: Replaced "DB last updated" with "Most recent db update"

15 years agoscreen_utils: Fixed backspace with widecharacters in screen_jump().
Patrick Hallen [Sat, 28 Mar 2009 18:01:31 +0000 (19:01 +0100)]
screen_utils: Fixed backspace with widecharacters in screen_jump().

Deleting widecharacters with backspace would leave bytes in the buffer
before. Now every byte of a deleted widecharacter is replaced with '\0'.

15 years agoutils: Use singular in time_seconds_to_durationstr() if appropriate.
Patrick Hallen [Wed, 18 Mar 2009 16:48:20 +0000 (17:48 +0100)]
utils: Use singular in time_seconds_to_durationstr() if appropriate.

15 years agoscreen_song: check c->status!=NULL
Max Kellermann [Fri, 27 Mar 2009 18:21:15 +0000 (19:21 +0100)]
screen_song: check c->status!=NULL

When the connection to the MPD server is closed, c->status may become
NULL.  All of the ncmpc code has to check that, including the song
screen.

15 years agosupport the new 'single' state feature
Romain Bignon [Fri, 27 Mar 2009 14:54:31 +0000 (15:54 +0100)]
support the new 'single' state feature

15 years agosupport the ^W shortcut in wreadline input
Romain Bignon [Fri, 27 Mar 2009 09:09:29 +0000 (10:09 +0100)]
support the ^W shortcut in wreadline input

15 years agoconf: Allow descriptive search modes
Jeffrey Middleton [Wed, 25 Mar 2009 17:33:38 +0000 (12:33 -0500)]
conf: Allow descriptive search modes

Previously only integers were accepted, to be interpreted as indices in
screen_search's list of search types.  Now the corresponding mode names
(title, artist, album, filename, artist+title) are accepted.

15 years agoman: configuration section updated
Jeffrey Middleton [Wed, 25 Mar 2009 15:48:48 +0000 (10:48 -0500)]
man: configuration section updated

Add undocumented options to the configuration section, and organize it
into subsections - it's getting long!

15 years agoconf: screen-list fix, removed unused option
Jeffrey Middleton [Wed, 25 Mar 2009 15:46:32 +0000 (10:46 -0500)]
conf: screen-list fix, removed unused option

screen-list produced errors due to empty fields between multiple
consecutive delimiters.  Check to make sure the field is nonempty before
attempting to parse it.

enable-bell is not used at all (it has been replaced by audible- and
visible-bell).

15 years agoNEWS: list commands added since release 0.13
Jeffrey Middleton [Wed, 25 Mar 2009 14:35:41 +0000 (09:35 -0500)]
NEWS: list commands added since release 0.13

Select range, HML cursor movement, scrolling commands, screen swap.

15 years agocommand: Changed key for screen swap to `
Jeffrey Middleton [Wed, 25 Mar 2009 14:34:30 +0000 (09:34 -0500)]
command: Changed key for screen swap to `

No need to push shift for a tilde when the backtick isn't taken.

15 years agoupdated translation
Romain Bignon [Thu, 26 Mar 2009 23:45:28 +0000 (00:45 +0100)]
updated translation

15 years agorenamed visual selection to range selection
Romain Bignon [Thu, 26 Mar 2009 23:15:16 +0000 (00:15 +0100)]
renamed visual selection to range selection

15 years agoscreen: check if song and lyrics screens are enabled
Max Kellermann [Wed, 25 Mar 2009 06:49:59 +0000 (07:49 +0100)]
screen: check if song and lyrics screens are enabled

The patch "screen swap works with song/lyrics screens" broke the
build, because it didn't check whether the song screen and the lyrics
screen were enabled.

15 years agoscreen_browser: select/add for visual selection
Jeffrey Middleton [Wed, 25 Mar 2009 04:15:26 +0000 (23:15 -0500)]
screen_browser: select/add for visual selection

The select (toggle in playlist) and add (append to playlist) commands now work
for visual selections in browser screens. The status output should eventually
be reconsidered - a message is wastefully printed for each item before it is overwritten by one displaying a count of items added.

The "enter" (CMD_PLAY) command has been disabled for multiple selection for
now; this is better than acting just on the item at the end of the selection
range.  Eventually it should do something fancy like appending all selected
items (directory, song, or playlist) then playing the first song of the first
item.

15 years agoscreen swap works with song/lyrics screens
Jeffrey Middleton [Mon, 23 Mar 2009 15:48:05 +0000 (10:48 -0500)]
screen swap works with song/lyrics screens

The screen swap command now gets handled outside of screen.c when
appropriate, to allow passing the currently selected song to the
song/lyrics screens.

15 years agoscreen_help: keydef screen
Jeffrey Middleton [Mon, 23 Mar 2009 15:08:39 +0000 (10:08 -0500)]
screen_help: keydef screen

Added keydef commands to the help screen.  Also updated help text for
CMD_UPDATE_LYRICS (it fetches lyrics for the currently playing song).

15 years agoscreen_keydef: parent directory command
Jeffrey Middleton [Mon, 23 Mar 2009 14:59:10 +0000 (09:59 -0500)]
screen_keydef: parent directory command

Allow CMD_GO_PARENT_DIRECTORY on the keydef screen (for returning from
subcmd to command list).

15 years agolist_window: search in strings with the "jump" command
Matt Portas [Mon, 16 Mar 2009 16:13:33 +0000 (17:13 +0100)]
list_window: search in strings with the "jump" command

This patch extends the jump function.  Current jump only searches the
start of the lines, but with this patch it searches through the whole
line for a match.  Since this takes more cpu power, I have inlined it
back to the original behavior in MINI.

15 years agoscreen_utils: Fixed a minor bug with the jump command.
Patrick Hallen [Sun, 15 Mar 2009 23:34:56 +0000 (00:34 +0100)]
screen_utils: Fixed a minor bug with the jump command.

When pressing delete J was printed in the jump input. Now pressing delete,
removes the last character.

15 years agode.po: Update the german translation.
Patrick Hallen [Sat, 14 Mar 2009 14:52:29 +0000 (15:52 +0100)]
de.po: Update the german translation.

Added a german translation for the new strings which were
added to the song screen.

15 years agoscreen_song: Some clean-up and more comments.
Patrick Hallen [Sat, 14 Mar 2009 15:08:20 +0000 (16:08 +0100)]
screen_song: Some clean-up and more comments.

15 years agoscreen_song: Added some statistics about mpd to the song screen.
Patrick Hallen [Fri, 13 Mar 2009 20:40:37 +0000 (21:40 +0100)]
screen_song: Added some statistics about mpd to the song screen.

15 years agoMake it possible to switch to the song viewer from anywhere.
Patrick Hallen [Fri, 13 Mar 2009 17:11:20 +0000 (18:11 +0100)]
Make it possible to switch to the song viewer from anywhere.

15 years agoscreen_song: Refactor screen_song, so it can be opened by screen_switch().
Patrick Hallen [Fri, 13 Mar 2009 17:11:17 +0000 (18:11 +0100)]
screen_song: Refactor screen_song, so it can be opened by screen_switch().

screen_song should be more like the other screens as lyrics screens, so we
can switch to the song screen from everywhere in ncmpc.

15 years agoAdded status-message-time option
Jeffrey Middleton [Thu, 12 Mar 2009 14:43:14 +0000 (09:43 -0500)]
Added status-message-time option

Controls the length of time a status message displays; the previous
setting of 3 seconds from options.c is the default value.

15 years agoDisabled visual selection in keydef screen
Jeffrey Middleton [Thu, 12 Mar 2009 14:41:56 +0000 (09:41 -0500)]
Disabled visual selection in keydef screen

If we someday have a command like "reset to default" we may want this
back, but for now, no commands have multiple-selection meanings on the
keydef screen.

15 years agoSave lyrics uses CMD_SAVE_PLAYLIST
Jeffrey Middleton [Tue, 10 Mar 2009 15:53:41 +0000 (10:53 -0500)]
Save lyrics uses CMD_SAVE_PLAYLIST

Much more intuitive than using CMD_ADD.

15 years agoCenter the cursor on a second Ctrl-L
Jeffrey Middleton [Tue, 10 Mar 2009 13:49:46 +0000 (08:49 -0500)]
Center the cursor on a second Ctrl-L

To aid in getting to info/lyrics screen, or in selecting ranges
involving the currently playing song.  Ctrl-L followed by M will achieve
the same result as long as the playlist is at least as long as the
screen, but this is faster to type and will work for short playlists
too.

An alternative method would be to center the cursor whenever Ctrl-L will
not cause the screen to move; this could be implemented as an option
perhaps, but would be annoying if you just wanted to repaint the screen.

15 years agoFixed lyricwiki plugin
Jeffrey Middleton [Tue, 10 Mar 2009 13:49:46 +0000 (08:49 -0500)]
Fixed lyricwiki plugin

LyricWiki returns a page with "Not found" in place of the song lyrics if
the song is not found; check for this.

15 years agoRenamed lyrics plugins
Jeffrey Middleton [Tue, 10 Mar 2009 13:49:45 +0000 (08:49 -0500)]
Renamed lyrics plugins

Lyrics plugins are tried in alphabetic order by filename.  Numeric
prefixes make this clearer, and make it easier to keep hd.sh first.
I've moved LyricWiki ahead of Leo's Lyrics, mostly because it's easier
for a user to fix incorrect lyrics on a wiki, but also because Leo's
Lyrics appears to return partial matches if no full match is found (e.g.
a song with the same name and completely different artist)

15 years agoSort plugins by filename
Jeffrey Middleton [Mon, 9 Mar 2009 19:32:07 +0000 (14:32 -0500)]
Sort plugins by filename

Although previously the plugins appeared to be sorted by filename, that
was only because they were installed in order by filename.  Now the
plugins are manually sorted by filename, providing for user modification
(new plugins, reordering of plugins).

15 years agoAUTHORS: added Jeffrey Middleton
Max Kellermann [Sat, 7 Mar 2009 15:43:48 +0000 (16:43 +0100)]
AUTHORS: added Jeffrey Middleton

15 years agompdclient: Fixes sorting of the filelist.
Patrick Hallen [Sat, 7 Mar 2009 15:23:56 +0000 (16:23 +0100)]
mpdclient: Fixes sorting of the filelist.

Sort the filelist with the correct linguastically rule for the current
locale, with directories first, after that songs and playlist files last.
This fixes bug 2092.

15 years agoSpelling corrections
Jeffrey Middleton [Thu, 5 Mar 2009 20:36:12 +0000 (14:36 -0600)]
Spelling corrections

All in comments except the one in a displayed message that got me
started!

15 years agoscreen_keydef: Fixed selections on key bindings screen
Jeffrey Middleton [Fri, 6 Mar 2009 01:02:07 +0000 (19:02 -0600)]
screen_keydef: Fixed selections on key bindings screen

Key bindings screen uses struct list_window, so the addition of visual
mode requires setting selection_start and selection_end to match
selection, even though visual mode serves no purpose there currently.

15 years agoscreen_play: Changed selection movement on center-playing-song
Jeffrey Middleton [Fri, 6 Mar 2009 00:06:05 +0000 (18:06 -0600)]
screen_play: Changed selection movement on center-playing-song

Previously, the cursor remained in the same screen position (and had
some odd behavior in visual mode). Now it attempts to stay on the same
song like other large movement commands, leaving visual mode intact, so
you can do fun things like using center-playing-song to help select a
range of songs up to the current song.

15 years agoscreen: Added screen swap command
Jeffrey Middleton [Thu, 5 Mar 2009 23:06:42 +0000 (17:06 -0600)]
screen: Added screen swap command

Screen swap command toggles to the previous (most recently used) screen.
Particularly useful to return from lyrics/info screen.

15 years agolist_window: Extended scrolling commands to text screens
Jeffrey Middleton [Thu, 5 Mar 2009 22:50:41 +0000 (16:50 -0600)]
list_window: Extended scrolling commands to text screens

Added scroll up/down one-line/half-screen to list_window_scroll_cmd,
which is used in text screens.

15 years agoscreen_help: Added lyrics and outputs screen to help
Jeffrey Middleton [Thu, 5 Mar 2009 22:43:13 +0000 (16:43 -0600)]
screen_help: Added lyrics and outputs screen to help

New screens were missing from help!

15 years agoscreen_play: Disable auto-center while in visual selection mode
Jeffrey Middleton [Thu, 5 Mar 2009 22:43:13 +0000 (16:43 -0600)]
screen_play: Disable auto-center while in visual selection mode

Visual selection mode is a good sign the user is looking at whatever's
on the screen.  Especially if MPD is in random mode, suddenly jumping
somewhere else is a bad plan.

15 years agolist_window: Added scroll up/down half-screen commands
Jeffrey Middleton [Thu, 5 Mar 2009 22:43:04 +0000 (16:43 -0600)]
list_window: Added scroll up/down half-screen commands

Added commands to scroll up/down half a screen, using the generic functions from the last commit.  Mapped by default to B and N, to go along nicely with Ctrl-B and Ctrl-N for single-line scrolling.

15 years agolist_window: Added scroll up/down commands
Jeffrey Middleton [Thu, 5 Mar 2009 22:43:02 +0000 (16:43 -0600)]
list_window: Added scroll up/down commands

Commands scroll a list window up/down by one line, mapped by default to
Ctrl-N and Ctrl-B (mnemonics next and back).  The scrolling functions can
scroll by an arbitrary amount, so we can use them later for half-screen scroll
commands like Vim's Ctrl-D/U.

15 years agolist_window: Tweaked visual mode behavior
Jeffrey Middleton [Tue, 3 Mar 2009 22:15:19 +0000 (23:15 +0100)]
list_window: Tweaked visual mode behavior

Tweaked visual mode behavior so that the start of a visual selection is
always one end of it when making large movements (page up/down, H/M/L,
home/end).  To clarify, suppose you start at the middle of the screen,
in visual mode, then:

 (1) get to the bottom with j
 (2) go to the top with page up
 (3) go back to one above middle with j
 (4) j once more

Previously, the resulting selection would be (1) middle to bottom, (2)
top to bottom, (3) one above middle to bottom, and (4) middle only.
With the change, we will get the intuitive (1) middle to bottom, (2) top
to middle, (3) one above middle to middle, and (4) middle only.

15 years agolist_window: added top, middle, and bottom commands
Jeffrey Middleton [Tue, 3 Mar 2009 22:14:38 +0000 (23:14 +0100)]
list_window: added top, middle, and bottom commands

Commands to move cursor to top, middle, and bottom of screen, mapped
by default to H, M, and L like in Vim.

15 years agofixed crash while saving a playlist
Romain Bignon [Tue, 3 Mar 2009 21:09:56 +0000 (22:09 +0100)]
fixed crash while saving a playlist

It happens when there isn't any playlist in browser

15 years agopo: updated Spanish translation
Feder Sáiz [Tue, 3 Mar 2009 07:50:30 +0000 (08:50 +0100)]
po: updated Spanish translation

15 years agolist_window: page up goes too far
Jeffrey Middleton [Fri, 27 Feb 2009 08:11:24 +0000 (09:11 +0100)]
list_window: page up goes too far

There's a sign error in the page up (previous screen) - instead of
going up by one less than the number of rows, it goes up by one
more. Patch attached, though it's just a single character change. I'm
kind of weirded out that I never noticed this before, since it seems
to have been like this forever!

15 years agopo: updated Korean translation
Atie [Tue, 24 Feb 2009 13:22:54 +0000 (14:22 +0100)]
po: updated Korean translation

15 years agopo: added Simplified Chinese translation
Gao Jie [Tue, 17 Feb 2009 20:27:23 +0000 (21:27 +0100)]
po: added Simplified Chinese translation

15 years agopo: updated ncmpc.pot
Max Kellermann [Tue, 17 Feb 2009 13:55:34 +0000 (14:55 +0100)]
po: updated ncmpc.pot

15 years agorange requires unsigned integers.
Romain Bignon [Sun, 15 Feb 2009 22:42:34 +0000 (23:42 +0100)]
range requires unsigned integers.

15 years agoscreen_play: move selection when moving a single song in playlist
jefromi [Thu, 12 Feb 2009 14:34:00 +0000 (15:34 +0100)]
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).

15 years agouse the new mpd shufflerange command.
Romain Bignon [Fri, 13 Feb 2009 09:56:35 +0000 (10:56 +0100)]
use the new mpd shufflerange command.

15 years agopo: Removed a few colons because of 6f1f7f9ecc4.
Patrick Hallen [Thu, 12 Feb 2009 18:17:18 +0000 (19:17 +0100)]
po: Removed a few colons because of 6f1f7f9ecc4.

15 years agoRemoved colons to simplify translation.
Patrick Hallen [Thu, 12 Feb 2009 17:44:31 +0000 (18:44 +0100)]
Removed colons to simplify translation.

In wreadln() is a hard-coded colon, so there must not be colons at the end
of the prompts.

15 years agopo: Updated the german translation.
Patrick Hallen [Thu, 12 Feb 2009 15:01:03 +0000 (16:01 +0100)]
po: Updated the german translation.

Added a german translation for the new visual selection and jump
command.

15 years agopo: Removed the colon from the find prompt.
Patrick Hallen [Thu, 12 Feb 2009 14:57:11 +0000 (15:57 +0100)]
po: Removed the colon from the find prompt.

This change was made because of 146580f18.

15 years agoAUTHORS: added Romain Bignon, Patrick Hallen
Max Kellermann [Wed, 11 Feb 2009 22:53:12 +0000 (23:53 +0100)]
AUTHORS: added Romain Bignon, Patrick Hallen

Also added translators Jon Bergli Heier, Jay Whang, Atie.

15 years agolist_window: Added message when selection is enabled/disabled.
Patrick Hallen [Wed, 11 Feb 2009 19:52:53 +0000 (20:52 +0100)]
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.

15 years agoscreen_artist: Added the jump command to the artist screen.
Patrick Hallen [Wed, 11 Feb 2009 19:30:27 +0000 (20:30 +0100)]
screen_artist: Added the jump command to the artist screen.

15 years agoscreen_play: Added the jump command to the playlist screen.
Patrick Hallen [Wed, 11 Feb 2009 19:30:27 +0000 (20:30 +0100)]
screen_play: Added the jump command to the playlist screen.

15 years agoscreen_browser: Added the jump command to the browser screen.
Patrick Hallen [Wed, 11 Feb 2009 19:30:27 +0000 (20:30 +0100)]
screen_browser: Added the jump command to the browser screen.

15 years agocommand: Added the new jump command.
Patrick Hallen [Wed, 11 Feb 2009 19:30:22 +0000 (20:30 +0100)]
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.

15 years agoscreen_utils: Added new function which jumps to an entry.
Patrick Hallen [Wed, 11 Feb 2009 19:09:33 +0000 (20:09 +0100)]
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.

15 years agoscreen_utils: Use werase() instead of wclear().
Patrick Hallen [Wed, 11 Feb 2009 19:07:07 +0000 (20:07 +0100)]
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.

15 years agoscreen_utils: Moved the colons of the prompts to wreadln.
Patrick Hallen [Wed, 11 Feb 2009 19:07:07 +0000 (20:07 +0100)]
screen_utils: Moved the colons of the prompts to wreadln.

Moved the colons of the find prompts to wreadln to simplify translation.

15 years agolist_window: Added new function, which finds the beginning of a string
Patrick Hallen [Wed, 11 Feb 2009 19:07:03 +0000 (20:07 +0100)]
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.

15 years agoscreen_song: Added more readable table layout.
Patrick Hallen [Wed, 11 Feb 2009 16:21:41 +0000 (17:21 +0100)]
screen_song: Added more readable table layout.

Added a table layout with linebreaks to the song screen to make it nicer to
read.

15 years agocan shuffle selected list
Romain Bignon [Tue, 10 Feb 2009 13:09:32 +0000 (14:09 +0100)]
can shuffle selected list

15 years agosupport multiple lines selection
Romain Bignon [Tue, 10 Feb 2009 14:18:28 +0000 (15:18 +0100)]
support multiple lines selection

15 years agodocumentation for the new "bell-on-wrap" option
Max Kellermann [Mon, 9 Feb 2009 16:02:35 +0000 (17:02 +0100)]
documentation for the new "bell-on-wrap" option

15 years agolist_window: bell when searches wrap
jefromi [Wed, 4 Feb 2009 15:30:00 +0000 (16:30 +0100)]
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.)

15 years agoinclude "config.h" without "../"
Max Kellermann [Mon, 9 Feb 2009 15:52:15 +0000 (16:52 +0100)]
include "config.h" without "../"

Including "../config.h" breaks on some systems.

15 years agopo: updated Korean translation
Atie [Mon, 2 Feb 2009 08:57:37 +0000 (09:57 +0100)]
po: updated Korean translation

15 years agopo: added Korean translation
Jay Whang [Tue, 27 Jan 2009 06:47:59 +0000 (07:47 +0100)]
po: added Korean translation

15 years agopo: updated Norwegian translation
Jon Bergli Heier [Tue, 13 Jan 2009 13:05:40 +0000 (14:05 +0100)]
po: updated Norwegian translation

15 years agopo: renamed no.po to nb.po
Max Kellermann [Tue, 13 Jan 2009 12:40:50 +0000 (13:40 +0100)]
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.

15 years agoModify version string to post-release version 0.14~git
Avuton Olrich [Fri, 9 Jan 2009 13:06:59 +0000 (05:06 -0800)]
Modify version string to post-release version 0.14~git

15 years agoncmpc version 0.13 release-0.13 v0.13
Avuton Olrich [Fri, 9 Jan 2009 13:06:59 +0000 (05:06 -0800)]
ncmpc version 0.13

15 years agolibmpdclient: fix shadow warnings
Max Kellermann [Wed, 7 Jan 2009 22:35:16 +0000 (23:35 +0100)]
libmpdclient: fix shadow warnings

Renamed "time" variables.

15 years agoscreen_browser: removed "OLD_ADD" code
Max Kellermann [Tue, 6 Jan 2009 17:21:30 +0000 (18:21 +0100)]
screen_browser: removed "OLD_ADD" code

The code was disabled via CPP.

15 years agoremoved newline from translatable strings
Max Kellermann [Tue, 6 Jan 2009 17:19:29 +0000 (18:19 +0100)]
removed newline from translatable strings

Don't make translators deal with newlines.

15 years agocommand: check_key_bindings() returns message without comment
Max Kellermann [Tue, 6 Jan 2009 16:57:46 +0000 (17:57 +0100)]
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.

15 years agopo: updated French translation
Yann Cézard [Mon, 5 Jan 2009 21:30:15 +0000 (22:30 +0100)]
po: updated French translation