aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* added support for wide charactersMax Kellermann2008-09-181-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.
* use size_t and unsigned integersMax Kellermann2008-09-151-1/+1
|
* include cleanupMax Kellermann2008-09-151-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.
* 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-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.
* support wide-char ncurses library (ncursesw)Kalle Wallin2005-06-111-0/+6
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Replaced the time_t type with glibs GTimeKalle Wallin2004-07-031-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1785 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Removed the trim() function, using glib's g_strstrip() insteadKalle Wallin2004-07-011-1/+0
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1751 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added the strscroll functionKalle Wallin2004-06-091-0/+9
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1424 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Moved charset initialization code to main.c, added bind_textdomain_codeset()Kalle Wallin2004-06-061-2/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1350 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Changed directory layout (for future use of gettext)Kalle Wallin2004-06-051-0/+24
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f