summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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 Gravatar brain2006-07-191-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 Gravatar brain2006-07-191-1/+4
* 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-1/+2
* Disable test suite•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4399 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-2/+2
* Improved this a lot•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4398 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-0/+3
* 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 Gravatar brain2006-07-161-20/+12
* 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 Gravatar brain2006-07-161-0/+60
* Final test.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4375 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-0/+1
* Test•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4374 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-1/+0
* Mirroring test•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4373 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-1/+0
* Test commit (this should be auto synched to staffbox)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4372 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-1/+0
* Test commit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4371 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-1/+0
* Added class Resolver (needs testing)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4353 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-0/+10
* Fix my last broken commit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4323 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-2/+0
* Move openSockfd[] into ServerConfig•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4322 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-16/+1
* relocate the Move* methods to private: where they belong, rename erase_factor...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4098 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-011-4/+4
* Make WritePID a public function of class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4097 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-011-2/+2
* Move SetSignals(), Start() and DaemonSeed() into private methods of class Ins...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4096 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-011-6/+6
* Forward port of CullList and my bragging rights•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4087 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-06-291-1/+1
* You don't need to cast a char* to a char* to put it through a const char*...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4083 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-06-291-1/+1
* Remove hardcoded filename prefix to log message, with the new macro these are...•••Remove un-needed cast, ffs guys, templates stop you needing to cast the stuff inside them... So why do you do it anyway? :< git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4082 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-06-291-2/+2
* Return false was missing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3928 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-05-031-14/+14
* New header at the top of this file clarifying gplv2 only (we hadnt made it cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3926 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-05-021-3/+14
* delete operator tracking in debug mode (using a macro -- live with it.)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-241-3/+3
* Fixes for lib dirs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3889 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-201-3/+0
* Execinfo stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3886 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-201-0/+3
* Shuffle some more includes around, const reference a few functions in inspircd.*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3854 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-091-23/+19
* 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-8/+92
* - first steps towards a working IPv6 port. I'll work more on this tomorrow. :-P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3845 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar nenolod2006-04-081-2/+4
* Slight optimisation to config reader, looks nicer even if it's not faster.•••Make ./inspircd script use -nolog (it already used -debug, which didn't exist until now!?) Add commandline options -nolog and -debug, -debug forces all log messages to be output regardless of level. -nolog stops the logfile being written, so you can run with -debug without filling up your disk. make clean && make install, apparently some of the core doesn't depend on inspircd_io.h in the makefiles..so it'll probably segfault if you don't. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3841 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-071-4/+11
* Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE T...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-04-061-221/+221
* trivial: Made a slight error on that last commit, missed a bit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3816 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-04-041-5/+9
* Test fixes for cpu eating issue•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3809 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-031-0/+14
* Bugfix for bug #101 being as the fix was just one simple line :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3751 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-251-0/+3
* Stack overflow prevention allows deeper recursion•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3748 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-221-1/+1
* Allow adding of new client ports via /REHASH.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3731 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-181-2/+2
* Fix to warning line 218•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3723 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-161-1/+1
* Catch std::bad_alloc program wide (to catch out nazi sysadmins who restrict m...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3722 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-161-4/+16
* Obscure bug of the week: InspIRCd crashes when given more than 64 client port...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3701 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-131-1/+1
* Checks and stuff :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3671 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-1/+1
* Re-enterant safety•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3666 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-0/+1
* Removed lots of claptrap debug in a well tested old section of code•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3661 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-19/+1
* Delete unknown sockets on sight•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3603 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-1/+2
* What MUPPET made stdin, stdout and stderr FILE* pointers rather than ints?!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3532 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-3/+3
* close stdin, stderr and stdout rather than freopen to /dev/null•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3531 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-2/+3
* Buffer flush time now under 0.5 secs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3528 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-1/+1
* Flush user buffers more often (every 30 iterations)•••Run whowas hash maintainance every hour git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3527 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-1/+12
* Whowas refactor - probably wont compile yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-1/+1
* Added a 'max depth' to stop recursive issue•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3507 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-0/+12
* Changed return to break in mainloop for better efficiency•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3497 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-1/+1