aboutsummaryrefslogtreecommitdiffstats
path: root/src/charset.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-07disable more features with --enable-miniMax Kellermann1-1/+1
Disable lots of smaller features which don't have a separate configure option: - xterm title - screen list - horizontal scrolling - MPD version number check - key binding checks - character set conversion - bitrate display - highlighting in the file browser - completion / history
2008-10-02fix compiler errors without locale.hMax Kellermann1-0/+4
The code did not compile when HAVE_LOCALE_H was not set. Also don't compile all that code in charset.c, when there is no locale.h.
2008-10-02charset: charset_init() returns character setMax Kellermann1-1/+2
Don't pass "noconvert" to charset_init(). Let charset_init() determine that with g_get_charset() and return its name.
2008-10-02charset: renamed my_strlen() to utf8_width()Max Kellermann1-1/+2
my_strlen() is a bad name for the function, since the return value is not a length, but a visible width on the screen. Rename it to utf8_width() and change its return type to "unsigned".
2008-10-02moved code to charset.cMax Kellermann1-10/+15
Move everything which deals with UTF-8 strings and character set conversion to charset.c, header charset.h.
2008-09-22screen: moved code to ncu.cMax Kellermann1-6/+9
Moved basic libncurses initialization to ncu.c and ncu.h. Keep generic code out of screen.c.
2008-09-15manage tag string allocations in a poolMax Kellermann1-0/+28
There are many duplicated strings in the tag database, e.g. many songs having the same artist. Don't allocate such strings twice, manage all strings in a pool.