aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-18added support for wide charactersMax Kellermann1-3/+13
This patch was taken from bug 476, author unknown (http://www.musicpd.org/mantis/view.php?id=476). It changes the definition of my_strlen(): instead of returning the number of UTF-8 characters, it counts the number of terminal cells occupied by a string.
2008-09-18code style, indent with tabs VMax Kellermann1-87/+81
Follow the same code style als MPD itself.
2008-09-15use size_t and unsigned integersMax Kellermann1-1/+1
2008-09-15include cleanupMax Kellermann1-5/+3
A header should include all headers which he needs. Move local includes on top, and let foo.c include foo.h in the first line, to automatically test its dependencies.
2008-09-15const pointersMax Kellermann1-4/+4
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2008-09-15code style, indent with tabsMax Kellermann1-44/+38
Follow the same code style als MPD itself. This patch only fixes parts of the code which are going to be touched in the following bunch of patches, i.e. there will be more "code style" patches in the future.
2006-03-28unicode fixes from Dmitry Baryshkov/René van BevernKalle Wallin1-6/+17
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3960 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-11support wide-char ncurses library (ncursesw)Kalle Wallin1-1/+9
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Use glib's str functions (g_strlcat, g_strlcpy, g_snprintf, g_strdup_vprintf)Kalle Wallin1-10/+12
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1868 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-01Removed the trim() function, using glib's g_strstrip() insteadKalle Wallin1-20/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1751 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin1-3/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09Added the strscroll functionKalle Wallin1-0/+38
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1424 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06Moved charset initialization code to main.c, added bind_textdomain_codeset()Kalle Wallin1-33/+8
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1350 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Added initial i18n supportKalle Wallin1-8/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Changed directory layout (for future use of gettext)Kalle Wallin1-0/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-19Added copyright notice and license noticeKalle Wallin1-0/+18
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@833 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14Use screen_status_printf() to display character conversion errors. Only use Kalle Wallin1-2/+13
stderr if DEBUG is enabled. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@758 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-29Replaced g_utf8_strlen() with strlen()Kalle Wallin1-3/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@545 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-29Added error handling in the character conversion functions.Kalle Wallin1-6/+36
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@544 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-29Removed the concat_path() function.Kalle Wallin1-33/+14
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@540 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-28Corrected a spelling error strup => strdup.Kalle Wallin1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@525 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-28Started to use glib (not iconv) for character set conversions.Kalle Wallin1-109/+17
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@524 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-27Initialize iconv_to_utf8 (used when saving playlists).Kalle Wallin1-7/+50
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@515 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-26Added file langinfo.c, used on systems without nl_langinfo() support.Kalle Wallin1-4/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@503 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-26Updated the logic in charset_close(), why free stuff that isnt allocated.Kalle Wallin1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@496 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-25Added support for a configuration file ~/.ncmpcrc and color support.Kalle Wallin1-0/+28
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@473 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-22Added an implementation of strcasecmp for non glibc systems.Kalle Wallin1-3/+28
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@378 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-22Updated charset supportKalle Wallin1-16/+27
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@364 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-19Added iconv supportKalle Wallin1-14/+110
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@308 09075e82-0dd4-0310-85a5-a0d7c8717e4f