Max Kellermann
|
5900253b85
|
update copyright year
|
2017-01-03 20:48:59 +01:00 |
|
Max Kellermann
|
3413d1bf23
|
config/Global: add std::chrono::steady_clock::duration overload
|
2016-12-28 01:12:38 +01:00 |
|
Max Kellermann
|
22dcca9832
|
util/Error: remove obsolete class
|
2016-11-10 12:58:26 +01:00 |
|
Max Kellermann
|
4aab97ccb1
|
config/Path: throw std::runtime_error on error
|
2016-11-07 09:07:50 +01:00 |
|
Max Kellermann
|
d765182bbb
|
config/Global: _get_path() throws exception on error
|
2016-11-02 10:07:57 +01:00 |
|
Max Kellermann
|
e17805f208
|
config/Block: GetPath() throws exception on error
|
2016-10-28 23:08:42 +02:00 |
|
Max Kellermann
|
d8bcdca55a
|
config/Block: rename GetBlockPath() to GetPath()
|
2016-10-28 23:07:26 +02:00 |
|
Max Kellermann
|
9b5bae049c
|
config/Param: overload GetPath() throwing exception
|
2016-10-28 11:53:21 +02:00 |
|
Max Kellermann
|
7a3415166e
|
config/Param: add method GetPath()
Move code from config_parse_path().
|
2016-10-28 11:45:12 +02:00 |
|
Max Kellermann
|
5b2b4bf13c
|
config/Param: use CamelCase
|
2016-10-28 11:38:37 +02:00 |
|
Max Kellermann
|
e4c7e343c8
|
util/StringUtil: use CamelCase
|
2016-06-10 22:08:13 +02:00 |
|
Max Kellermann
|
1aee89f5ea
|
*: include cleanup (using iwyu)
|
2016-03-01 22:08:13 +01:00 |
|
Max Kellermann
|
1d67aa7bf2
|
update copyright year to 2016
|
2016-02-26 17:54:05 +01:00 |
|
Max Kellermann
|
e6e7d6dbd6
|
fs/io/Reader: use C++ exceptions instead of class Error
|
2015-12-18 01:08:16 +01:00 |
|
Max Kellermann
|
51168169e7
|
util/Tokenizer: use std::runtime_error on syntax error
|
2015-12-16 11:34:26 +01:00 |
|
Max Kellermann
|
d256a0e98f
|
config/ConfigFile: use std::exception on syntax error
|
2015-12-16 11:13:16 +01:00 |
|
Max Kellermann
|
6717325c3f
|
config/ConfigFile: use std::unique_ptr
|
2015-12-16 11:13:16 +01:00 |
|
Max Kellermann
|
c4a0571e7a
|
config/ConfigFile: fix typo in format string
|
2015-12-16 11:13:16 +01:00 |
|
Max Kellermann
|
58996b841a
|
config/Global: allow calling config_get_string() with one argument
default_value defaults to nullptr.
|
2015-06-26 08:06:40 +02:00 |
|
Max Kellermann
|
df03a7b3f8
|
config/Templates: mark http_proxy_* deprecated
|
2015-06-26 08:06:40 +02:00 |
|
Max Kellermann
|
d5cfa6d4dc
|
TagId3: remove the "id3v1_encoding" setting
Drop support for misencoded tags. People should not be using ID3v1
anyway.
|
2015-06-26 00:15:24 +02:00 |
|
Max Kellermann
|
f415167e59
|
config/Templates: add attribute "deprecated"
|
2015-06-26 00:11:33 +02:00 |
|
Max Kellermann
|
9477db2363
|
config/Templates: add constructor with defaulted "repeat" parameter
|
2015-06-26 00:11:23 +02:00 |
|
Max Kellermann
|
1c90b0c19d
|
*: change C-style prototypes, drop "(void)"
|
2015-03-03 20:05:08 +01:00 |
|
Max Kellermann
|
8f2ca8f085
|
ConfigFile: fix typo (parser breakage)
|
2015-01-22 19:08:09 +01:00 |
|
Max Kellermann
|
0d3b26b3aa
|
Config: add section "resampler"
|
2015-01-22 11:04:28 +01:00 |
|
Max Kellermann
|
e9b49a43e2
|
config/Block: add method IsEmpty()
|
2015-01-22 10:20:51 +01:00 |
|
Max Kellermann
|
4fa5538e2b
|
config/Param: split block-specific attributes to new struct ConfigBlock
The old struct config_param remains only for top-level string options.
|
2015-01-21 23:56:33 +01:00 |
|
Max Kellermann
|
84e74173de
|
config/File: move code to ReadConfigParam()
|
2015-01-21 23:51:04 +01:00 |
|
Max Kellermann
|
6cdb2a4896
|
fs/io/BufferedReader: count line numbers
Replaces the dirty code in config/ConfigFile.cxx.
|
2015-01-21 23:43:32 +01:00 |
|
Max Kellermann
|
d8bef3270d
|
config/File: use FileReader/BufferedReader instead of stdio
|
2015-01-21 23:36:57 +01:00 |
|
Max Kellermann
|
a33db8fe6f
|
config/Data: assign nullptr during iteration
|
2015-01-21 23:30:00 +01:00 |
|
Max Kellermann
|
1c3f5517fa
|
config/Option: convert to strictly-typed enum
|
2015-01-21 23:30:00 +01:00 |
|
Max Kellermann
|
a38f02541d
|
config/Param: make "line" signed
|
2015-01-21 22:19:36 +01:00 |
|
Max Kellermann
|
fdba76ba47
|
ConfigFile: convert macros to constexpr
|
2015-01-21 22:12:16 +01:00 |
|
Max Kellermann
|
f900ab0121
|
config/Data: add method Clear()
Move code from config_global_finish().
|
2015-01-21 21:50:02 +01:00 |
|
Max Kellermann
|
f80ab6a7a2
|
ConfigData: rename header file
|
2015-01-21 21:49:09 +01:00 |
|
Max Kellermann
|
6ed209bbf3
|
config/Param: make constructor "explicit"
|
2015-01-21 21:32:26 +01:00 |
|
Max Kellermann
|
fe85fa3bea
|
ConfigData: move struct config_param to Param.hxx
|
2015-01-21 21:23:02 +01:00 |
|
Max Kellermann
|
76b7882f33
|
ConfigData: rename struct block_param to BlockParam
|
2015-01-21 21:18:25 +01:00 |
|
Max Kellermann
|
bf0ab2d44c
|
ConfigData: move struct block_param to Block.?xx
|
2015-01-21 20:45:34 +01:00 |
|
Max Kellermann
|
712ed555e6
|
Copyright year 2015
|
2015-01-01 19:48:13 +01:00 |
|
Max Kellermann
|
2a5feb225b
|
ConfigData: use nullptr instead of NULL
|
2014-12-30 23:26:54 +01:00 |
|
Max Kellermann
|
5f4252bcd2
|
ConfigTemplates: use ARRAY_SIZE()
|
2014-12-09 22:04:34 +01:00 |
|
Max Kellermann
|
bb39fffab9
|
ConfigParser: make the static arrays "const"
|
2014-12-09 21:57:07 +01:00 |
|
Thomas Guillem
|
31726737df
|
ConfigGlobal: fix params not fully cleaned
|
2014-12-08 18:15:13 +01:00 |
|
Max Kellermann
|
ff89b491dd
|
ConfigData: update API documentation
|
2014-12-04 21:30:59 +01:00 |
|
Max Kellermann
|
42af040fbd
|
StateFile: configurable interval
|
2014-08-24 13:24:20 +02:00 |
|
Max Kellermann
|
87bcf739ee
|
util/StringUtil: rename strchug_fast() to StripLeft()
|
2014-08-07 16:08:02 +02:00 |
|
Max Kellermann
|
008723c62f
|
ConfigGlobal: eliminate function config_get_next_param()
|
2014-02-20 00:04:23 +01:00 |
|