aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-15iso, zip: fixed memory leak in destructorMax Kellermann2-2/+4
Free the "context" pointer in the method archive_plugin.close().
2009-12-15archive: close archive when stream is closedMax Kellermann3-0/+6
Fixes a memory leak: the "archive" input plugin opens the archive, but never closes it. This patch moves the responsibility for doing that to archive_plugin.open_stream(). This is an slight internal API change, but it is the simplest and least intrusive fix for the memory leak.
2009-12-15archive/bz2: removed NULL check before g_free()Max Kellermann1-2/+2
g_free(NULL) is allowed.
2009-05-04archive/zip: pass NULL instead of 0 to zzip_dir_open()Max Kellermann1-2/+2
The second parameter of zzip_dir_open() is a pointer. Pass the NULL pointer instead of 0 (with implicit conversion at compile time).
2009-03-13all: Update copyright header.Avuton Olrich3-18/+21
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.
2009-03-02input_stream: moved struct input_plugin to input_plugin.hMax Kellermann3-3/+3
Start to separate private from public input_stream API.
2009-01-30input_stream: make seek(), buffer() optionalMax Kellermann3-37/+0
Make those two methods optional to implement, and let input_stream.c provide fallbacks. The buffer() method will be removed one day, and there is now only one implementation left (input_curl.c).
2009-01-30archive: replaced setup_stream() with open_stream()Max Kellermann3-47/+27
The open_stream() method opens the input_stream. This allows the archive plugin to do its own initialization, and it also allows it to use input_stream.data. We can remove input_stream.archive now, which was unnatural to have in the first place.
2009-01-21archiveapi: adding seeking support in zip archivesViliam Mateicka1-2/+8
2009-01-08added missing explicit config.h includesMax Kellermann1-0/+1
2009-01-02archive: use GLib instead of utils.hMax Kellermann3-5/+3
2008-12-29update: fixing empty filenames in archivesViliam Mateicka1-1/+4
2008-12-16archiveapi: archive plugin for ISO filesViliam Mateicka1-0/+258
2008-12-16archiveapi: archive plugin for ZIP filesViliam Mateicka1-0/+196
2008-12-16archiveapi: archive plugin for BZ2 filesViliam Mateicka1-0/+303