12762 Commits

Author SHA1 Message Date
Attila Molnar
b2db94675b Fix incorrect std::string::operator[] usage
Passing a position equal to length() to the non-const version of operator[] is undefined
2015-09-28 10:36:17 +02:00
Peter Powell
cd67a0a6f9 Fix detection of the Apple variant of Clang.
This splitting of compiler names mirrors the change implemented by
other build systems like cmake.
2015-09-23 21:52:27 +01:00
Adam
aec9540601 Merge pull request #1050 from Aviator45003/insp20
Fixed a build warning
2015-09-06 17:01:14 -04:00
Adam
e660106903 Merge pull request #1018 from SaberUK/insp20+hidekills
[2.0] Fix exposing the opers hostname in KILL when using hidekills.
2015-09-06 17:00:57 -04:00
Adam
1aa4fa1496 Merge pull request #1092 from SaberUK/insp20+fix-topic
[2.0] Fix sending the wrong numerics on join when a topic is empty.
2015-09-06 17:00:44 -04:00
Peter Powell
b0e64b8cea Fix sending the wrong numerics on join when a topic is empty. 2015-08-26 12:02:31 +01:00
Attila Molnar
b7189fdb5b Merge pull request #1089 from SaberUK/insp20+fix-msvc
[2.0] Fix compilation with Microsoft Visual C++ 14.
2015-08-10 15:04:58 +02:00
Attila Molnar
9c6a2d1b5b Merge pull request #1084 from SaberUK/insp20+fix-parallel-debug-install
[2.0] Fix "make -jX debug install" causing linker errors.
2015-08-10 14:54:32 +02:00
Peter Powell
234c234993 Fix compilation with Microsoft Visual C++ 14. 2015-08-09 13:19:20 +01:00
Peter Powell
7da9057946 Fix "make -jX debug install" causing linker errors. 2015-07-29 23:46:33 +01:00
Attila Molnar
ec5529639d Merge pull request #1076 from SaberUK/insp20+kqueue
[2.0] Fix checking whether kqueue/stdint/strlcpy are available.
2015-07-23 01:07:53 +02:00
Attila Molnar
f92b20b6f2 Merge pull request #1080 from bradfirj/fix-tmpnam-insp20
Replace deprecated tmpnam() call
2015-07-23 00:49:14 +02:00
Richard Bradfield
79d1a436bb Replace deprecated tmpnam() call
From Perl 5.22 onwards, POSIX::tmpnam() has been deprecated (without the
usual 2 year deprecation cycle), using the File::Temp module instead
preserves compatibility while allowing compilation on 5.22 and later.
2015-07-22 01:18:03 +01:00
Peter Powell
0b4285abd1 Add missing copyright headers to test files. 2015-07-21 23:34:22 +01:00
Peter Powell
4c751dbbe8 Switch <stdint.h> test to use a test file too. 2015-07-21 23:30:54 +01:00
Peter Powell
e5cfa9c0c2 Switch strlcpy test to use a test file too. 2015-07-21 23:22:17 +01:00
Peter Powell
3fbba606c3 Fix checking whether kqueue is available.
It seems like the newer OS X versions don't put headers into the
system include directories. Switch to using a test file instead.
2015-07-21 23:22:09 +01:00
Attila Molnar
5544649cd2 m_ssl_openssl Implement custom BIO methods that call SocketEngine methods 2015-07-07 15:27:58 +02:00
Attila Molnar
a120b22f5e m_ssl_openssl Remove NULL check of the session in OpenSSLIOHook constructor 2015-07-07 15:07:10 +02:00
Attila Molnar
6447b7be82 m_ssl_openssl Use SSL_MODE_RELEASE_BUFFERS if available 2015-07-06 19:07:30 +02:00
Attila Molnar
72555992d1 m_ssl_openssl Enable ECDH when acting as a server on OpenSSL 1.0.0 and later 2015-07-06 19:03:48 +02:00
Attila Molnar
3462d802dd m_ssl_openssl Unconditionally compile code for detecting renegotiation and disallow it by default 2015-07-06 18:38:44 +02:00
Adam
70542e525b Fail invalid dns responses instead of drop 2015-07-06 17:53:21 +02:00
Attila Molnar
fee097c059 Merge pull request #1069 from del6597/patch-1
Update m_blockcaps.cpp
2015-07-02 23:52:15 +02:00
David Lamont
451784d056 m_blockcaps Reword error message to indicate 'greater than or equal to' logic when checking caps percentage 2015-07-01 11:24:28 -07:00
Attila Molnar
8320bcc9df Merge pull request #1059 from OVERdrive-IRC/m_repeat/fix-typo
m_repeat: fix typo (similiar->similar)
2015-06-26 01:52:04 +02:00
Attila Molnar
539abb9e93 Merge pull request #1063 from SaberUK/insp20+cert-warning
[2.0] Show a better warning when certtool/openssl are missing.
2015-06-26 00:00:25 +02:00
Attila Molnar
eb084fc8b2 Merge pull request #1066 from SaberUK/insp20+plist
[2.0] Log STDOUT and STDERR in the launchd script.
2015-06-25 23:59:09 +02:00
Peter Powell
0207736989 Log STDOUT and STDERR in the launchd script. 2015-06-24 23:06:11 +01:00
Attila Molnar
9675ce9553 m_ssl_gnutls, m_ssl_openssl Log library version information on load 2015-06-22 18:11:50 +02:00
Peter Powell
4e3d7a6e30 Show a better warning when certtool/openssl are missing. 2015-06-15 21:30:27 +01:00
Attila Molnar
77b5bd0dbc Merge pull request #1058 from SaberUK/insp20+nationalchars
[2.0] Fix various issues with the nationalchars module.
2015-06-15 22:07:05 +02:00
Attila Molnar
baccf1eba4 Merge pull request #1061 from SaberUK/insp20+fix-fbsd
[2.0] Fix mistakenly using Clang instead of GCC on older FreeBSD versions.
2015-06-15 22:00:36 +02:00
Attila Molnar
5d8fd0cf2c Merge pull request #1060 from SaberUK/insp20+install
[2.0] Fix system-wide installation of the data and log directories.
2015-06-15 22:00:24 +02:00
Peter Powell
68211809ee Fix mistakenly using Clang instead of GCC on older FreeBSD versions. 2015-06-14 23:41:33 +01:00
Peter Powell
2ad8a6791b Fix system-wide installation of the data and log directories.
The existing method works fine when building with the default
paths but breaks when you are doing a system-wide installation.
2015-06-14 19:39:15 +01:00
Peter Powell
8ffce4d2f3 Fix various issues with the nationalchars module.
- Strip the directory name in the default casemapping value.
- Error out if the casemapping value contains a space.
- Error out if the locale file failed to load.
- Fix relative file path when building on Windows.
- Install nationalchars files on Windows.
2015-06-14 18:18:26 +01:00
James Lu
51b82c3c06 m_repeat: fix typo (similiar->similar)
Also update docs/ accordingly
2015-06-12 18:31:01 -07:00
Attila Molnar
68c06dd45f Merge branch 'master+sendq' 2015-06-08 12:30:56 +02:00
Attila Molnar
f8bd107374 Clean up indent in StreamSocket::DoWrite() 2015-06-06 15:14:39 +02:00
Attila Molnar
042cd5e8e6 m_ssl_gnutls Implement corking on GnuTLS 3.1.9 and later to avoid data copies done by sendq flattening 2015-06-06 15:13:31 +02:00
Attila Molnar
d0556a2a59 Call OnStreamSocketWrite() once per write event
Do sendq flattening in SSL modules, move code for it into class SSLIOHook from core
2015-06-06 14:42:59 +02:00
Attila Molnar
e05c258650 Add max outgoing record size option to sslprofile config 2015-06-06 14:34:28 +02:00
Attila Molnar
1f0485039a Convert all code to use StreamSocket::SendQueue
Let OnStreamSocketWrite see the entire sendq instead of one element at a time
2015-06-06 14:31:05 +02:00
Attila Molnar
0858cdd53c Add class StreamSocket::SendQueue 2015-06-06 14:20:22 +02:00
Attila Molnar
9b9326ff08 Expand module names in ServerConfig::ApplyModules() 2015-06-04 00:03:29 +02:00
Attila Molnar
1e68ff30df Merge pull request #1044 from SaberUK/master+multichar-prefix
Add support for channel alias prefixes with multiple characters.
2015-06-04 00:00:30 +02:00
Peter Powell
3f4bdfaa98 Add support for channel alias prefixes with multiple characters. 2015-06-03 22:27:30 +01:00
Attila Molnar
ab393cf6cf m_silence Change silencelist type to vector 2015-06-03 18:11:17 +02:00
Attila Molnar
dad0eff884 m_silence Remove unused parameters from OnBuildExemptList and rename it 2015-06-03 18:10:02 +02:00