aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-10-04Do not include libgen.h, it is unneeded after commit 44ecb.Emanuele Giaquinta1-4/+0
2008-10-03code style, indent with tabs XIMax Kellermann1-1/+1
Follow the same code style als MPD itself.
2008-10-03support: removed unused function remove_trailing_slash()Max Kellermann1-1/+0
2008-10-03use g_basename() instead of basename()Max Kellermann1-4/+0
g_basename() is always available, no need to implement a fallback. Also use g_path_get_dirname(), g_path_get_basename().
2008-10-03use g_ascii_isspace() instead of IS_WHITESPACE()Max Kellermann1-2/+0
Don't duplicate code which is already provided by glib.
2008-10-03use g_ascii_strdown() instead of the custom lowerstr()Max Kellermann1-2/+1
Don't duplicate code which is already provided by glib.
2008-10-02moved code to charset.cMax Kellermann1-13/+0
Move everything which deals with UTF-8 strings and character set conversion to charset.c, header charset.h.
2008-09-18added support for wide charactersMax Kellermann1-1/+4
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-15use size_t and unsigned integersMax Kellermann1-1/+1
2008-09-15include cleanupMax Kellermann1-0/+2
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-3/+3
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2008-09-15code style, indent with tabsMax Kellermann1-5/+3
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.
2005-06-11support wide-char ncurses library (ncursesw)Kalle Wallin1-0/+6
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-03Replaced the time_t type with glibs GTimeKalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1785 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-01Removed the trim() function, using glib's g_strstrip() insteadKalle Wallin1-1/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1751 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09Added the strscroll functionKalle Wallin1-0/+9
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-2/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1350 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-03-31Added strcasestr prototype.Kalle Wallin1-6/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@574 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-29Removed the concat_path() function.Kalle Wallin1-2/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@540 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-28Started to use glib (not iconv) for character set conversions.Kalle Wallin1-6/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@524 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-27Moved IS_WHITESPACE macor to support.hKalle Wallin1-0/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@516 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-26Added file langinfo.c, used on systems without nl_langinfo() support.Kalle Wallin1-0/+6
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@503 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-25Added support for a configuration file ~/.ncmpcrc and color support.Kalle Wallin1-0/+1
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-1/+10
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@378 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-19Added iconv supportKalle Wallin1-1/+6
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@308 09075e82-0dd4-0310-85a5-a0d7c8717e4f