aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* added comments for translatorsMax Kellermann2008-12-255-3/+32
| | | | Give translators hints about the meaning of some difficult messages.
* command: renamed "Update screen" to "Refresh screen"Max Kellermann2008-12-251-1/+1
|
* simplified translation stringsMax Kellermann2008-12-253-11/+13
| | | | Removed colon and "Error: " / "Keys - " prefix.
* screen_help: removed "bold" marker from "MOVE_UP" lineMax Kellermann2008-12-251-1/+1
|
* conf: improved error messagesMax Kellermann2008-12-251-10/+8
|
* Makefile.am: removed AUTHORS, README, NEWS from $(EXTRA_DIST)Max Kellermann2008-12-251-4/+1
| | | | These files are automatically distributed.
* conf: simplified parse_key_value()Max Kellermann2008-12-251-68/+14
| | | | | | 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()Max Kellermann2008-12-251-10/+7
| | | | We have a null-terminated string, no need to pass the length around.
* conf: optimized parse_color() with strchr()Max Kellermann2008-12-251-56/+62
| | | | The same for parse_color_definition(). Use strtol() directly there.
* conf: use GLib's string stripping functionsMax Kellermann2008-12-251-23/+3
|
* conf: use buffered I/O for reading the config fileMax Kellermann2008-12-251-16/+7
| | | | | Don't read byte by byte until a newline is found. Use fgets() instead.
* conf: don't free filename in read_rc_file()Max Kellermann2008-12-251-6/+0
| | | | The code was unused, because free_filename was always 0.
* conf: moved code to parse_line()Max Kellermann2008-12-251-134/+141
|
* conf: simplified translation stringsMax Kellermann2008-12-251-21/+23
| | | | | Removed the "Error: " prefix and the newline. Separated the format string.
* po: fixed C format string mismatch in Swedish translationMax Kellermann2008-12-251-2/+2
|
* configure.ac: fix glib error messageMax Kellermann2008-12-251-1/+1
| | | | The message was still referring to GLib 2.2.
* configure.ac: added --disable-multibyteMax Kellermann2008-12-255-8/+33
| | | | | This allows you to disable wide character support, retaining multibyte character support.
* configure.ac: disable NLS in mini modeMax Kellermann2008-12-251-6/+8
|
* show translator creditsMax Kellermann2008-12-252-0/+8
| | | | Print translator credits after the --version message.
* initialize NLS without locale supportMax Kellermann2008-12-251-1/+4
| | | | | 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 optionMax Kellermann2008-12-256-15/+35
| | | | | Make locale.h mandatory. --disable-locale disables the locale.h check.
* i18n: don't use locale.hMax Kellermann2008-12-252-5/+14
| | | | | Just for the _() and N_() macros, we don't need to include locale.h - define them in i18n.h.
* autogen.sh: run glib-gettextizeMax Kellermann2008-12-254-353/+6
| | | | | Removed po/Makefile.in.in and mkinstalldirs from git, they are created by glib-gettextize.
* po: added conf.c to POTFILES.inMax Kellermann2008-12-251-0/+1
|
* configure.ac: added --enable-werror, rewrote --enable-debugMax Kellermann2008-12-251-11/+18
| | | | "--enable-werror" adds "-Werror" to CFLAGS.
* configure.ac: moved CFLAGS settings to the bottomMax Kellermann2008-12-251-28/+42
|
* configure.ac: removed duplicate NLS optionMax Kellermann2008-12-251-11/+0
| | | | | 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.4Max Kellermann2008-12-251-17/+3
| | | | | 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 documentationMax Kellermann2008-12-241-1/+1
|
* Rename variable sun as it is predefined (to 1) on solarisQball Cow2008-12-171-6/+6
|
* po: converted Swedish translation to UTF-8Björn Pettersson2008-12-161-110/+109
|
* AUTHORS: added Björn Pettersson (translator)Max Kellermann2008-12-161-1/+1
|
* po: updated Swedish translationBjörn Pettersson2008-12-161-222/+185
|
* po: updated Danish translationMikkel Kirkgaard Nielsen2008-12-161-124/+115
|
* configure.ac: display the correct default valuesMax Kellermann2008-12-151-2/+2
| | | | The artist and the outputs screen are both enabled by default.
* screen_lyrics: use screen_textMax Kellermann2008-12-121-113/+15
| | | | | Use the new screen_text library to display multi-line text from the plugin.
* screen_text: new library for displaying large textsMax Kellermann2008-12-124-0/+217
| | | | Took a lot of code from screen_lyrics.
* screen_lyrics: disabled _GNU_SOURCEMax Kellermann2008-12-121-1/+0
| | | | Seems we don't need _GNU_SOURCE anymore.
* lyrics: return plugin_cycle structMax Kellermann2008-12-123-26/+6
| | | | | Eliminated the lyrics_loader struct. Instead of lyrics_free(), callers should use plugin_stop().
* lyrics: use the new plugin libraryMax Kellermann2008-12-122-244/+12
|
* plugin: new plugin libraryMax Kellermann2008-12-124-0/+433
| | | | The plugin library is based on code from lyrics.c.
* lyrics: free lyrics_loader struct in lyrics_free()Max Kellermann2008-12-121-0/+2
|
* main: deinitialize lyrics libraryMax Kellermann2008-12-121-0/+5
| | | | Free memory held by the plugin list at the end, make valgrind happier.
* lyrics: g_new() cannot fail, don't checkMax Kellermann2008-12-121-3/+0
| | | | g_new() aborts the program when the kernel runs out of memory.
* command: disable check_key_bindings() with --enable-miniMax Kellermann2008-12-104-2/+23
| | | | Remove another superfluous feature from the ncmpc-mini mode.
* po: clean up POTFILES.inMax Kellermann2008-12-101-4/+0
| | | | Removed sources which do not contain translatable strings.
* match: case sensitive search with --enable-miniMax Kellermann2008-12-102-1/+17
| | | | | Drop support for the expensive case insensitive search in ncmpc-mini mode.
* hscroll: don't compile source in ncmpc-mini modeMax Kellermann2008-12-105-15/+11
| | | | This source is not required with --enable-mini.
* support: renamed source to hscroll.cMax Kellermann2008-12-106-8/+7
| | | | | There is only strscroll() left in support.c. Give the source a better name.
* support: removed fallback strcasestr() implementationMax Kellermann2008-12-103-29/+0
| | | | | The code which used to call strcasestr() has been converted to match_line().