aboutsummaryrefslogtreecommitdiff
path: root/include/command_parse.h
Commit message (Expand)AuthorAgeFilesLines
* Clean up a bunch of contructors and destructors.Gravatar Sadie Powell2020-11-011-4/+0
* Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-3/+3
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-5/+5
|\
| * Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-5/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-2/+6
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+6
* | Replace the TR1NS macro with the std namespace.Gravatar Sadie Powell2019-01-251-1/+1
|/
* Move IsValidDuration into the core.Gravatar Peter Powell2018-11-241-27/+0
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-1/+1
* Move message parsing to ProcessBuffer and fix edge cases in it.Gravatar Peter Powell2018-08-101-4/+5
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-3/+3
* Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-121-1/+1
|\
* | Replace irc::string usage in CommandParser::LoopCall() with irc::insensitive_...Gravatar Attila Molnar2016-08-221-1/+1
* | Remove global Commandtable typedefGravatar Attila Molnar2014-06-131-2/+2
* | Make CommandParser::cmdlist privateGravatar Attila Molnar2014-06-131-1/+1
* | Add CommandParser::GetCommands() and typedef CommandMap and use it instead of...Gravatar Attila Molnar2014-06-131-0/+8
* | Add ProtocolInterface::BroadcastEncap() and infrastructure for manually forwa...Gravatar Attila Molnar2014-01-261-1/+3
* | Create the CommandBase class from Command•••The Handle() method is not part of CommandBase, making it possible to provide a different Handle() in each class derived from CommandBase Gravatar attilamolnar2013-08-181-2/+2
* | Fix Doxygen comments.Gravatar Peter Powell2013-06-211-0/+1
* | Remove dead code from the InspIRCd and CommandParser classes and typedefs.h•••Removed functions: InspIRCd: - Restart() - unused - DoSocketTimeouts() - no implementation exists - AddCommand() - useless wrapper around ModuleManager::AddService() CommandParser: - IsValidCommand() - unused - ProcessParameters() - no implementation exists Gravatar attilamolnar2013-06-181-17/+0
* | Rewrite CommandParser::TranslateUIDs()Gravatar attilamolnar2013-06-131-10/+9
* | Run the OnPostCommand hook from LoopCall()Gravatar attilamolnar2013-06-121-2/+6
* | CommandParser::LoopCall() changes•••- Change function to be static, return a bool - Do not filter duplicates when there are 2 lists (JOIN) - Remove validation of 'extra' parameter, caller must pass either a valid index or -1 Gravatar attilamolnar2013-06-121-13/+25
* | Merge insp20Gravatar attilamolnar2013-06-061-10/+0
|\|
| * Remove unused variables, avoid copies where possible, check empty() instead o...•••Most of these were detected by cppcheck Gravatar attilamolnar2013-05-161-10/+0
* | CommandParser::ProcessCommand() and ProcessBuffer() cleanup•••- Change return types to void - Use a pointer to the command handler instead of an iterator Gravatar attilamolnar2013-06-011-2/+2
* | Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-4/+1
|/
* Fix Doxygen syntax errors.Gravatar Peter Powell2012-07-051-3/+1
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Fixes for bug #12Gravatar Justin Crawford2012-04-141-2/+2
* PreCommand/PostCommand are local-only hooks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12291 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-181-8/+2
* Fix signdedness error in LoopCall•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12268 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-161-1/+1
* Allow maxtargets to be bypassed in LoopCall for JOIN•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12255 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-141-24/+2
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Remove VF_SERVICEPROVIDER, prevent heap allocation of ConfigReader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-1/+1
* Remove Command and ModeHandler objects in their destructors; fixes possible p...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11872 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-131-10/+5
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-5/+1
* Change cmd_*.so to use the Module object API•••Create Module* objects for each command, and load them like modules. This unifies the external API for modules. Library directory is now deprecated: all modules are located in a single module directory. Header files for each command are no longer needed; remove. This also fixes two potential segfaults in m_spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-031-54/+1
* Add Module* creator to Command and ModeHandler•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-4/+4
* Valgrind cleanup: Add RemoveRFCCommands() to dlclose() and delete the core co...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11613 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-0/+4
* Include explicit routing information in Command, will replace CMD_LOCALONLY r...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11601 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-2/+10
* Replace std::deque with std::vector in spanningtree and related modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-1/+1
* rollback r11326, we're going to make vc9 the officially supported windows bui...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11327 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-04-231-1/+1
* Heres the beef so far•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-04-231-1/+1
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Include explicit parameter list in ProtocolInterface::SendMode•••Also leave the strings split into deque, there's no need to pack it into a string just to unpack it during the translate. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11181 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-071-1/+1
* Construct explicit parameter type list for MODE parameters•••Previously, we used TR_SPACENICKLIST on the parameters. This worked only because usually, if anything in the list parsed as a nick, then it was a nick. However, some modes like +k and +g allow free-form text, which could also resolve as a nick. Add extra parameters to allow modes to specify their TranslateType, defaulting to TR_TEXT. This fixes bug #757, found by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11180 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-061-0/+2
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-2/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Fix naming convention to be consistant. (cmd_ -> Command)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10891 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-151-2/+2