aboutsummaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix measuring the CPU load on Windows.Gravatar Sadie Powell2024-08-271-4/+4
|
* Refactor the InspIRCd class to be actually readable.Gravatar Sadie Powell2024-08-271-18/+18
| | | | | This has been long overdue as most of the comments were outdated and members were shoved into the class in no logical way.
* Update copyright headers.Gravatar InspIRCd Robot2024-06-211-1/+1
|
* Remove a now unnecessary hack for Windows filenames.Gravatar Sadie Powell2024-06-171-21/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-7/+4
|
* Make --(protocol)debug imply --nofork.Gravatar Sadie Powell2024-05-011-2/+2
|
* Add --protocoldebug, make --debug default to DEBUG not RAWIO.Gravatar Sadie Powell2024-05-011-1/+6
|
* Update vendored libraries.Gravatar Sadie Powell2024-01-091-1/+1
|
* Fix a typo in TryBindPorts.Gravatar Sadie Powell2024-01-091-1/+1
|
* QuickExit is obsolete again so we can remove it again.Gravatar Sadie Powell2023-10-171-7/+7
|
* Fix exiting with a success when the child dies before the parent.Gravatar Sadie Powell2023-10-171-1/+1
| | | | | | | I have no idea why I didn't see this before now. Closes #1369. Closes #2064.
* Rename the error log level to critical.Gravatar Sadie Powell2023-08-111-8/+8
| | | | | "ERROR" is apparently defined by more than just Windows. Let's pick a different name which is less likely to cause collisions.
* Replace rand/rand_s/random with the C++11 random number generator.Gravatar Sadie Powell2023-07-151-10/+0
|
* Simplify the codes that InspIRCd can exit with.Gravatar Sadie Powell2023-07-131-18/+17
| | | | | | | The custom codes that InspIRCd exits with are not very useful and can confuse init systems like systemd which assume that certain exit codes mean certain things. INSPIRCD_BINARY_EXIT was a workaround for this in v3 but considering thatsers have to check the logs anyway so we may as well just use EXIT_SUCCESS and EXIT_FAILURE.
* Normalise the case of ServerStats.Gravatar Sadie Powell2023-07-131-7/+7
|
* Remove rang and use fmtlib for printing coloured messages.Gravatar Sadie Powell2023-07-121-35/+40
| | | | | | | | | This supports more platforms (e.g. Haiku) and is actually still maintained unlike the former. All of this code should really be cleaned up for release (maybe by adding something like Anope's LOG_CONSOLE) but for now I've just replaced it with the fmtlib equivalent.
* Refactor the ServerConfig class.Gravatar Sadie Powell2023-07-031-15/+15
| | | | | | All fields are now ordered in the most memory efficient way and all public fields use the correct case. Every member has been redocumented to match the current documentation style.
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-06-171-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2023-06-161-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-05-201-5/+6
|\|
| * Add an undocumented build option for unlimiting the main loop.Gravatar Sadie Powell2023-05-201-5/+6
| | | | | | | | This should never be used normally but is useful for irctest.
* | Remove GetSID, rename sid to ServerId.Gravatar Sadie Powell2023-02-281-6/+6
| |
* | Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-13/+13
| |
* | Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-231-2/+2
| |
* | Default more stuff inline in the InspIRCd class.Gravatar Sadie Powell2023-01-231-4/+0
| |
* | Allow creating a FailedPort without a bindspec.Gravatar Sadie Powell2023-01-171-1/+5
| |
* | Store the actual error in FailedPort instead of an error code.Gravatar Sadie Powell2023-01-161-1/+1
| |
* | Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
| |
* | 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-2/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+2
| |
* | Move some stuff from the Windows compat header to where it is used.Gravatar Sadie Powell2022-12-271-1/+3
| |
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-15/+15
| |
* | Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-1/+1
| |
* | Update the vendored libraries.Gravatar Sadie Powell2022-11-161-7/+0
| |
* | Clean up the Windows build process and remove some legacy code.Gravatar Sadie Powell2022-09-031-3/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-08-271-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-08-251-1/+1
| |
* | Modernize various minor legacy C++isms.Gravatar Sadie Powell2022-07-301-3/+3
| |
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-6/+6
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-07-191-7/+7
|\|
| * Also use binary exit codes in places that terminate abruptly.Gravatar Sadie Powell2022-07-191-7/+7
| | | | | | | | This is a partial reversion of commit 57330e973b3eb1f2a84803c84daf9d6b420859fd.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-05-251-1/+2
|\|
| * Fix some compiler warnings on i386.Gravatar Sadie Powell2022-05-251-1/+2
| |
* | Get rid of entrypoint, specify the main function name directly.Gravatar Sadie Powell2022-05-071-7/+5
| |
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-18/+18
| |
* | Rewrite the entire logging system.Gravatar Sadie Powell2022-05-011-7/+24
| | | | | | | | | | | | - 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.
* | Slim down the globally included files.Gravatar Sadie Powell2022-04-301-0/+4
| |
* | Enable writing a pid file on Windows.Gravatar Sadie Powell2022-04-301-2/+0
| |
* | Replace getopt/ya_getopt with Lyra.Gravatar Sadie Powell2022-04-301-40/+58
| |