aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-11-11 04:35:38 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-11-11 04:35:38 +0000
commit6d4b8e63154ebbc20793e7791c23e2e0d7cd1e60 (patch)
treed3dbb229b9c25b03f4153f1d44c6d8f6d47b694f /TODO
parent21b5cde43ac7c82b1848145456b98e2c5b8e6cb1 (diff)
downloadmpd-6d4b8e63154ebbc20793e7791c23e2e0d7cd1e60.tar.gz
mpd-6d4b8e63154ebbc20793e7791c23e2e0d7cd1e60.tar.xz
mpd-6d4b8e63154ebbc20793e7791c23e2e0d7cd1e60.zip
todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2605 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'TODO')
-rw-r--r--TODO30
1 files changed, 0 insertions, 30 deletions
diff --git a/TODO b/TODO
index 28789239e..e25540580 100644
--- a/TODO
+++ b/TODO
@@ -2,36 +2,6 @@
----
*) rewrite search, find, locate to tag LocateTagItem pairs
-*) rewrite filename handling
- *) use memory more efficiently, by iteratively constructing filename
- *) create a function for creating directory names:
- *) when creating the string, check that the same directory
- string wasn't just created (store last Directory * ptr)
- *) this should be very fast! and save memory
- *) static char * buffer, that only grows in size during life
- span
- *) implement like:
- static char * buffer = NULL;
- static int bufferSize = 0;
- static int lastDirectory * last = NULL;
- static int pos;
-
- if(last == thisOne) return buffer[pos];
-
- pos = bufferSIze;
- for(parentDir; !rootDir; parent = parent->parent) {
- pos -= strlen(parent);
- if(pos < 0) i{
- realloc(-pos bytes);
- pos = 0;
- }
- /* we don't want to append a '\0', so use
- strncpy */
- strncpy(buffer[pos], parent, strlen(parent));
- }
-
- return buffer;
-
*) implement listener socket protocol as documented here:
http://www.musicpd.org/wiki/moin.cgi/MpdListenerProtocol