aboutsummaryrefslogtreecommitdiff
path: root/src/configparser.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix some issues with the previous merge.Gravatar Sadie Powell2025-12-271-2/+2
* Merge branch 'insp4' into master.Gravatar Sadie Powell2025-12-071-3/+16
|\
| * Make errors from the config parser more detailed.Gravatar Sadie Powell2025-11-301-3/+16
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-291-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2025-03-281-1/+1
* | Only include <sstream> from files that actually use it.Gravatar Sadie Powell2025-03-221-1/+1
* | Migrate configparser/configreader away from stringstream.•••This is a very slow header to have included by every source file. Gravatar Sadie Powell2025-03-221-8/+7
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-011-4/+4
|\|
| * Avoid the use of ConvToStr in string concatenation.•••This function calls INSP_FORMAT in most cases nowadays so we may as well just call that manually. Gravatar Sadie Powell2025-03-011-4/+4
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-11-011-2/+5
|\|
| * Allow ConfigTag::getCharacter to return NUL for an empty field.Gravatar Sadie Powell2024-10-161-2/+5
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-09-091-0/+1
|\|
| * Add a config variable for the example dir.•••This makes including example files easier on system-wide installs. Gravatar Sadie Powell2024-08-301-0/+1
* | Use C++20 <format> instead of fmtlib when available.Gravatar Sadie Powell2024-08-221-1/+1
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-06-231-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2024-06-211-1/+1
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-06-171-5/+9
|\|
| * Fix directory includes to always be in a consistent order.Gravatar Sadie Powell2024-06-171-5/+9
* | Always use fmtlib directly.Gravatar Sadie Powell2024-06-071-1/+1
|/
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-1/+0
* Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-7/+8
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-07-151-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2023-07-151-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-07-131-1/+7
|\|
| * Fix parsing end-of-file comments that don't end with a newline.Gravatar Sadie Powell2023-07-121-1/+7
* | Allow <define> tags to not redefine a variable if already set.•••This is useful for having a provider config which uses entities but has defaults to fall back to when they are not defined. Gravatar Sadie Powell2023-07-091-4/+5
* | Expand the file path in DoOpenFile not DoInclude.Gravatar Sadie Powell2023-07-031-7/+10
* | Replace FileReader with something more sensible.Gravatar Sadie Powell2023-07-031-21/+4
* | Rename duration to timeutils and relocate InspIRCd::TimeString.Gravatar Sadie Powell2023-05-101-1/+1
* | Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-251-6/+7
* | Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-7/+7
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-6/+2
* | Move duration functions to their own header.Gravatar Sadie Powell2023-01-231-1/+2
* | Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-4/+4
|\|
| * Fix some minor config parser error messages.•••- Fix starting the column count for the first line on one instead of zero. This is incremented when reading the first character so starting at 1 causes an off by one error. - Fix showing "last tag was on line ..." message when there is an error before any tags. Gravatar Sadie Powell2022-12-311-5/+12
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+0
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-4/+4
* | Refactor the internals of the oper system.•••- Allow overriding privileges from the <class> blocks in the <type> and <oper> blocks. - Separate oper types from oper accounts in the code. This enables moving some core stuff out of the config tag later. - Merge the config tags together to make a synthetic tag that can have getXXX called on it instead of using getConfig and then converting it. - Move the details of Have*Permission into the oper type class. - Improve oper events to allow modules to easily hook into the oper system. Gravatar Sadie Powell2022-11-281-15/+0
* | Fix a compiler error on Alpine and macOS.Gravatar Sadie Powell2022-11-161-0/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-161-2/+19
|\|
| * Fix the previous commit on Windows.Gravatar Sadie Powell2022-11-091-2/+4
| * Log when the uid/gid of config files might be wrong.Gravatar Sadie Powell2022-11-081-2/+29
* | More const correctness.Gravatar Sadie Powell2022-10-231-1/+1
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-1/+1
* | Fix more warnings discovered with -Weverything.Gravatar Sadie Powell2022-09-051-1/+1
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-1/+1
* | Modernize various minor legacy C++isms.Gravatar Sadie Powell2022-07-301-6/+5
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-4/+4
* | Centralise the logging of malformed config values.Gravatar Sadie Powell2022-06-251-24/+24