- 08 Apr, 2013 1 commit
-
-
Max Kellermann authored
-
- 07 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2013 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 02 Jan, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 12 Feb, 2012 1 commit
-
-
Max Kellermann authored
-
- 24 Jan, 2012 1 commit
-
-
Max Kellermann authored
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 23 Dec, 2010 1 commit
-
-
Max Kellermann authored
Replace g_strchug() calls with a cheaper implementation.
-
- 25 Jul, 2010 3 commits
-
-
Max Kellermann authored
Use the functions song_save() and song_load() to use the same format as in the database file for those songs which need the tags.
-
Max Kellermann authored
While this is not useful for the database, it may become useful for reusing this code for the state file.
-
Max Kellermann authored
-
- 21 Jul, 2010 1 commit
-
-
Max Kellermann authored
-
- 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.
-
- 04 Nov, 2009 2 commits
-
-
Max Kellermann authored
Convert a string into a tag_type enum.
-
Max Kellermann authored
Clear the colon. This simplifies all attribute parsers, because they can now use strcmp() instead of strncmp().
-
- 01 Nov, 2009 5 commits
-
-
Max Kellermann authored
Fix a minor memory leak.
-
Max Kellermann authored
Changed songvec_load() to song_load(). Added start and end markers for each song. Removed the "key" line, it's redundant.
-
Max Kellermann authored
-
Max Kellermann authored
Use a single GString buffer object in all functions loading the database. Enlarge it automatically for long lines. This eliminates the maximum line length for tag values. There is still an upper limit of 512 kB to prevent denial of service, but that's reasonable I guess.
-
Max Kellermann authored
The line buffer had a fixed size of 5 kB, and was allocated on the stack. This was too small for some users. As a hotfix, we're increasing the buffer size to 32 kB now, allocated on the heap. In MPD 0.16, we'll switch to dynamic allocation.
-
- 13 Oct, 2009 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Renamed functions.
-
- 28 Apr, 2009 1 commit
-
-
Max Kellermann authored
When a song was in the database twice (which shouldn't happen), and the first song had no tag items, MPD calledd tag_free(NULL). Add a check to that source location, and an assertion to tag_free().
-
- 15 Mar, 2009 1 commit
-
-
Max Kellermann authored
Use GLib the logging functions g_debug(), g_error() instead.
-
- 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.
-
- 14 Jan, 2009 3 commits
-
-
Max Kellermann authored
If a tag value is an empty string, the space after the colon was removed by g_strchomp(). Fix this by removing the space check and using g_strchug() on the return value.
-
Max Kellermann authored
The matchesAnMpdTagItemKey() API becomes more powerful and flexible if the return value is the value pointer instead of a boolean. It also removes (invalid and dangerous) assumptions about the string from its caller.
-
Max Kellermann authored
-
- 13 Jan, 2009 1 commit
-
-
Max Kellermann authored
matchesAnMpdTagItemKey() broke when two tag items had the same prefix, because it did not check if the tag name ended after the prefix. Add a check for the colon and the space after the tag name.
-
- 03 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 28 Dec, 2008 1 commit
-
-
Max Kellermann authored
Replaced myFgets() with fgets() + g_strchomp().
-
- 08 Oct, 2008 3 commits
-
-
Max Kellermann authored
CamelCase is ugly, rename the functions.
-
Max Kellermann authored
CamelCase is ugly... rename all functions.
-
Max Kellermann authored
Provide separate constructors for creating a remote song, a local song, and one for loading data from a song file. This way, we can add more assertions.
-