aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-09-25conf: Whitespace cosmeticsThomas Jansen1-9/+9
2010-05-30filter/replay_gain: added option "replaygain_limit"Daniel Seuthe1-0/+1
2010-04-13inotify: added setting "auto_update_depth"Max Kellermann1-0/+1
Limits the depth of the watched directories. This is useful to keep resource usage down and speed up MPD startup.
2010-04-13conf: added function config_get_unsigned()Max Kellermann1-0/+4
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-14Initial filter chain and filter configuration for outputs.Albin Eldstål-Damlin1-0/+3
2009-10-26mpd.conf: new bool config value for enabling/disabling inotify updateViliam Mateicka1-0/+1
2009-10-13playlist_list: pass configuration to playlist pluginsMax Kellermann1-0/+1
This patch completes the configuration support.
2009-09-24conf: handle fatal errors with GErrorMax Kellermann1-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-24conf: removed the deprecated "error_file" optionMax Kellermann1-1/+0
This option was deprecated by the 0.15 release. This patch makes this option invalid.
2009-07-19conf: replaced gcc "const" attribute with "pure"Michal Nazarewicz1-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-19daemon: added "group" configuration optionMichal Nazarewicz1-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-15conf: added the gcc "const" attribute to some functionsMax Kellermann1-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-03conf: added config_quark()Max Kellermann1-0/+10
This GQuark will be used for GErrors related to malformed configuration.
2009-06-25conf: log unused/unknown block parametersMax Kellermann1-0/+6
2009-06-25conf: added "used" flag to struct block_paramMax Kellermann1-0/+12
2009-06-25conf: make get_bool() return a boolMax Kellermann1-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-25conf: removed config_add_param()Max Kellermann1-7/+0
This function is unused.
2009-06-25volume: removed support for legacy mixer configurationMax Kellermann1-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-25Preamp for missing replay-gainDaniel Seuthe1-0/+1
2009-06-03conf: make config_param.num_block_params unsignedMax Kellermann1-1/+1
2009-06-03conf: eliminated CamelCaseMax Kellermann1-3/+4
Renamed all remaining CamelCase functions.
2009-03-30conf: config_param_free() not necessary for export.Avuton Olrich1-2/+0
2009-03-13all: Update copyright header.Avuton Olrich1-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.
2009-03-02input: pass config_param to input_plugin.init()Max Kellermann1-0/+1
Allow input plugins to configure with an "input" block in mpd.conf. Also allow the user to disable a plugin completely.
2009-02-15decoder_list: added configuration block "decoder"Max Kellermann1-0/+1
The "decoder" configuration block may contain the configuration of one decoder plugin.
2009-01-25conf: added config_add_param()Max Kellermann1-0/+7
The function config_add_param() allows adding new configuration parameters.
2009-01-25conf: const pointers in block get functionsMax Kellermann1-6/+6
All config_get_block_*() functions should accept constant config_param pointers.
2009-01-25stored_playlist: moved configuration variables from playlist.cMax Kellermann1-0/+3
Don't declare and export variables specific to stored playlists in playlist.c/playlist.h.
2009-01-21conf: added config_get_positive()Max Kellermann1-0/+3
This convenience function parses a configuration value into a positive integer. It aborts if parsing fails.
2009-01-19sticker: new library for storing dynamic information about songsMax Kellermann1-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.
2009-01-18conf: added config_get_block_unsigned()Max Kellermann1-0/+4
Eliminate some more getBlockParam() invocations.
2009-01-18conf: added config_get_block_string()Max Kellermann1-0/+11
This replaces lots of getBlockParam() invocations.
2009-01-18conf: removed parseConfigFilePath()Max Kellermann1-3/+0
Use config_get_path() instead in mapper.c.
2009-01-18conf: added config_get_path()Max Kellermann1-0/+8
config_get_path() is an simpler interface than parseConfigFilePath().
2009-01-17conf: replaced getConfigParamValue() with config_get_string()Max Kellermann1-1/+2
Don't return a writable pointer.
2009-01-17conf: replaced getBoolBlockParam() with config_get_block_bool()Max Kellermann1-2/+3
No "force" parameter, pass a default value instead.
2009-01-17conf: use config_get_bool() instead of getBoolConfigParam()Max Kellermann1-2/+0
2009-01-17conf: no CamelCase, part IMax Kellermann1-16/+27
Renamed functions, types, variables.
2009-01-11removing mixer_reconfigure memmory leak, fixing configure of alsa and oss ↵Viliam Mateicka1-0/+3
mixer (passing parameters)
2008-12-31exporting functionsViliam Mateicka1-0/+4
2008-12-20Remove obsolete http_buffer* stuff that went away with the new curl backend.Avuton Olrich1-2/+0
2008-11-28update: added options which control symlink behaviourRaphaël Rigo1-0/+2
The configuration options "follow_outside_symlinks" and "follow_inside_symlinks" let the user control whether MPD should follow symbolic links in the music directory. [mk: converted variables to "bool"; moved configuration to update_global_init()]
2008-11-27conf: added config_get_bool()Max Kellermann1-0/+4
In contrast to, getBoolConfigParam(), config_get_bool() properly returns a "bool" value. In case of "unset", it returns the default value provided by the caller.
2008-10-31added prefix to header macrosMax Kellermann1-2/+2
"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.
2008-04-12clean up CPP includesMax Kellermann1-2/+0
Try to only include headers which are really needed. We should particularly check all "headers including other headers". The long-term goal is to have a manageable, small API for plugins (decoders, output) without so many mpd internals cluttering the namespace. git-svn-id: https://svn.musicpd.org/mpd/trunk@7319 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-02-05fix -Wconst warningsMax Kellermann1-7/+7
[ew: cleaned up the dirty union hack a bit] Signed-off-by: Eric Wong <normalperson@yhbt.net> git-svn-id: https://svn.musicpd.org/mpd/trunk@7180 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-09-05conf: improved boolean config parameter handling from -keEric Wong1-2/+7
the force flag will issue FATAL() if an invalid value is specified git-svn-id: https://svn.musicpd.org/mpd/trunk@6857 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-03allow zeroconf to be disabled.Patrik Weiskircher1-0/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@6467 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-04-05The massive copyright updateAvuton Olrich1-1/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@5834 09075e82-0dd4-0310-85a5-a0d7c8717e4f