Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-11 | Improve and centralize socket engine event counters. | Robin Burchell | |
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. | |||
2017-04-23 | core_dns: add support for txt records | Adam | |
This might be used later by m_dnsbl to get reasons for listings | |||
2017-02-28 | Allow <log> tags to specify how often logs should be flushed. | Peter Powell | |
Also use the behaviour behind this to fix #1290. | |||
2016-12-30 | cmd_mode Switch to a numeric for showing modes of other users | Attila Molnar | |
2016-12-30 | Clean up User::FormatModes(), rename to GetModeLetters() | Attila Molnar | |
Prefix the returned string with '+' | |||
2016-12-30 | Make ModeHandler::GetUserParameter() const, accept const User | Attila Molnar | |
2016-12-30 | Make all User::IsModeSet() methods const, accept const ModeHandler | Attila Molnar | |
2016-12-30 | Deduplicate nickname overruling code | Attila Molnar | |
Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree | |||
2016-12-30 | Remove remaining doxygen doc for "pcnt" parameters | Attila Molnar | |
2016-10-25 | Allow classes to take a port range. | Peter Powell | |
2016-09-02 | Update stuff for the new versioning system. | Peter Powell | |
2016-09-02 | Bump version to 3.0 in comments and messages | Attila Molnar | |
2016-09-02 | Fix Windows build and most MSVC warnings | Attila Molnar | |
2016-09-02 | Fix whitespace issues | Attila Molnar | |
2016-08-30 | Return std::string from Membership::GetAllPrefixChars() | Attila Molnar | |
2016-08-30 | Change Membership:hasMode() to accept a PrefixMode | Attila Molnar | |
2016-08-30 | Pass the ModeHandler to User::HasModePermission() | Attila Molnar | |
Mark the method as const | |||
2016-08-30 | Add const versions of ModeHandler::IsPrefixMode(), IsListModeBase() and ↵ | Attila Molnar | |
IsParameterMode() | |||
2016-08-29 | Mark ModeHandler::GetModeChar() and ModeWatcher::GetModeType() as const | Attila Molnar | |
2016-08-29 | Convert ModeHandler::GetNumParams() to NeedsParam() that returns a bool | Attila Molnar | |
2016-08-29 | Deduplicate mode unregistering code in ModuleManager::DoSafeUnload() and ↵ | Attila Molnar | |
extract into a method | |||
2016-08-29 | Remove unused EventHandlerIter typedef | Attila Molnar | |
2016-08-25 | core_dns Make question a member of request, move common FindAnswerOfType to ↵ | Adam | |
be a member of query | |||
2016-08-24 | Update UserManager documentation and comments | Attila Molnar | |
2016-08-22 | Update documentation in hashcomp.h | Attila Molnar | |
2016-08-22 | Remove all non-member irc::string operators | Attila Molnar | |
2016-08-22 | Remove now unused SearchAndReplace() function | Attila Molnar | |
2016-08-22 | Add stdalgo::string::replace() and replace_all() | Attila Molnar | |
2016-08-22 | Remove now unused assign() functions | Attila Molnar | |
2016-08-22 | Create irc::equals() from StrHashComp | Attila Molnar | |
Make StrHashComp a wrapper around it | |||
2016-08-22 | Add stdalgo::string::equalsci and use it instead of irc::string for ↵ | Attila Molnar | |
case-insensitive comparison | |||
2016-08-22 | Replace irc::string in XLineLookup with irc::insensitive_swo map | Attila Molnar | |
2016-08-22 | Replace irc::string usage in CommandParser::LoopCall() with ↵ | Attila Molnar | |
irc::insensitive_swo set | |||
2016-08-22 | Remove unused irc::tokenstream::GetToken() overload accepting an irc::string | Attila Molnar | |
2016-08-22 | Remove unused irc::hash | Attila Molnar | |
2016-08-22 | Remove unused trim() function | Attila Molnar | |
2016-08-17 | Merge insp20 | Attila Molnar | |
2016-08-11 | Update description of class EventHandler | Attila Molnar | |
Readable() and Writeable() was removed long ago | |||
2016-08-11 | Replace HandleEvent() references in the SocketEngine documentation with ↵ | Attila Molnar | |
OnEventHandler*() | |||
2016-08-11 | Remove virtual destructor of class Version | Attila Molnar | |
No classes inherit from it and it is only used as the return value from Module::GetVersion() which returns it by value | |||
2016-08-08 | Update comments for classes IOHookProvider and IOHook | Attila Molnar | |
2016-08-08 | Keep multiple IOHookProvider references in class ListenSocket | Attila Molnar | |
This adds the <bind:hook> config option which works together with <bind:ssl> | |||
2016-08-08 | Include <array> or <tr1/array> globally | Attila Molnar | |
2016-08-08 | Change return type of ListenSocket::ResetIOHookProvider() to void | Attila Molnar | |
No code was using the return value | |||
2016-08-08 | Add StreamSocket::SendQueue::moveall() for moving data between sendqs | Attila Molnar | |
2016-08-08 | Add support for multiple IOHooks per StreamSocket | Attila Molnar | |
2016-08-08 | Extract code that reads data into a recvq from StreamSocket::DoRead() into ↵ | Attila Molnar | |
ReadToRecvQ() | |||
2016-08-08 | Extract code that flushes the sendq from StreamSocket::DoWrite() into ↵ | Attila Molnar | |
FlushSendQ() | |||
2016-08-08 | Add StreamSocket::GetModHook() for obtaining the IOHook belonging to a given ↵ | Attila Molnar | |
module Use it to simplify logic in all modules using or providing IOHooks | |||
2016-08-08 | Pass sendq to OnStreamSocketWrite | Attila Molnar | |