Sadie Powell
3be039e332
Get rid of GetVersionString.
...
TODO: split fullversion/version into individual fields.
2022-05-17 18:28:16 +01:00
Sadie Powell
507887f001
Get rid of entrypoint, specify the main function name directly.
2022-05-07 20:18:15 +01:00
Sadie Powell
c382faf9c9
Rewrite the entire logging system.
...
- Much cleaner API for writing to the log.
- Adds support for stderr and stdout logging to the core.
- Adds support for sql and syslog logging in modules.
2022-05-01 22:07:04 +01:00
Sadie Powell
0df16f0144
Delete the old logging system.
2022-05-01 21:44:54 +01:00
Sadie Powell
af1d0f6a4b
Slim down the globally included files.
2022-04-30 17:48:12 +01:00
Sadie Powell
d7912e6a3e
Merge branch 'insp3' into master.
2022-04-29 11:24:05 +01:00
InspIRCd Robot
346ec99c43
Update copyright headers.
2022-04-28 18:49:16 +01:00
Sadie Powell
d682f3f2c9
Only write to the pid file on boot.
...
Being able to change this after first boot is error prone and does
not work well on system-wide installs where the server needs root
to write the file.
Closes #566 .
2022-04-23 09:57:52 +01:00
Sadie Powell
9fbcb685e8
Merge branch 'insp3' into master.
2022-04-21 16:32:29 +01:00
Sadie Powell
5d90fa4c6e
Mark the main loop as noreturn.
2022-04-21 09:20:33 +01:00
Sadie Powell
b122c182cc
Fix an outdated comment.
2022-04-20 23:57:04 +01:00
Sadie Powell
ed6e19bbd0
Fix unsigned/const keyword ordering, remove unnecessary consts.
2022-03-27 15:41:28 +01:00
Sadie Powell
4fd71323d3
Slim the included headers down more.
2022-01-26 14:00:58 +00:00
Sadie Powell
d79147e7af
Abolish the infernal space before accessibility keywords.
2022-01-25 14:02:36 +00:00
Sadie Powell
d216fd0af5
Use vector<string> instead of file_cache in ProcessColors.
2022-01-18 16:54:04 +00:00
Sadie Powell
94d42ad3ba
Rename CUSTOM_PRINTF to ATTR_PRINTF.
...
ATTR_* matches the naming scheme which will be used for function
attributes from now on.
Also, redocument it to have a better description and allow Doxygen
to parse it.
2022-01-15 15:15:42 +00:00
Sadie Powell
52cc8a4183
Refactor CoreException and ModuleException.
2022-01-07 17:16:50 +00:00
Sadie Powell
723a36ec39
Move DNS stats to core_dns.
2021-12-24 11:30:24 +00:00
Sadie Powell
421e8c8c79
Add the final keyword to all remaining classes that can have it.
2021-12-20 20:19:40 +00:00
Sadie Powell
cefae0ed22
Fix MSVC compatibility issues.
2021-06-07 10:40:18 +01:00
Dominic Hamon
02340285c5
Added -Wshorten-64-to-32 and fixed all warnings.
2021-05-30 20:37:54 +01:00
Sadie Powell
0c750c0608
Move channel logic from InspIRCd to the new ChannelManager class.
2021-05-08 15:31:50 +01:00
Sadie Powell
77802d96ca
Use string_view in IsCTCP.
2021-04-08 20:00:46 +01:00
Sadie Powell
a6f81edcdb
Take a string_view in irc::equals.
2021-04-08 18:48:52 +01:00
Sadie Powell
7d84e4900f
Fix a ton of pedantic compiler warnings.
2021-04-04 23:42:15 +01:00
Sadie Powell
0194f799b9
Merge branch 'insp3' into master.
2021-03-31 15:04:15 +01:00
Sadie Powell
952ee5cc60
Fix various documentation comments.
2021-03-31 10:51:51 +01:00
Sadie Powell
1e1cf527d2
Merge branch 'insp3' into master.
2021-03-05 02:32:35 +00:00
InspIRCd Robot
7b1ab06a95
Update copyright headers.
2021-03-05 02:16:11 +00:00
Sadie Powell
4e488cb54d
Refactor classbase/CullResult into Cullable/Cullable::Result.
2021-03-02 05:56:56 +00:00
Sadie Powell
c72c5ead6d
Move aligned_storage to the utility directory and clean up.
2021-03-02 03:05:53 +00:00
Sadie Powell
3f113fc046
Move iterator_range to the utility directory and renamespace.
2021-03-02 02:56:49 +00:00
Sadie Powell
601ddbbb25
Replace defaultdeleter with the C++11 one and rename culldeleter.
2021-01-30 19:53:36 +00:00
Sadie Powell
1b181b42b8
Convert ConfigTag from reference<> to std::shared_ptr<>.
2020-10-31 23:21:15 +00:00
Sadie Powell
441bd151da
Add stdalgo::iterator_range and switch config tag reading to use it.
...
This allows us to use range-based for loops which were not possible
with the previous config tag system.
2020-10-31 22:33:35 +00:00
Sadie Powell
4176261edf
Convert OperInfo from reference<> to std::shared_ptr<>.
2020-10-31 16:55:18 +00:00
Sadie Powell
b755d2a778
Merge branch 'insp3' into master.
2020-05-05 22:03:14 +01:00
InspIRCd Robot
4f9abe96a4
Fixes by misspell-fixer
2020-04-21 00:52:12 -06:00
Sadie Powell
84eb33d4c3
Move FindNickOnly to UserManager.
2020-02-09 19:24:26 +00:00
Sadie Powell
61070d4894
Move FindNick to UserManager.
2020-02-09 17:19:31 +00:00
Sadie Powell
1cdffcaad7
Move FindUUID to the UserManager class.
2020-02-09 17:16:07 +00:00
Sadie Powell
98e4ddfb21
Use C++11 inline initialisation for class members.
2020-02-06 11:25:42 +00:00
Sadie Powell
0966ad5a0a
Make WritePID read directly from the config.
2020-02-06 01:53:16 +00:00
Sadie Powell
1de6f5b4a9
Merge branch 'insp3' into master.
2020-01-17 12:36:09 +00:00
InspIRCd Robot
aa692dc103
Update copyright headers.
2020-01-11 22:14:43 +00:00
Sadie Powell
f8013e0899
Move ISupport logic out of the core and into core_info.
2020-01-05 14:41:06 +00:00
Sadie Powell
f856d5ab8a
Merge branch 'insp3' into master.
2020-01-01 12:33:10 +01:00
Peter Powell
ad50225dc3
Make BindPorts return size_t instead of int.
2019-12-09 01:34:02 +00:00
Peter Powell
cca482b006
Improve behaviour when running as root.
...
- Only give the annoying message about root if --runasroot is not
specified.
- If --runasroot is specified then assume the user knows what they
are doing.
- Move CheckRoot to a static function in inspircd.cpp.
2019-12-08 23:08:57 +00:00
Peter Powell
9ad873886e
Convert InspIRCd::SetSignals to a static function.
2019-12-08 21:30:55 +00:00