515 Commits

Author SHA1 Message Date
Sadie Powell
fd564cd44a Rename several Windows files to use the same naming scheme.
[skip alpine ci]
[skip irctest ci]
[skip macos ci]
[skip ubuntu ci]
2023-07-15 10:31:48 +01:00
Sadie Powell
b4e3e97329 Simplify the codes that InspIRCd can exit with.
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.
2023-07-13 14:07:26 +01:00
Sadie Powell
d91d707c6d Error out if CMake is used on non-Windows.
This does not work (currently) and can result in weird issues in
code editors that try to automatically run CMake if they see a
CMakeLists file.
2023-07-13 14:07:26 +01:00
Sadie Powell
cd1c202165 Merge branch 'insp3' into master. 2023-07-13 07:33:58 +01:00
Sadie Powell
c9a30a5acf Update required OpenSSL version on Windows.
The dependency issue which was preventing us from updating has
finally been resolved.
2023-07-13 07:29:54 +01:00
Sadie Powell
d950385d53 Merge branch 'insp3' into master. 2023-07-01 11:11:46 +01:00
Sadie Powell
17b300a3f2 Update Windows dependencies.
[skip alpine ci]
[skip irctest ci]
[skip macos ci]
[skip ubuntu ci]
2023-07-01 11:08:03 +01:00
Sadie Powell
f394c7d6ae Fix the Windows build.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2023-06-25 18:02:56 +01:00
Sadie Powell
7a8d37077a Include the vendor directory as a system directory on Windows. 2023-06-19 18:09:03 +01:00
Sadie Powell
ee642e0687 Define FD_SETSIZE from CMake on Windows to avoid redef warnings. 2023-06-19 18:08:28 +01:00
Sadie Powell
1aead0066a Fix some uses of NULL that have snuck back in during a merge. 2023-05-07 19:27:59 +01:00
Sadie Powell
3c056d489c Merge branch 'insp3' into master. 2023-04-27 11:00:42 +01:00
Sadie Powell
222a2d8bb8 When building the PACKAGE project we don't need to specify a target. 2023-04-27 10:42:37 +01:00
Sadie Powell
0506da775a Update the Windows dependencies. 2023-04-22 12:42:16 +01:00
Sadie Powell
1e2d479ad4 Add a script for doing the Windows build. 2023-03-23 09:54:15 +00:00
Sadie Powell
3eb572691f Merge branch 'insp3' into master. 2023-02-28 16:55:26 +00:00
Sadie Powell
6469d11678 Update the Windows dependencies.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2023-02-28 16:45:23 +00:00
Sadie Powell
671b84ecf2 Vendor the fmtlib library. 2023-01-23 13:07:52 +00:00
Sadie Powell
bc6d98c931 Add support for using the Public Suffix List in cloak_sha256.
Closes #1658.
2023-01-14 01:43:06 +00:00
Sadie Powell
d048778f78 Merge branch 'insp3' into master. 2023-01-01 13:19:45 +00:00
InspIRCd Robot
2b810b412a Update copyright headers. 2022-12-30 11:31:28 +00:00
Sadie Powell
ed81ec45ad Move some stuff from the Windows compat header to where it is used. 2022-12-27 13:50:13 +00:00
Sadie Powell
05168e3549 Merge branch 'insp3' into master. 2022-12-25 22:44:50 +00:00
Sadie Powell
dea1450a70 Update the Windows dependencies.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-12-23 20:42:11 +00:00
Sadie Powell
33c08fc8aa Deduplicate retrieving error messages on Windows. 2022-12-13 14:17:50 +00:00
Sadie Powell
0a03eada1c Import regex_pcre2 from inspircd-contrib.
The original plan was to make the PCRE2 switch happen in v3 but it
seems that distributions are beginning to unpackage the old pcre
library already.
2022-12-05 07:18:32 +00:00
Sadie Powell
45e56e5ee1 Yet more stylistic fixes. 2022-12-01 05:25:01 +00:00
Sadie Powell
92739a57f6 Merge branch 'insp3' into master. 2022-11-16 16:29:12 +00:00
Sadie Powell
571c229688 Update the Windows dependencies. 2022-11-16 15:53:00 +00:00
Sadie Powell
121668a0b9 Add a workaround for a conflict between libmysqlclient and pcre.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-10-29 16:26:30 +01:00
Sadie Powell
f8b9411ef0 Add a workaround for a conflict between libmysqlclient and pcre2.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-10-22 15:43:39 +01:00
Sadie Powell
3f97b4b58f Merge branch 'insp3' into master. 2022-10-22 15:37:41 +01:00
Sadie Powell
9554e7736e Update the Windows dependencies.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-10-22 15:24:08 +01:00
Sadie Powell
ba587437a4 Merge branch 'insp3' into master. 2022-10-01 01:59:56 +01:00
Sadie Powell
89537ed2ab Fix various cases of the &* being next to the name instead of type. 2022-09-29 12:36:01 +01:00
Sadie Powell
c036834745 Use NOMINMAX on Windows and undefine error in the log header. 2022-09-23 22:15:02 +01:00
Sadie Powell
13e429445f Add Windows extra modules to the module list instead of copying.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-09-22 09:08:41 +01:00
Sadie Powell
cbac0a3470 Merge branch 'insp3' into master. 2022-09-21 22:38:48 +01:00
Sadie Powell
c2e6c819bc Allow building regex_posix against PCRE on Windows for link compat. 2022-09-21 22:01:17 +01:00
Sadie Powell
9b8eb0f8c2 Avoid packaging unnecessary .lib files on Windows.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-09-21 16:24:24 +01:00
Sadie Powell
d03385aaa1 Fix the ldap module when building against Windows LDAP. 2022-09-21 15:10:50 +01:00
Sadie Powell
5718433432 Clean up the Windows build process and remove some legacy code. 2022-09-03 15:48:34 +01:00
Sadie Powell
d74c70a364 Merge branch 'insp3' into master. 2022-08-04 18:52:55 +01:00
Sadie Powell
960a5da631 Update the Windows dependencies.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-08-04 18:35:31 +01:00
Sadie Powell
3c455a8511 Modernize various minor legacy C++isms. 2022-07-30 19:15:41 +01:00
Sadie Powell
648f813f8c Switch from NULL to nullptr. 2022-07-22 18:53:21 +01:00
Sadie Powell
5536a73230 Merge branch 'insp3' into master. 2022-06-22 00:40:13 +01:00
Sadie Powell
8b8a7c51f1 Update Windows dependencies.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-06-22 00:37:14 +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
c4f1d27a29 Merge branch 'insp3' into master. 2022-05-02 19:55:03 +01:00