- 28 Jan, 2013 1 commit
-
-
Max Kellermann authored
Eliminate input_stream_init() and input_stream_deinit().
-
- 27 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 26 Jan, 2013 1 commit
-
-
Max Kellermann authored
Hide the definition from C code, to prepare the transition to C++.
-
- 25 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 21 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 04 Oct, 2012 1 commit
-
-
Max Kellermann authored
-
- 16 Sep, 2011 1 commit
-
-
Max Kellermann authored
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.
-
- 15 Sep, 2011 1 commit
-
-
Max Kellermann authored
-
- 14 Sep, 2011 1 commit
-
-
Max Kellermann authored
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 20 May, 2010 1 commit
-
-
Max Kellermann authored
Windows compatibility.
-
- 18 Jan, 2010 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
All close() implementations must call this method.
-
- 01 Jan, 2010 2 commits
-
-
Max Kellermann authored
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).
-
Avuton Olrich authored
-
- 15 Dec, 2009 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
This code has never made any sense, and has broken some of the archive plugin.
-
Max Kellermann authored
This code has never made any sense, and has broken some of the archive plugin.
-
- 10 Nov, 2009 1 commit
-
-
Max Kellermann authored
Add a "mode" argument to open_cloexec() instead.
-
- 07 Nov, 2009 1 commit
-
-
Max Kellermann authored
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.
-
- 20 Oct, 2009 1 commit
-
-
Max Kellermann authored
Try to be as portable as possible, use GLib path name functions and macros.
-
- 11 Oct, 2009 1 commit
-
-
Max Kellermann authored
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.
-
- 28 May, 2009 1 commit
-
-
Mathieu Rochette authored
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)]
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
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.
-
- 09 Mar, 2009 1 commit
-
-
Jochen Keil authored
[mk: fixed whitespace errors; use delete_song() instead of songvec_delete()]
-
- 02 Mar, 2009 3 commits
-
-
Max Kellermann authored
Allow input plugins to configure with an "input" block in mpd.conf. Also allow the user to disable a plugin completely.
-
Max Kellermann authored
Create a sub directory for input plugins.
-
Max Kellermann authored
Start to separate private from public input_stream API.
-
- 17 Feb, 2009 1 commit
-
-
Max Kellermann authored
Define G_LOG_DOMAIN.
-
- 29 Jan, 2009 2 commits
-
-
Max Kellermann authored
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).
-
Max Kellermann authored
This way, plugins can manipulate the plugin pointer during open().
-
- 24 Nov, 2008 1 commit
-
-
Thomas Jansen authored
-
- 29 Oct, 2008 3 commits
-
-
Max Kellermann authored
Don't allow users to open a file which is non-regular (e.g. pipes, devices).
-
Max Kellermann authored
-
Max Kellermann authored
-
- 28 Oct, 2008 2 commits
-
-
Max Kellermann authored
Yet another superfluous buffering layer. input_file was using FILE*, but we're better off with unbuffered I/O using open(), read(), ...
-
Max Kellermann authored
size_t and long aren't 64 bit safe (i.e. files larger than 2 GB on a 32 bit OS). Use off_t instead, which is a 64 bit integer if compiled with large file support.
-
- 27 Oct, 2008 1 commit
-
-
Max Kellermann authored
Don't attempt to open a HTTP URL as a local file, and don't send a local path to libcurl.
-
- 26 Oct, 2008 2 commits
-
-
Max Kellermann authored
For boolean values and success flags, use bool instead of integer (1/0 for true/false, 0/-1 for success/failure).
-
Max Kellermann authored
close() shouldn't fail with read-only streams.
-