- 27 Dec, 2009 1 commit
-
-
Max Kellermann authored
When collecting tag values for the result set, add all of a song's tag values of the searched type. This affects the "list" command. Previously, "list" only considered the first tag value of a song.
-
- 26 Dec, 2009 1 commit
-
-
Max Kellermann 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.
-
- 13 Oct, 2009 1 commit
-
-
Max Kellermann authored
-
- 25 Aug, 2009 1 commit
-
-
Anton Khirnov authored
-
- 14 Jul, 2009 1 commit
-
-
Max Kellermann authored
-
- 15 Mar, 2009 1 commit
-
-
Max Kellermann authored
The function is unused.
-
- 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.
-
- 27 Feb, 2009 1 commit
-
-
Max Kellermann authored
Renamed numOfItems to num_items.
-
- 04 Feb, 2009 1 commit
-
-
Max Kellermann authored
Export the "g_playlist" variable, and pass it to all playlist functions. This way, we can split playlist.c easier into separate parts. The code which initializes the singleton variable is moved to playlist_global.c.
-
- 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.
-
- 24 Jan, 2009 5 commits
-
-
Max Kellermann authored
Merged casefolding code from two locations into this one library function.
-
Max Kellermann authored
Changed the function prototypes to get locate_item_list objects instead of num_items/items.
-
Max Kellermann authored
Instead of passing two parameters around (number of items, array of items), combine both in a variable size struct.
-
Max Kellermann authored
Renamed functions and variables.
-
Max Kellermann authored
No CamelCase and no typedefs.
-
- 22 Jan, 2009 1 commit
-
-
Max Kellermann authored
Pass const pointers where no writes are performed.
-
- 18 Jan, 2009 1 commit
-
-
Max Kellermann authored
Don't use dbUtils.h functions. This reduces 4 full database walks to just one.
-
- 04 Jan, 2009 1 commit
-
-
Max Kellermann authored
directory_is_root() is cheaper than isRootDirectory(directory_get_path()).
-
- 03 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 24 Nov, 2008 1 commit
-
-
Thomas Jansen authored
-
- 22 Oct, 2008 2 commits
-
-
Max Kellermann authored
Renamed all public functions, prefix is "spl_".
-
Max Kellermann authored
No CamelCase in file names.
-
- 15 Oct, 2008 1 commit
-
-
Max Kellermann authored
string_toupper() and strDupToUpper() were not able to deal with character sets other than US-ASCII. Use GLib's g_utf8_casefold() for strings.
-
- 08 Oct, 2008 6 commits
-
-
Max Kellermann authored
Commit 0bfe7802 broke update for new files in the root directory, because music_root->path was an empty string and not NULL. There were some NULL tests missing. Change them to !isRootDirectory(path) instead of path!=NULL.
-
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.
-
Max Kellermann authored
Again, a data type which can be forward-declared.
-
Max Kellermann authored
The struct can be forward-declared by other headers, which relaxes the header dependencies.
-
- 07 Oct, 2008 2 commits
- 29 Sep, 2008 2 commits
-
-
Eric Wong authored
Seeing the "mpd_" prefix _everywhere_ is mind-numbing as the mind needs to retrain itself to skip over the first 4 tokens of a type to get to its meaning. So avoid having extra characters on my terminal to make it easier to follow code at 2:30 am in the morning. Please report any new issues you may come across on Free toolchains. I realize how difficult it can be to build/maintain cross-compiling toolchains and I have no intention of forcing people to upgrade their toolchains to build mpd. Tested with gcc 2.95.4 and and gcc 4.3.1 on x86-32.
-
Eric Wong authored
tfing wrote: > I have quite some files with an empty album tag as they do not come > from a particular album. > > If I want to look for those files and browse them, this happens: > :: nc localhost 6600 > OK MPD 0.12.0 > find album "" > ACK [2@0] {find} too few arguments for "find" > > I'd like to be able to browse those files in a client like gmpc. > So these 2 items would have to be developed: > - list album should report that some files have an empty tag > - it should be possible to search for an empty tag with the find command Patch-by: Marc Pavot ref: http://musicpd.org/mantis/view.php?id=464
-
- 23 Sep, 2008 1 commit
-
-
Eric Wong authored
Our linked-list implementation is wasteful and the SongList isn't modified enough to benefit from being a linked list. So use a more compact array of song pointers which saves ~200K on a library with ~9K songs (on x86-32).
-
- 08 Sep, 2008 1 commit
-
-
Max Kellermann authored
With a large music database, the linear string collection in tagTracker.c becomes very slow. We implemented that in a quick'n'dirty fashion when we removed tree.c, and now we rewrite it using the fast hashed string set.
-
- 07 Sep, 2008 4 commits
-
-
Max Kellermann authored
Pass the client struct instead of the raw file descriptor.
-
Max Kellermann authored
Don't pass the raw file descriptor around. This migration patch is rather large, because all of the sources have inter dependencies - we have to change all of them at the same time.
-
Max Kellermann authored
This patch continues the work of the previous patch: don't pass a file descriptor at all to traverseAllIn(). Since this fd was only used to report "directory not found" errors, we can easily move that check to the caller. This is a great relief, since it removes the dependency on a client connection from a lot of enumeration functions.
-
Max Kellermann authored
Database traversal should be generic, and not bound to a client connection. This is the first step: no file descriptor for the callback functions forEachSong() and forEachDir(). If a callback needs the file descriptor, it has to be passed in the void*data pointer somehow; some callbacks might need a new struct for passing more than one parameter. This might look a bit cumbersome right now, but our goal is to have a clean API.
-