Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-06-26 | config/Global: allow calling config_get_string() with one argument | Max Kellermann | 1 | -1/+1 | |
default_value defaults to nullptr. | |||||
2015-03-03 | *: change C-style prototypes, drop "(void)" | Max Kellermann | 1 | -3/+7 | |
2015-01-21 | config/Param: split block-specific attributes to new struct ConfigBlock | Max Kellermann | 1 | -2/+7 | |
The old struct config_param remains only for top-level string options. | |||||
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-02-20 | ConfigGlobal: eliminate function config_get_next_param() | Max Kellermann | 1 | -12/+3 | |
2014-01-24 | ConfigGlobal: add config_find_block() | Max Kellermann | 1 | -0/+11 | |
Merge duplicate code. | |||||
2014-01-24 | Config*: move to config/ | Max Kellermann | 1 | -0/+0 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -6/+7 | |
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. | |||||
2013-10-15 | gcc.h: rename to Compiler.h | Max Kellermann | 1 | -1/+1 | |
2013-09-12 | Listen: Allow tilde paths for socket. | Maarten de Vries | 1 | -0/+8 | |
2013-09-05 | PlaylistPlugin, ConfigGlobal: use nullptr instead of NULL | Max Kellermann | 1 | -4/+2 | |
2013-09-05 | conf.h: move constants to ConfigDefaults.hxx | Max Kellermann | 1 | -4/+0 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -3/+3 | |
Replaces GLib's GError. | |||||
2013-08-07 | ConfigPath: return a Path object | Max Kellermann | 1 | -7/+4 | |
Migrate all callers to use Path directly, instead of doing the conversion in each caller. | |||||
2013-08-07 | *: remove remaining __cplusplus checks | Max Kellermann | 1 | -14/+0 | |
2013-01-30 | ConfigFile: move code to ConfigGlobal.cxx | Max Kellermann | 1 | -28/+19 | |
2013-01-30 | conf: move struct definitions to ConfigData.hxx | Max Kellermann | 1 | -73/+1 | |
2013-01-30 | ConfigFile: add enum ConfigOption | Max Kellermann | 1 | -61/+12 | |
Look up top-level config options by enum (= integer), not by name string. | |||||
2013-01-29 | ConfigFile, CommandLine: use the Path class | Max Kellermann | 1 | -3/+11 | |
2013-01-07 | decoder_api.h, ...: add "extern C" | Max Kellermann | 1 | -0/+4 | |
2011-09-09 | conf: export config_param_free() | Max Kellermann | 1 | -0/+3 | |
2011-09-09 | conf: _get_next_param() returns a const pointer | Max Kellermann | 1 | -2/+2 | |
No writers. | |||||
2011-09-09 | conf: add config_dup_block_path() | Max Kellermann | 1 | -0/+9 | |
2011-09-09 | conf: turn config_get_path() into config_dup_path() | Max Kellermann | 1 | -10/+8 | |
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. | |||||
2011-09-09 | conf: get_block_param() returns a const pointer | Max Kellermann | 1 | -1/+1 | |
No caller needs to write. | |||||
2011-09-09 | conf: move duplicate check to _read_name_value() | Max Kellermann | 1 | -2/+2 | |
config_add_block_param() cannot fail, which makes it easier to use. | |||||
2011-09-09 | conf: add gcc optimization attributes | Max Kellermann | 1 | -0/+3 | |
2011-03-29 | despotify: Add support utilities | Simon Kagstrom | 1 | -0/+3 | |
Used to connect and authenticate to despotify. Provides a singleton session and a desptoify-track-to-tags function. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-09-25 | conf: Whitespace cosmetics | Thomas Jansen | 1 | -9/+9 | |
2010-05-30 | filter/replay_gain: added option "replaygain_limit" | Daniel Seuthe | 1 | -0/+1 | |
2010-04-13 | inotify: added setting "auto_update_depth" | Max Kellermann | 1 | -0/+1 | |
Limits the depth of the watched directories. This is useful to keep resource usage down and speed up MPD startup. | |||||
2010-04-13 | conf: added function config_get_unsigned() | Max Kellermann | 1 | -0/+4 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-14 | Initial filter chain and filter configuration for outputs. | Albin Eldstål-Damlin | 1 | -0/+3 | |
2009-10-26 | mpd.conf: new bool config value for enabling/disabling inotify update | Viliam Mateicka | 1 | -0/+1 | |
2009-10-13 | playlist_list: pass configuration to playlist plugins | Max Kellermann | 1 | -0/+1 | |
This patch completes the configuration support. | |||||
2009-09-24 | conf: handle fatal errors with GError | Max Kellermann | 1 | -4/+5 | |
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. | |||||
2009-08-24 | conf: removed the deprecated "error_file" option | Max Kellermann | 1 | -1/+0 | |
This option was deprecated by the 0.15 release. This patch makes this option invalid. | |||||
2009-07-19 | conf: replaced gcc "const" attribute with "pure" | Michal Nazarewicz | 1 | -13/+22 | |
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. | |||||
2009-07-19 | daemon: added "group" configuration option | Michal Nazarewicz | 1 | -0/+1 | |
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). | |||||
2009-07-15 | conf: added the gcc "const" attribute to some functions | Max Kellermann | 1 | -0/+13 | |
Add the "const" attribute to functions when their return value only depends on parameters. This allows gcc to eliminate some function calls. | |||||
2009-07-03 | conf: added config_quark() | Max Kellermann | 1 | -0/+10 | |
This GQuark will be used for GErrors related to malformed configuration. | |||||
2009-06-25 | conf: log unused/unknown block parameters | Max Kellermann | 1 | -0/+6 | |
2009-06-25 | conf: added "used" flag to struct block_param | Max Kellermann | 1 | -0/+12 | |
2009-06-25 | conf: make get_bool() return a bool | Max Kellermann | 1 | -3/+0 | |
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. | |||||
2009-06-25 | conf: removed config_add_param() | Max Kellermann | 1 | -7/+0 | |
This function is unused. | |||||
2009-06-25 | volume: removed support for legacy mixer configuration | Max Kellermann | 1 | -2/+0 | |
The top-level "mixer_device" and "mixer_control" options have been deprecated by MPD 0.15, and it's safe to remove them in MPD 0.16. | |||||
2009-06-25 | Preamp for missing replay-gain | Daniel Seuthe | 1 | -0/+1 | |