Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | InputStream: add static method OpenReady() | Max Kellermann | 2013-12-29 | 1 | -1/+1 |
| | | | | Merge some duplicate code. | ||||
* | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 2013-12-05 | 1 | -1/+1 |
| | |||||
* | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 3 | -5/+0 |
| | |||||
* | archive/iso9660: remove pointless formula | Max Kellermann | 2013-11-24 | 1 | -2/+0 |
| | |||||
* | archive/iso9660: use reference instead of pointer | Max Kellermann | 2013-11-24 | 1 | -6/+6 |
| | |||||
* | archive/iso9660: convert structs to classes | Max Kellermann | 2013-11-24 | 1 | -18/+35 |
| | |||||
* | archive/iso9660: simplify _read() | Max Kellermann | 2013-11-23 | 1 | -14/+15 |
| | |||||
* | archive/iso9660: eliminate useless assignments | Max Kellermann | 2013-11-23 | 1 | -4/+2 |
| | |||||
* | input_stream: rename struct to InputStream | Max Kellermann | 2013-10-23 | 3 | -28/+28 |
| | |||||
* | InputInternal: remove obsolete library | Max Kellermann | 2013-10-23 | 3 | -3/+0 |
| | |||||
* | GetBaseUTF8 | Max Kellermann | 2013-10-21 | 1 | -8/+8 |
| | |||||
* | archive/bz2: remove unused function bz2_quark() | Max Kellermann | 2013-10-21 | 1 | -6/+0 |
| | |||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-19 | 3 | -9/+9 |
| | |||||
* | InputStream: use int64_t instead of goffset | Max Kellermann | 2013-10-17 | 1 | -3/+3 |
| | | | | Decouple some more from GLib. | ||||
* | input_plugin: rename struct to "InputPlugin" | Max Kellermann | 2013-10-17 | 3 | -6/+6 |
| | |||||
* | Client, ...: remove unnecessary glib.h include | Max Kellermann | 2013-10-15 | 1 | -2/+0 |
| | |||||
* | InputLegacy: move functions to the input_stream class | Max Kellermann | 2013-09-05 | 1 | -5/+4 |
| | |||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 3 | -50/+49 |
| | | | | Replaces GLib's GError. | ||||
* | ArchivePlugin: move instance methods to class ArchiveFile | Max Kellermann | 2013-01-30 | 3 | -87/+59 |
| | |||||
* | archive/bzip2: create file only after stream has been opened | Max Kellermann | 2013-01-30 | 1 | -24/+19 |
| | | | | Simplify error handling. | ||||
* | archive/zzip: fix memory leak | Max Kellermann | 2013-01-30 | 1 | -15/+12 |
| | |||||
* | ArchiveFile: convert to a class | Max Kellermann | 2013-01-29 | 3 | -38/+28 |
| | |||||
* | refcount: convert to C++ | Max Kellermann | 2013-01-29 | 3 | -15/+12 |
| | |||||
* | ArchivePlugin: replace scan_reset(), scan_next() with visit() | Max Kellermann | 2013-01-29 | 3 | -87/+31 |
| | | | | Add the interface ArchiveVisitor. | ||||
* | ArchivePlugin: scan_next() returns const string | Max Kellermann | 2013-01-29 | 3 | -8/+8 |
| | |||||
* | InputStream: add constructor/destructor | Max Kellermann | 2013-01-28 | 3 | -12/+6 |
| | | | | Eliminate input_stream_init() and input_stream_deinit(). | ||||
* | input/iso9660: add constructor/destructor | Max Kellermann | 2013-01-28 | 1 | -58/+61 |
| | |||||
* | input/iso9660: rename the classes | Max Kellermann | 2013-01-28 | 1 | -18/+18 |
| | |||||
* | input/zzip: add constructor/destructor | Max Kellermann | 2013-01-28 | 1 | -22/+31 |
| | |||||
* | input/zzip: rename the classes | Max Kellermann | 2013-01-28 | 1 | -15/+14 |
| | |||||
* | input/bzip2: add constructor/destructor | Max Kellermann | 2013-01-28 | 1 | -37/+39 |
| | |||||
* | archive/bzip2: rename the classes | Max Kellermann | 2013-01-28 | 1 | -16/+16 |
| | |||||
* | DatabaseLock, input/bzip2: remove obsolete Glib/gcc workaround | Max Kellermann | 2013-01-28 | 1 | -5/+0 |
| | |||||
* | DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond | Max Kellermann | 2013-01-27 | 3 | -7/+6 |
| | |||||
* | input_stream: forward-declare the struct | Max Kellermann | 2013-01-26 | 3 | -0/+3 |
| | | | | Hide the definition from C code, to prepare the transition to C++. | ||||
* | input_{internal,plugin}: convert to C++ | Max Kellermann | 2013-01-25 | 3 | -6/+6 |
| | |||||
* | archive/*: convert to C++ | Max Kellermann | 2013-01-24 | 6 | -91/+136 |
| | |||||
* | db_lock, archive/bz2, ...: workaround for G_STATIC_MUTEX_INIT warning | Max Kellermann | 2012-04-04 | 1 | -0/+5 |
| | |||||
* | input_stream: non-blocking I/O | Max Kellermann | 2011-09-16 | 3 | -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.c | Max Kellermann | 2011-09-14 | 3 | -0/+3 |
| | |||||
* | copyright year 2011 | Max Kellermann | 2011-01-29 | 6 | -6/+6 |
| | |||||
* | input_stream: added attribute "uri" | Max Kellermann | 2010-01-18 | 3 | -5/+4 |
| | |||||
* | input_stream: added function input_stream_deinit() | Max Kellermann | 2010-01-18 | 3 | -0/+6 |
| | | | | All close() implementations must call this method. | ||||
* | input_stream: return allocated input_stream objects | Max Kellermann | 2010-01-01 | 3 | -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 Olrich | 2009-12-31 | 6 | -6/+6 |
| | |||||
* | archive: use reference counting for archive+input | Max Kellermann | 2009-12-31 | 3 | -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.ready | Max Kellermann | 2009-12-31 | 3 | -0/+3 |
| | | | | The archive plugin should decide this. | ||||
* | archive/bz2: allocate buffer statically | Max Kellermann | 2009-12-31 | 1 | -7/+3 |
| | | | | Reduce the number of malloc()/free() calls. | ||||
* | archive/bz2: added struct bz2_input_stream | Max Kellermann | 2009-12-31 | 1 | -21/+32 |
| | | | | Don't use the bz2_archive_file object for the input_stream. | ||||
* | archive/iso9660: added struct iso9660_input_stream | Max Kellermann | 2009-12-31 | 1 | -20/+32 |
| | | | | Don't use the iso9660_archive_file object for the input_stream. |