summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* fix compile errors under debug profile in windows.Gravatar brain2008-08-061-7/+0
| | | | | | fix some warnings too. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10108 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove last vestige of libircdfoo, by changing tag into a single ↵Gravatar w00t2008-07-291-1/+1
| | | | | | identifier marking object as requiring compilation into a .o (minor commit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix potential off-by-one on large reads (thanks psychon)Gravatar w00t2008-07-201-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10048 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to some stuff that writes on memory it shouldn't (thanks psychon).Gravatar w00t2008-07-201-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10047 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement <disabled:usermodes> and <disabled:chanmodes>.Gravatar aquanight2008-07-181-0/+26
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10032 e03df62e-2008-0410-955e-edbf42e46eb7
* Combine IP+port in a failed port list, show (the more helpful) error string ↵Gravatar w00t2008-07-171-1/+1
| | | | | | so the user can have some idea of what actually went wrong.. why we forced people to strace is beyond me.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10030 e03df62e-2008-0410-955e-edbf42e46eb7
* Lots, lots more numerics.h conversionGravatar w00t2008-07-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7
* More conversion, and a note to client coders.Gravatar w00t2008-07-131-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10011 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <cidr> block, and documentation in example config.Gravatar w00t2008-07-121-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9980 e03df62e-2008-0410-955e-edbf42e46eb7
* Add .example suffix to nameGravatar w00t2008-07-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9973 e03df62e-2008-0410-955e-edbf42e46eb7
* Copy new conf location and seperate modules.conf on installGravatar w00t2008-07-121-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9972 e03df62e-2008-0410-955e-edbf42e46eb7
* Add the rest of the stuff for named pipe comms, including feedback ↵Gravatar brain2008-06-181-6/+8
| | | | | | information, and fix a bug in configreader that made it load the core commands every rehash git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9913 e03df62e-2008-0410-955e-edbf42e46eb7
* Define PATH_MAX if its not already definedGravatar brain2008-06-151-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9907 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove PATH_MAX because some retard removed itGravatar brain2008-06-121-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9895 e03df62e-2008-0410-955e-edbf42e46eb7
* Now builds ok on gcc 4.3, not tested fully. Also UGLY, oh we hate you GCC, ↵Gravatar brain2008-06-121-1/+1
| | | | | | why couldnt you just use TR1 from the start??? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9894 e03df62e-2008-0410-955e-edbf42e46eb7
* Dont announce successful rehash if bail is set to true (e.g. we're booting)Gravatar brain2008-06-081-4/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9876 e03df62e-2008-0410-955e-edbf42e46eb7
* More useful error reporting that give closer line numbers, so long as you ↵Gravatar brain2008-06-081-12/+19
| | | | | | can read them :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9869 e03df62e-2008-0410-955e-edbf42e46eb7
* Config reader strictness: check for escape sequences (\" etc) outside of a ↵Gravatar brain2008-06-081-0/+5
| | | | | | quoted section and deny it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9868 e03df62e-2008-0410-955e-edbf42e46eb7
* Make checks more strictGravatar brain2008-06-081-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9867 e03df62e-2008-0410-955e-edbf42e46eb7
* Bitch when we find stray characters outside of a tag, this will track down a ↵Gravatar brain2008-06-081-0/+6
| | | | | | lot of config errors that arent noticed till the end of the file at present git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9866 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow 0-9 in tag/key names, and special check for > and \nGravatar brain2008-06-081-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9865 e03df62e-2008-0410-955e-edbf42e46eb7
* Check in tag names tooGravatar brain2008-06-081-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9864 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for invalid characters in keys, will catch config errors earlier and ↵Gravatar brain2008-06-081-3/+9
| | | | | | closer to the actual error line. Valid values in key names are [A-Za-z_] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9863 e03df62e-2008-0410-955e-edbf42e46eb7
* m_abbreviation completed. :)Gravatar brain2008-06-061-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9845 e03df62e-2008-0410-955e-edbf42e46eb7
* All the limits were one less than specified in the config, so now we ↵Gravatar brain2008-05-251-0/+5
| | | | | | | | | postincrement them all in configreader, this means we can just use them without all that +1 hackery in the code. 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
* Add parsing of <limits> tag and finish documenting it, make all the values ↵Gravatar brain2008-05-251-0/+10
| | | | | | match sensibly by starting them all 'max' rather than some starting with it, some ending with it... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9808 e03df62e-2008-0410-955e-edbf42e46eb7
* First phase of conversion to dynamic limits on all the lengths, configured ↵Gravatar brain2008-05-251-2/+2
| | | | | | | | | via the <limits> tag (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
* A few minor fixes, some copy constructor stuff, misnamed channelmanager ↵Gravatar brain2008-05-201-5/+4
| | | | | | constructor, add files to vc8 project, configreader tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9780 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User:: nick/ident/dhost/fullname and some other things std::string ↵Gravatar aquanight2008-05-181-13/+13
| | | | | | instead of char*/char[] (MODULES DO NOT COMPILE) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7
* Jason, try this..Gravatar w00t2008-05-181-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9746 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for Jason's bug.. this needs more thought, though. I'll probably whip up ↵Gravatar w00t2008-05-181-1/+6
| | | | | | something tonight. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9742 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for windows drive letters on the start of paths and treat them the ↵Gravatar brain2008-05-131-2/+7
| | | | | | same as paths that start with /, this makes insp more friendly for windows filesystems git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9724 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch ReadFile() not to bork on one line files, and ensure it works ok with ↵Gravatar brain2008-05-121-6/+5
| | | | | | win32 (it does) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9707 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix LoadConf always reading 1 extra byte of random garbage.Gravatar peavey2008-05-101-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9691 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge in large patchset from GreenReaper, useful fixes for freeing a ton of ↵Gravatar brain2008-04-211-2/+3
| | | | | | different things on shutdown for tidyness, and a few stack corruption fixes in the mode handler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7
* fix text in validate methods where option was moved to either performance or ↵Gravatar peavey2008-04-191-4/+4
| | | | | | security. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9552 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for ValidateHostnameGravatar peavey2008-04-151-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9511 e03df62e-2008-0410-955e-edbf42e46eb7
* Chain ValidateServerName onto ValidateHostname so that the servername gets ↵Gravatar brain2008-04-151-1/+1
| | | | | | hostname validity checks (prevents servernames with spaces etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9510 e03df62e-2008-0410-955e-edbf42e46eb7
* Deprecate a few more config options.Gravatar peavey2008-04-151-6/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9509 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke the ability to define <options:loglevel> from orbit :pGravatar brain2008-04-151-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9508 e03df62e-2008-0410-955e-edbf42e46eb7
* See configreader.cpp line 764 to see how to declare deprecated items. This ↵Gravatar brain2008-04-151-1/+19
| | | | | | is reasonably well thought out so i see no issue with leaving items here a very long time :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9507 e03df62e-2008-0410-955e-edbf42e46eb7
* Move options vlaues netbuffersize, maxwho, maxconn, softlimit, quietbursts, ↵Gravatar brain2008-04-141-5/+5
| | | | | | nouserdns into performance tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9505 e03df62e-2008-0410-955e-edbf42e46eb7
* TRUNK CONFIG BREAKAGE WARNING: Move a bunch of options tag values into a new ↵Gravatar brain2008-04-141-10/+10
| | | | | | tag called 'security'. See example conf git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9504 e03df62e-2008-0410-955e-edbf42e46eb7
* trunk doesnt seem to like < and > in a quoted section, because someone ↵Gravatar brain2008-04-131-3/+3
| | | | | | REMOVED the if check by mistake! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9495 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for bug #515, update existing in-use connect tags on the fly in rehashGravatar brain2008-04-121-0/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9471 e03df62e-2008-0410-955e-edbf42e46eb7
* (untested) don't move newconfig to ServerConfig::config_data until its been ↵Gravatar brain2008-04-111-32/+29
| | | | | | validated by all the validation funcs in the core config table git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9461 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove 'default log' and <options:loglevel> (wtf?)Gravatar brain2008-04-111-24/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9460 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #503 reported by Stealth (at last)Gravatar brain2008-04-101-0/+37
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9453 e03df62e-2008-0410-955e-edbf42e46eb7
* Depreciated ServerInstance->Log() seems to crash configreader on rehash? We ↵Gravatar brain2008-04-021-3/+3
| | | | | | should remove the depreciated calls anyway, so im not too concerned as to why they crash - probably not threadsafe. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9275 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove MAXCLIENTS, this is supported at runtime by the softlimit anyway.Gravatar brain2008-04-021-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9265 e03df62e-2008-0410-955e-edbf42e46eb7