aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive/plugins/Bzip2ArchivePlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-11InputStream: remove attribute "plugin"Max Kellermann1-10/+1
2014-05-11InputStream: make various methods abstractMax Kellermann1-27/+18
Replace InputPlugin attributes.
2014-05-11InputStream: add virtual destructorMax Kellermann1-18/+2
Replaces the method Close().
2014-05-11input/plugins: make InputStream the base classMax Kellermann1-8/+7
Prepare for adding virtual methods.
2014-02-08ArchivePlugin: pass Path to open()Max Kellermann1-4/+6
2014-02-08ArchivePlugin: rename struct archive_plugin to ArchivePluginMax Kellermann1-1/+1
2014-01-24Input*: move to input/Max Kellermann1-2/+2
2014-01-24archive/*: move to archive/plugins/Max Kellermann1-3/+3
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-12-29InputStream: add static method OpenReady()Max Kellermann1-1/+1
Merge some duplicate code.
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov1-1/+1
2013-11-28include cleanup using iwyuMax Kellermann1-2/+0
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-11/+11
2013-10-23InputInternal: remove obsolete libraryMax Kellermann1-1/+0
2013-10-21GetBaseUTF8Max Kellermann1-8/+8
2013-10-21archive/bz2: remove unused function bz2_quark()Max Kellermann1-6/+0
2013-10-19*: use nullptr instead of NULLMax Kellermann1-2/+2
2013-10-17input_plugin: rename struct to "InputPlugin"Max Kellermann1-2/+2
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann1-5/+4
2013-09-04util/Error: new error passing libraryMax Kellermann1-15/+19
Replaces GLib's GError.
2013-01-30ArchivePlugin: move instance methods to class ArchiveFileMax Kellermann1-29/+23
2013-01-30archive/bzip2: create file only after stream has been openedMax Kellermann1-24/+19
Simplify error handling.
2013-01-29ArchiveFile: convert to a classMax Kellermann1-13/+10
2013-01-29refcount: convert to C++Max Kellermann1-5/+4
2013-01-29ArchivePlugin: replace scan_reset(), scan_next() with visit()Max Kellermann1-18/+4
Add the interface ArchiveVisitor.
2013-01-29ArchivePlugin: scan_next() returns const stringMax Kellermann1-2/+2
2013-01-28InputStream: add constructor/destructorMax Kellermann1-3/+2
Eliminate input_stream_init() and input_stream_deinit().
2013-01-28input/bzip2: add constructor/destructorMax Kellermann1-37/+39
2013-01-28archive/bzip2: rename the classesMax Kellermann1-16/+16
2013-01-28DatabaseLock, input/bzip2: remove obsolete Glib/gcc workaroundMax Kellermann1-5/+0
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann1-5/+4
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-30/+47
2012-04-04db_lock, archive/bz2, ...: workaround for G_STATIC_MUTEX_INIT warningMax Kellermann1-0/+5
2011-09-16input_stream: non-blocking I/OMax Kellermann1-3/+10
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-3/+2
2010-01-18input_stream: added function input_stream_deinit()Max Kellermann1-0/+2
All close() implementations must call this method.
2010-01-01input_stream: return allocated input_stream objectsMax Kellermann1-17/+18
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-0/+9
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/bz2: allocate buffer staticallyMax Kellermann1-7/+3
Reduce the number of malloc()/free() calls.
2009-12-31archive/bz2: added struct bz2_input_streamMax Kellermann1-21/+32
Don't use the bz2_archive_file object for the input_stream.
2009-12-16archive_plugin: use GError in the open() methodMax Kellermann1-3/+2
2009-12-16archive_plugin: wrap method callsMax Kellermann1-1/+4
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.