summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2015-01-14Merge branch 'master+stfjoinforward'Attila Molnar
2015-01-10Reduce std::string::substr() usageAttila Molnar
substr() returns a new string while erase() and assign() modify the existing one
2015-01-09m_spanningtree Increase maximum generated FJOIN line size to 510Attila Molnar
2015-01-09m_spanningtree Forward FJOINs with correct TS, modes and userlistAttila Molnar
2015-01-09m_spanningtree Change name and scope of commait in FJOIN handlerAttila Molnar
2015-01-09m_spanningtree Add overload for add() and has_room(), giving more ↵Attila Molnar
flexibility to subclasses of CommandFJoin::Builder
2015-01-09m_spanningtree Add CmdBuilder::push_raw() overload for rangesAttila Molnar
2015-01-09m_spanningtree Add source server parameter to CommandFJOIN::Builder constructorAttila Molnar
Default it to this server
2014-11-01Add stdalgo::erase() and use it to simplify codeAttila Molnar
2014-10-27Merge insp20Attila Molnar
2014-10-26Remove some dead code found by CoverityAttila Molnar
2014-10-13m_spanningtree Rebuild serverlist and sidlist when receiving a specific RequestAttila Molnar
Issue #923
2014-10-13Fix various warnings when building with LLVM 3.5.Peter Powell
- warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] - warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
2014-09-04m_spanningtree Simplify processing non-prefix modes in FJOINsAttila Molnar
Use ModeParser::ModeParamsToChangeList() instead of duplicating logic
2014-09-04m_spanningtree Apply FMODE mode changes using the new ModeParser functionsAttila Molnar
2014-09-03m_spanningtree Remove CommandFJoin::ApplyModeStack()Attila Molnar
2014-09-03Use Modes::ChangeList in ModeHandler::RemoveMode()Attila Molnar
2014-09-03Replace irc::modestacker usage with the new ModeParser::Process()Attila Molnar
2014-09-03Remove ProtocolInterface::SendMode()Attila Molnar
2014-09-03m_spanningtree Send MODE/FMODE from the OnMode hookAttila Molnar
If the MODE_LOCALONLY flag is set the mode change is not propagated
2014-09-03m_spanningtree Add function to serialize parameters in a ↵Attila Molnar
Modes::ChangeList::List into MODE/FMODE format
2014-09-01m_spanningtree Add optional key parameter to SVSJOIN and allow it to do ↵Attila Molnar
override joins Slightly more readable version of #892 by @ShutterQuick
2014-08-06m_spanningtree Remove redundant checks from HandleRemoteWhois()Attila Molnar
The size of the vector is checked in OnPreCommand() and that hook only runs for local users
2014-07-28Allow fast sid reuse by erasing fake users from UserManager::uuidlist when ↵Attila Molnar
the netsplit is handled, not in cull()
2014-07-28m_spanningtree Throw a ProtocolException if a server SQUITs a server it ↵Attila Molnar
shouldn't
2014-07-28m_spanningtree Squit dead servers immediately when they die, not at the next ↵Attila Molnar
timer tick
2014-07-28m_spanningtree Remove the now needless SplitInProgress workaroundAttila Molnar
2014-07-28m_spanningtree Check TreeServer::IsDead() to learn whether a user is being ↵Attila Molnar
quit due to a netsplit in OnUserQuit()
2014-07-28m_spanningtree Change type of num_lost_* to be unsignedAttila Molnar
2014-07-28m_spanningtree Quit all split users in one goAttila Molnar
2014-07-28m_spanningtree Mark servers awaiting destruction after being lost in a ↵Attila Molnar
netsplit, add TreeServer::IsDead()
2014-07-28m_spanningtree Remove now unused TreeServer::Tidy()Attila Molnar
2014-07-28m_spanningtree Add the TreeServer that split to the cull list and destroy ↵Attila Molnar
everything under it recursively at cull time instead of at squit processing time
2014-07-28m_spanningtree Remove split servers from the hash maps in ↵Attila Molnar
TreeServer::SQuitInternal()
2014-07-28m_spanningtree Move squit logic into TreeServer from TreeSocketAttila Molnar
2014-07-28m_spanningtree Remove now needless TreeSocket::ConnectionFailureShownAttila Molnar
2014-07-28m_spanningtree Ensure that TreeSocket::Close() only runs onceAttila Molnar
2014-07-27m_spanningtree Keep track of whether servers are behind a bursting server, ↵Attila Molnar
use it to implement quietbursts
2014-07-27m_spanningtree Only mark one server as finished bursting on ENDBURST (or ↵Attila Molnar
PONG), not all behind it
2014-07-27m_spanningtree Sync bursting state of servers in SERVERAttila Molnar
Also send the time when they started bursting
2014-07-27m_spanningtree Parse additional information present in SERVER messagesAttila Molnar
Format: <key>[=<value>]
2014-07-27m_spanningtree Add TreeServer::BeginBurst() that marks a server as burstingAttila Molnar
Don't mark servers as bursting in the constructor
2014-07-27m_spanningtree Use the value of StartBurst to determine whether a server is ↵Attila Molnar
bursting, remove TreeServer::bursting
2014-07-27m_spanningtree Replace direct access of TreeServer::bursting with IsBursting()Attila Molnar
2014-07-27m_spanningtree Remove post-handshake BURST handlerAttila Molnar
2014-07-27m_spanningtree Don't send needless BURST after introducing a serverAttila Molnar
Synthesize a BURST after SERVER for 1202 protocol servers if we are not bursting
2014-07-27m_spanningtree Keep track of whether we've sent our burst, to be used for ↵Attila Molnar
translation
2014-07-27m_spanningtree Add TreeSocket::WriteLineNoCompat() to send a line without ↵Attila Molnar
doing any translation for old protocol servers
2014-07-27m_spanningtree Translate the new SERVER message for 1202 protocol serversAttila Molnar
2014-07-27m_spanningtree Remove unused parameters from the server introduction messageAttila Molnar
This does not affect the initial SERVER message containing the password