| Commit message (Expand) | Author | Age | Files | Lines |
| * | Add const versions of ModeHandler::IsPrefixMode(), IsListModeBase() and IsPar... | Attila Molnar | 2016-08-30 | 1 | -0/+33 |
| * | Mark ModeHandler::GetModeChar() and ModeWatcher::GetModeType() as const | Attila Molnar | 2016-08-29 | 1 | -2/+2 |
| * | Convert ModeHandler::GetNumParams() to NeedsParam() that returns a bool | Attila Molnar | 2016-08-29 | 1 | -5/+4 |
| * | Fix some whitespace issues | Attila Molnar | 2015-12-28 | 1 | -4/+4 |
| * | Implement ModeHandler::RegisterService() | Attila Molnar | 2015-11-23 | 1 | -0/+5 |
| * | Change type of some associative containers to their flat versions, including ... | Attila Molnar | 2014-12-15 | 1 | -1/+1 |
| * | Add typedef ModeParser::ModeWatcherMap, remove ModeWatchIter | Attila Molnar | 2014-12-15 | 1 | -3/+5 |
| * | Migrate code from ModeParser into cmd_mode (core_user)•••- Process() that takes a std::vector<std::string>
- DisplayCurrentModes()
- DisplayListModes()
| Attila Molnar | 2014-09-04 | 1 | -21/+0 |
| * | Split ModeParser::DisplayListMode() into two parts•••ShowListModeList() sends the list of one listmode to a user, DisplayListMode() calls it for each mode letter
| Attila Molnar | 2014-09-04 | 1 | -0/+7 |
| * | Remove unused parameter passed to ModeParser::DisplayCurrentModes() | Attila Molnar | 2014-09-04 | 1 | -1/+1 |
| * | Let callers customize the begin/end positions for ModeParser::ModeParamsToCha...•••This helps spanningtree when it deals with a vector of parameters where the modes begin at different positions
| Attila Molnar | 2014-09-04 | 1 | -1/+5 |
| * | Use Modes::ChangeList in ModeHandler::RemoveMode() | Attila Molnar | 2014-09-03 | 1 | -4/+4 |
| * | Add a ModeParser::Process() overload that can process an entire Modes::Change...•••This is a wrapper that calls ProcessSingle() repeatedly until the entire changelist is processed
| Attila Molnar | 2014-09-03 | 1 | -0/+11 |
| * | Make it possible to resume processing a partially processed Modes::ChangeList•••Return number of processed mode changes from ModeParser::ProcessSingle() and add a begin index parameter
| Attila Molnar | 2014-09-03 | 1 | -2/+5 |
| * | Split out ModeParser::ModeParamsToChangeList() | Attila Molnar | 2014-09-03 | 1 | -0/+13 |
| * | Split out ModeParser::ProcessSingle() from Process()•••This applies up to one MODE line's worth of mode changes from a Modes::ChangeList
| Attila Molnar | 2014-09-03 | 1 | -1/+13 |
| * | Add mode process flag MODE_CHECKACCESS | Attila Molnar | 2014-09-03 | 1 | -1/+9 |
| * | Remove ModeHandler::m_paramtype and GetTranslateType() | Attila Molnar | 2014-09-03 | 1 | -9/+0 |
| * | Remove ModeParser::LastParseTranslate and GetLastParseTranslate() | Attila Molnar | 2014-09-03 | 1 | -2/+0 |
| * | Remove ModeParser::LastParseParams and GetLastParseParams() | Attila Molnar | 2014-09-03 | 1 | -2/+0 |
| * | m_spanningtree Send MODE/FMODE from the OnMode hook•••If the MODE_LOCALONLY flag is set the mode change is not propagated
| Attila Molnar | 2014-09-03 | 1 | -2/+2 |
| * | Populate a Modes::ChangeList object in ModeParser::Process() | Attila Molnar | 2014-09-03 | 1 | -0/+4 |
| * | Add Modes::Change and Modes::ChangeList | Attila Molnar | 2014-09-03 | 1 | -0/+1 |
| * | Change mode_sequence to be a const ref in ModeParser::Process()•••Also change the signature of DisplayListModes() to accept a const ref
| Attila Molnar | 2014-09-02 | 1 | -1/+1 |
| * | Pass prefix rank and prefix char to PrefixMode constructor | Attila Molnar | 2014-08-06 | 1 | -1/+3 |
| * | Change allocation of InspIRCd::Modes to be physically part of the object cont... | Attila Molnar | 2014-06-24 | 1 | -1/+1 |
| * | Throw an exception if ModeParser::AddMode() fails | Attila Molnar | 2014-02-23 | 1 | -2/+4 |
| * | Add ModeParser::GetModes(), returns all user/chanmodes | Attila Molnar | 2014-02-22 | 1 | -4/+10 |
| * | Assign an id to user modes, parameter chanmodes and simple chanmodes | Attila Molnar | 2014-02-21 | 1 | -0/+27 |
| * | Add a ModeParser::FindMode() overload that takes a mode name and a mode type | Attila Molnar | 2014-02-20 | 1 | -0/+7 |
| * | Create a name -> ModeHandler* map | Attila Molnar | 2014-02-20 | 1 | -0/+8 |
| * | Replace ModeMasks with a two-dimensional array | Attila Molnar | 2014-02-18 | 1 | -12/+5 |
| * | Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to Mo... | Attila Molnar | 2014-02-18 | 1 | -1/+1 |
| * | Add ParamModeBase and ParamMode, change all parameter modes to inherit from P...•••- 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
| Attila Molnar | 2014-02-15 | 1 | -10/+0 |
| * | Add ModeHandler::IsParameterMode() and MC_PARAM | Attila Molnar | 2014-02-15 | 1 | -0/+13 |
| * | Remove some dead code | Attila Molnar | 2014-01-31 | 1 | -2/+0 |
| * | Fix PrefixMode not being exported which caused runtime link errors. | Peter Powell | 2013-11-09 | 1 | -1/+1 |
| * | Keep lists of mode handlers by type | attilamolnar | 2013-09-12 | 1 | -0/+26 |
| * | Add ModeHandler::IsListModeBase() and MC_LIST | attilamolnar | 2013-09-12 | 1 | -1/+15 |
| * | Move prefix mode specific fields and getters into PrefixMode•••Add ModeHandler::IsPrefixMode()
| attilamolnar | 2013-09-11 | 1 | -22/+45 |
| * | Create a base class for prefix modes•••Move Channel::SetPrefix() into Membership
| attilamolnar | 2013-09-11 | 1 | -7/+49 |
| * | Add a type id field to ModeHandler | attilamolnar | 2013-09-11 | 1 | -1/+12 |
| * | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicat...•••Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global
This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.)
| attilamolnar | 2013-06-13 | 1 | -5/+27 |
| * | Store prefix rank in a ModeHandler field, change ModeHandler::GetPrefixRank()... | attilamolnar | 2013-06-06 | 1 | -1/+6 |
| * | Move a few trivial functions into headers | attilamolnar | 2013-06-02 | 1 | -2/+2 |
| * | Watch mode names with ModeWatchers instead of mode letters | attilamolnar | 2013-06-01 | 1 | -14/+16 |
| * | Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode() | attilamolnar | 2013-06-01 | 1 | -4/+2 |
| * | Simplify user mode removal via ModeHandler::RemoveMode()•••The function does not need to be virtual because the core can remove any user mode using the default logic
The optional modestack parameter was always NULL, so remove it
| attilamolnar | 2013-05-27 | 1 | -7/+3 |
| * | Deduplicate RemoveMode() implementations•••The default (core) implementation can now remove prefix modes
The modestacker parameter is now mandatory
| attilamolnar | 2013-05-27 | 1 | -5/+13 |
| * | Cache mode list that is sent in the 004 numeric•••Deduplicate UserModeList(), ChannelModeList() and ParaModeList() code
| attilamolnar | 2013-05-24 | 1 | -13/+29 |