Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -2/+0 | |
2013-10-23 | input_stream: rename struct to InputStream | Max Kellermann | 1 | -11/+11 | |
2013-10-23 | InputInternal: remove obsolete library | Max Kellermann | 1 | -1/+0 | |
2013-10-21 | GetBaseUTF8 | Max Kellermann | 1 | -8/+8 | |
2013-10-21 | archive/bz2: remove unused function bz2_quark() | Max Kellermann | 1 | -6/+0 | |
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -2/+2 | |
2013-10-17 | input_plugin: rename struct to "InputPlugin" | Max Kellermann | 1 | -2/+2 | |
2013-09-05 | InputLegacy: move functions to the input_stream class | Max Kellermann | 1 | -5/+4 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -15/+19 | |
Replaces GLib's GError. | |||||
2013-01-30 | ArchivePlugin: move instance methods to class ArchiveFile | Max Kellermann | 1 | -29/+23 | |
2013-01-30 | archive/bzip2: create file only after stream has been opened | Max Kellermann | 1 | -24/+19 | |
Simplify error handling. | |||||
2013-01-29 | ArchiveFile: convert to a class | Max Kellermann | 1 | -13/+10 | |
2013-01-29 | refcount: convert to C++ | Max Kellermann | 1 | -5/+4 | |
2013-01-29 | ArchivePlugin: replace scan_reset(), scan_next() with visit() | Max Kellermann | 1 | -18/+4 | |
Add the interface ArchiveVisitor. | |||||
2013-01-29 | ArchivePlugin: scan_next() returns const string | Max Kellermann | 1 | -2/+2 | |
2013-01-28 | InputStream: add constructor/destructor | Max Kellermann | 1 | -3/+2 | |
Eliminate input_stream_init() and input_stream_deinit(). | |||||
2013-01-28 | input/bzip2: add constructor/destructor | Max Kellermann | 1 | -37/+39 | |
2013-01-28 | archive/bzip2: rename the classes | Max Kellermann | 1 | -16/+16 | |
2013-01-28 | DatabaseLock, input/bzip2: remove obsolete Glib/gcc workaround | Max Kellermann | 1 | -5/+0 | |
2013-01-27 | DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond | Max Kellermann | 1 | -5/+4 | |
2013-01-26 | input_stream: forward-declare the struct | Max Kellermann | 1 | -0/+1 | |
Hide the definition from C code, to prepare the transition to C++. | |||||
2013-01-25 | input_{internal,plugin}: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2013-01-24 | archive/*: convert to C++ | Max Kellermann | 1 | -30/+47 | |
2012-04-04 | db_lock, archive/bz2, ...: workaround for G_STATIC_MUTEX_INIT warning | Max Kellermann | 1 | -0/+5 | |
2011-09-16 | input_stream: non-blocking I/O | Max Kellermann | 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. | |||||
2011-09-14 | input_stream: move input_stream_init(), _deinit() to _internal.c | Max Kellermann | 1 | -0/+1 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-01-18 | input_stream: added attribute "uri" | Max Kellermann | 1 | -3/+2 | |
2010-01-18 | input_stream: added function input_stream_deinit() | Max Kellermann | 1 | -0/+2 | |
All close() implementations must call this method. | |||||
2010-01-01 | input_stream: return allocated input_stream objects | Max Kellermann | 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). | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-31 | archive: use reference counting for archive+input | Max Kellermann | 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. | |||||
2009-12-31 | input/archive: don't initialize input_stream.ready | Max Kellermann | 1 | -0/+1 | |
The archive plugin should decide this. | |||||
2009-12-31 | archive/bz2: allocate buffer statically | Max Kellermann | 1 | -7/+3 | |
Reduce the number of malloc()/free() calls. | |||||
2009-12-31 | archive/bz2: added struct bz2_input_stream | Max Kellermann | 1 | -21/+32 | |
Don't use the bz2_archive_file object for the input_stream. | |||||
2009-12-16 | archive_plugin: use GError in the open() method | Max Kellermann | 1 | -3/+2 | |
2009-12-16 | archive_plugin: wrap method calls | Max Kellermann | 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. | |||||
2009-12-16 | archive_plugin: pass const string to method open() | Max Kellermann | 1 | -1/+1 | |
2009-12-16 | archive: added a C header for each plugin | Max Kellermann | 1 | -0/+1 | |
Moved the archive plugin "extern" declarations into each plugin header. | |||||
2009-12-16 | archive/bz2: removed the bz2_context typedef | Max Kellermann | 1 | -13/+13 | |
Use the raw struct name instead. | |||||
2009-12-16 | archive/bz2: renamed archive sources and plugin variables | Max Kellermann | 1 | -1/+1 | |
2009-12-16 | archive/bz2: use g_path_get_basename() | Max Kellermann | 1 | -10/+1 | |
Use g_path_get_basename() instead of manually filtering the path name. Big advantage: g_path_get_basename() cannot fail. | |||||
2009-12-15 | input_stream: return errors with GError | Max Kellermann | 1 | -14/+25 | |
2009-12-15 | archive/bz2: simplified error handling, short read | Max Kellermann | 1 | -34/+23 | |
Don't attempt to fill the whole buffer in the read() method, return whatever libbz2 provides with the first successful BZ2_bzDecompress(). | |||||
2009-12-15 | archive/bz2: no CamelCase | Max Kellermann | 1 | -11/+10 | |
2009-12-15 | archive: close archive when stream is closed | Max Kellermann | 1 | -0/+2 | |
Fixes a memory leak: the "archive" input plugin opens the archive, but never closes it. This patch moves the responsibility for doing that to archive_plugin.open_stream(). This is an slight internal API change, but it is the simplest and least intrusive fix for the memory leak. | |||||
2009-12-15 | archive/bz2: removed NULL check before g_free() | Max Kellermann | 1 | -2/+2 | |
g_free(NULL) is allowed. | |||||
2009-12-15 | archive/bz2: bz2_fillbuffer() returns bool | Max Kellermann | 1 | -5/+6 | |
2009-12-15 | archive/bz2: fixed indentation | Max Kellermann | 1 | -15/+22 | |
2009-12-15 | archive/bz2: g_malloc() cannot fail | Max Kellermann | 1 | -4/+2 | |