aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive/zip_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* archive: close archive when stream is closedMax Kellermann2009-12-151-0/+2
| | | | | | | | 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.
* archive/zip: pass NULL instead of 0 to zzip_dir_open()Max Kellermann2009-05-041-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).
* all: Update copyright header.Avuton Olrich2009-03-131-6/+7
| | | | | | | | 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.
* input_stream: moved struct input_plugin to input_plugin.hMax Kellermann2009-03-021-1/+1
| | | | Start to separate private from public input_stream API.
* input_stream: make seek(), buffer() optionalMax Kellermann2009-01-301-7/+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).
* archive: replaced setup_stream() with open_stream()Max Kellermann2009-01-301-17/+11
| | | | | | | 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.
* archiveapi: adding seeking support in zip archivesViliam Mateicka2009-01-211-2/+8
|
* archive: use GLib instead of utils.hMax Kellermann2009-01-021-2/+2
|
* update: fixing empty filenames in archivesViliam Mateicka2008-12-291-1/+4
|
* archiveapi: archive plugin for ZIP filesViliam Mateicka2008-12-161-0/+196