aboutsummaryrefslogtreecommitdiff
path: root/src/cull_list.cpp
Commit message (Expand)AuthorAgeFilesLines
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Fix recursion of QuitUser in SendQ quitsGravatar Jackmcbarn2011-05-231-0/+13
* ...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
* Make classbase and refcountbase uncopyable; expand comments on their indended...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-2/+2
* Fix module unmapping with culled Module objects•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-141-0/+8
* Fix valgrind issues and crashes on exit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11794 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-021-1/+13
* Actually clear the cull list after applying it•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11787 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-0/+1
* Add explicit reference-counting base class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11785 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-2/+2
* Detect, complain, and don't crash when objects are inserted into cull list twice•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11782 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-9/+16
* Allow objects to be added to cull list during apply - fixes user deletion on ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11754 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-211-2/+3
* Create StreamSocket for IO hooking implementation•••Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-211-2/+6
* Move user quit logic out of cull list•••This changes the cull list from a list of User* that ran special cleanup to a list of classbase* that simply deletes the objects. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11636 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-91/+2
* Fix CullList to not use O(n^2) version of vector clear•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11312 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-171-11/+4
* Remove CullList rate limiting to fix UID collisions on large networks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11310 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-171-2/+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
* Fix fast quit/connect by changing nick to UID on QuitUser•••This requires moving the sending of the QUIT back to usermanager from cull_list in order to prevent client desyncs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11203 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-101-21/+4
* 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 recursion in QuitUser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10809 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-171-7/+0
* Merge the second interface for socket hooking into one, so it's all done by A...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-071-2/+2
* Remove last vestige of libircdfoo, by changing tag into a single identifier...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-291-1/+1
* Fix compile. Also remove write error stuff, as that was used prior to the goo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10042 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-191-1/+1
* First phase of conversion to dynamic limits on all the lengths, configured vi...•••(the tag isnt there yet, these all just run on defaults in the class constructor) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-251-2/+2
* Remove some of this, this isn't (strictly speaking) an issue now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9784 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-211-21/+3
* Convert connection::host•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-2/+2
* Some logging/preventative code for Jason's issue.. it shouldn't crash now (fi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9762 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-191-6/+33
* Make User:: nick/ident/dhost/fullname and some other things std::string inste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-05-181-10/+8
* Fix quietbans and hidesplits etc, cull list's sending a seperate quit message...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9574 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-211-1/+1
* Add stuff so that modules can hook users by altering a pointer in the User cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9187 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-241-2/+2
* Convert remaining InspIRCd::Log() calls to new logging system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-221-2/+2
* Move some stuff to usermanager, remove a little header insanity, remove trace...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-021-8/+8
* Add a warning about quitting a user twice, and fix a minor brainfart•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8718 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-0/+4
* Remove an O(log n) in favour of an O(1) operation, and tidy up culllist some ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8717 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-8/+4
* Re-add support for silent quits (note: we also remove an O(n) doing it this way)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8715 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-19/+10
* Hacked-up culllist: stores user pointers rather than CullItem, as creating th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8714 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-75/+17
* Someone forgot to delete what they new :P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8713 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-01-151-0/+1
* CullList -> CullItem *•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8712 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-151-10/+10
* CullList: Don't try quit everyone. Speed/resource use enhancement on netsplits..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8711 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-151-1/+3
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-221-0/+2
* Cache the culllist' GetUser() return. Looks cleaner.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8219 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-161-26/+27
* In the grand tradition of huge fucking commits:••• - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-8/+8
* Move some stuff around, this will move a crash to a different place and maybe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8171 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-131-1/+0
* Add sanity checks to the ssl modules so that theres no possibility of an out ...•••The cull_list commit is a tidy-up only. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8155 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-131-1/+1
* Remove more unnecessary header traffic•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-1/+0
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+202
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-202/+1
* Fix multi-level if() madness, thanks HiroP•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6909 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-3/+8
* Add options:quietbursts, fixes bug #269, also adds support for quits in a cul...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6883 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-2/+29
* DO NOT USE THIS COMMIT - if you do, most of the modules wont work.•••DEVS: Please fix all modules that have warnings to use the new parameters to OnUserJoin, OnUserPart and OnUserKick (bool &silent) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-031-1/+1
* Fix for bug #199 (Feature request) submitted by owine. Ended up adding an ext...•••It turned into a biggie :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6742 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-051-1/+4