- 12 Dec, 2017 1 commit
-
-
Max Kellermann authored
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
-
- 08 May, 2017 2 commits
-
-
Max Kellermann authored
The "pure" and "const" attributes are not so well-defined, and a recent clang version implements an optimization which pushes the definition's boundary beyond what I believed it was. clang now assumes that functions declared "pure" cannot throw exceptions, even if they lack the "noexcept" specification. When compiled with this new clang version, MPD will crash randomly if an exception happens to get thrown by such as "pure" function (https://github.com/MusicPlayerDaemon/MPD/issues/41). This commit removes all such misplaced "pure" and "const" attributes, closing #41.
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 10 Nov, 2016 1 commit
-
-
Max Kellermann authored
-
- 21 Apr, 2016 1 commit
-
-
Max Kellermann authored
-
- 13 Apr, 2016 1 commit
-
-
Max Kellermann authored
-
- 12 Apr, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Jun, 2015 2 commits
-
-
Max Kellermann authored
We don't need this anymore: Win32 doesn't use this library at all, and everything else has either iconv() or libicu.
-
Max Kellermann authored
-
- 22 Jun, 2015 1 commit
-
-
Max Kellermann authored
Don't define HAVE_FS_CHARSET, and make GetFSCharset() return "ACP" instead of "UTF-8". Ignore the configuration setting, which had no effect anyway.
-
- 25 Feb, 2015 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 01 Dec, 2014 1 commit
-
-
Max Kellermann authored
-
- 29 Nov, 2014 4 commits
-
-
Max Kellermann authored
Don't expose pointer that requires the caller to invoke g_free(), because that's GLib-only.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Don't abort the process, let the caller decide instead.
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 17 Oct, 2013 3 commits
-
-
Max Kellermann authored
If fs_charset is empty, i.e. we're using the default "utf-8", GetFSCharset() should return exactly that instead of an empty std::string.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 15 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 22 Feb, 2013 1 commit
-
-
Max Kellermann authored
-
- 11 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 17 Sep, 2011 1 commit
-
-
Max Kellermann authored
Move the "extern" declarations from output_list.c, for more type safety.
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 08 Oct, 2010 1 commit
-
-
Denis Krjuchkov authored
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 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.
-
- 31 Oct, 2008 1 commit
-
-
Max Kellermann authored
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
-
- 08 Oct, 2008 1 commit
-
-
Max Kellermann authored
When there are standardized headers, use these instead of the bloated os_compat.h.
-
- 07 Sep, 2008 2 commits
-
-
Max Kellermann authored
Currently, when the tag cache is being serialized to hard disk, the stdio buffer is flushed before every song, because tag_print.c performs unbuffered writes on the raw file descriptor. Unfortunately, the fdprintf() API allows buffered I/O only for a client connection by looking up the client pointer owning the file descriptor - for stdio, this is not possible. To re-enable proper stdio buffering, we have to duplicate the tag_print.c code without fprintf() instead of our custom fdprintf() hack. Add this duplicated code to tag_save.c.
-
Max Kellermann authored
Move everything which dumps a tag to a file descriptor to tag_print.c. This relaxes dependencies and splits the code into smaller parts.
-
- 26 Aug, 2008 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
It should be obvious in which thread or context a function is being executed at runtime. The code which was left in decode.c is for the decoder thread itself; give the file a better name.
-
Max Kellermann authored
This is the last of the three variables. Now we don't need playerData.h anymore in most sources.
-
Max Kellermann authored
This releases several include file dependencies. As a side effect, "CHUNK_SIZE" isn't defined by decoder_api.h anymore, so we have to define it directly in the plugins which need it. It just isn't worth it to add it to the decoder plugin API.
-
Max Kellermann authored
Now that "dc" is available here, we don't have to pass it to decoder_is_idle() and decoder_is_starting() anymore.
-