summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Error set handlin g for select socketengine, tidyup epollGravatar brain2006-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5609 e03df62e-2008-0410-955e-edbf42e46eb7
* Socket error state stuffGravatar brain2006-10-316-7/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5607 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed OnRawMode - this hasn't been called at all for awhile now, so it was ↵Gravatar special2006-10-311-16/+2
| | | | | | completely worthless. I even tested it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5604 e03df62e-2008-0410-955e-edbf42e46eb7
* Update configure, remove a bunch of deprecated makefiles that have been just ↵Gravatar brain2006-10-315-65/+5
| | | | | | a #warning for about 1000 revs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5600 e03df62e-2008-0410-955e-edbf42e46eb7
* Document SocketEngine::WantWrite()Gravatar brain2006-10-301-1/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5591 e03df62e-2008-0410-955e-edbf42e46eb7
* Select is now done, and some debug removed. Not that anyone really should be ↵Gravatar brain2006-10-301-0/+4
| | | | | | using select()... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5587 e03df62e-2008-0410-955e-edbf42e46eb7
* Not tested yet: Write and read at the same time in kqueueGravatar brain2006-10-301-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5582 e03df62e-2008-0410-955e-edbf42e46eb7
* WARNING: This commit breaks kqueue and select -- work in progress!Gravatar brain2006-10-302-0/+3
| | | | | | | epoll now allows both a write and a read event on a socket at the same time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5580 e03df62e-2008-0410-955e-edbf42e46eb7
* Add 'dest' parameter to OnWhoisLine, contains the user being whois'ed (we ↵Gravatar brain2006-10-282-4/+5
| | | | | | need this for +H and probably the stuff w00t is doing too) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5573 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for OnWhoisLine, which allows modules to change or drop any line ↵Gravatar brain2006-10-282-1/+18
| | | | | | of whois before its sent to a user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5570 e03df62e-2008-0410-955e-edbf42e46eb7
* Needs more testing but seems to work: In DoBackgroundUserStuff(), calculate ↵Gravatar brain2006-10-281-0/+4
| | | | | | the time value of when we actually do need enter the function body again, and dont run function body again till that time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5568 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix unloading of modules that use u_listmodeGravatar brain2006-10-231-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5533 e03df62e-2008-0410-955e-edbf42e46eb7
* banexception, chanfilter, inviteexception: use modestacker to stack modes ↵Gravatar brain2006-10-231-10/+12
| | | | | | | | | when the module is unloaded. This results in e.g. one line of -gggggg rather than 6 lines of -g. NEEDS TESTING. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5532 e03df62e-2008-0410-955e-edbf42e46eb7
* Change around some dns stuff (dont use this yet)Gravatar brain2006-10-221-5/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5522 e03df62e-2008-0410-955e-edbf42e46eb7
* Call OnError when timing outGravatar brain2006-10-221-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5520 e03df62e-2008-0410-955e-edbf42e46eb7
* Make clever use of modestackerGravatar brain2006-10-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5516 e03df62e-2008-0410-955e-edbf42e46eb7
* Make +beIgqa be sent multiple per line, rather than one per line, using ↵Gravatar brain2006-10-221-1/+9
| | | | | | | | | modestacker and stringjoiner. This cuts down server to server traffic a *lot*. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5515 e03df62e-2008-0410-955e-edbf42e46eb7
* Multiply API_VERSION by ten if IPV6 is defined, to prevent modules built for ↵Gravatar brain2006-10-161-2/+11
| | | | | | an ipv6 insp being loaded into an ipv4 insp (the sizes of structs such as userrec and inspsocket are different when ipv6 is enabled) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5486 e03df62e-2008-0410-955e-edbf42e46eb7
* Replaced operonlystats with userstats to improve securityGravatar special2006-10-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5456 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra debugging for socketengines, will now report OS error string when ↵Gravatar brain2006-10-061-1/+0
| | | | | | failing to remove a socket from the queue git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5436 e03df62e-2008-0410-955e-edbf42e46eb7
* Document more classesGravatar brain2006-10-061-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5435 e03df62e-2008-0410-955e-edbf42e46eb7
* Document a ton of classes (e.g. give them a short description for ↵Gravatar brain2006-10-064-5/+17
| | | | | | http://svn.inspircd.org/docs/annotated.html) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5434 e03df62e-2008-0410-955e-edbf42e46eb7
* Move opertypes/operclasses maps into ServerConfig, for some reason these ↵Gravatar brain2006-10-052-7/+54
| | | | | | were global to users.cpp and not accessible to any other file. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5419 e03df62e-2008-0410-955e-edbf42e46eb7
* Whowas is now fixed.Gravatar brain2006-10-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5414 e03df62e-2008-0410-955e-edbf42e46eb7
* DocumentGravatar brain2006-10-031-0/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5404 e03df62e-2008-0410-955e-edbf42e46eb7
* New helper class irc::stringjoiner - it pwns you.Gravatar brain2006-10-031-0/+23
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5403 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove testcasesGravatar brain2006-10-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5398 e03df62e-2008-0410-955e-edbf42e46eb7
* mmmm dinner break, oh and document and make use of modestacker.Gravatar brain2006-10-021-0/+41
| | | | | | | Someone test this, i cant as im at work. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5395 e03df62e-2008-0410-955e-edbf42e46eb7
* Add more features to modestacker so that we can stack +, -, and ↵Gravatar brain2006-10-021-0/+3
| | | | | | parameterless modes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5391 e03df62e-2008-0410-955e-edbf42e46eb7
* More efficient modestackerGravatar brain2006-10-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5390 e03df62e-2008-0410-955e-edbf42e46eb7
* modestacker class, stacks modes and returns a string list of up to MAXMODES ↵Gravatar brain2006-10-021-0/+11
| | | | | | modes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5389 e03df62e-2008-0410-955e-edbf42e46eb7
* Now with binary versioning goodnessGravatar brain2006-10-011-3/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnPostJoin, which is (at the moment) almost exactly identical to ↵Gravatar special2006-10-011-1/+9
| | | | | | OnUserJoin but called after, so you can play with linking git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5361 e03df62e-2008-0410-955e-edbf42e46eb7
* make OnPostConnect globalGravatar brain2006-09-261-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5339 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove deprecated -nolimit and -notraceback optionsGravatar w00t2006-09-261-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5338 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, patchGravatar brain2006-09-252-3/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5324 e03df62e-2008-0410-955e-edbf42e46eb7
* Speaking of misleading comments, 'Delete and InspTImer' isn't particularly ↵Gravatar special2006-09-241-1/+1
| | | | | | descriptive git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5313 e03df62e-2008-0410-955e-edbf42e46eb7
* Make the check against z/k/q/e/g methods return a pointer to the whole ↵Gravatar brain2006-09-191-5/+10
| | | | | | object rather than just the reason string git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5305 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crashes, and in the process make xline even faster!Gravatar brain2006-09-191-15/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5304 e03df62e-2008-0410-955e-edbf42e46eb7
* Make xline more memory-efficient and faster/neater. Eliminate a mass of ↵Gravatar brain2006-09-191-35/+78
| | | | | | fixed-size buffer and strlcpy git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5300 e03df62e-2008-0410-955e-edbf42e46eb7
* Turn irc::commasepstream into a base class, irc::sepstream, inherit two ↵Gravatar brain2006-09-171-4/+21
| | | | | | classes from it: irc::commasepstream and irc::spacesepstream, to be used for the most common token seperators "," and " " git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5266 e03df62e-2008-0410-955e-edbf42e46eb7
* Add const std::string &original_command to OnPreCommand and OnPostCommand, ↵Gravatar brain2006-09-171-2/+4
| | | | | | which gives the entire untouched command string and params in all its colon-ny glory git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5265 e03df62e-2008-0410-955e-edbf42e46eb7
* Add timeouts to the http module. Two seperate timeouts, 60 seconds to ↵Gravatar brain2006-09-151-0/+4
| | | | | | receive headers, and 60 seconds after receipt of headers and sending of page, in which to time out the connection if the client doesnt close() as it should git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5260 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug noticed by dotslasher (?) where SAJOIN can desyncGravatar brain2006-09-151-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5258 e03df62e-2008-0410-955e-edbf42e46eb7
* AnnotationsGravatar brain2006-09-1525-3/+50
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5257 e03df62e-2008-0410-955e-edbf42e46eb7
* AnnotationsGravatar brain2006-09-1526-0/+52
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5256 e03df62e-2008-0410-955e-edbf42e46eb7
* AnnotationsGravatar brain2006-09-151-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove ExemptItem and InviteItem, these were never usedGravatar brain2006-09-151-12/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5253 e03df62e-2008-0410-955e-edbf42e46eb7
* If inspircd crashes in std::string destructor in ↵Gravatar brain2006-09-131-0/+4
| | | | | | CommandParser::ProcessCommand, take away all std::string's to make the bug manifest elsewhere, so maybe we can spot it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5232 e03df62e-2008-0410-955e-edbf42e46eb7
* Special check in cmd_quit and cmd_kill and special return value ↵Gravatar brain2006-09-131-0/+1
| | | | | | CMD_USER_DELETED, to prevent theoretical segfault (this isnt the bug youre trying to find, pip) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5230 e03df62e-2008-0410-955e-edbf42e46eb7