| Commit message (Expand) | Author | Age | Files | Lines |
| ... | |
| * | Change comment which referred to an fd, is now an id•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4633 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -1/+4 |
| * | Remove dnsqueue•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4631 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -6/+0 |
| * | 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
| brain | 2006-08-01 | 1 | -11/+6 |
| * | Fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4628 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -4/+1 |
| * | Fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4627 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -1/+4 |
| * | Stuff to make user host resolving use class Resolver - not tested yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4626 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -0/+20 |
| * | Remove X_ESTAB_CLASSDNS, X_ESTAB_DNS now does the job of this (i TOLD w00t an...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4625 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -2/+1 |
| * | Remove unused vars from class DNS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4624 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -3/+0 |
| * | Remove unused temp buffers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4623 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -42/+19 |
| * | Removed threaded dns (it might make a comeback some day, but as it stands its...•••Migrated to new OO resolver, removed as much firedns craq as is safe to do so, operates over one file descriptor now and keyed against request id.
The only way to use the system is via class Resolver (so i'll need to migrate the rest of the ircd to use it)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4622 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 2 | -62/+10 |
| * | This might well be the last commit to this dns resolver in its current form. ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4612 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -0/+2 |
| * | The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 2 | -3/+3 |
| * | AF_INET -> define to AF_FAMILY, will be either AF_INET or AF_INET6•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4610 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -0/+2 |
| * | Move to entirely using insp_sockaddr and insp_inaddr for socket stuff, first ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4609 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 3 | -15/+15 |
| * | Missing include breaks "make clean" on the cmd_* files•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4608 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -0/+1 |
| * | Remove match/wildcmp wrapper which just casts from const char* to char*, do t...•••Remove other casts by casting directly to unsigned char* first time around
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4607 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-31 | 1 | -4/+1 |
| * | REMOTE STATS! WOOO AND YAY!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-30 | 3 | -7/+10 |
| * | 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
| brain | 2006-07-28 | 1 | -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
| brain | 2006-07-28 | 1 | -0/+4 |
| * | Tidyup message.cpp, remove some really old craq.•••Improve tidiness of new common_channels function
Add timeout value to blocking CleanAndResolve function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4572 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-28 | 1 | -3/+1 |
| * | 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
| brain | 2006-07-28 | 1 | -0/+8 |
| * | 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
| brain | 2006-07-28 | 46 | -45/+50 |
| * | Change std::pair<bool,std::string> to neater typedef "ModePair"•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4557 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-27 | 7 | -7/+16 |
| * | Mode merging during FJOIN with ourts==theirts. Only +k and +l have CheckTimes...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4556 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-27 | 3 | -0/+21 |
| * | commit remainder of new mode bouncing stuff for TS based modes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4550 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-27 | 2 | -0/+5 |
| * | Add extra method to mode handler, ModeHandler::ModeSet().•••Returns a std::pair<bool,string>.
if the bool is true, the mode is set, and the second item in the pair is the parameter set on it, if any
If the bool is false, the mode is not set, and the parameter given is returned as the second item of the pair
To be used in mode bouncing, to build a safe set of bounced modes (dont ask yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4549 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-26 | 7 | -0/+24 |
| * | Add an ID field to Request and a GetId() method, takes const char* and return...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4529 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-07-23 | 1 | -0/+22 |
| * | Change stats recv/send to double, so they can hold truly massive numbers of t...•••Fix some warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4450 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-19 | 1 | -3/+4 |
| * | Change counters to unsigned long to prevent overflow to negative counts•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4449 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-19 | 1 | -11/+11 |
| * | Test change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4444 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-19 | 1 | -0/+1 |
| * | Add #include <sys/select.h> to select engine, we probably need it•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4443 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-19 | 2 | -0/+10 |
| * | Fix typo in kqueue engine•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4440 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-19 | 1 | -1/+1 |
| * | * Seperate out socket engines into derived classes of SocketEngine.•••* Add a classfactory SocketEngineFactory to create a new socketengine of the configured type
* Implement configure hax to compile only the required socketengine and the base class
* Eliminates ugly defines, and is more in line with C++ ways
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4439 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-19 | 6 | -30/+165 |
| * | Tried to implement sprintf that returns std::string of any size, realized it ...•••Moved chop() functionality into userrec::AddWriteBuf and make it nicer (no strlen)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4433 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-18 | 1 | -2/+0 |
| * | Document irc::commasepstream and irc::tokenstream•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4414 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-16 | 1 | -0/+29 |
| * | 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
| brain | 2006-07-16 | 2 | -1/+15 |
| * | Fix socket leak properly this time•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4405 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-16 | 2 | -0/+3 |
| * | 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
| brain | 2006-07-16 | 2 | -1/+16 |
| * | 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
| brain | 2006-07-16 | 58 | -62/+62 |
| * | 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
| brain | 2006-07-16 | 1 | -2/+2 |
| * | const the std::string reference in tokenstream's constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4400 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-07-16 | 1 | -1/+1 |
| * | This should be faster, we read it like a stream now with GetToken until GetTo...•••The optimizations done by gcc means theres only one std::string constructor call per token, which is mmm yum.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4397 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-16 | 1 | -4/+5 |
| * | irc::tokenstream is a token parser which using std::string and std::vector bu...•••e.g.:
:arse PRIVMSG #chan :foo bar baz
becomes
a[0] = ":arse", a[1] = "PRIVMSG", a[2] = "#chan", a[3] = "foo bar baz".
*** SOMEONE *** needs to optimize this or at least verify its neatness (without making it total craq and unreadable). Feel free to mess with my code.
Any optimizations you make, run them against the COMMENTED OUT TEST SUITE at the top of main() in src/inspircd.cpp and ensure ALL output is the same
with no crashes. (note: if you comment out and build with the test suite, all inspircd will do is output test data and exit!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4396 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-16 | 1 | -0/+13 |
| * | 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
| brain | 2006-07-15 | 1 | -9/+0 |
| * | 3.3 -> 3.4 fix (the 3.3 stuff was actually craq)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4393 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-14 | 1 | -9/+2 |
| * | Add <options:nouserdns> - defaults to off. if set to on, no user dns lookups ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4386 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-14 | 1 | -0/+4 |
| * | Rollback dns change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4384 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-14 | 1 | -2/+0 |
| * | Fix dns socket leak found in stable•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4383 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-14 | 1 | -0/+2 |
| * | Tiny tiny docs update, not even worth re-generating the docs for atm•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4370 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-12 | 1 | -3/+3 |
| * | Document class Resolver•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4369 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-12 | 1 | -1/+87 |