aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_input.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input_stream: non-blocking I/OMax Kellermann2011-09-161-12/+18
| | | | | | | | | 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_plugin: add method check()Max Kellermann2011-09-161-0/+6
| | | | | To check for errors without reading. The decoder thread wants to do that, before it passes the input stream to the plugin.
* input/soup: new input plugin based on libsoupMax Kellermann2011-08-241-0/+11
| | | | | | | | To demonstrate the new I/O thread. libsoup is well-integrated into the GLib main loop, which made this plugin pretty easy to write. As a side effect, we have to initialize the I/O thread in all debug programs that use the input API.
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* test: enable binary mode on stdin/stdoutMax Kellermann2010-05-201-0/+1
| | | | | Declaring the global variable _CRT_fmode is a documented hack. What an ugly platform!
* input_stream: return allocated input_stream objectsMax Kellermann2010-01-011-4/+5
| | | | | | | | 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
|
* input_stream: return errors with GErrorMax Kellermann2009-12-151-6/+21
|
* Merge branch 'v0.15.x'Max Kellermann2009-12-151-41/+64
|\ | | | | | | | | | | | | | | Conflicts: src/archive/bz2_plugin.c src/archive_api.h src/input/file_input_plugin.c test/run_input.c
| * test/run_input: deinitialize everything after open() errorMax Kellermann2009-12-151-40/+50
| | | | | | | | This enables valgrind debugging after an error occurred.
| * test/run_input: initialize archive pluginsMax Kellermann2009-12-151-0/+15
| | | | | | | | Enable archive plugin debugging.
* | input_plugin: method init() returns errors with GErrorMax Kellermann2009-12-141-1/+7
| | | | | | | | | | Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it.
* | input_stream: moved input_stream_global_init() to input_init.cMax Kellermann2009-12-141-0/+1
| |
* | 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.
* test: added run_input test programMax Kellermann2009-04-131-0/+114