| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The code was unused, because free_filename was always 0.
|
| |
|
|
|
|
|
| |
Removed the "Error: " prefix and the newline. Separated the format
string.
|
|
|
|
|
| |
This allows you to disable wide character support, retaining multibyte
character support.
|
|
|
|
| |
Print translator credits after the --version message.
|
|
|
|
|
| |
Initialize the NLS subsystem even when locale support is disabled.
This may be a very exotic configuration, but it is valid.
|
|
|
|
|
| |
Make locale.h mandatory. --disable-locale disables the locale.h
check.
|
|
|
|
|
| |
Just for the _() and N_() macros, we don't need to include locale.h -
define them in i18n.h.
|
| |
|
|
|
|
|
| |
Use the new screen_text library to display multi-line text from the
plugin.
|
|
|
|
| |
Took a lot of code from screen_lyrics.
|
|
|
|
| |
Seems we don't need _GNU_SOURCE anymore.
|
|
|
|
|
| |
Eliminated the lyrics_loader struct. Instead of lyrics_free(),
callers should use plugin_stop().
|
| |
|
|
|
|
| |
The plugin library is based on code from lyrics.c.
|
| |
|
|
|
|
| |
Free memory held by the plugin list at the end, make valgrind happier.
|
|
|
|
| |
g_new() aborts the program when the kernel runs out of memory.
|
|
|
|
| |
Remove another superfluous feature from the ncmpc-mini mode.
|
|
|
|
|
| |
Drop support for the expensive case insensitive search in ncmpc-mini
mode.
|
|
|
|
| |
This source is not required with --enable-mini.
|
|
|
|
|
| |
There is only strscroll() left in support.c. Give the source a better
name.
|
|
|
|
|
| |
The code which used to call strcasestr() has been converted to
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().
|
|
|
|
|
|
| |
Provide the new function match_line() which searches a string for a
needle (ignoring case). This wraps the non-standard function
strcasestr().
|
|
|
|
|
| |
Don't use markup in the translated string; use print_hotkey() as a
simple wrapper.
|
|
|
|
|
| |
If the system library provides strcasestr(), don't do an extra
declaration in support.h.
|
| |
|
| |
|
|
|
|
|
| |
The "outputs" screen allows the user to enable or disable MPD's audio
output devices.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The global variable "current" should not be exported, and should be
"static".
|
|
|
|
|
| |
The "too" had only one 'o'. Remove the newline character at the end
to simplify translation.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
When the help screen was disabled at compile time, it was showed in
the screen list anyway.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
For flags and return values, use the "bool" data type instead of
"int".
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Disable the highlighting code which has slipped out of the NCMPC_MINI
checks.
|
|
|
|
|
| |
The scrolling code broke in the ncmpc-mini build. Disable it when
--enable-mini was specified.
|
|
|
|
| |
Remove exclamation marks and other markup from the strings.
|
|
|
|
|
| |
Removed the colon and the spaces from the translatable screen names.
This aims to simplify the translator's job.
|
|
|
|
|
| |
Due to a side effect of the old "if" condition, the cursor was never
reset to the origin when the list was cleared.
|
|
|
|
|
| |
When the view is changed and a new song is about to be displayed,
reset the list's state and scroll back to the origin.
|
|
|
|
| |
gcc.h has been replaced with GLib's G_GNUC_ macros.
|
| |
|
| |
|