| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Implement ModeHandler::RegisterService() | 2015-11-23 | 1 | -0/+6 | ||
| | | | ||||||
| * | | Reduce std::string::substr() usage | 2015-01-10 | 1 | -1/+1 | ||
| | | | | | | | | | substr() returns a new string while erase() and assign() modify the existing one | |||||
| * | | Change type of some associative containers to their flat versions, including ↵ | 2014-12-15 | 1 | -2/+2 | ||
| | | | | | | | | | Extensible storage | |||||
| * | | Add typedef ModeParser::ModeWatcherMap, remove ModeWatchIter | 2014-12-15 | 1 | -7/+7 | ||
| | | | ||||||
| * | | Remove listmode hiding support from the core | 2014-09-10 | 1 | -7/+0 | ||
| | | | | | | | | | This is now handled by m_hidelist | |||||
| * | | Migrate code from ModeParser into cmd_mode (core_user) | 2014-09-04 | 1 | -125/+0 | ||
| | | | | | | | | | | | | | - Process() that takes a std::vector<std::string> - DisplayCurrentModes() - DisplayListModes() | |||||
| * | | Split ModeParser::DisplayListMode() into two parts | 2014-09-04 | 1 | -1/+9 | ||
| | | | | | | | | | ShowListModeList() sends the list of one listmode to a user, DisplayListMode() calls it for each mode letter | |||||
| * | | Remove unused parameter passed to ModeParser::DisplayCurrentModes() | 2014-09-04 | 1 | -2/+2 | ||
| | | | ||||||
| * | | Pass Modes::ChangeList references to the OnPreMode hook, make it modifiable | 2014-09-04 | 1 | -1/+1 | ||
| | | | | | | | | | This gets rid of the duplicated mode parsing logic in m_namedmodes | |||||
| * | | Let callers customize the begin/end positions for ↵ | 2014-09-04 | 1 | -4/+7 | ||
| | | | | | | | | | | | | | ModeParser::ModeParamsToChangeList() This helps spanningtree when it deals with a vector of parameters where the modes begin at different positions | |||||
| * | | Use Modes::ChangeList in ModeHandler::RemoveMode() | 2014-09-03 | 1 | -20/+11 | ||
| | | | ||||||
| * | | Add a ModeParser::Process() overload that can process an entire ↵ | 2014-09-03 | 1 | -0/+13 | ||
| | | | | | | | | | | | | | Modes::ChangeList This is a wrapper that calls ProcessSingle() repeatedly until the entire changelist is processed | |||||
| * | | Make it possible to resume processing a partially processed Modes::ChangeList | 2014-09-03 | 1 | -2/+7 | ||
| | | | | | | | | | Return number of processed mode changes from ModeParser::ProcessSingle() and add a begin index parameter | |||||
| * | | Split out ModeParser::ModeParamsToChangeList() | 2014-09-03 | 1 | -10/+14 | ||
| | | | ||||||
| * | | Handle mode merges in ModeParser::ProcessSingle() | 2014-09-03 | 1 | -9/+18 | ||
| | | | ||||||
| * | | Validate mode parameters from ModeParser::ProcessSingle() | 2014-09-03 | 1 | -12/+27 | ||
| | | | ||||||
| * | | Split out ModeParser::ProcessSingle() from Process() | 2014-09-03 | 1 | -19/+42 | ||
| | | | | | | | | | This applies up to one MODE line's worth of mode changes from a Modes::ChangeList | |||||
| * | | Add mode process flag MODE_CHECKACCESS | 2014-09-03 | 1 | -11/+17 | ||
| | | | ||||||
| * | | Remove ModeHandler::m_paramtype and GetTranslateType() | 2014-09-03 | 1 | -2/+1 | ||
| | | | ||||||
| * | | Remove ModeParser::LastParseTranslate and GetLastParseTranslate() | 2014-09-03 | 1 | -3/+0 | ||
| | | | ||||||
| * | | Remove ModeParser::LastParseParams and GetLastParseParams() | 2014-09-03 | 1 | -5/+0 | ||
| | | | ||||||
| * | | Compare Limits.MaxModes to the size of LastChangeList in ModeParser::Process() | 2014-09-03 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Remove ProtocolInterface::SendMode() | 2014-09-03 | 1 | -3/+0 | ||
| | | | ||||||
| * | | Pass the modes to the OnMode hook as a Modes::ChangeList, pass ↵ | 2014-09-03 | 1 | -1/+1 | ||
| | | | | | | | | | ModeProcessFlags too | |||||
| * | | Populate a Modes::ChangeList object in ModeParser::Process() | 2014-09-03 | 1 | -0/+2 | ||
| | | | ||||||
| * | | Change mode_sequence to be a const ref in ModeParser::Process() | 2014-09-02 | 1 | -2/+2 | ||
| | | | | | | | | | Also change the signature of DisplayListModes() to accept a const ref | |||||
| * | | Replace stringstream with a std::string in ModeParser::Process() | 2014-09-02 | 1 | -4/+5 | ||
| | | | | | | | | | There is no benefit in using a stringstream here | |||||
| * | | Pass prefix rank and prefix char to PrefixMode constructor | 2014-08-06 | 1 | -2/+2 | ||
| | | | ||||||
| * | | Remove a bunch of useless classes representing simple core modes | 2014-08-06 | 1 | -7/+18 | ||
| | | | ||||||
| * | | Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator instead | 2014-07-14 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Rename UserMembList to Channel::MemberMap, switch all code to use it | 2014-07-14 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Change return type of Channel::GetUsers() to reference from pointer as it is ↵ | 2014-07-14 | 1 | -2/+2 | ||
| | | | | | | | | | never NULL | |||||
| * | | Change allocation of InspIRCd::Modes to be physically part of the object ↵ | 2014-06-24 | 1 | -1/+1 | ||
| | | | | | | | | | containing it using fakederef | |||||
| * | | Add UserManager::GetUsers() | 2014-03-15 | 1 | -1/+4 | ||
| | | | ||||||
| * | | Add InspIRCd::GetChans(), remove ChannelCount() | 2014-03-14 | 1 | -1/+4 | ||
| | | | ||||||
| * | | Move the wallops mode from the core into core_wallops | 2014-03-09 | 1 | -2/+1 | ||
| | | | ||||||
| * | | Throw an exception if ModeParser::AddMode() fails | 2014-02-23 | 1 | -7/+6 | ||
| | | | ||||||
| * | | Assign an id to user modes, parameter chanmodes and simple chanmodes | 2014-02-21 | 1 | -1/+29 | ||
| | | | ||||||
| * | | Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcnt | 2014-02-21 | 1 | -2/+2 | ||
| | | | ||||||
| * | | Add a ModeParser::FindMode() overload that takes a mode name and a mode type | 2014-02-20 | 1 | -0/+10 | ||
| | | | ||||||
| * | | Create a name -> ModeHandler* map | 2014-02-20 | 1 | -0/+9 | ||
| | | | ||||||
| * | | Replace ModeMasks with a two-dimensional array | 2014-02-18 | 1 | -37/+19 | ||
| | | | ||||||
| * | | Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to ↵ | 2014-02-18 | 1 | -2/+2 | ||
| | | | | | | | | | ModeType | |||||
| * | | Add ParamModeBase and ParamMode, change all parameter modes to inherit from ↵ | 2014-02-15 | 1 | -18/+26 | ||
| | | | | | | | | | | | | | | | | | | | | | ParamMode - Type of the extension used to store data is a template parameter - The extension is automatically unset when the mode is unset - Handlers inheriting from ParamMode have to provide OnSet() and SerializeParam(); may optionally provide OnUnset() - Transparently handle the case when OnSet() modifies the mode parameter - Remove Channel::custom_mode_params map; ask the mode handlers to serialize their parameters instead | |||||
| * | | Merge insp20 | 2014-01-21 | 1 | -3/+15 | ||
| |\| | ||||||
| | * | Use FindNickOnly() in a few more places if a local user is performing an ↵ | 2014-01-19 | 1 | -5/+21 | ||
| | | | | | | | | | action to prevent UID walking | |||||
| | * | Improve support for rarely used compilers, EKOPath in this case. | 2013-08-31 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Automatically register and unregister mode watchers | 2014-01-06 | 1 | -0/+2 | ||
| | | | ||||||
| * | | Remove useless ULine() checks | 2014-01-05 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵ | 2013-11-12 | 1 | -21/+21 | ||
| | | | | | | | | | automatically | |||||
