aboutsummaryrefslogtreecommitdiffstats
path: root/src/ArchivePlugin.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-1/+1
2013-10-19*: use nullptr instead of NULLMax Kellermann1-4/+4
2013-10-17thread/{Cond,Mutex}: use "class" instead of "typedef"Max Kellermann1-3/+0
Allows forward-declaration.
2013-09-04util/Error: new error passing libraryMax Kellermann1-3/+3
Replaces GLib's GError.
2013-01-30ArchivePlugin: move instance methods to class ArchiveFileMax Kellermann1-33/+0
2013-01-29ArchiveFile: convert to a classMax Kellermann1-9/+9
2013-01-29ArchivePlugin: replace scan_reset(), scan_next() with visit()Max Kellermann1-15/+4
Add the interface ArchiveVisitor.
2013-01-29ArchivePlugin: scan_next() returns const stringMax Kellermann1-2/+2
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann1-3/+5
2013-01-24archive/*: convert to C++Max Kellermann1-5/+3
2011-09-16input_stream: non-blocking I/OMax Kellermann1-2/+4
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-03-31fix common misspellingsJonathan Neuschäfer1-1/+1
These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-01-01input_stream: return allocated input_stream objectsMax Kellermann1-4/+5
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-3/+0
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-16archive_plugin: use GError in the open() methodMax Kellermann1-2/+3
2009-12-16archive_plugin: wrap method callsMax Kellermann1-1/+16
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-15input_stream: return errors with GErrorMax Kellermann1-1/+5
2009-12-15archive_api.h: moved struct archive_plugin to archive_plugin.hMax Kellermann1-13/+3
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-01-30archive: replaced setup_stream() with open_stream()Max Kellermann1-4/+5
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.
2008-12-16new archive api, input_archive streamViliam Mateicka1-0/+94