Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -3/+0 | |
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -9/+9 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -1/+1 | |
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-17 | fs/Path: move MPD_PATH_MAX to Limits.hxx | Max Kellermann | 1 | -0/+1 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -6/+2 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-05 | conf.h: remove obsolete header | Max Kellermann | 1 | -1/+0 | |
Use only ConfigData.hxx in plugin sources to reduce header dependencies. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -59/+50 | |
Replaces GLib's GError. | |||||
2013-04-09 | string_util: convert to C++ | Max Kellermann | 1 | -5/+1 | |
2013-04-08 | tokenizer: convert to C++ | Max Kellermann | 1 | -13/+17 | |
2013-02-02 | ConfigFile.cxx: use FOpenMode | Denis Krjuchkov | 1 | -1/+1 | |
2013-01-30 | ConfigData: use simple linked list instead of GSList | Max Kellermann | 1 | -5/+18 | |
2013-01-30 | ConfigData: move functions into the class | Max Kellermann | 1 | -2/+2 | |
2013-01-30 | ConfigData: add constructors/destructors | Max Kellermann | 1 | -5/+5 | |
2013-01-30 | conf.h: move the GQuark to ConfigQuark.hxx | Max Kellermann | 1 | -0/+1 | |
2013-01-30 | ConfigFile: simplify error cleanup | Max Kellermann | 1 | -23/+24 | |
2013-01-30 | ConfigFile: move code to ConfigGlobal.cxx | Max Kellermann | 1 | -161/+4 | |
2013-01-30 | ConfigFile: add struct ConfigData | Max Kellermann | 1 | -9/+8 | |
2013-01-30 | conf: move struct definitions to ConfigData.hxx | Max Kellermann | 1 | -166/+1 | |
2013-01-30 | ConfigFile: add enum ConfigOption | Max Kellermann | 1 | -26/+22 | |
Look up top-level config options by enum (= integer), not by name string. | |||||
2013-01-30 | ConfigOption: rename to ConfigTemplate | Max Kellermann | 1 | -3/+3 | |
2013-01-30 | ConfigFile: move code to ConfigOptions.cxx | Max Kellermann | 1 | -73/+1 | |
2013-01-30 | ConfigFile: split config_entry | Max Kellermann | 1 | -39/+27 | |
The new struct ConfigOption is the compile-time description, and the global array "config_params" contains the actual values. | |||||
2013-01-29 | ConfigFile, CommandLine: use the Path class | Max Kellermann | 1 | -4/+8 | |
2013-01-22 | Path: move to fs subdirectory | Denis Krjuchkov | 1 | -1/+1 | |
2013-01-17 | path: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-10 | conf: convert to C++ | Max Kellermann | 1 | -63/+73 | |
2012-08-08 | conf: add a "database" block | Max Kellermann | 1 | -0/+1 | |
The new block overrides the "db_file" setting, and allows configuring any database plugin. | |||||
2012-07-10 | require GLib 2.16 | Max Kellermann | 1 | -1/+0 | |
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it. | |||||
2012-03-06 | use g_strerror() instead of strerror() | Max Kellermann | 1 | -1/+1 | |
Make sure we get a UTF-8 encoded string. | |||||
2011-09-09 | conf: export config_param_free() | Max Kellermann | 1 | -1/+1 | |
2011-09-09 | conf: _get_next_param() returns a const pointer | Max Kellermann | 1 | -1/+1 | |
No writers. | |||||
2011-09-09 | conf: add config_dup_block_path() | Max Kellermann | 1 | -0/+20 | |
2011-09-09 | utils: parsePath() returns GError on failure | Max Kellermann | 1 | -4/+4 | |
Better error messages. | |||||
2011-09-09 | conf: turn config_get_path() into config_dup_path() | Max Kellermann | 1 | -10/+11 | |
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 | -4/+4 | |
No caller needs to write. | |||||
2011-09-09 | conf: move duplicate check to _read_name_value() | Max Kellermann | 1 | -14/+13 | |
config_add_block_param() cannot fail, which makes it easier to use. | |||||
2011-09-09 | conf: move code to config_read_name_value() | Max Kellermann | 1 | -32/+34 | |
Reduce indent. | |||||
2011-07-18 | conf: add missing fclose in error path | Jonathan Neuschäfer | 1 | -1/+10 | |
This patch seems a bit ugly, maybe it would be a bit cleaner with gotos. | |||||
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-02-23 | playlist_state: add option "restore_paused" | Max Kellermann | 1 | -0/+1 | |
When set, MPD will not auto-start playback on startup; it will be in "paused" state. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-12-23 | string_util: add function strchug_fast() | Max Kellermann | 1 | -4/+4 | |
Replace g_strchug() calls with a cheaper implementation. | |||||
2010-12-23 | utils: move string_array_contains() to string_util.c | Max Kellermann | 1 | -0/+1 | |
2010-09-25 | eliminate g_error() usage | Thomas Jansen | 1 | -13/+15 | |
Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007. | |||||
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/+17 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -0/+1 | |
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue. | |||||
2009-11-10 | configure.ac: require GLib 2.12 | Max Kellermann | 1 | -0/+1 | |
Drop the required GLib version from 2.16 to 2.12, because many current systems still don't have GLib 2.16. This requires several new compatibility functions in glib_compat.h. |