aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
...
* Remove FlushWriteBuffer() from DoBackgroundUserStuff(). Its no longer require...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5989 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-141-1/+1
* CPU Usage percent in stats z! yay!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5988 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-142-0/+19
* Change how users are quit if they get a write error during the things they do.•••Instead of QuitUser inside FlushWriteBuffer() (potentially *UNSAFE*), go back to using SetWriteError(), but to ensure we dont get a cascade of bad write events from the socket engine, QuitUser the user before returning in userrec::HandleEvent, after we can gaurantee ALL other reading or writing is done. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5987 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-142-6/+15
* Refactor userrec::chans.•••Old way: A vector of ucrec, MAXCHANS in size by default populated by NULLS, so you have to scan the vector to find an empty slot when joining a user, parting a user etc New way: std::map<chanrec*, char> (the char holds their basic core permissions on the channel [voice, halfop, op]) This increases speed a ton, and removes some wtf-age. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5986 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-149-284/+183
* Refactoring:•••1) Chain together a resize and an append, to improve the buffer read efficiency 2) eliminate a const char* pointer by doing it purely with string, saving a data copy 3) use iterators rather than ints and vector::size() for spooling motd and rules files to users 4) change a usage of !length() to empty() to make it more readable git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5985 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-141-18/+9
* Fix m_watch to properly use OnCleanup, and to delete pointer on quit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5984 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-1/+19
* Comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5981 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-17/+54
* Turn watchlist back to map. watchlist is small, watchentries is large, only w...•••(watchentries is the primary index of whos watching each nick, watchlist is the small nicklist attached to each user) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5980 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-4/+4
* Change m_watch to use hash_map rather than map, because of the large number o...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5979 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-132-4/+12
* Improve the way 005 ISUPPORT is sent to users when they connect, cache it in ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5978 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-135-59/+36
* Properly fix 'changed nickname from one thats on your notify to one thats not...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5977 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-1/+3
* Whoops, one too many params•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5976 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-1/+1
* Fix /nick signoff message•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5975 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-1/+1
* More to fix.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5974 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-2/+2
* Make this behave more like other WATCH implementations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5973 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-2/+3
* Fix quite a few whoopsies•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5972 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-7/+33
* Untested! New m_watch that should be hundreds of times faster (im not joking ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5971 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-164/+207
* Avoid pointless vsnprintf() when our loglevel doesnt meet requirements•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5970 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-121-0/+4
* Remove unused debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5969 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-121-3/+1
* Improve how we handle ELINEs on connect, turn O(2n) into O(n) (thats the best...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5968 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-121-29/+8
* New clone counting mechanism (this isnt tested yet)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5967 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-123-32/+53
* Make FounderProtectBase::remove_own_privs a reference, so we can change it on...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5966 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-121-2/+2
* Someone forgot to do founder too :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5965 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-121-1/+1
* Fixed a pretty nasty bug that allowed users to +a themselves if deprotectself...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5963 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-12-121-1/+1
* Reverted om's commit so we can keep laughing at him for never doing anything•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5962 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-12-121-0/+1
* I yell 'LIES' in the face of anyone who says I don't commit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5961 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-12-121-1/+0
* AnMaster thinks im not committing enough, so heres a pointless commit for him.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5960 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-121-3/+0
* More comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5959 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-121-1/+7
* Fix trivial broken stat counter•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5958 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-121-1/+1
* Whoops, forgot to unpublish the interface!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5957 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-121-0/+1
* irc::string assign(std::string&)•••std::string assign(irc::string&) soooo: irc::string foo = assign(my_std_string); :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5956 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-0/+10
* Just comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5955 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-8/+36
* Tidy up a loop a bit so it isnt for(;;) with a break•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5954 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-28/+33
* And fix the typos in it.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5953 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-2/+0
* Attempt another speedup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5952 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-8/+7
* Fix kinda stupid whoopsie•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5951 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-0/+1
* Faster, stronger, ...err no, not the million dollar man.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5950 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-1/+1
* Change how assembling of multiple lines works, avoid data copies•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5949 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-12/+16
* Fixed a typo in select•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5948 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-12-111-1/+1
* Fix EOF conditions on inspsockets which are having their write() handled by m...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5947 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-0/+9
* Better handling of write() failure, but this might still not be exactly right.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5946 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-3/+11
* This is better now.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5945 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-23/+23
* Initial commit of m_dnsbl, v2.0 - based on satmd's 1.0 m_dnsbl, modified to w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5944 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-111-0/+347
* Someone forgot to add the copyright headers here :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5943 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-113-0/+48
* And give it error checking... whoops.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5942 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-2/+13
* Pinch simple output buffering from m_ssl_openssl•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5941 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-1/+9
* Tidyup comments and debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5940 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-16/+1
* Finally got read buffering working properly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5939 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-112-8/+16
* *annoyance*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5938 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-3/+3
* Damnit damnit damnit!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5937 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-10/+4