Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2009-11-06 | utils: renamed stringFoundInStringArray() | Max Kellermann | 1 | -10/+0 | |
No CamelCase. Use bool instead of int. Make both arguments mandatory. | |||||
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 | -43/+104 | |
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-09-24 | conf: splitted function config_param_free() | Max Kellermann | 1 | -4/+11 | |
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: use the tokenizer library | Max Kellermann | 1 | -62/+82 | |
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-06 | conf: use bp->value, not param->value | Max Kellermann | 1 | -1/+1 | |
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). | |||||
2009-07-05 | conf: registered option "filter" | Max Kellermann | 1 | -0/+1 | |
Add this option to the user's manual. | |||||
2009-06-25 | conf: log unused/unknown block parameters | Max Kellermann | 1 | -0/+29 | |
2009-06-25 | conf: added "used" flag to struct block_param | Max Kellermann | 1 | -1/+4 | |
2009-06-25 | conf: detect duplicate parameters in config_add_block_param() | Max Kellermann | 1 | -9/+9 | |
Moved the check from config_get_block_param(). Detect the duplicate parameter when it's added, not when it's queried. | |||||
2009-06-25 | conf: make get_bool() return a bool | Max Kellermann | 1 | -19/+18 | |
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: moved code from get_bool() to string_array_contains() | Max Kellermann | 1 | -9/+16 | |
2009-06-25 | conf: register configuration options statically | Max Kellermann | 1 | -94/+57 | |
Initialize the config_entries array at compile time. This is not only faster, but also smaller. | |||||
2009-06-25 | conf: removed config_add_param() | Max Kellermann | 1 | -9/+0 | |
This function is unused. | |||||
2009-06-25 | conf: replace "mask" bit field with two "bool" variables | Max Kellermann | 1 | -12/+6 | |
Due to padding, this takes the same amount of memory. | |||||
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 | |
2009-06-03 | conf: make config_param.num_block_params unsigned | Max Kellermann | 1 | -4/+2 | |
2009-06-03 | conf: eliminated CamelCase | Max Kellermann | 1 | -12/+12 | |
Renamed all remaining CamelCase functions. | |||||
2009-04-28 | conf: use g_ascii_strcasecmp() instead of strcasecmp() | Max Kellermann | 1 | -2/+2 | |
strcasecmp() is locale dependent, making it a bad choice for internal string comparisons. | |||||
2009-03-30 | conf: config_param_free() not necessary for export. | Avuton Olrich | 1 | -1/+1 | |
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -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-02 | input: pass config_param to input_plugin.init() | Max Kellermann | 1 | -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-19 | added G_LOG_DOMAIN macros to several libraries | Max Kellermann | 1 | -0/+3 | |
Define the GLib logging domain in the following libraries: conf, daemon, event_pipe, log. | |||||
2009-02-19 | conf: log the effective configuration file name | Max Kellermann | 1 | -0/+2 | |
For better debugging aid when something goes wrong, log the name of the effective configuration file. | |||||
2009-02-15 | decoder_list: added configuration block "decoder" | Max Kellermann | 1 | -0/+1 | |
The "decoder" configuration block may contain the configuration of one decoder plugin. | |||||
2009-01-25 | conf: added config_add_param() | Max Kellermann | 1 | -0/+10 | |
The function config_add_param() allows adding new configuration parameters. | |||||
2009-01-25 | conf: allow param==NULL | Max Kellermann | 1 | -0/+3 | |
Return the default value in the conf_get_block_*() functions when param==NULL was passed. This simplifies a lot of code, because all initialization can be done in one code path, regardless whether configuration is present. | |||||
2009-01-25 | conf: const pointers in block get functions | Max Kellermann | 1 | -8/+8 | |
All config_get_block_*() functions should accept constant config_param pointers. | |||||
2009-01-21 | conf: added config_get_positive() | Max Kellermann | 1 | -0/+20 | |
This convenience function parses a configuration value into a positive integer. It aborts if parsing fails. | |||||
2009-01-19 | sticker: new library for storing dynamic information about songs | Max Kellermann | 1 | -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-18 | conf: added config_get_block_unsigned() | Max Kellermann | 1 | -0/+22 | |
Eliminate some more getBlockParam() invocations. | |||||
2009-01-18 | conf: added config_get_block_string() | Max Kellermann | 1 | -0/+12 | |
This replaces lots of getBlockParam() invocations. | |||||
2009-01-18 | conf: removed parseConfigFilePath() | Max Kellermann | 1 | -23/+0 | |
Use config_get_path() instead in mapper.c. | |||||
2009-01-18 | conf: added config_get_path() | Max Kellermann | 1 | -0/+18 | |
config_get_path() is an simpler interface than parseConfigFilePath(). | |||||
2009-01-17 | conf: replaced getConfigParamValue() with config_get_string() | Max Kellermann | 1 | -3/+4 | |
Don't return a writable pointer. | |||||
2009-01-17 | conf: replaced getBoolBlockParam() with config_get_block_bool() | Max Kellermann | 1 | -10/+14 | |
No "force" parameter, pass a default value instead. | |||||
2009-01-17 | conf: use config_get_bool() instead of getBoolConfigParam() | Max Kellermann | 1 | -13/+7 | |
2009-01-17 | conf: no CamelCase, part I | Max Kellermann | 1 | -51/+61 | |
Renamed functions, types, variables. | |||||
2009-01-11 | removing mixer_reconfigure memmory leak, fixing configure of alsa and oss ↵ | Viliam Mateicka | 1 | -1/+1 | |
mixer (passing parameters) | |||||
2009-01-03 | conf: use GLib instead of utils.h | Max Kellermann | 1 | -12/+9 | |
2009-01-02 | conf: use GLib's GSList library | Max Kellermann | 1 | -35/+54 | |
Use GLib's singly-linked list library instead of our custom one. | |||||
2008-12-31 | exporting functions | Viliam Mateicka | 1 | -2/+2 | |
2008-12-29 | removed os_compat.h | Max Kellermann | 1 | -1/+2 | |
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable. | |||||
2008-12-28 | conf: use GLib instead of utils.h/log.h | Max Kellermann | 1 | -36/+37 | |
2008-12-28 | utils: removed myFgets() | Max Kellermann | 1 | -2/+3 | |
Replaced myFgets() with fgets() + g_strchomp(). | |||||
2008-12-20 | Remove obsolete http_buffer* stuff that went away with the new curl backend. | Avuton Olrich | 1 | -2/+0 | |