summaryrefslogtreecommitdiffstats
path: root/src/inspircd.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Fix to prevent recursive call to DoBackgroundTimer•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3441 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-2/+17
* And now the final result of all this tweaking comes to light.•••Whenever i commit the post-commit hook writes a .sh script to my dir, within the insp checkout dir, containing the current revision id - 1. Therefore, the system can stay up to date with revision id's simply with ./configure -update :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3376 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-271-17/+3
* Tweaks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3374 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-271-1/+1
* Test two•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3362 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-271-2/+1
* Constant eating 20% cpu since last nights commit - test fix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3361 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-271-2/+4
* Fixes and tweaks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3349 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-261-1/+1