summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-02-09Store the EventHandler* in the kevent/epoll_event/portev structAttila Molnar
This removes the need to call GetRef() for every socket in DispatchEvents()
2014-02-09Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*)Attila Molnar
2014-02-09Queue changes in socketengine_kqueue and submit them as we poll for new eventsAdam
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-08Move socketengine stats into a new classAttila Molnar
2014-02-08Update SocketEngine::CurrentSetSize in AddFdRef()/DelFdRef()Attila Molnar
2014-02-08Rename SocketEngine::AddFd() and DelFd() to AddFdRef() and DelFdRef()Attila Molnar
2014-02-08Move variables in socketenginesAttila Molnar
Move timespec to DispatchEvents() in kqueue, there is no reason for it to be a member variable
2014-02-08Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME defineAttila Molnar
2014-02-08Change SocketEngine functions that do not require an instance to be staticAttila Molnar
2014-02-07Only compile the testsuite if INSPIRCD_ENABLE_TESTSUITE is definedAttila Molnar
2014-02-07m_ldapauth.cpp: Allow multiple patterns for users to bypass LDAP authThiago Crepaldi
2014-02-06Convert irc::stringjoiner to be a method instead of a class.Peter Powell
Add separator parameter
2014-02-06Fix various cases of UUID exposure.Peter Powell
- Introduce WriteCommand which sends * when the user has not registered. - Switch a ton of code to use WriteCommand instead of WriteServ. - Convert WriteNotice to be a wrapper around WriteCommand. - Only send * when NICK has not been sent instead of before registration.
2014-02-06m_cap Instead of using case insensitive compare convert the subcommand to ↵Attila Molnar
uppercase This way if we send back the subcommand it will be in uppercase even if the client sent it in lowercase
2014-02-05socketengine_kqueue Remove dead codeAttila Molnar
2014-02-05socketengine_epoll Remove needless initialization of epoll_event when ↵Attila Molnar
removing an fd
2014-02-05Fix oversight in 3752b3f59d5216d7dc6221a361efc76b9ad2273dAttila Molnar
2014-02-04Coding style changes in socketenginesAdam
2014-02-04New socketengine stuff:Adam
Use vectors that grow as necessary instead of mass allocating everything at once Rework poll engine logic to make sense
2014-02-04Fix ping timeout message seconds vs secondAdam
2014-01-31Remove a few unnecessary .c_str() callsAttila Molnar
2014-01-31Remove some dead codeAttila Molnar
2014-01-30m_conn_join Read default settings in ReadConfig()Attila Molnar
2014-01-30m_conn_join: Allow time-delayed joinsDaniel Vassdal
2014-01-30m_conn_join: Fixed indentationDaniel Vassdal
2014-01-30Allow Timers to delete themselves in Tick()Attila Molnar
2014-01-28m_spanningtree Rewrite /mapAdam
2014-01-27m_tline Minor improvementsAttila Molnar
- Replace floats with integers - Use size() instead of counting elements - Use WriteNotice()
2014-01-27m_alias Remove duplicate checksAttila Molnar
2014-01-27m_alias Use equal_range() when searching for aliasesAttila Molnar
2014-01-26Add m_clearchan which removes users from a channel without sending n*(n+1)/2 ↵Attila Molnar
QUIT messages
2014-01-26Add ProtocolInterface::BroadcastEncap() and infrastructure for manually ↵Attila Molnar
forwarding ENCAPs
2014-01-26ProtocolInterface::SendEncapsulatedData() changesAttila Molnar
- Pass command name and destination as real parameters - Allow callers to specify the command source - Send a SID instead of a server name if the target is a single server
2014-01-25Add Channel* parameter to OnSendWhoLineAttila Molnar
2014-01-25Omit the server name internally when building a /STATS reply and prepend it ↵Attila Molnar
later
2014-01-25Convert InspIRCd::PassCompare to return bool instead of int.Peter Powell
The insane behaviour of this method was due to an implementation detail which has since become irrelevent.
2014-01-25Destroy Memberships of a quitting user in QuitUser() instead of in cull()Attila Molnar
2014-01-24Convert InviteBase::invites to an intrusively linked listAttila Molnar
2014-01-24Remove classbase inheritance from InvitationAttila Molnar
2014-01-24cmd_invite Fix incorrect parameter being passed to InspIRCd::Duration()Attila Molnar
2014-01-24Convert LocalUserList to an intrusively linked listAttila Molnar
2014-01-24Convert UserChanList to an intrusively linked listAttila Molnar
2014-01-23Remove whitespace and minor style changesAttila Molnar
2014-01-23Globally #undef min and max on WindowsAttila Molnar
2014-01-22Split IOHook into IOHook and IOHookProviderAttila Molnar
Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established.
2014-01-22Add the ability to have multiple SSL profilesAttila Molnar
SSL profiles are now used instead of fixed SSL settings for everything SSL, making it possible to use completely different settings for each listener and outgoing connection. Outgoing connections are broken until the next commit.
2014-01-22m_ssl_gnutls Create GNUTLS_NEW_CERT_CALLBACK_API and cert_cb_last_param_typeAttila Molnar
2014-01-21Merge insp20Attila Molnar
2014-01-21m_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messagesAttila Molnar