- 08 Aug, 2012 1 commit
-
-
Max Kellermann authored
The new block overrides the "db_file" setting, and allows configuring any database plugin.
-
- 09 Jul, 2012 1 commit
-
-
Max Kellermann authored
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it.
-
- 06 Mar, 2012 1 commit
-
-
Max Kellermann authored
Make sure we get a UTF-8 encoded string.
-
- 09 Sep, 2011 8 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
No writers.
-
Max Kellermann authored
-
Max Kellermann authored
Better error messages.
-
Max Kellermann authored
config_get_path() was somewhat flawed, because it pretended to be a function, when it really had a side effect. The second flaw was that it did not return the parser error, instead it aborted the whole process, which is bad style. The new function returns a duplicated (modified) string that must be freed by the caller, and returns a GError on failure.
-
Max Kellermann authored
No caller needs to write.
-
Max Kellermann authored
config_add_block_param() cannot fail, which makes it easier to use.
-
Max Kellermann authored
Reduce indent.
-
- 18 Jul, 2011 1 commit
-
-
Jonathan Neuschäfer authored
This patch seems a bit ugly, maybe it would be a bit cleaner with gotos.
-
- 29 Mar, 2011 1 commit
-
-
Simon Kagstrom authored
Used to connect and authenticate to despotify. Provides a singleton session and a desptoify-track-to-tags function.
-
- 23 Feb, 2011 1 commit
-
-
Max Kellermann authored
When set, MPD will not auto-start playback on startup; it will be in "paused" state.
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 23 Dec, 2010 2 commits
-
-
Max Kellermann authored
Replace g_strchug() calls with a cheaper implementation.
-
Max Kellermann authored
-
- 25 Sep, 2010 1 commit
-
-
Thomas Jansen authored
Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007.
-
- 30 May, 2010 1 commit
-
-
Daniel Seuthe authored
-
- 13 Apr, 2010 2 commits
-
-
Max Kellermann authored
Limits the depth of the watched directories. This is useful to keep resource usage down and speed up MPD startup.
-
Max Kellermann authored
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
-
- 10 Nov, 2009 1 commit
-
-
Max Kellermann authored
Drop the required GLib version from 2.16 to 2.12, because many current systems still don't have GLib 2.16. This requires several new compatibility functions in glib_compat.h.
-
- 06 Nov, 2009 1 commit
-
-
Max Kellermann authored
No CamelCase. Use bool instead of int. Make both arguments mandatory.
-
- 26 Oct, 2009 1 commit
-
-
Viliam Mateicka authored
-
- 13 Oct, 2009 1 commit
-
-
Max Kellermann authored
This patch completes the configuration support.
-
- 24 Sep, 2009 2 commits
-
-
Max Kellermann authored
Don't call g_error(), which will abort the process and dump core. This patch does not affect all the config_get_X() functions. These need some more refactoring.
-
Max Kellermann authored
-
- 24 Aug, 2009 1 commit
-
-
Max Kellermann authored
This option was deprecated by the 0.15 release. This patch makes this option invalid.
-
- 19 Jul, 2009 2 commits
-
-
Max Kellermann authored
-
Michal Nazarewicz authored
The "group" configuration option is similar to "user" as it sets user set what group MPD shall run as. With "user" option, MPD changed GID to the GID of the user, however, more control could be desired. Moreover, the patch changes the way of checking whether no setuid(2)/setgid(2) is required -- previously user names were compered, now UID and GIDs are compered (ie. the one we already have (getuid(2)/getgid(2)) with the one we want to change to).
-
- 06 Jul, 2009 1 commit
-
-
Max Kellermann authored
A recent change to the boolean parser introduced a bug: instead of using the block_param's value with get_bool(), we passed param->value (which is always NULL in this case).
-
- 05 Jul, 2009 1 commit
-
-
Max Kellermann authored
Add this option to the user's manual.
-
- 25 Jun, 2009 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Moved the check from config_get_block_param(). Detect the duplicate parameter when it's added, not when it's queried.
-
Max Kellermann authored
Instead of returning an artificial three-state integer, return a "success" value and put the boolean value into a "bool" pointer. That's a little bit more overhead, but an API which looks more natural.
-
Max Kellermann authored
-
Max Kellermann authored
Initialize the config_entries array at compile time. This is not only faster, but also smaller.
-