aboutsummaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
| |
* | Only write to the pid file on boot.Gravatar Sadie Powell2022-04-231-7/+5
| | | | | | | | | | | | | | | | 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.
* | Fix unsigned/const keyword ordering, remove unnecessary consts.Gravatar Sadie Powell2022-03-271-1/+1
| |
* | Kill vendor_directory in favour of normal include paths.Gravatar Sadie Powell2022-01-261-1/+1
| |
* | Replace consolecolors with a vendored library.Gravatar Sadie Powell2022-01-261-19/+15
| | | | | | | | | | This library supports much more than consolecolors including the Windows 8 console API.
* | Slim the included headers down more.Gravatar Sadie Powell2022-01-261-12/+12
| |
* | Replace uses of the FileSystem class with std::filesystem.Gravatar Sadie Powell2022-01-151-7/+10
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-01-031-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-12-301-1/+1
| |
* | Remove unused time_t field from the timer system.Gravatar Sadie Powell2021-11-051-1/+1
| | | | | | | | | | This is equivalent to calling InspIRCd::Now() and is only actually used in one place in modules.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-08-281-0/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-08-271-0/+1
| |
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-08-171-1/+1
|\|
| * Fix argv index error in 'unknown option' message.Gravatar Valentin Lorentz2021-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like ya_getopt increments `optind` between reading the argument and returning. Before: ``` $ ./build/GCC-8.3/bin/inspircd --foo bar Error: unknown option 'bar'. $ ./build/GCC-8.3/bin/inspircd --help Error: unknown option '% ``` After: ``` $ ./build/GCC-8.3/bin/inspircd --foo bar Error: unknown option '--foo'. Usage: ./build/GCC-8.3/bin/inspircd [--config <file>] [--debug] [--nofork] [--nolog] [--nopid] [--runasroot] [--version] $ ./build/GCC-8.3/bin/inspircd --help Error: unknown option '--help'. Usage: ./build/GCC-8.3/bin/inspircd [--config <file>] [--debug] [--nofork] [--nolog] [--nopid] [--runasroot] [--version] ```
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-1/+1
| |
* | Move channel logic from InspIRCd to the new ChannelManager class.Gravatar Sadie Powell2021-05-081-1/+0
| |
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-2/+1
| |
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-1/+1
| |
* | Remove the unused ExitCodes array.Gravatar Sadie Powell2021-04-021-19/+0
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-24/+10
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-5/+5
| |
| * Fix not being able to colour format output to stderr on Windows.Gravatar Sadie Powell2021-03-031-19/+5
| |
* | Refactor classbase/CullResult into Cullable/Cullable::Result.Gravatar Sadie Powell2021-03-021-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-02-281-2/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-02-261-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-02-011-1/+2
|\|
| * Duplicate the stdout file handle when used for logging.Gravatar Sadie Powell2021-02-011-1/+2
| | | | | | | | | | Failure to do this may result in a crash on shutdown when started in debug mode.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-01-181-3/+3
|\|
| * Fix showing the start header when using --version.Gravatar Sadie Powell2021-01-181-2/+2
| |
| * Add a new runtime directory and move the pid file to it.Gravatar Sadie Powell2021-01-181-1/+1
| | | | | | | | | | | | | | The data directory is intended for persistent files whereas the pid file is ephemeral. This distinction doesn't matter by default but on system-wide installs ephemeral runtime files go in /var/run or /run instead.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-11-031-1/+1
|\|
| * Fix an off by one error in the "unknown option" message.Gravatar Sadie Powell2020-11-031-1/+1
| |
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-1/+1
| |