summaryrefslogtreecommitdiff
path: root/include/config.h
AgeCommit message (Collapse)Author
2024-03-11Replace convertTo/stringify with non-throwing alternatives.Sadie Powell
Having these throw is terrible for ergonomics and there are loads of places where the exception was either silently ignored or not handled at all. Having a function which returns an optional and another that returns a default works a lot better imo.
2024-03-09Clean up the services.h includes.Sadie Powell
2024-02-26Fix some coding style issues.Sadie Powell
2024-02-25Remove a function which exists for compat with old versions of VS.Sadie Powell
2024-01-23Mark types that have no inheritors as final.Sadie Powell
2024-01-23Improve the layout of types that inherit from another type.Sadie Powell
2024-01-22Mark all exception types as CoreExport.Sadie Powell
From the GCC docs: >Exception catching of a user defined type in a binary other than >the one which threw the exception requires a typeinfo lookup. Closes #335.
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-12-17Remove some unnecessary spaces that break editor indentation.Sadie Powell
2023-06-03Merge branch '2.0' into 2.1.Sadie Powell
2023-05-28config: remove dependency on no-delete-null-pointer-checksAdam
2023-05-04Avoid returning null when a config tag does not exist.Sadie Powell
This invokes undefined behaviour on modern compilers.
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-12-17Add support for linking over UNIX sockets.Sadie Powell
2022-03-01Use noexcept instead of an empty exception specifier.Sadie Powell
2022-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Consistently use #pragma once across all header files.Sadie Powell
This replaces a mixture of no include guards, ANOPE_FOO_H, and FOO_H.
2022-01-04Use C++11 default initializers and destructors where possible.Sadie Powell
2022-01-04Use C++11 style class/struct initialisation.Sadie Powell
2021-11-30Remove undefined behaviour around checking if this is null.Sadie Powell
2021-06-17Fix various spelling issues (#274).Josh Soref
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>.
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-12-14Fix a bunch of broken indentation.Peter Powell
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-08-05Use full path to file for conf.cpp file could not be opened error messageAdam
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-01-10Add networkinfo:nick_chars option to allow configuring additional characters ↵Adam
allowed in nicknames
2014-05-20Speed up akill xline checksAdam
Cache xline nick, user, host, etc instead of rebuilding it everytime its requested. Store users ip in sockaddr form and not string form to prevent having to rebuild sockaddrs when checking xlines. Also do not try to convert empty config values in Config::Get as this can be rather common if a non string configuration value is not set, and the cost of the ConvertException is great.
2014-04-25Add "virtual mode" supportAdam
This allows fully tracking extbans and other modes set by a different underlying mode, such as InspIRCd's namedmodes Add two configuration options to cs_ban to configure which mode is set and whether or not to kick banned users. Add default "mute" fantasy command to botserv.example.conf
2014-04-06Do not apply module changes on rehash until after the new config has been ↵Adam
applied. Fix renaming opertypes on reload.
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-12-19Don't leak opers and opertypes on /os reload, fix not updating opertypes on ↵Adam
non conf opers on rehash
2013-06-19Don't enforce usestrictprivmsg on TS6 IRCds and cache the value of ↵Adam
usestrictprivmsg
2013-05-26Get rid of the remaining references in the core to specific services. Move ↵Adam
more stuff out of the core to the proper modules.
2013-05-25Give an error message when the configuration file ends with an unterminated ↵Adam
block
2013-05-05The const char* specialization of this no longer worksAdam
2013-05-05That doesn't work either, just don't use references.Adam
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05Fix WindowsAdam
2013-05-05Cache timeoutcheck and fix a typo in example.confAdam
2013-05-05Rework the config file reader to be much more flexible and move many ↵Adam
configuration directives to the actual modules they are used in.
2013-04-11Pass new config and the new config reader to the OnReload event, aswell as ↵Adam
call it on module load on modules that hook to it
2013-03-31Add networkinfo:modelistsize config option to set the max size of b/e/I listsAdam
2013-01-30Remove sendpass from the configs and the config reader since it no longer existsAdam
2013-01-22Add hidenetsplitquit config option to not show splits in /ns info's last ↵Adam
quit field
2013-01-21Merge usefulness of Flags and Extensible classes into Extensible, made most ↵Adam
flags we have juse strings instead of defines/enums