Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-01-22 | ConfigFile: fix typo (parser breakage) | Max Kellermann | 1 | -2/+2 | |
2015-01-21 | config/Param: split block-specific attributes to new struct ConfigBlock | Max Kellermann | 1 | -52/+87 | |
The old struct config_param remains only for top-level string options. | |||||
2015-01-21 | config/File: move code to ReadConfigParam() | Max Kellermann | 1 | -73/+82 | |
2015-01-21 | fs/io/BufferedReader: count line numbers | Max Kellermann | 1 | -24/+26 | |
Replaces the dirty code in config/ConfigFile.cxx. | |||||
2015-01-21 | config/File: use FileReader/BufferedReader instead of stdio | Max Kellermann | 1 | -28/+21 | |
2015-01-21 | config/Option: convert to strictly-typed enum | Max Kellermann | 1 | -1/+1 | |
2015-01-21 | ConfigFile: convert macros to constexpr | Max Kellermann | 1 | -2/+2 | |
2015-01-21 | ConfigData: rename header file | Max Kellermann | 1 | -1/+1 | |
2015-01-21 | ConfigData: move struct config_param to Param.hxx | Max Kellermann | 1 | -0/+1 | |
2015-01-21 | ConfigData: rename struct block_param to BlockParam | Max Kellermann | 1 | -1/+1 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-08-07 | util/StringUtil: rename strchug_fast() to StripLeft() | Max Kellermann | 1 | -4/+4 | |
2014-01-24 | Config*: move to config/ | Max Kellermann | 1 | -0/+0 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
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. |