aboutsummaryrefslogtreecommitdiff
path: root/src/configparser.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-171-4/+4
|\|
| * Treat an empty bool/duration/int/uint config field as undefined.Gravatar Sadie Powell2021-03-141-4/+4
* | Fix inconsistencies with FilePosition and column counting.Gravatar Sadie Powell2020-11-031-4/+11
* | Rename ConfigTag::tag to ConfigTag::name.Gravatar Sadie Powell2020-11-031-16/+16
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-36/+8
* | Replace ConfigTag::create with a public constructor.Gravatar Sadie Powell2020-11-031-17/+6
* | Rename ConfigItems to ConfigTag::Items.Gravatar Sadie Powell2020-11-031-14/+11
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-4/+4
* | Replace FileSystem::GetFileList with std::filesystem.Gravatar Sadie Powell2020-05-191-9/+16
* | Switch to the C++17 fallthrough attribute.Gravatar Sadie Powell2020-05-111-1/+1
* | Mark all config parsing methods as const.Gravatar Sadie Powell2020-04-121-12/+12
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-091-2/+15
|\|
| * Add a way to disable using environment variables in included files.Gravatar Sadie Powell2020-04-071-1/+14
| * Fix various documentation and formatting issues.Gravatar Sadie Powell2020-03-301-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-03-181-2/+17
|\|
| * Standardise the characters allowed in config identifiers.Gravatar Sadie Powell2020-03-051-2/+10
| * Add support for using environment variables in the config.Gravatar Sadie Powell2020-02-201-1/+8
* | Remove support for 0/1 in getBool.•••These were compat for an ancient version from before getBool existed. Gravatar Sadie Powell2020-03-091-2/+2
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-4/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-02-041-3/+4
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
| * Use case insensitive comparisons in getBool.Gravatar Sadie Powell2020-01-181-2/+3
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-0/+6
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+6
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-0/+22
|\|
| * Add support for including directories containing .conf files.Gravatar Peter Powell2019-06-101-0/+22
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-8/+8
* | Remove all 2.0 config compatibility code.Gravatar Sadie Powell2019-01-251-26/+1
* | Replace the TR1NS macro with the std namespace.Gravatar Sadie Powell2019-01-251-1/+1
|/
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-211-2/+2
* Move some config parser-internal types out of the public header.Gravatar Peter Powell2018-12-091-5/+79
* Use the default if an invalid duration is found in getDuration.Gravatar Peter Powell2018-11-241-0/+7
* Fix a bunch of harmless compiler warnings on recent GCC releases.Gravatar Peter Powell2018-10-261-1/+2
* Make more config stuff case insensitive.Gravatar Peter Powell2018-07-241-7/+7
* Add a ConfigTag::getString overload that calls a validation method.Gravatar Peter Powell2018-07-101-0/+15
* Add range checking to ConfigTag::getFloat.Gravatar Peter Powell2018-04-161-2/+5
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-0/+17
* Convert ConfigTag::getDuration to return an unsigned long.Gravatar Peter Powell2018-04-161-2/+2
* Extract ConfigTag::getInt magnitude logic to a function template.Gravatar Peter Powell2018-04-161-12/+39
* Convert ConfigTag::CheckRange to a function template.Gravatar Peter Powell2018-04-161-12/+26
* Add a constructor to OperInfo and use it to set the type name.Gravatar Peter Powell2017-10-181-0/+5
* Add support for length arguments in getString.Gravatar Peter Powell2017-09-031-3/+11
* Store config values in a map instead of a unique vector of pairs.Gravatar Peter Powell2016-12-081-10/+9
* Strip carriage returns in the config parser.•••This prevents problems when configuration files have been edited on a Windows machine. Gravatar Peter Powell2016-09-201-1/+1
* Change type of some associative containers to their flat versions, including ...Gravatar Attila Molnar2014-12-151-1/+1
* Add stdalgo::isin() and use it to simplify codeGravatar Attila Molnar2014-11-011-1/+1
* Remove if (!this) check from ConfigTag::readString()Gravatar Attila Molnar2014-10-271-11/+0
* Merge insp20Gravatar Attila Molnar2014-10-271-0/+9
|\
| * Fix various warnings when building with LLVM 3.5.•••- warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] - warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] Gravatar Peter Powell2014-10-131-0/+9
* | Use std::find() in ParseStack::ParseFile()Gravatar Attila Molnar2014-06-091-7/+2