Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-31 | Update copyright headers. | InspIRCd Robot | |
2020-01-18 | Use case insensitive comparisons in getBool. | Sadie Powell | |
2020-01-11 | Update copyright headers. | InspIRCd Robot | |
2019-06-10 | Add support for including directories containing .conf files. | Peter Powell | |
2018-12-21 | Only parse valid durations, don't treat invalid multipliers as seconds (#1538) | linuxdaemon | |
2018-12-09 | Move some config parser-internal types out of the public header. | Peter Powell | |
2018-11-24 | Use the default if an invalid duration is found in getDuration. | Peter Powell | |
2018-10-26 | Fix a bunch of harmless compiler warnings on recent GCC releases. | Peter Powell | |
2018-07-24 | Make more config stuff case insensitive. | Peter Powell | |
2018-07-10 | Add a ConfigTag::getString overload that calls a validation method. | Peter Powell | |
2018-04-16 | Add range checking to ConfigTag::getFloat. | Peter Powell | |
2018-04-16 | Add ConfigTag::getUInt for reading unsigned config values. | Peter Powell | |
2018-04-16 | Convert ConfigTag::getDuration to return an unsigned long. | Peter Powell | |
2018-04-16 | Extract ConfigTag::getInt magnitude logic to a function template. | Peter Powell | |
2018-04-16 | Convert ConfigTag::CheckRange to a function template. | Peter Powell | |
2017-10-18 | Add a constructor to OperInfo and use it to set the type name. | Peter Powell | |
2017-09-03 | Add support for length arguments in getString. | Peter Powell | |
2016-12-08 | Store config values in a map instead of a unique vector of pairs. | Peter Powell | |
2016-09-20 | Strip carriage returns in the config parser. | Peter Powell | |
This prevents problems when configuration files have been edited on a Windows machine. | |||
2014-12-15 | Change type of some associative containers to their flat versions, including ↵ | Attila Molnar | |
Extensible storage | |||
2014-11-01 | Add stdalgo::isin() and use it to simplify code | Attila Molnar | |
2014-10-27 | Remove if (!this) check from ConfigTag::readString() | Attila Molnar | |
2014-10-27 | Merge insp20 | Attila Molnar | |
2014-10-13 | Fix various warnings when building with LLVM 3.5. | Peter Powell | |
- 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] | |||
2014-06-09 | Use std::find() in ParseStack::ParseFile() | Attila Molnar | |
2014-06-09 | Deduplicate ParseStack::ParseFile() and ParseExec() | Attila Molnar | |
2014-04-11 | Implement support for numeric character references. | Peter Powell | |
2014-01-21 | Merge insp20 | Attila Molnar | |
2014-01-04 | Fix some Windows-related problems. | Peter Powell | |
- Fix an error relating to the unavailability of std::back_inserter. - Fix loading configuration files when using relative paths. - Fix two methods in hashcomp being exported twice. - Remove some unimportant error messages. | |||
2013-09-13 | Fix a shadow warning created by ConfigTag::create | ChrisTX | |
2013-08-27 | Fix Windows build and a few more problems | attilamolnar | |
2013-08-12 | Add ConfigTag::getDuration() with optional bounds checking | attilamolnar | |
2013-08-12 | Add <path> keys for all of the compile-time paths. | Peter Powell | |
Also, make all paths in the config relative to their associated directory. This reverts a change in 2.0 which turned out to be a terrible idea, especially for system-wide installations. | |||
2013-08-10 | Replace range() with min and max arguments on getInt(). | Peter Powell | |
2013-07-16 | Fix some warnings which are causing debug builds to fail. | Peter Powell | |
- Clang: private field 'module' is not used - GCC: suggest a space before ‘;’ or explicit braces around empty body in ‘while’ statement | |||
2013-06-06 | Convert a ton of uses of MAXBUF to use a fixed buffer size. | Peter Powell | |
2013-05-19 | Fix spacing in calls to LogManager::Log. | Peter Powell | |
2013-04-12 | Add LOG_ prefix to the log level enum values. | Peter Powell | |
2013-04-06 | Default to the XML config format. | Peter Powell | |
2013-03-20 | Add support for mandatory tags in included config files | attilamolnar | |
If the mandatory tag is not found in the included config, the rehash is aborted. This is especially useful for remote includes, as it allows users to have a dummy tag at the end of the included config to indicate that the config has been wholly read. This method does not depend on exit codes so even situations where wget returns an empty or a wrong page that we would otherwise accept can be detected and an error can be generated before we assume that the contents have disappeared (and unload all modules, if the included file is supposed to contain module tags, for example). Usage: <include ... mandatorytag="namehere"> - if the included config doesn't contain a <namehere> tag then the rehash is aborted Fixes #30 reported by @Justasic | |||
2012-07-11 | Close files opened with popen() with pclose() instead of fclose() | attilamolnar | |
2012-06-08 | Cut the ending \n from all lines in included (exec)files | attilamolnar | |
2012-05-30 | Fix last character being chopped off in included (exec)files (e.g. motd and ↵ | attilamolnar | |
rules) | |||
2012-04-19 | Replace copyright headers with headers granting specific authors copyright | Robby- | |
2010-03-23 | Fail config parse if duplicate keys are found | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12658 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-02-10 | Better error messages for m_autoop | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12423 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-02-09 | Clean up documentation of connect blocks a bit | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12410 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-02-02 | Executable include for MOTD and more | danieldg | |
This introduces an <execfiles> tag that reads files from the output of a command, in the same way as executable includes. The files specified here can also be used anywhere a file is used (opermotd, randquote, etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12354 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-01-11 | ...because every now and again, i have to do a massive commit. | brain | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-10-25 | Add <config:format> to avoid breaking existing configuration files with XML ↵ | danieldg | |
entity changes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11974 e03df62e-2008-0410-955e-edbf42e46eb7 |