summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Expand)AuthorAgeFilesLines
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+1307
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1307/+1
* Revert a changed file I didn't want to commit ..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7422 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-031-89/+0
* Fix off-by-one reported by Darom in bug #339•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7421 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-031-0/+89
* No no no, the fix to free module factories in loadmodule on error causes a bu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7403 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-231-8/+0
* Make a comment make a bit more general sense, and indent a nested define.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7394 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-06-201-2/+4
* Helps if it compiles•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7389 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-181-3/+6
* This should be safe. Someone test module loading and unloading during use and...•••Also test some misconfigured modules, e.g. try and load m_services with m_services_account. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-181-1/+6
* fix possible minor memleak in LoadModule. Thx IronLegend.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7387 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-06-181-0/+1
* Tidyup ifdefs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7308 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-141-7/+7
* Whoops, that was silly, the double print thing wont compile for any other OS ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7279 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-4/+0
* Fix double printing of 'setting log file' and 'setting config file' paths.•••Add comment about not using direct pointer from GetCommandLine() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7278 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-3/+10
* We need to pass a copy of GetCommandLine() not the actual return pointer.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7277 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-1/+1
* Tweak some tabular declarations to look correct on 8-width tabs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7276 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-15/+15
* Woo, fixed the bug, win2k doesnt like the AUTHZ_LEVEL stuff :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7275 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-23/+22
* Fixed commandline stuff for CreateProcess, but it looks like win2k doesnt lik...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7274 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-3/+8
* - Added more debug output to windows fork in order to help debug problems enc...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7270 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-111-0/+16
* - Removed un-needed event create at windows fork.•••* Fixed command line arguments when using fork under windows. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7266 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-091-6/+5
* Fixed issue preventing startup without --nofork under win32•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7265 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar frostycoolslug2007-06-091-1/+1
* Change some = "" to clear() and some == "" to .empty()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-091-3/+3
* Note to devs: We should be using std::string::clear() to empty a std::string,...•••assignment then de-allocation, whereas clear() just sets the length to 0. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7262 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-091-1/+1
* - Enabled minimal rebuild on all VS project files, this will reduce build tim...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7261 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-081-0/+1
* - Eek, gotta make it look the same as *nix! Windows will now print the proces...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7259 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-081-0/+1
* - Whoops.. forgot a return here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7258 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-081-0/+1
* * Changed forking code, now the parent will attempt to retrieve the exit code...•••. Exit code 14 means the creation of the forked process under windows failed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7257 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-081-11/+11
* + Added an *almost* unix-like fork system for windows. Insp will create a sec...•••* Fixed m_spanningtree project (cmd_rsquit was missing) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7255 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-081-19/+95
* Add Burlex to developers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7254 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-06-081-1/+1
* Refactored InspIRCd::Duration(). The leetcode now lives!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7237 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-051-1/+1
* Probably fix 2nd compile issue on RH7 and add some checks which *should* ensu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2007-06-031-1/+10
* Back out the tweaks i made here, keep only the clear screen stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7218 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-021-9/+16
* Change the behaviour of insp in windows to keep its window open, with some st...•••Also, add somewhat of a hack to cut down on allocation time taken to map windows fd to a posix style fd in iocp engine. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7217 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-021-21/+15
* Add console mode patches from burlex, thanks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7216 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-021-28/+25
* And make it compile.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7214 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-021-1/+1
* Chdir to bin dir on starting, allows relative paths to the bin dir to always ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7213 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-021-0/+2
* Fix re-generation of 005 on rehash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7202 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-011-1/+1
* Choose the correct defines so that its not built too lean to compile•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7142 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-251-2/+2
* Crash on restart in win32 fixed.•••This means that the restart button in the gui, and /restart, both work now. Note, there are other bugs with the gui's restart button, the 'auto restart on crash' tries to boot the ircd! Dont use it! :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7075 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-201-2/+6
* Visual studio's ability to translate tabs to four spaces as default frustrate...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7047 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-191-12/+12
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-26/+132
* Add a progress meter for loading of core commands, fix broken implementation ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7038 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-161-1/+1
* Someone forgot the ELIST token (his nick begins with B)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7024 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-141-1/+1
* Move IsIdent() into helperfuncs.cpp along with IsNick/IsChannel.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7016 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-131-20/+0
* Refactor port binding, warning not yet tested fully•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6982 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-111-34/+23
* When running in nofork, keep the tty open (we were closing it, which meant th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6845 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-261-3/+11
* Make error reporting work properly, it seemed to loose errors.•••First change: Add a culling list of inspsockets waiting to be closed, so the close() is less likely to be called before the buffer is entirely empty. This seems to work well on my LAN. Second change: Add a SendError() method, rather than WriteLine("ERROR : ..."). This can be used to effect by also echoing out "Sent ERROR to %s: ..." onto the +l snomask meaning at least one end will always see the error even if the ERROR command is lost due to latency or design of the transport (e.g. ssl which may be writing during a read event etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6844 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-261-1/+8
* Fix for "hanging" when controlling terminal is not a tty (nofork check and is...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6818 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-201-5/+8
* Fix the restart stuff that bricker noticed while testing an feature request•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6804 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-161-3/+6
* Whoooooooooooooooooooops. Forgot to initialize a varaible, so wether insp sta...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6801 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-1/+1
* Add --version parameter to the binary bin/inspircd, i remember someone reques...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6800 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-3/+12
* Report the correct MAXMODES value•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-1/+1