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 | -30/+20 | |
Replace InputPlugin attributes. | |||||
2014-05-11 | InputStream: add virtual destructor | Max Kellermann | 1 | -9/+0 | |
Replaces the method Close(). | |||||
2014-05-11 | input/plugins: make InputStream the base class | Max Kellermann | 1 | -12/+8 | |
Prepare for adding virtual methods. | |||||
2014-05-11 | InputStream: convert to class | Max Kellermann | 1 | -2/+2 | |
2014-01-24 | Input*: move to input/ | Max Kellermann | 1 | -2/+2 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-12-05 | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 1 | -1/+1 | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -2/+0 | |
2013-10-23 | input_stream: rename struct to InputStream | Max Kellermann | 1 | -6/+6 | |
2013-10-23 | InputInternal: remove obsolete library | Max Kellermann | 1 | -1/+0 | |
2013-10-17 | fs/Path: move definitions to struct PathTraits | Max Kellermann | 1 | -2/+2 | |
2013-10-17 | InputStream: use int64_t instead of goffset | Max Kellermann | 1 | -2/+3 | |
Decouple some more from GLib. | |||||
2013-10-17 | input_plugin: rename struct to "InputPlugin" | Max Kellermann | 1 | -1/+1 | |
2013-10-14 | fs/Path: add method IsAbsolute() | Max Kellermann | 1 | -1/+2 | |
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 | -16/+13 | |
Replaces GLib's GError. | |||||
2013-08-07 | Makefile.am: move sources to libsystem.a | Max Kellermann | 1 | -1/+1 | |
2013-01-28 | InputStream: add constructor/destructor | Max Kellermann | 1 | -5/+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 | -30/+41 | |
2012-10-04 | input/file: use errno_quark() | Max Kellermann | 1 | -11/+6 | |
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-15 | input/file: return NULL instead of "false" | Max Kellermann | 1 | -4/+4 | |
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-20 | input/file, output/{fifo,recorder}: add O_BINARY to open() flags | Max Kellermann | 1 | -2/+2 | |
Windows compatibility. | |||||
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 | -18/+26 | |
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 | -13/+25 | |
2009-12-15 | input/file: don't fall back to parent directory | Max Kellermann | 1 | -18/+3 | |
This code has never made any sense, and has broken some of the archive plugin. | |||||
2009-12-15 | input/file: don't fall back to parent directory | Max Kellermann | 1 | -18/+3 | |
This code has never made any sense, and has broken some of the archive plugin. | |||||
2009-11-10 | fd_util: removed creat_cloexec() | Max Kellermann | 1 | -1/+1 | |
Add a "mode" argument to open_cloexec() instead. | |||||
2009-11-07 | set the close-on-exec flag on all file descriptors | Max Kellermann | 1 | -1/+2 | |
Added the "fd_util" library, which attempts to use the new thread-safe Linux system calls pipe2(), accept4() and the options O_CLOEXEC, SOCK_CLOEXEC. Without these, it falls back to FD_CLOEXEC, which is not thread safe. This is particularly important for the "pipe" output plugin (and others, such as JACK/PulseAudio), because we were heavily leaking file descriptors to child processes. | |||||
2009-10-20 | mapper, update, ...: use g_build_filename(), G_DIR_SEPARATOR, ... | Max Kellermann | 1 | -1/+1 | |
Try to be as portable as possible, use GLib path name functions and macros. | |||||
2009-10-11 | input_stream: use "goffset" instead of "off_t" | Max Kellermann | 1 | -2/+3 | |
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-05-28 | input/file: log message on error | Mathieu Rochette | 1 | -0/+2 | |
If a file is removed the library, next time mpd will try to play it it will result in an error 'ERROR: problems decoding some/file.ogg'. Nothing is written in log files (verbose mode or not) [mk: append strerror(errno)] | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -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. | |||||
2009-03-09 | decoder_plugin: added method container_scan() | Jochen Keil | 1 | -2/+17 | |
[mk: fixed whitespace errors; use delete_song() instead of songvec_delete()] | |||||
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 | -0/+1 | |
Start to separate private from public input_stream API. | |||||
2009-02-17 | input_file, input_curl, icy_metadata: added GLib log domains | Max Kellermann | 1 | -0/+3 | |
Define G_LOG_DOMAIN. | |||||
2009-01-30 | input_stream: make seek(), buffer() optional | Max Kellermann | 1 | -7/+0 | |
Make those two methods optional to implement, and let input_stream.c provide fallbacks. The buffer() method will be removed one day, and there is now only one implementation left (input_curl.c). | |||||
2009-01-30 | input_stream: let the implementation assign is->plugin | Max Kellermann | 1 | -0/+1 | |
This way, plugins can manipulate the plugin pointer during open(). | |||||
2008-11-24 | input_file.c: replaced mpd_unused by G_GNUC_UNUSED | Thomas Jansen | 1 | -2/+1 | |