aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Expand)AuthorAgeFilesLines
...
* | | | Merge pull request #1337 from SaberUK/master+merge•••Merge v2.0.23 and v2.0.24 into master.Gravatar Peter Powell2017-07-121-1/+1
|\ \ \ \
| * \ \ \ Merge v2.0.23 and v2.0.24 into master.Gravatar Peter Powell2017-07-091-1/+1
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Fix some compiler warnings.•••warning: macro name is a reserved identifier [-Wreserved-id-macro] warning: extra ';' after member function definition [-Wextra-semi] Gravatar Peter Powell2017-03-201-1/+1
* | | | | Improve and centralize socket engine event counters.•••The write counters were close to useless because they were only incremented on a write "event" which is only triggered when writing would block. Read handling was a little more useful in that all reads must happen through the socket engine, so these were happening at the correct time, but we can clean this up by doing it in the SE itself rather than each platform port. This means that both read and write events are now easily and usefully defined as "a syscall of either read or write was attempted". We also count empty read and write events as being an event, because they still were an attempt to poll a socket in some way. This may help to identify "bad" code which is repeatedly trying to read a socket for some reason. Lastly, we check for failed read/write calls, and log them as an error event. A lot of the time, this is how sockets are determined as being disconnected (ie. at read/write time). While we're at it, split Update() in two to make the calls more self-describing. This has no real impact since only one call is made at a time anyway. Gravatar Robin Burchell2017-07-111-4/+12
|/ / / /
* | | / core_dns: add support for txt records•••This might be used later by m_dnsbl to get reasons for listings Gravatar Adam2017-04-231-0/+2
| |_|/ |/| |
* | | Allow <log> tags to specify how often logs should be flushed.•••Also use the behaviour behind this to fix #1290. Gravatar Peter Powell2017-02-281-2/+6
* | | cmd_mode Switch to a numeric for showing modes of other usersGravatar Attila Molnar2016-12-301-0/+3
* | | Clean up User::FormatModes(), rename to GetModeLetters()•••Prefix the returned string with '+' Gravatar Attila Molnar2016-12-301-3/+5
* | | Make ModeHandler::GetUserParameter() const, accept const UserGravatar Attila Molnar2016-12-302-2/+2
* | | Make all User::IsModeSet() methods const, accept const ModeHandlerGravatar Attila Molnar2016-12-301-6/+6
* | | Deduplicate nickname overruling code•••Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree Gravatar Attila Molnar2016-12-301-0/+6
* | | Remove remaining doxygen doc for "pcnt" parametersGravatar Attila Molnar2016-12-301-1/+0
| |/ |/|
* | Allow classes to take a port range.Gravatar Peter Powell2016-10-251-0/+5
* | Update stuff for the new versioning system.Gravatar Peter Powell2016-09-021-2/+2
* | Bump version to 3.0 in comments and messagesGravatar Attila Molnar2016-09-021-2/+2
* | Fix Windows build and most MSVC warningsGravatar Attila Molnar2016-09-021-1/+1
* | Fix whitespace issuesGravatar Attila Molnar2016-09-021-3/+3
* | Return std::string from Membership::GetAllPrefixChars()Gravatar Attila Molnar2016-08-301-1/+1
* | Change Membership:hasMode() to accept a PrefixModeGravatar Attila Molnar2016-08-301-4/+4
* | Pass the ModeHandler to User::HasModePermission()•••Mark the method as const Gravatar Attila Molnar2016-08-301-6/+4
* | Add const versions of ModeHandler::IsPrefixMode(), IsListModeBase() and IsPar...Gravatar Attila Molnar2016-08-301-0/+33
* | Mark ModeHandler::GetModeChar() and ModeWatcher::GetModeType() as constGravatar Attila Molnar2016-08-291-2/+2
* | Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolGravatar Attila Molnar2016-08-291-5/+4
* | Deduplicate mode unregistering code in ModuleManager::DoSafeUnload() and extr...Gravatar Attila Molnar2016-08-291-0/+6
* | Remove unused EventHandlerIter typedefGravatar Attila Molnar2016-08-291-4/+0
* | core_dns Make question a member of request, move common FindAnswerOfType to b...Gravatar Adam2016-08-251-3/+16
* | Update UserManager documentation and commentsGravatar Attila Molnar2016-08-241-13/+15
* | Update documentation in hashcomp.hGravatar Attila Molnar2016-08-221-8/+6
* | Remove all non-member irc::string operatorsGravatar Attila Molnar2016-08-221-72/+0
* | Remove now unused SearchAndReplace() functionGravatar Attila Molnar2016-08-221-23/+0
* | Add stdalgo::string::replace() and replace_all()Gravatar Attila Molnar2016-08-221-0/+35
* | Remove now unused assign() functionsGravatar Attila Molnar2016-08-221-8/+0
* | Create irc::equals() from StrHashComp•••Make StrHashComp a wrapper around it Gravatar Attila Molnar2016-08-221-2/+14
* | Add stdalgo::string::equalsci and use it instead of irc::string for case-inse...Gravatar Attila Molnar2016-08-221-0/+32
* | Replace irc::string in XLineLookup with irc::insensitive_swo mapGravatar Attila Molnar2016-08-221-1/+1
* | Replace irc::string usage in CommandParser::LoopCall() with irc::insensitive_...Gravatar Attila Molnar2016-08-221-1/+1
* | Remove unused irc::tokenstream::GetToken() overload accepting an irc::stringGravatar Attila Molnar2016-08-221-6/+0
* | Remove unused irc::hashGravatar Attila Molnar2016-08-221-9/+0
* | Remove unused trim() functionGravatar Attila Molnar2016-08-221-14/+0
* | Merge insp20Gravatar Attila Molnar2016-08-172-1/+6
|\|
| * Don't exit on rehash if the pid file cannot be writtenGravatar Attila Molnar2016-06-172-2/+3
| * Don't show snotices for kills from ulined clientsGravatar Adam2016-02-251-0/+4
| * Limit DNS cache sizeGravatar Attila Molnar2016-02-131-0/+4
* | Update description of class EventHandler•••Readable() and Writeable() was removed long ago Gravatar Attila Molnar2016-08-111-7/+4
* | Replace HandleEvent() references in the SocketEngine documentation with OnEve...Gravatar Attila Molnar2016-08-111-11/+10
* | Remove virtual destructor of class Version•••No classes inherit from it and it is only used as the return value from Module::GetVersion() which returns it by value Gravatar Attila Molnar2016-08-111-2/+0
* | Update comments for classes IOHookProvider and IOHookGravatar Attila Molnar2016-08-081-16/+22
* | Keep multiple IOHookProvider references in class ListenSocket•••This adds the <bind:hook> config option which works together with <bind:ssl> Gravatar Attila Molnar2016-08-081-3/+14
* | Include <array> or <tr1/array> globallyGravatar Attila Molnar2016-08-081-0/+2
* | Change return type of ListenSocket::ResetIOHookProvider() to void•••No code was using the return value Gravatar Attila Molnar2016-08-081-2/+1