- 17 Oct, 2013 1 commit
-
-
Max Kellermann authored
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object.
-
- 15 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 12 Sep, 2013 1 commit
-
-
Maarten de Vries authored
-
- 05 Sep, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 04 Sep, 2013 1 commit
-
-
Max Kellermann authored
Replaces GLib's GError.
-
- 07 Aug, 2013 2 commits
-
-
Max Kellermann authored
Migrate all callers to use Path directly, instead of doing the conversion in each caller.
-
Max Kellermann authored
-
- 30 Jan, 2013 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Look up top-level config options by enum (= integer), not by name string.
-
- 29 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 07 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 09 Sep, 2011 7 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
No writers.
-
Max Kellermann authored
-
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
-
- 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.
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 25 Sep, 2010 1 commit
-
-
Thomas Jansen authored
-
- 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
-
- 14 Dec, 2009 1 commit
-
-
Albin Eldstål-Damlin authored
-
- 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 1 commit
-
-
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.
-
- 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
-
-
Michal Nazarewicz authored
The functions were not "const" (they examined values pointed by arguments passed to them, quoting gcc's doc: "Note that a function that has pointer arguments and examines the data pointed to must _not_ be declared 'const'.") but rather "pure" and still not all of them. Note also, that even some of the functions declared "pure" are not pure, however, due to reasons stated in source code the attribute has been kept.
-
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).
-
- 15 Jul, 2009 1 commit
-
-
Max Kellermann authored
Add the "const" attribute to functions when their return value only depends on parameters. This allows gcc to eliminate some function calls.
-
- 02 Jul, 2009 1 commit
-
-
Max Kellermann authored
This GQuark will be used for GErrors related to malformed configuration.
-
- 25 Jun, 2009 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
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
This function is unused.
-