aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive/Iso9660ArchivePlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-11-28include cleanup using iwyuMax Kellermann1-1/+0
2013-11-24archive/iso9660: remove pointless formulaMax Kellermann1-2/+0
2013-11-24archive/iso9660: use reference instead of pointerMax Kellermann1-6/+6
2013-11-24archive/iso9660: convert structs to classesMax Kellermann1-18/+35
2013-11-23archive/iso9660: simplify _read()Max Kellermann1-14/+15
2013-11-23archive/iso9660: eliminate useless assignmentsMax Kellermann1-4/+2
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-8/+8
2013-10-23InputInternal: remove obsolete libraryMax Kellermann1-1/+0
2013-10-19*: use nullptr instead of NULLMax Kellermann1-3/+3
2013-10-17input_plugin: rename struct to "InputPlugin"Max Kellermann1-2/+2
2013-10-15Client, ...: remove unnecessary glib.h includeMax Kellermann1-2/+0
2013-09-04util/Error: new error passing libraryMax Kellermann1-16/+15
Replaces GLib's GError.
2013-01-30ArchivePlugin: move instance methods to class ArchiveFileMax Kellermann1-28/+20
2013-01-29ArchiveFile: convert to a classMax Kellermann1-13/+9
2013-01-29refcount: convert to C++Max Kellermann1-5/+4
2013-01-29ArchivePlugin: replace scan_reset(), scan_next() with visit()Max Kellermann1-35/+10
Add the interface ArchiveVisitor.
2013-01-29ArchivePlugin: scan_next() returns const stringMax Kellermann1-3/+3
2013-01-28InputStream: add constructor/destructorMax Kellermann1-4/+2
Eliminate input_stream_init() and input_stream_deinit().
2013-01-28input/iso9660: add constructor/destructorMax Kellermann1-58/+61
2013-01-28input/iso9660: rename the classesMax Kellermann1-18/+18
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann1-1/+1
2013-01-26input_stream: forward-declare the structMax Kellermann1-0/+1
Hide the definition from C code, to prepare the transition to C++.
2013-01-25input_{internal,plugin}: convert to C++Max Kellermann1-2/+2
2013-01-24archive/*: convert to C++Max Kellermann1-17/+29
2011-09-16input_stream: non-blocking I/OMax Kellermann1-3/+5
Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins.
2011-09-14input_stream: move input_stream_init(), _deinit() to _internal.cMax Kellermann1-0/+1
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-01-18input_stream: added attribute "uri"Max Kellermann1-1/+1
2010-01-18input_stream: added function input_stream_deinit()Max Kellermann1-0/+3
All close() implementations must call this method.
2010-01-01input_stream: return allocated input_stream objectsMax Kellermann1-15/+12
Major API redesign: don't let the caller allocate the input_stream object. Let each input plugin allocate its own (derived/extended) input_stream pointer. The "data" attribute can now be removed, and all input plugins simply cast the input_stream pointer to their own structure (with an "struct input_stream base" as the first attribute).
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-31archive: use reference counting for archive+inputMax Kellermann1-1/+11
Make the input_stream implementation hold a reference on the archive_file object. Allow the caller to "close" the archive_file object immediately, no matter if the open_stream() method has succeeded or not.
2009-12-31input/archive: don't initialize input_stream.readyMax Kellermann1-0/+1
The archive plugin should decide this.
2009-12-31archive/iso9660: added struct iso9660_input_streamMax Kellermann1-20/+32
Don't use the iso9660_archive_file object for the input_stream.
2009-12-31archive/iso9660: set input_stream.{size,offset}Max Kellermann1-8/+8
2009-12-16archive_plugin: use GError in the open() methodMax Kellermann1-2/+3
2009-12-16archive_plugin: wrap method callsMax Kellermann1-1/+5
Make archive_file a "real" struct, extended by all plugins. Add the plugin pointer to it. Wrap all method calls in functions.
2009-12-16archive_plugin: pass const string to method open()Max Kellermann1-1/+1
2009-12-16archive: added a C header for each pluginMax Kellermann1-0/+1
Moved the archive plugin "extern" declarations into each plugin header.
2009-12-16archive/iso: renamed plugin to "iso9660"Max Kellermann1-34/+44
Based on libiso9660.
2009-12-15input_stream: return errors with GErrorMax Kellermann1-6/+14
2009-12-15iso, zip: fixed memory leak in destructorMax Kellermann1-1/+2
Free the "context" pointer in the method archive_plugin.close().
2009-12-15archive: close archive when stream is closedMax Kellermann1-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.
2009-11-12include config.h in all sourcesMax Kellermann1-0/+1
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.
2009-03-13all: Update copyright header.Avuton Olrich1-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.
2009-03-02input_stream: moved struct input_plugin to input_plugin.hMax Kellermann1-1/+1
Start to separate private from public input_stream API.
2009-01-30input_stream: make seek(), buffer() optionalMax Kellermann1-15/+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 Kellermann1-15/+8
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-02archive: use GLib instead of utils.hMax Kellermann1-2/+1