summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Expand)AuthorAgeFilesLines
* Remove the old TODO comment•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10570 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-201-1/+0
* Fix a rather nasty race condition revealed by my reading through the comments...•••'we cant pass a User* into the config reader any more, because when the config reader thread finishes, that user may be gone and this will crash. Consider using an UID instead so that if the user vanishes, we can detect this situation.' Of course, nobody ever did this, so i'm doing it now to ensure we dont come up against some particularly ugly race condition crashes! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10569 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-201-30/+72
* Be more verbose in ValidateNotEmpty on failure. Patch by CyberbotX.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10544 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-09-141-2/+2
* Start moving IO hooking from being bufferedsocket based to residing in EventH...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10447 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-071-31/+0
* Make ThreadEngine::Mutex() protected too, make the user use Lock() and Unlock()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10418 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-061-18/+18
* Add <disabled:fakenonexistant> - ircd will pretend that a disabled command ju...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10327 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-0/+1
* Implement <options:invitebypassmodes>, optionally circumvent +blk if invited ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10120 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-071-1/+2
* fix compile errors under debug profile in windows.•••fix some warnings too. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10108 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-061-7/+0
* 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 potential off-by-one on large reads (thanks psychon)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10048 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-201-1/+2
* Fixes to some stuff that writes on memory it shouldn't (thanks psychon).•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10047 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-201-4/+4
* Implement <disabled:usermodes> and <disabled:chanmodes>.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10032 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-07-181-0/+26
* Combine IP+port in a failed port list, show (the more helpful) error string s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10030 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-171-1/+1
* Lots, lots more numerics.h conversion•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-141-1/+1
* More conversion, and a note to client coders.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10011 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-131-5/+5
* Add <cidr> block, and documentation in example config.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9980 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-0/+4
* Add .example suffix to name•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9973 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-1/+1
* Copy new conf location and seperate modules.conf on install•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9972 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-1/+2
* Add the rest of the stuff for named pipe comms, including feedback informatio...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9913 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-181-6/+8
* Define PATH_MAX if its not already defined•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9907 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-151-2/+2
* Remove PATH_MAX because some retard removed it•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9895 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-121-2/+2
* Now builds ok on gcc 4.3, not tested fully. Also UGLY, oh we hate you GCC, wh...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9894 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-121-1/+1
* Dont announce successful rehash if bail is set to true (e.g. we're booting)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9876 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-081-4/+7
* More useful error reporting that give closer line numbers, so long as you can...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9869 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-081-12/+19
* Config reader strictness: check for escape sequences (\" etc) outside of a qu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9868 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-081-0/+5
* Make checks more strict•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9867 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-081-4/+4
* Bitch when we find stray characters outside of a tag, this will track down a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9866 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-081-0/+6
* Allow 0-9 in tag/key names, and special check for > and \n•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9865 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-081-2/+2
* Check in tag names too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9864 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-081-1/+7
* Check for invalid characters in keys, will catch config errors earlier and cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9863 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-081-3/+9
* m_abbreviation completed. :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9845 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-061-2/+2
* All the limits were one less than specified in the config, so now we postincr...•••This DOES mean that from a protocol perspective the figures look a little odd, but they always did. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9809 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-251-0/+5
* Add parsing of <limits> tag and finish documenting it, make all the values ma...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-251-0/+10
* 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
* A few minor fixes, some copy constructor stuff, misnamed channelmanager const...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9780 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-201-5/+4
* 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-13/+13
* Jason, try this..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9746 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-181-4/+4
* Fix for Jason's bug.. this needs more thought, though. I'll probably whip up ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9742 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-181-1/+6
* Check for windows drive letters on the start of paths and treat them the same...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9724 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-131-2/+7
* Patch ReadFile() not to bork on one line files, and ensure it works ok with w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9707 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-121-6/+5
* Fix LoadConf always reading 1 extra byte of random garbage.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9691 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-05-101-2/+1
* Merge in large patchset from GreenReaper, useful fixes for freeing a ton of d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-211-2/+3
* fix text in validate methods where option was moved to either performance or ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9552 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-04-191-4/+4
* Fixes for ValidateHostname•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9511 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-04-151-1/+2
* Chain ValidateServerName onto ValidateHostname so that the servername gets ho...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9510 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-151-1/+1
* Deprecate a few more config options.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9509 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-04-151-6/+19
* Nuke the ability to define <options:loglevel> from orbit :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9508 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-151-0/+1
* See configreader.cpp line 764 to see how to declare deprecated items. This is...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9507 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-151-1/+19
* Move options vlaues netbuffersize, maxwho, maxconn, softlimit, quietbursts, n...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9505 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-141-5/+5
* TRUNK CONFIG BREAKAGE WARNING: Move a bunch of options tag values into a new ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-141-10/+10