summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Remove old debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4760 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-071-3/+0
* Remove trailing spaces from input in irc::ircsepstream•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4759 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-061-0/+3
* Change a loop which uppercases the command to std::transform()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4723 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-051-2/+2
* Comments, add more detail, remove dnsqueue.h include from tons of places•••Remove THREADED_DNS defines from all over the place git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4629 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-5/+0
* Finish off /WHO (i think it covers everything). Now has a few extra options•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4581 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-5/+5
* Tidyup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4580 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-9/+3
* Typical, forgot a ;•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4579 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-1/+1
* Document <options:syntaxhints> and <options:nouserdns>•••Change syntaxhints to seperate RPL_TEXT (prefix SYNTAX) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4578 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-1/+6
* Change all references to voodoo numbers (7, 3 etc) to the new bitwise constan...•••Change a lot of user->fd > -1 to use the IS_LOCAL() macro git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4569 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-2/+2
* Make the error more obvious, still has 'not enough params' on the start now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4563 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-1/+1
* Re-order stuff so that users cant get syntax for commands they dont have acce...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4562 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-13/+9
* Add support for syntax of commands in place of the text 'Not enough parameter...•••To support this each derived class of command_t must set the value of command_t::syntax to a non-empty string. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4561 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-1/+6
* Ignore empty lines, don't try and process them as commands•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4430 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-3/+5
* *Changed user input/output buffering to incur less copies•••*Fix warnings in command_parse git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4418 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-2/+2
* Document loopcall (its still complicated in concept, but now easier to read a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4413 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-26/+35
* Created new class irc::commasepstream.•••Will read comma seperated lists and works identically to irc::tokenstream It's re-entrant so we can run two of them together for JOIN git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4412 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-179/+26
* Fix case sensitive commands issue due to new std::string based parser, improv...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-38/+19
* mass tidyup, change A LOT of stuff to const char** which was char** (such as ...•••which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-9/+8
* MAJOR tidy of line parser, some parts rewritten and major chunks removed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4402 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-287/+38
* Removed GCC2 checks as we havent supported gcc2 for years•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4394 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-151-5/+0
* Refactored user modes to work like the channel modes - core and module data n...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-7/+10
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-081-11/+1
* Missed some stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3664 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-2/+2
* Typo•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3625 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-101-1/+1
* Tidyup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3623 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-101-10/+1
* Checking of user/nick/pass without strncmp! (compare object pointers in the c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3511 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-6/+20
* Removed a lot of total craq•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3500 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-70/+37
* Improved ProcessParameters (removed strlen)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3498 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-12/+15
* Tidied (and COMMENTED) CommandHandler::LoopCall() -- commit so that i can tes...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3496 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-45/+91
* Changed definition of CallHandler and CallCommandHandler for the ability to r...•••This allows us to terminate server links that send commands we dont know (e.g. admin loads module A after linking, we dont have module A, when it sends module A's command, abort) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3414 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-7/+5
* Now sends out warning when oper on a remote server tries to execute a command...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3318 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-241-0/+7
* This was back to front and threw an exception when the command DIDNT exist (w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3251 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-191-1/+1
* Missing semicolons are bad.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-191-1/+1
* Server::AddExtendedMode and Server::AddCommand will now throw exceptions when...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3246 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-191-3/+7
* Sped up disabled commands check•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3222 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-151-5/+3
* Removed a whole lot of strchr's looking for mode +o where we can do if *user-...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3221 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-151-1/+1
* - Useless loop removed•••- Intenting cleaned up - command_parse stuff (really) needs proper going over and at least commenting what stuff does. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3216 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-02-151-549/+589
* Experimental improved string handling in server links•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3127 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-071-12/+11
* Now errors when sent SERVER on a non-server port•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3119 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-071-0/+5
* Warning fix.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2865 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-231-1/+1
* Allowed for configuration of maxtargets in <options:maxtargets>•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2848 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-1/+1
* Updated copyrights in headers etc using perl inplace edit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-151-1/+1
* Changed to MAX_DESCRIPTORS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2700 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-291-2/+2
* Fixed an extremely n00bish mistake involving referencing a global copy of Ser...•••(everyone point and laugh at Brain) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-291-2/+0
* Changed from std::map to hash_map•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2686 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-281-4/+11
* Fixed typos•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2685 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-281-1/+1
* EXPERIMENTAL: Command search function now uses std::map, should be faster (i ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2684 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-281-32/+26
* Adding hook type checking to event calls to speed them up•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-261-2/+2
* Optimized out strcpys that copy empty strings (craq++)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2637 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-221-4/+4
* Updated m_alias to fix bug #92, updated configs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2603 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-211-34/+44