aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* conf: export config_param_free()Max Kellermann2011-09-091-0/+3
|
* conf: _get_next_param() returns a const pointerMax Kellermann2011-09-091-2/+2
| | | | No writers.
* conf: add config_dup_block_path()Max Kellermann2011-09-091-0/+9
|
* conf: turn config_get_path() into config_dup_path()Max Kellermann2011-09-091-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.
* conf: get_block_param() returns a const pointerMax Kellermann2011-09-091-1/+1
| | | | No caller needs to write.
* conf: move duplicate check to _read_name_value()Max Kellermann2011-09-091-2/+2
| | | | config_add_block_param() cannot fail, which makes it easier to use.
* conf: add gcc optimization attributesMax Kellermann2011-09-091-0/+3
|
* despotify: Add support utilitiesSimon Kagstrom2011-03-291-0/+3
| | | | | Used to connect and authenticate to despotify. Provides a singleton session and a desptoify-track-to-tags function.
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* conf: Whitespace cosmeticsThomas Jansen2010-09-251-9/+9
|
* filter/replay_gain: added option "replaygain_limit"Daniel Seuthe2010-05-301-0/+1
|
* inotify: added setting "auto_update_depth"Max Kellermann2010-04-131-0/+1
| | | | | Limits the depth of the watched directories. This is useful to keep resource usage down and speed up MPD startup.
* conf: added function config_get_unsigned()Max Kellermann2010-04-131-0/+4
|
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* Initial filter chain and filter configuration for outputs.Albin Eldstål-Damlin2009-12-141-0/+3
|
* mpd.conf: new bool config value for enabling/disabling inotify updateViliam Mateicka2009-10-261-0/+1
|
* playlist_list: pass configuration to playlist pluginsMax Kellermann2009-10-131-0/+1
| | | | This patch completes the configuration support.
* conf: handle fatal errors with GErrorMax Kellermann2009-09-241-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.
* conf: removed the deprecated "error_file" optionMax Kellermann2009-08-241-1/+0
| | | | | This option was deprecated by the 0.15 release. This patch makes this option invalid.
* conf: replaced gcc "const" attribute with "pure"Michal Nazarewicz2009-07-191-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.
* daemon: added "group" configuration optionMichal Nazarewicz2009-07-191-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).
* conf: added the gcc "const" attribute to some functionsMax Kellermann2009-07-151-0/+13
| | | | | | Add the "const" attribute to functions when their return value only depends on parameters. This allows gcc to eliminate some function calls.
* conf: added config_quark()Max Kellermann2009-07-031-0/+10
| | | | | This GQuark will be used for GErrors related to malformed configuration.
* conf: log unused/unknown block parametersMax Kellermann2009-06-251-0/+6
|
* conf: added "used" flag to struct block_paramMax Kellermann2009-06-251-0/+12
|
* conf: make get_bool() return a boolMax Kellermann2009-06-251-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.
* conf: removed config_add_param()Max Kellermann2009-06-251-7/+0
| | | | This function is unused.
* volume: removed support for legacy mixer configurationMax Kellermann2009-06-251-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.
* Preamp for missing replay-gainDaniel Seuthe2009-06-251-0/+1
|
* conf: make config_param.num_block_params unsignedMax Kellermann2009-06-031-1/+1
|
* conf: eliminated CamelCaseMax Kellermann2009-06-031-3/+4
| | | | Renamed all remaining CamelCase functions.
* conf: config_param_free() not necessary for export.Avuton Olrich2009-03-301-2/+0
|
* all: Update copyright header.Avuton Olrich2009-03-131-6/+7
| | | | | | | | 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.
* input: pass config_param to input_plugin.init()Max Kellermann2009-03-021-0/+1
| | | | | Allow input plugins to configure with an "input" block in mpd.conf. Also allow the user to disable a plugin completely.
* decoder_list: added configuration block "decoder"Max Kellermann2009-02-151-0/+1
| | | | | The "decoder" configuration block may contain the configuration of one decoder plugin.
* conf: added config_add_param()Max Kellermann2009-01-251-0/+7
| | | | | The function config_add_param() allows adding new configuration parameters.
* conf: const pointers in block get functionsMax Kellermann2009-01-251-6/+6
| | | | | All config_get_block_*() functions should accept constant config_param pointers.
* stored_playlist: moved configuration variables from playlist.cMax Kellermann2009-01-251-0/+3
| | | | | Don't declare and export variables specific to stored playlists in playlist.c/playlist.h.
* conf: added config_get_positive()Max Kellermann2009-01-211-0/+3
| | | | | This convenience function parses a configuration value into a positive integer. It aborts if parsing fails.
* sticker: new library for storing dynamic information about songsMax Kellermann2009-01-191-0/+1
| | | | | | | "Stickers" are pieces of information attached to existing MPD objects (e.g. song files, directories, albums). Clients can create arbitrary name/value pairs. MPD itself does not assume any special meaning in them.
* conf: added config_get_block_unsigned()Max Kellermann2009-01-181-0/+4
| | | | Eliminate some more getBlockParam() invocations.
* conf: added config_get_block_string()Max Kellermann2009-01-181-0/+11
| | | | This replaces lots of getBlockParam() invocations.
* conf: removed parseConfigFilePath()Max Kellermann2009-01-181-3/+0
| | | | Use config_get_path() instead in mapper.c.
* conf: added config_get_path()Max Kellermann2009-01-181-0/+8
| | | | config_get_path() is an simpler interface than parseConfigFilePath().
* conf: replaced getConfigParamValue() with config_get_string()Max Kellermann2009-01-171-1/+2
| | | | Don't return a writable pointer.
* conf: replaced getBoolBlockParam() with config_get_block_bool()Max Kellermann2009-01-171-2/+3
| | | | No "force" parameter, pass a default value instead.
* conf: use config_get_bool() instead of getBoolConfigParam()Max Kellermann2009-01-171-2/+0
|
* conf: no CamelCase, part IMax Kellermann2009-01-171-16/+27
| | | | Renamed functions, types, variables.
* removing mixer_reconfigure memmory leak, fixing configure of alsa and oss ↵Viliam Mateicka2009-01-111-0/+3
| | | | mixer (passing parameters)
* exporting functionsViliam Mateicka2008-12-311-0/+4
|