aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/archive_input_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* archive/*: convert to C++Max Kellermann2013-01-241-83/+0
|
* input/archive: fix memory leak in error handlerMax Kellermann2013-01-211-1/+3
|
* input_stream: non-blocking I/OMax Kellermann2011-09-161-2/+5
| | | | | | | | | 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.
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* input_stream: return allocated input_stream objectsMax Kellermann2010-01-011-10/+9
| | | | | | | | 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-311-1/+1
|
* archive: use reference counting for archive+inputMax Kellermann2009-12-311-4/+1
| | | | | | | 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-311-2/+0
| | | | The archive plugin should decide this.
* archive_plugin: use GError in the open() methodMax Kellermann2009-12-161-1/+1
|
* input/archive: check for archive_file_open() errorsMax Kellermann2009-12-161-0/+2
| | | | | This fixes a NULL pointer dereference in case of archive plugin failure.
* archive_plugin: wrap method callsMax Kellermann2009-12-161-3/+3
| | | | | Make archive_file a "real" struct, extended by all plugins. Add the plugin pointer to it. Wrap all method calls in functions.
* input_stream: return errors with GErrorMax Kellermann2009-12-151-4/+5
|
* input/archive: use g_path_is_absolute()Max Kellermann2009-12-151-1/+1
| | | | | .. instead of manually checking pathname[0]=='/'. g_path_is_absolute() is portable.
* Merge branch 'v0.15.x'Max Kellermann2009-12-151-0/+1
|\ | | | | | | | | | | | | | | Conflicts: src/archive/bz2_plugin.c src/archive_api.h src/input/file_input_plugin.c test/run_input.c
| * input/archive: close the archive file on errorMax Kellermann2009-12-151-0/+1
| | | | | | | | Fixed memory leak in error handler.
* | include config.h in all sourcesMax Kellermann2009-11-121-0/+1
|/ | | | | | After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
* all: Update copyright header.Avuton Olrich2009-03-131-6/+7
| | | | | | | | This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
* input: pass config_param to input_plugin.init()Max Kellermann2009-03-021-0/+1
| | | | | Allow input plugins to configure with an "input" block in mpd.conf. Also allow the user to disable a plugin completely.
* input: moved plugins to ./src/input/Max Kellermann2009-03-021-0/+77
Create a sub directory for input plugins.