aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpdclient.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-15free info entity while iteratingMax Kellermann1-0/+2
Memory leak: the function mpdclient_playlist_update_changes() did not free the entity which was returned by mpd_getNextInfoEntity(). Add a mpd_freeInfoEntity() call at the end of each iteration.
2008-09-15use size_t and unsigned integersMax Kellermann1-3/+3
2008-09-15fix shadow warningsMax Kellermann1-13/+13
Rename local variables and function parameters, so they don't shadow global variables.
2008-09-15include cleanupMax Kellermann1-8/+7
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-7/+7
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2008-09-15use !NDEBUG instead of DEBUGMax Kellermann1-2/+2
NDEBUG is more commonly used than DEBUG, e.g. in assert.h. Convert all macros to NDEBUG, and declare NDEBUG when debugging is disabled.
2008-09-15code style, indent with tabsMax Kellermann1-273/+272
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.
2008-09-15remove unused static functionsMax Kellermann1-11/+0
Also remove some commented code and unused function parameters.
2007-02-16way too much stuff to describe hereAndreas Obergrusberger1-0/+24
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-10-28filelist sorting improvedAndreas Obergrusberger1-0/+38
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4953 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-07due to bensonk's demand i added a splash screen.Andreas Obergrusberger1-2/+4
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4741 09075e82-0dd4-0310-85a5-a0d7c8717e4f
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
2006-08-05translation updates, template and german. another little build fixAndreas Obergrusberger1-1/+3
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4562 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-04patch by jat to fix http://musicpd.org/mantis/view.php?id=1293Andreas Obergrusberger1-5/+2
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4548 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-14Added exact_match parameter to mpdclient_filelist_search()Kalle Wallin1-4/+45
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3357 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-06Added an experimental artist (browser) screenKalle Wallin1-9/+56
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3322 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15Added a search screenKalle Wallin1-0/+34
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-02Fixed the plchanges codeKalle Wallin1-58/+25
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1766 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20Added _utf8 suffix to all functions that take utf8 arguments.Kalle Wallin1-7/+33
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1587 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-18Added the mpdclient_cmd_add_path functionKalle Wallin1-0/+12
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1553 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-17enabled plchanges, update playlist_length after removing songsKalle Wallin1-21/+32
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1525 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-16libmpdclient updated (r1507) - added path to mpdclient_cmd_db_update() Kalle Wallin1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1508 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-15Disable plchanges - need to redesign the plchanges codeKalle Wallin1-14/+28
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1504 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-15Sort playlist if needed after plchanges,Kalle Wallin1-8/+39
update the song position fields in mpdclient_cmd_move, use song id's by default (ENABLE_SONG_ID) git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1495 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14Updated error handlingKalle Wallin1-11/+10
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1492 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14Fixed mpdclient_filelist_update()Kalle Wallin1-1/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1486 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin1-0/+868
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f