49 Commits

Author SHA1 Message Date
Sadie Powell
c18499a332 Rename regex_pcre back to regex_pcre2.
This rename happened before we had config compatibility and it doesn't
make sense to keep it anymore.
2024-06-07 19:19:19 +01:00
Sadie Powell
e24ea1723c Move ssl_mbedtls to inspircd-contrib.
Closes #2088.
2024-04-15 21:45:42 +01:00
Sadie Powell
59845198e1 Merge branch 'insp3' into master. 2023-11-14 15:15:33 +00:00
Sadie Powell
90a9893c7a Add some more files to the gitignore. 2023-11-06 00:35:41 +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
a44a6cfab7 Implement support for JSON logging. 2022-05-02 15:10:10 +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
96f673e7e1 Rename regex_pcre2 to regex_pcre. 2021-11-14 23:47:44 +00:00
Sadie Powell
e11c3c8095 Yeet regex_pcre into contrib. 2021-10-01 04:09:22 +01:00
Sadie Powell
f2386ea01f Add the regex_pcre2 module. 2021-09-26 19:16:51 +01:00
Sadie Powell
58947b5d9c We haven't used Travis CI in a long time so this is unnecessary. 2021-07-03 10:09:30 +01:00
Sadie Powell
55cc3a36bd Merge branch 'insp3' into master. 2021-06-09 09:23:23 +01:00
Sadie Powell
bd9b6c4005 Demote the regex_tre module to inspircd-contrib. 2021-06-01 02:56:31 +01:00
Sadie Powell
3ab889537f Merge branch 'insp3' into master. 2020-12-04 18:44:40 +00:00
Sadie Powell
f48c0ac619 Add corefiles to the git ignore list. 2020-11-26 20:41:12 +00:00
Sadie Powell
5a88a78f99 Merge branch 'insp3' into master. 2020-10-27 10:50:28 +00:00
ShutterQuick
219f8e6262
Implement support for Argon2 password hashing.
Resolves #1540.
2020-10-10 18:25:24 +01:00
Sadie Powell
1d5b18de82 Merge branch 'insp3' into master. 2019-05-15 15:26:55 +01:00
Peter Powell
14e1d1f844 Replace the geoip module with geo_maxmind, geoban, and geoclass.
MaxMind have EOL'd the library that the geoip module uses and have
replaced it with libmaxminddb.

The geoip module has been split into geo_maxmind which provides
geolocation data, geoban which provides location-based channel
bans, and geoclass which is used to filter a user into a connect
class based on location.
2019-04-15 19:08:22 +01:00
Sadie Powell
97aba4f8a5 Move m_regex_stdlib out of extras now it can always be built. 2019-01-25 02:52:28 +00:00
Sadie Powell
cf95aaaa23 Use C++14 compilers in Docker on Travis. 2019-01-25 02:47:00 +00:00
Peter Powell
5628d84f9e Move m_sslrehashsignal to the extra directory.
This module uses platform-specific behaviour that does not work on
Windows.
2018-02-17 17:44:52 +00:00
Peter Powell
d2efdbf6bb Fix building on Windows (mostly). 2018-02-17 17:12:26 +00:00
Peter Powell
bb9db07c21 Remove support for building with BSD Make.
BSD users should install GNU Make to build InspIRCd.
2017-07-24 17:00:05 +01:00
Attila Molnar
a22f9e6b46 Remove broken mssql module
Issue #1006
2016-08-23 19:51:06 +02:00
Attila Molnar
c050eb2d45 Add mbedTLS SSL module 2016-06-15 18:23:04 +02:00
Attila Molnar
8314fdddce Update .gitignore to reflect LDAP module changes 2016-05-03 14:30:25 +02:00
Peter Powell
f79a55616b Write generated templates to the .configure directory. 2016-03-22 23:38:44 +00:00
Attila Molnar
8f5efbc7aa Merge insp20 2015-04-20 17:40:12 +02:00
Peter Powell
c38d29fd76 Fix various Doxygen warnings. 2015-02-27 00:34:21 +00:00
Peter Powell
133b110534 Improve configure cache file handling.
- Add a version number to the configure cache file.
- Disable configure cache file in non-interactive mode.
- Rename configure cache file to .configure.cache to avoid 2.0 files.
- Use run_test to produce the "reading .configure.cache" message.
2014-12-07 22:36:42 +00:00
Peter Powell
f78c1c277a Add man pages. 2014-06-28 18:09:06 +02:00
Peter Powell
644e445ba4 Add systemd service file. 2014-06-28 18:09:06 +02:00
Peter Powell
e6d245a3e8 Replace the configure templating system with something better.
A large amount of this code can be removed when buildtool is done
as we will not need to worry about the differences between BSD and
GNU Make.
2014-05-23 14:13:51 +02:00
Peter Powell
284925bed5 Backport questions from master's genssl tool. 2014-04-16 19:58:01 +01:00
Peter Powell
b3200d542b Add 'auto' option to genssl to automatically select a generator. 2013-07-29 17:07:52 +01:00
Peter Powell
55dc6fe9e5 Add RE2 regex module. 2013-06-16 21:48:51 +02:00
Peter Powell
362f3009ac Merge inspircd_{config,version}.h into a single header file. 2013-04-05 16:39:40 +01:00
Adam
b17ba83e9c Replace Windows build system and installer with cmake 2013-03-14 15:19:41 -04:00
ChrisTX
5b9682275e Windows: In-depth cleanup (see details)
-Fix x64 builds for Windows. Now all configurations compile.
-Remove the non-working rebase stuff.
-Remove the Windows fork hack and instead use FreeConsole() to emulate the behavior. This directly allows us to compile with ASLR, which is turned on now.
-Remove the old IPC mechanism for the removed GUI. This is not needed anymore as the GUI wasn't ever supported on anything newer than 1.2
-Remove the WIN32/WINDOWS macros. _WIN32 is supported on all x86-based VC++ targets, so that's what we need.
-Enable optimizations for release builds.
-De-duplicate printf_c(), it was previously copy-pasted into colors.h for configure
-Add the VC++ specific bad files in .gitignore
-Disable PID writing on Windows. This is only making sense for *nix builds.
-Replace the CPU usage retrieval with an algorithm analogous to the *nix behavior. Also supports separated now/total values. (Tested with a dummy busy loop - seems working)
-Removed certain unused functions and variables
-Remove stdint defines from the windows wrapper
-Remove CRT debug alloc. This is a bad idea as it would define a macro to replace free which breaks builds.
-Re-evaluated the warnings list, commented it.
-Moved inspircd_config/_version to include/ to match *nix
-Removed the creation of inspircd_se_config, as it isn't used at all.
-Made non-git builds show as "r0" instead of "r" (thanks to @SaberUK for pointing this out)
-Fixed up m_spanningtree's project paths. Now all configurations (debug/release x86/x64) have been tested and build properly.
-Moved FindDNS out of the wrapper and matched its log behavior with *nix. (It's pointless having it in the wrapper after the recent slimming down)
-Replaced random/srandom wrappers with a mechanism that tries to use Windows' Random API first is no SSL module is loaded.
-Removed more old junk from support for compilers older than VC++ 2010 (we don't have project files for these, so compiling them would be hard anyways)
-Removed the unused ClearConsole()
-Removed unused includes from the wrapper. Also, do not include psapi.h here if we don't link psapi.lib. This should be done where appropriate.
-Made inet_aton an inline function for increased performance
-C4800, performance warning about bool forcing, resolved at all occurrences.
-C4701, uninitialized variable 'cached', resolved at all occurrences.
-dlerror() was migrated out of the wrapper for more thread safety (no global buffer being shared) and increased performance.
-Removed the wrong CRT debug flags. This drains a lot of performance.
-Removed the clock_gettime/gettimeofday wrappers
-Replaced all TCHAR/ANSI mix-ups of functions with the correct respective function.
-Added a block of C4355 for < VS2012
-Update project files for c870714
2012-10-12 22:31:38 +02:00
attilamolnar
be4f9eccdf Update .gitignore 2012-10-06 14:26:22 +02:00
danieldg
7bff99d3dc Add mode +V, status prefix. Because we haven't used up enough channel mode letters yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12385 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-06 16:27:00 +00:00
danieldg
7aa5e059a8 Remove include/inspircd_se_config.h and socketengine-specific headers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11784 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 18:31:05 +00:00
danieldg
075bb82c3e Update svn:ignore and .gitignore
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11777 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 22:39:07 +00:00
danieldg
3900997a09 Buildsystem updates
Add required compilation flags for interix
Fix build when perl is not in /usr/bin
Clean up unused file masks from .gitignore

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11770 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-27 22:14:25 +00:00
danieldg
3a186342c9 Remove .*.d dependency garbage, and use a dedicated build directory
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11738 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17 03:04:27 +00:00
danieldg
14ec488aeb Update .gitignore to ignore .modulemanager (and cleanup)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11532 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-17 22:27:25 +00:00
w00t
66c72fa237 Trivial commit to add .gitignore to ..gitignore!
(And test multiline commits.)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11463 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 22:15:29 +00:00
w00t
e09c036788 Push SVN ignores to .gitignore, so I can stop going insane.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11458 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 16:04:10 +00:00