Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | archive/*: convert to C++ | Max Kellermann | 2013-01-24 | 1 | -314/+0 |
| | |||||
* | 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 | 1 | -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. | ||||
* | input_stream: move input_stream_init(), _deinit() to _internal.c | Max Kellermann | 2011-09-14 | 1 | -0/+1 |
| | |||||
* | copyright year 2011 | Max Kellermann | 2011-01-29 | 1 | -1/+1 |
| | |||||
* | input_stream: added attribute "uri" | Max Kellermann | 2010-01-18 | 1 | -3/+2 |
| | |||||
* | input_stream: added function input_stream_deinit() | Max Kellermann | 2010-01-18 | 1 | -0/+2 |
| | | | | All close() implementations must call this method. | ||||
* | input_stream: return allocated input_stream objects | Max Kellermann | 2010-01-01 | 1 | -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). | ||||
* | Update copyright notices. | Avuton Olrich | 2009-12-31 | 1 | -1/+1 |
| | |||||
* | archive: use reference counting for archive+input | Max Kellermann | 2009-12-31 | 1 | -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. | ||||
* | input/archive: don't initialize input_stream.ready | Max Kellermann | 2009-12-31 | 1 | -0/+1 |
| | | | | 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_plugin: use GError in the open() method | Max Kellermann | 2009-12-16 | 1 | -3/+2 |
| | |||||
* | archive_plugin: wrap method calls | Max Kellermann | 2009-12-16 | 1 | -1/+4 |
| | | | | | 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 Kellermann | 2009-12-16 | 1 | -1/+1 |
| | |||||
* | archive: added a C header for each plugin | Max Kellermann | 2009-12-16 | 1 | -0/+1 |
| | | | | | Moved the archive plugin "extern" declarations into each plugin header. | ||||
* | archive/bz2: removed the bz2_context typedef | Max Kellermann | 2009-12-16 | 1 | -13/+13 |
| | | | | Use the raw struct name instead. | ||||
* | archive/bz2: renamed archive sources and plugin variables | Max Kellermann | 2009-12-16 | 1 | -0/+279 |