- 06 Nov, 2008 5 commits
-
-
Laszlo Ashin authored
The input stream opened for wvc is not closed in an if branch. A close call has been added.
-
Laszlo Ashin authored
Somehow seeking is disabled on all kinds of wavpack playbacks now in the git version. This patch corrects that.
-
Max Kellermann authored
libcurl provides better error messages than curl_multi_strerror() when you set the ERRORBUFFER option.
-
Max Kellermann authored
The read() method must not return a negative value. Make it return 0 on error, just like the file input stream. Also set the "error" attribute to -1.
-
Max Kellermann authored
I had this option enabled during development, but at some point, it must have gotten lost. FAILONERROR makes the curl stream fail when the server returns a status code 400 or higher. We are not interested in the server's error document.
-
- 05 Nov, 2008 27 commits
-
-
Max Kellermann authored
First alpha version for the upcoming version 0.14.
-
Max Kellermann authored
The code which had a possible error condition had been removed.
-
Max Kellermann authored
When logging to a file, log_charset would be NULL and g_convert() would abort.
-
Max Kellermann authored
Adding some of the most important changes since 0.13.
-
Max Kellermann authored
Trying to bring a little bit of structure into that list.
-
Max Kellermann authored
MPD is licensed under the version 2 of the GNU General Public License version 2. Also added "General".
-
Max Kellermann authored
MPD doesn't include the mp4ff library anymore.
-
Max Kellermann authored
-
Max Kellermann authored
Documented dependencies on gcc/C99, glib, libvorbisenc, liblame, ffmpeg.
-
Max Kellermann authored
input_curl.h was missing in the tarball because it was not listed in $(mpd_headers).
-
Max Kellermann authored
Using the logging library here is inappropriate.
-
Max Kellermann authored
When logging to the terminal, we should print messages in the system character set. Convert all messages in this case.
-
Max Kellermann authored
Use the bool data type for flags.
-
Max Kellermann authored
Install a default handler which writes to stdout or stderr, and prepends a time stamp. This looks just like the 0.13.x logger.
-
Max Kellermann authored
The logging functions from log.h are deprecated, and the code should use GLib logging instead. Make ERROR(), WARNING() etc. call g_logv() internally.
-
Max Kellermann authored
Renamed the variable "logLevel" to "log_threshold".
-
Max Kellermann authored
The warning buffer is a complex piece of code for no good reason. Remove it and find a better solution, e.g. open the log file earlier.
-
Max Kellermann authored
Initialize libc's locale functions. Currently, we are only interested in LC_CTYPE (character classification), because this is what is used by GLib's g_get_charset().
-
Max Kellermann authored
Make the local variable "charset" const, and don't duplicate its value. It is already duplicated by path_set_fs_charset().
-
Max Kellermann authored
GLib provides the function g_get_filename_charsets() which determines the file system character set. This changes MPD's fallback: GLib prefers UTF-8 as a fallback. MPD used to fall back to ISO Latin 1.
-
Max Kellermann authored
Rename variables and functions.
-
Max Kellermann authored
Call g_thread_init() from main() to enable the GLib features which make it thread safe.
-
Max Kellermann authored
Removed closeAllFDs(). The caller is responsible for closing all file handles.
-
Max Kellermann authored
The output thread automatically waits some time before retrying to open the device. Don't duplicate this check in the pulse plugin.
-
Max Kellermann authored
The pulse plugin crashed with a segmentation fault when the pulse server was killed.
-
Max Kellermann authored
libwavpack expects the read_bytes() stream method to fill the whole buffer, and fails badly when we return a partial read (i.e. not enough data available yet). This caused wavpack streams to break. Re-implement the buffer filling loop.
-
Max Kellermann authored
The input_stream object is opened and closed by the caller.
-
- 04 Nov, 2008 8 commits
-
-
Max Kellermann authored
Disable the ffmpeg decoder plugin if avcodec_decode_audio2() is not available.
-
Max Kellermann authored
Instead of checking the stream_types bit set, we can simply check whether the methods stream_decode() and file_decode() are implemented.
-
Max Kellermann authored
The number of tag types is known at compile time. Use the GLib macro G_N_ELEMENTS instead of having a NULL element at the end.
-
Max Kellermann authored
Don't store tag type values in a plain integer, use the proper enum.
-
Max Kellermann authored
Replace deprecated code with GLib.
-
Max Kellermann authored
Instead of manually waiting for the input stream to become ready (to catch server errors), just read the first byte. Since the wavpack_input has the capability to push back one byte, we can simply re-feed it. Advantage is: decoder_read() handles everything for us, i.e. waiting for the stream, polling for decoder commands and error handling.
-
Max Kellermann authored
Use boolean true/false instead of 1/0.
-
Max Kellermann authored
Renamed functions and variables.
-