Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
6d4b8e63
Commit
6d4b8e63
authored
Nov 11, 2004
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
todo update
git-svn-id:
https://svn.musicpd.org/mpd/trunk@2605
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
21b5cde4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
TODO
TODO
+0
-30
No files found.
TODO
View file @
6d4b8e63
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment