aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive (follow)
Commit message (Collapse)AuthorAgeFilesLines
* archive/iso9660: simplify _read()Max Kellermann2013-11-231-14/+15
|
* archive/iso9660: eliminate useless assignmentsMax Kellermann2013-11-231-4/+2
|
* input_stream: rename struct to InputStreamMax Kellermann2013-10-233-28/+28
|
* InputInternal: remove obsolete libraryMax Kellermann2013-10-233-3/+0
|
* GetBaseUTF8Max Kellermann2013-10-211-8/+8
|
* archive/bz2: remove unused function bz2_quark()Max Kellermann2013-10-211-6/+0
|
* *: use nullptr instead of NULLMax Kellermann2013-10-193-9/+9
|
* InputStream: use int64_t instead of goffsetMax Kellermann2013-10-171-3/+3
| | | | Decouple some more from GLib.
* input_plugin: rename struct to "InputPlugin"Max Kellermann2013-10-173-6/+6
|
* Client, ...: remove unnecessary glib.h includeMax Kellermann2013-10-151-2/+0
|
* InputLegacy: move functions to the input_stream classMax Kellermann2013-09-051-5/+4
|
* util/Error: new error passing libraryMax Kellermann2013-09-043-50/+49
| | | | Replaces GLib's GError.
* ArchivePlugin: move instance methods to class ArchiveFileMax Kellermann2013-01-303-87/+59
|
* archive/bzip2: create file only after stream has been openedMax Kellermann2013-01-301-24/+19
| | | | Simplify error handling.
* archive/zzip: fix memory leakMax Kellermann2013-01-301-15/+12
|
* ArchiveFile: convert to a classMax Kellermann2013-01-293-38/+28
|
* refcount: convert to C++Max Kellermann2013-01-293-15/+12
|
* ArchivePlugin: replace scan_reset(), scan_next() with visit()Max Kellermann2013-01-293-87/+31
| | | | Add the interface ArchiveVisitor.
* ArchivePlugin: scan_next() returns const stringMax Kellermann2013-01-293-8/+8
|
* InputStream: add constructor/destructorMax Kellermann2013-01-283-12/+6
| | | | Eliminate input_stream_init() and input_stream_deinit().
* input/iso9660: add constructor/destructorMax Kellermann2013-01-281-58/+61
|
* input/iso9660: rename the classesMax Kellermann2013-01-281-18/+18
|
* input/zzip: add constructor/destructorMax Kellermann2013-01-281-22/+31
|
* input/zzip: rename the classesMax Kellermann2013-01-281-15/+14
|
* input/bzip2: add constructor/destructorMax Kellermann2013-01-281-37/+39
|
* archive/bzip2: rename the classesMax Kellermann2013-01-281-16/+16
|
* DatabaseLock, input/bzip2: remove obsolete Glib/gcc workaroundMax Kellermann2013-01-281-5/+0
|
* DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann2013-01-273-7/+6
|
* input_stream: forward-declare the structMax Kellermann2013-01-263-0/+3
| | | | Hide the definition from C code, to prepare the transition to C++.
* input_{internal,plugin}: convert to C++Max Kellermann2013-01-253-6/+6
|
* archive/*: convert to C++Max Kellermann2013-01-246-91/+136
|
* db_lock, archive/bz2, ...: workaround for G_STATIC_MUTEX_INIT warningMax Kellermann2012-04-041-0/+5
|
* input_stream: non-blocking I/OMax Kellermann2011-09-163-8/+20
| | | | | | | | | 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-143-0/+3
|
* copyright year 2011Max Kellermann2011-01-296-6/+6
|
* input_stream: added attribute "uri"Max Kellermann2010-01-183-5/+4
|
* input_stream: added function input_stream_deinit()Max Kellermann2010-01-183-0/+6
| | | | All close() implementations must call this method.
* input_stream: return allocated input_stream objectsMax Kellermann2010-01-013-47/+44
| | | | | | | | 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-316-6/+6
|
* archive: use reference counting for archive+inputMax Kellermann2009-12-313-1/+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-313-0/+3
| | | | The archive plugin should decide this.
* archive/bz2: allocate buffer staticallyMax Kellermann2009-12-311-7/+3
| | | | Reduce the number of malloc()/free() calls.
* archive/bz2: added struct bz2_input_streamMax Kellermann2009-12-311-21/+32
| | | | Don't use the bz2_archive_file object for the input_stream.
* archive/iso9660: added struct iso9660_input_streamMax Kellermann2009-12-311-20/+32
| | | | Don't use the iso9660_archive_file object for the input_stream.
* archive/iso9660: set input_stream.{size,offset}Max Kellermann2009-12-311-8/+8
|
* archive/zzip: added struct zzip_input_streamMax Kellermann2009-12-311-19/+33
| | | | Don't use the zzip_archive object for the input_stream.
* archive/zzip: set input_stream.{size,offset}Max Kellermann2009-12-311-3/+5
|
* archive_plugin: use GError in the open() methodMax Kellermann2009-12-163-7/+8
|
* archive_plugin: wrap method callsMax Kellermann2009-12-163-3/+14
| | | | | 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-163-3/+3
|