aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-10-02moved code to charset.cMax Kellermann1-1/+1
Move everything which deals with UTF-8 strings and character set conversion to charset.c, header charset.h.
2008-10-02removed the debugging function D()Max Kellermann1-3/+0
gdb is for debugging. We don't need D() calls littered all over.
2008-09-19filelist: use GPtrArray instead of GListMax Kellermann1-6/+4
Since we do a lot of indexed accesses to the filelist, a linked list doesn't seem appropriate. Use GPtrArray instead.
2008-09-19filelist: drop "mpdclient" prefixMax Kellermann1-1/+1
The separate filelist library does not depend on mpdclient, so the prefix is superfluous.
2008-09-18code style, indent with tabs VIMax Kellermann1-53/+51
Follow the same code style als MPD itself.
2008-09-15include cleanupMax Kellermann1-9/+4
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-19/+16
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-08-12spelling fixes by avutonAndreas Obergrusberger1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4615 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Use glib's str functions (g_strlcat, g_strlcpy, g_snprintf, g_strdup_vprintf)Kalle Wallin1-3/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1868 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19added type argument to gcmp_list_from_path()Kalle Wallin1-3/+12
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1567 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-18Added utils.c, utils.h to the projectKalle Wallin1-0/+121
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1555 09075e82-0dd4-0310-85a5-a0d7c8717e4f