Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-05-11 | InputStream: remove attribute "plugin" | Max Kellermann | 1 | -1/+1 | |
2014-05-11 | InputStream: make various methods abstract | Max Kellermann | 1 | -9/+3 | |
Replace InputPlugin attributes. | |||||
2014-05-11 | InputStream: add virtual destructor | Max Kellermann | 1 | -1/+0 | |
Replaces the method Close(). | |||||
2014-05-11 | input/plugins: make InputStream the base class | Max Kellermann | 1 | -4/+4 | |
Prepare for adding virtual methods. | |||||
2014-03-16 | input/mms: move blocking I/O to thread | Max Kellermann | 1 | -60/+50 | |
2014-01-24 | Input*: move to input/ | Max Kellermann | 1 | -2/+2 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-11-28 | Util/StringUtil: add StringStartsWith() | Max Kellermann | 1 | -5/+5 | |
Replaces GLib's g_str_has_prefix(). | |||||
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -3/+0 | |
2013-10-30 | *: update copyright year to 2013 | Max Kellermann | 1 | -1/+1 | |
2013-10-23 | input_stream: rename struct to InputStream | Max Kellermann | 1 | -5/+5 | |
2013-10-23 | InputInternal: remove obsolete library | Max Kellermann | 1 | -1/+0 | |
2013-10-17 | input_plugin: rename struct to "InputPlugin" | Max Kellermann | 1 | -1/+1 | |
2013-10-15 | input/*: don't allocate attribute "mime" | Max Kellermann | 1 | -1/+1 | |
This was a memory leak, because "mime" was a std::string which created another copy and discarded the allocated buffer. | |||||
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -3/+0 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -13/+8 | |
Replaces GLib's GError. | |||||
2013-09-03 | input/{mms,despotify}: remove "seek" implementation | Max Kellermann | 1 | -9/+1 | |
Omitting it has the same effect as returning false unconditionally. | |||||
2013-08-04 | *: use gcc.h macros instead of GLib | Max Kellermann | 1 | -3/+3 | |
2013-01-28 | InputStream: add constructor/destructor | Max Kellermann | 1 | -4/+2 | |
Eliminate input_stream_init() and input_stream_deinit(). | |||||
2013-01-27 | DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond | Max Kellermann | 1 | -2/+2 | |
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-21 | input/file,mms: convert to C++ | Max Kellermann | 1 | -34/+42 | |
2011-09-16 | input_stream: non-blocking I/O | Max Kellermann | 1 | -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. | |||||
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-05-18 | input/mms: removed empty method buffer() | Max Kellermann | 1 | -8/+0 | |
input_stream_buffer() has a check for "buffer==NULL", so we don't need an explicit empty implementation. | |||||
2010-05-18 | input/mms: initialize the "eof" attribute | Max Kellermann | 1 | -0/+2 | |
2010-05-18 | input/mms: fix memory leak in error handler | Max Kellermann | 1 | -0/+1 | |
2010-01-18 | input_stream: added attribute "uri" | Max Kellermann | 1 | -1/+1 | |
2010-01-18 | input_stream: added function input_stream_deinit() | Max Kellermann | 1 | -0/+1 | |
All close() implementations must call this method. | |||||
2010-01-01 | input_stream: return allocated input_stream objects | Max Kellermann | 1 | -12/+15 | |
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-15 | input_stream: return errors with GError | Max Kellermann | 1 | -7/+17 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -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. | |||||
2009-10-11 | input_stream: use "goffset" instead of "off_t" | Max Kellermann | 1 | -1/+1 | |
The "off_t" type may change when you enable or disable large file support on 32 bit platforms. This caused severe ABI problems within MPD when we enabled LFS for the first time: two sources included config.h and sys/types.h in different order, and had different off_t sizes - leading to memory corruption because of ABI incompatibility. This patch attempts to get rid of all public "off_t" uses: it removes "off_t" from the input_stream ABI/API, and switches to GLib's 64 bit "goffset" type. This may hurt 32 bit embedded platforms a tiny bit, but that's not even measurable. | |||||
2009-09-20 | input/mms: fix G_LOG_DOMAIN value | Serge Ziryukin | 1 | -1/+1 | |
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -3/+4 | |
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. | |||||
2009-03-02 | input: pass config_param to input_plugin.init() | Max Kellermann | 1 | -0/+1 | |
Allow input plugins to configure with an "input" block in mpd.conf. Also allow the user to disable a plugin completely. | |||||
2009-03-02 | input: moved plugins to ./src/input/ | Max Kellermann | 1 | -1/+1 | |
Create a sub directory for input plugins. | |||||
2009-03-02 | input_stream: moved struct input_plugin to input_plugin.h | Max Kellermann | 1 | -1/+1 | |
Start to separate private from public input_stream API. | |||||
2009-02-19 | mms: fix assertion in input_stream_open | Peter Colberg | 1 | -0/+1 | |
Hi, upon trying to play an MMS stream added to the play list, I got this: mpd: /tmp/mpd/./src/input_stream.c:85: input_stream_open: Assertion `is->plugin->open == ((void *)0) || is->plugin == plugin' failed. With the following patch applied, it works perfectly. Thanks for having implemented MMS support :-). Best regards, Peter | |||||
2009-01-29 | mms: declare GLib log domain | Max Kellermann | 1 | -0/+3 | |
2009-01-29 | added support for the MMS protocol | Max Kellermann | 1 | -0/+120 | |
This patch implements the MMS protocol, by using libmms. It is quite experimental: it does not support seeking yet, and it is currently using synchronous I/O, which causes MPD to hang while waiting for the server. |