- 03 Jan, 2009 40 commits
-
-
Max Kellermann authored
The tag() method reads a tag from the stream. This replaces the meta_name and meta_title attributes.
-
Max Kellermann authored
tag_merges() merges the data from two tag objects into one.
-
Max Kellermann authored
This patch fixes a minor memory leak: when decoder_tag() attempted to send a merged tag object (created by tag_add_stream_tags()), and was interrupted by a decoder command, it did not free the temporary merged tag object.
-
Max Kellermann authored
Don't use g_strescape(), because it escapes all non-ASCII characters. Add a new function which clears all non-printable characters, not just "newline".
-
Max Kellermann authored
Commit b3e2635a introduced a regression: when a stream tag was changed, the playlist version had to be updated. This was done in syncCurrentPlayerDecodeMetadata(), called by syncPlayerAndPlaylist(). After b3e2635a, this was not called anymore. Fix this by emitting PIPE_EVENT_PLAYLIST.
-
Max Kellermann authored
Removed all allocation functions, xwrite(), xread(), ARRAY_SIZE(). Those have been superseded by GLib.
-
Max Kellermann authored
-
Max Kellermann authored
xclose() aims to be the signal safe version of close(). However during cleanup, this isn't important.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
If the state file cannot be read, for whatever reason, don't abort MPD. The state file isn't _that_ important.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This always allocates strings on the heap, but we can delete the stripReturnChar() function now.
-
Max Kellermann authored
-
Max Kellermann authored
Don't use libc's rand() function, because it is slow. Our own trivial linear congruential generator is good enough for dithering.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The length of GREETING is known at compile time, don't use strlen().
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
WIN32 has no getaddrinfo(). Fall back to gethostbyname().
-
Max Kellermann authored
Windows has no pipe(), it only has _pipe() with two additional parameters.
-
Max Kellermann authored
All socket functions are provided by ws2_32.dll.
-
Max Kellermann authored
g_strsplit() is more portable than strtok_r().
-
Max Kellermann authored
g_strsplit() is more portable than strtok_r().
-
Max Kellermann authored
Use strchr()/g_strndup() to extract the password.
-
Max Kellermann authored
-
Max Kellermann authored
WIN32 does have some kind of symbolic links (e.g. in NTFS), but the readlink() function is not available. Disable symlink checking for now.
-
Max Kellermann authored
-
Max Kellermann authored
WIN32 doesn't have POSIX signals. Disable the code. For a complete port, we will have to implement the WIN32 equivalent.
-
Max Kellermann authored
Due to a typo, adding local files was always denied. Disable the second playlist_append_file() invocation on WIN32.
-