- 13 Jun, 2012 1 commit
-
-
Max Kellermann authored
-
- 04 Apr, 2012 1 commit
-
-
Max Kellermann authored
g_basename() is deprecated in GLib 2.32.
-
- 13 Feb, 2012 1 commit
-
-
treblid authored
Directories are loaded in reverse order when MPD starts. Only fixed when doing a rescan.
-
- 12 Feb, 2012 1 commit
-
-
Max Kellermann authored
-
- 02 Feb, 2012 2 commits
-
-
Max Kellermann authored
Reduce the number of lock/unlock cycles, and make database handling safer.
-
Max Kellermann authored
This was the cause of the reversed ordering when loading a database file.
-
- 29 Jan, 2012 1 commit
-
-
Max Kellermann authored
This commit fixes a major regression in directory_lookup_directory(), which broke the deep lookup of directories.
-
- 24 Jan, 2012 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Wrap songvec_find() and other songvec methods.
-
Max Kellermann authored
Random access is not needed, and a linked list is easier to manage: we don't need to (re-)allocate the pointer array.
-
Max Kellermann authored
Pass only the "name" to a directory, instead of the full (relative) path.
-
- 08 Oct, 2011 1 commit
-
-
Max Kellermann authored
The protocol mandates that playlist URIs are absolute (i.e. full URI relative to the music directory, not relative to the parent directory). This adds the parameter "directory" to the "playlist" visitor method.
-
- 13 Sep, 2011 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Let the caller decide if the current directory should be visited.
-
Max Kellermann authored
.. to recurse. A visitor may not have one, but still be interested in a recursive search.
-
Max Kellermann authored
Use this struct for db_walk().
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 25 Jul, 2010 1 commit
-
-
Max Kellermann authored
-
- 21 Jul, 2010 1 commit
-
-
Max Kellermann authored
Don't open the music directory for each "lsinfo" call. Get the list of playlist files from the memory database.
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
-
- 14 Aug, 2009 1 commit
-
-
Max Kellermann authored
dirvec_delete() does not free the object, we have to call directory_free() afterwards.
-
- 01 Apr, 2009 2 commits
-
-
Max Kellermann authored
Moved code from db_get_song().
-
Max Kellermann authored
Renamed directory_get_directory() to directory_lookup_directory(). Added API documentation.
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
-
- 25 Jan, 2009 1 commit
-
-
Max Kellermann authored
On some platforms, g_free() must be used for memory allocated by GLib. This patch intends to correct a lot of occurrences, but is probably not complete.
-
- 02 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 31 Oct, 2008 1 commit
-
-
Max Kellermann authored
directory_free() should free all of its children (subdirectories and songs). This way, db_finish() properly frees all allocated memory.
-
- 20 Oct, 2008 1 commit
-
-
Max Kellermann authored
GLib's g_path_get_basename() is much more reliable than mpd_basename(). The latter could be tricked into an assertion failure.
-
- 13 Oct, 2008 2 commits
-
-
Max Kellermann authored
directory_get_name() returns the base name of the directory.
-
Eric Wong authored
This way we avoid unnecessary heap allocations.
-
- 09 Oct, 2008 3 commits
-
-
Max Kellermann authored
Some tiny utilities... wrappers like these may become helpful when we introduce locking.
-
Max Kellermann authored
No idea why it was created in directory.h, but it should be in dirvec.h.
-
Max Kellermann authored
Remove clutter from directory.c. Everything which saves or loads to/from the hard disk goes to directory_save.c, and code which sends directory information to the client is moved into directory_print.c.
-
- 08 Oct, 2008 4 commits
-
-
Max Kellermann authored
For the root directory, let's set path to an empty string. This saves a few checks.
-
Max Kellermann authored
CamelCase is ugly, rename the functions.
-
Max Kellermann authored
Yet another CamelCase removal patch.
-
Max Kellermann authored
Taming the directory.c monster, part II: move the database management stuff to database. directory.c should only contain code which works on directory objects.
-