aboutsummaryrefslogtreecommitdiff
path: root/src/archive
Commit message (Collapse)AuthorAge
* ArchivePlugin: move instance methods to class ArchiveFileMax Kellermann2013-01-30
|
* archive/bzip2: create file only after stream has been openedMax Kellermann2013-01-30
| | | | Simplify error handling.
* archive/zzip: fix memory leakMax Kellermann2013-01-30
|
* ArchiveFile: convert to a classMax Kellermann2013-01-29
|
* refcount: convert to C++Max Kellermann2013-01-29
|
* ArchivePlugin: replace scan_reset(), scan_next() with visit()Max Kellermann2013-01-29
| | | | Add the interface ArchiveVisitor.
* ArchivePlugin: scan_next() returns const stringMax Kellermann2013-01-29
|
* InputStream: add constructor/destructorMax Kellermann2013-01-28
| | | | Eliminate input_stream_init() and input_stream_deinit().
* input/iso9660: add constructor/destructorMax Kellermann2013-01-28
|
* input/iso9660: rename the classesMax Kellermann2013-01-28
|
* input/zzip: add constructor/destructorMax Kellermann2013-01-28
|
* input/zzip: rename the classesMax Kellermann2013-01-28
|
* input/bzip2: add constructor/destructorMax Kellermann2013-01-28
|
* archive/bzip2: rename the classesMax Kellermann2013-01-28
|
* DatabaseLock, input/bzip2: remove obsolete Glib/gcc workaroundMax Kellermann2013-01-28
|
* DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann2013-01-27
|
* input_stream: forward-declare the structMax Kellermann2013-01-26
| | | | Hide the definition from C code, to prepare the transition to C++.
* input_{internal,plugin}: convert to C++Max Kellermann2013-01-25
|
* archive/*: convert to C++Max Kellermann2013-01-24
|
* db_lock, archive/bz2, ...: workaround for G_STATIC_MUTEX_INIT warningMax Kellermann2012-04-04
|
* input_stream: non-blocking I/OMax Kellermann2011-09-16
| | | | | | | | | 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.
* input_stream: move input_stream_init(), _deinit() to _internal.cMax Kellermann2011-09-14
|
* copyright year 2011Max Kellermann2011-01-29
|
* input_stream: added attribute "uri"Max Kellermann2010-01-18
|
* input_stream: added function input_stream_deinit()Max Kellermann2010-01-18
| | | | All close() implementations must call this method.
* input_stream: return allocated input_stream objectsMax Kellermann2010-01-01
| | | | | | | | 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).
* Update copyright notices.Avuton Olrich2009-12-31
|
* archive: use reference counting for archive+inputMax Kellermann2009-12-31
| | | | | | | 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.
* input/archive: don't initialize input_stream.readyMax Kellermann2009-12-31
| | | | The archive plugin should decide this.
* archive/bz2: allocate buffer staticallyMax Kellermann2009-12-31
| | | | Reduce the number of malloc()/free() calls.
* archive/bz2: added struct bz2_input_streamMax Kellermann2009-12-31
| | | | Don't use the bz2_archive_file object for the input_stream.
* archive/iso9660: added struct iso9660_input_streamMax Kellermann2009-12-31
| | | | Don't use the iso9660_archive_file object for the input_stream.
* archive/iso9660: set input_stream.{size,offset}Max Kellermann2009-12-31
|
* archive/zzip: added struct zzip_input_streamMax Kellermann2009-12-31
| | | | Don't use the zzip_archive object for the input_stream.
* archive/zzip: set input_stream.{size,offset}Max Kellermann2009-12-31
|
* archive_plugin: use GError in the open() methodMax Kellermann2009-12-16
|
* archive_plugin: wrap method callsMax Kellermann2009-12-16
| | | | | Make archive_file a "real" struct, extended by all plugins. Add the plugin pointer to it. Wrap all method calls in functions.
* archive_plugin: pass const string to method open()Max Kellermann2009-12-16
|
* archive: added a C header for each pluginMax Kellermann2009-12-16
| | | | | Moved the archive plugin "extern" declarations into each plugin header.
* archive/bz2: removed the bz2_context typedefMax Kellermann2009-12-16
| | | | Use the raw struct name instead.
* archive/bz2: renamed archive sources and plugin variablesMax Kellermann2009-12-16
|
* archive/iso: renamed plugin to "iso9660"Max Kellermann2009-12-16
| | | | Based on libiso9660.
* archive/bz2: use g_path_get_basename()Max Kellermann2009-12-16
| | | | | Use g_path_get_basename() instead of manually filtering the path name. Big advantage: g_path_get_basename() cannot fail.
* input_stream: return errors with GErrorMax Kellermann2009-12-15
|
* archive/bz2: simplified error handling, short readMax Kellermann2009-12-15
| | | | | Don't attempt to fill the whole buffer in the read() method, return whatever libbz2 provides with the first successful BZ2_bzDecompress().
* archive/bz2: no CamelCaseMax Kellermann2009-12-15
|
* archive/zzip: removed the "zip_context" typedefMax Kellermann2009-12-15
| | | | Use the raw struct name.
* archive/zip: renamed plugin to "zzip"Max Kellermann2009-12-15
| | | | This plugin is based on libzzip.
* Merge branch 'v0.15.x'Max Kellermann2009-12-15
|\ | | | | | | | | | | | | | | Conflicts: src/archive/bz2_plugin.c src/archive_api.h src/input/file_input_plugin.c test/run_input.c
| * iso, zip: fixed memory leak in destructorMax Kellermann2009-12-15
| | | | | | | | Free the "context" pointer in the method archive_plugin.close().