Sadie Powell
f2bcf449cd
Use windows-2019 for Windows builds.
2022-03-01 05:21:28 +00:00
Sadie Powell
09c587bed0
Remove TR1 compatibility layer.
...
This isn't necessary now we use C++17.
2022-03-01 05:09:29 +00:00
Sadie Powell
a8724b5f03
Use noexcept instead of an empty exception specifier.
2022-03-01 05:06:19 +00:00
Sadie Powell
b7e85f5161
Default synconset and syncongroup to on.
2022-02-05 23:11:39 +00:00
Sadie Powell
773ed39d5d
Merge branch '2.0' into 2.1.
2022-02-05 23:10:42 +00:00
Sadie Powell
b5fe380011
Include the required modules in the example InspIRCd config.
2022-01-29 13:33:19 +00:00
Sadie Powell
af7bf785f9
Fix a grammar error in nickserv.example.conf.
2022-01-29 13:31:04 +00:00
Sadie Powell
15d51ff033
Document the sysconf header file.
2022-01-13 13:46:29 +00:00
Sadie Powell
83bf5ba255
Remove checks for obsolete Windows SDK versions.
...
We can't build against these anyway now as they're too old.
2022-01-13 03:22:12 +00:00
Sadie Powell
2881ba112b
Clean up the predefined variables on Windows.
...
- Use _MSC_VER for detecting MSVC instead of a custom define.
- Remove MINGW as you can use __MINGW32__ to detect this.
- Stop defining _WIN32 as this will always be defined on Windows.
2022-01-13 02:35:23 +00:00
Sadie Powell
1ee81580c6
Add support for Windows CI.
2022-01-13 01:59:13 +00:00
Sadie Powell
4f421db5a9
Fix checking whether localisation is enabled.
2022-01-13 01:59:13 +00:00
Sadie Powell
091c0eea28
Rip out check_functions().
...
This isn't actually used anywhere and just slows down the build.
2022-01-13 01:42:46 +00:00
Sadie Powell
eaaabd8de0
Rip out calculate_depends().
...
This code is incredibly error prone and it just duplicates behaviour
that CMake already implements with depend.make files.
2022-01-13 01:42:38 +00:00
Sadie Powell
40ce51a1a9
Include cstring instead of string.h in services.h
2022-01-13 01:13:46 +00:00
Sadie Powell
23ac008cc1
Remove NO_CLIENT_LONG_LONG from the mysql module.
...
This is not necessary now we use C++17.
2022-01-13 01:12:05 +00:00
Sadie Powell
6486956401
Fix some methods that should have been marked as CoreExport.
2022-01-13 00:34:51 +00:00
Sadie Powell
33b42ce86e
Use the default CMake modules for finding gettext instead of our own.
2022-01-12 23:05:25 +00:00
Sadie Powell
a631028660
Merge branch '2.0' into 2.1.
2022-01-12 22:08:35 +00:00
Sadie Powell
04257b9d6a
Replace ICQ in the ns_set_misc examples with something not dead.
2022-01-10 16:45:25 +00:00
Sadie Powell
acb6c55529
Add all extra modules to the gitignore to avoid adding their symlinks.
2022-01-10 16:20:56 +00:00
Sadie Powell
0e6f8488d3
Avoid duplicate checks in irc2sql.
2022-01-10 16:20:56 +00:00
Filippo Cortigiani
56687c27cb
Fix ns_resetpass not returning a response for XMLRPC ( #243 )
...
Co-authored-by: filippo nicola cortigiani <simos@H7-25.fritz.box >
2022-01-10 16:12:33 +00:00
k4bek4be
9b0c7929d9
Multiple updates for unreal4 protocol ( #285 )
...
* Parse PROTOCTL PREFIX and PROTOCTL USERMODES
* Add several previously unhandled modes
* Fix incorrect SJOIN prefix handling
* Enable message tags sending from ircd
* Add timedban matcher
* Add operclass matcher
* Store all client and channel moddata.
* Call unreal's internal unban on /cs unban
* Check for ~a:0 ban
* Add country ban matcher
* Use +B umode for services bots
2022-01-10 15:50:17 +00:00
k4bek4be
d895a3aa01
Use utf-8 encoding for outgoing email ( #286 )
2022-01-09 19:01:45 +00:00
k4be
d4632e5286
Add a "Network Service" (RPL_WHOISOPERATOR) line to WHOIS replies
2022-01-09 18:39:09 +00:00
Michael Wobst
c38106211c
Adjust IsIdentValid test to comply with upcoming ircd-hybrid release ( #272 ).
...
hybrid.cpp: adjust IsIdentValid test to comply with upcoming ircd-hybrid where
user names may only consist of [A-Za-z0-9._-] and may not begin with '.', '-',
or '_'.
As a side effect this fixes an issue where currently it is possible to introduce
bots whose user name starts with (non-alnum) characters considered invalid for
ircd-hybrid leading to a services shutdown due to a nick introduction/kill loop.
2022-01-09 15:25:09 +00:00
Sadie Powell
b8bcad048e
Update the copyright headers for 2022.
2022-01-06 23:15:44 +00:00
Sadie Powell
4e5fc9797c
Speed up CI by building with Ninja instead of Make.
2022-01-04 18:48:22 +00:00
Sadie Powell
9befb13ea4
Remove various entries from sysconf which are never actually used.
2022-01-04 15:05:33 +00:00
Sadie Powell
8eb6a4da71
Update more IRCServices references to reflect the current project.
...
- If referring to the specific piece of software use "Anope".
- If referring to services in general use "services".
2022-01-04 14:11:07 +00:00
Sadie Powell
ec7dfb3675
Use C++11 header names instead of their deprecated equivalents.
2022-01-04 12:36:35 +00:00
Sadie Powell
106750db77
Replace all uses of push_back with emplace_back.
2022-01-04 12:28:55 +00:00
Sadie Powell
7d1047490e
Consistently use #pragma once across all header files.
...
This replaces a mixture of no include guards, ANOPE_FOO_H, and FOO_H.
2022-01-04 12:10:32 +00:00
Sadie Powell
c9f93eeaed
Merge branch '2.0' into 2.1.
2022-01-04 00:39:34 +00:00
Sadie Powell
db6b2225b1
Use GNU visibility attributes when on non-Windows.
...
This reduces binary sizes by several megabytes on my system.
2022-01-04 00:39:05 +00:00
Sadie Powell
c6c9d9591c
Remove some obsolete header and function checks.
2022-01-04 00:39:05 +00:00
Sadie Powell
c1f6a79c72
Export a compilation database for debug builds.
2022-01-04 00:39:05 +00:00
Sadie Powell
eb81f22a5b
Modernize CXXFLAGS on Unix and enable -Werror on CI.
...
Also clear up warnings that this exposed.
2022-01-04 00:39:05 +00:00
Sadie Powell
a31a7f5a6c
Use C++11 default initializers and destructors where possible.
2022-01-04 00:17:19 +00:00
Sadie Powell
7531e90499
Use C++11 style class/struct initialisation.
2022-01-04 00:17:13 +00:00
k4be
a93a7c87b6
Update pl_PL translation
2022-01-03 19:53:08 +00:00
Sadie Powell
ba2c82e2f5
Fix some minor issues discovered whilst working on 2.1.
2022-01-03 19:37:33 +00:00
Sadie Powell
dfcc025a19
Remove MARK_DEPRECATED as there's an attribute for this now.
2022-01-03 19:02:44 +00:00
Sadie Powell
a5f7aac295
Replace anope_{final,override} with their C++11 equivalent.
2022-01-03 19:02:44 +00:00
Sadie Powell
d76d747196
Require C++17 to build Anope.
2022-01-03 19:02:44 +00:00
Sadie Powell
aee1e53cb3
Remove support for precompiled headers.
...
This might have been useful two decades ago but on recent hardware
this just makes builds take longer than without them.
2022-01-03 16:27:15 +00:00
Sadie Powell
fd1ca96e2c
Merge branch '2.0' into 2.1.
2022-01-03 15:50:22 +00:00
Sadie Powell
2c18601d8f
Fix linking against libraries by their alternate name.
2021-12-28 21:18:22 +00:00
Sadie Powell
a1a1b3ad01
Add a build time check that OpenLDAP is reentrant.
2021-12-28 19:20:23 +00:00