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