summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Give error about no ports bound after telling what the problem(s) wereGravatar w00t2008-08-121-7/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10143 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r10030Gravatar w00t2008-07-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10031 e03df62e-2008-0410-955e-edbf42e46eb7
* Change VERSION output similar to that in 1.1, to make it better for indexingGravatar brain2008-06-081-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9871 e03df62e-2008-0410-955e-edbf42e46eb7
* Ricer up AllModulesReportReady further. If one fails, all fail, so returning ↵Gravatar peavey2008-03-191-6/+3
| | | | | | false on first fail will save subsequent reduntant calls. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9139 e03df62e-2008-0410-955e-edbf42e46eb7
* Final tweak to AllModulesReportReady, should be there now.Gravatar peavey2008-03-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9135 e03df62e-2008-0410-955e-edbf42e46eb7
* Same hereGravatar brain2008-03-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9132 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug here too where if two modules claim OnCheckReady, the core permits ↵Gravatar brain2008-03-191-4/+6
| | | | | | registration when the first of the set is ready, not when all are ready git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9129 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8695 e03df62e-2008-0410-955e-edbf42e46eb7
* Second (not mergable) part of #441 fixGravatar brain2007-11-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8481 e03df62e-2008-0410-955e-edbf42e46eb7
* the minidump stuff is only available in 5.1 dbghelp.dll which is xp and ↵Gravatar brain2007-10-261-18/+1
| | | | | | above. we must remove this to retain 2k compatibility git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8370 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge in logging tweak from trunkGravatar brain2007-10-141-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8180 e03df62e-2008-0410-955e-edbf42e46eb7
* * Backported crash dumping system for Win32 - see 1.2 log for a full descriptionGravatar burlex2007-09-041-1/+18
| | | | | | * Fixed new m_ident compile under Win32 git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8016 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a compilation bug that managed to sneak past meGravatar brain2007-08-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7806 e03df62e-2008-0410-955e-edbf42e46eb7
* (Part manual merge) backport:Gravatar brain2007-08-231-14/+27
| | | | | | | | Raft of fixes so that inspircd can call Cleanup() and Exit() in less 'stable' circumstances, e.g. when half initialized, and it wont segfault. Also fix OpenLog to not always exit on error, but to return a bool instead, which is much more friendly on rehash (you don't want /REHASH dieing your server if you cant write the log!) git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7805 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge in error check from trunk, bail if we can't chdir to our own dir on ↵Gravatar brain2007-07-261-1/+5
| | | | | | startup git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7586 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge r7528-7529 from trunkGravatar peavey2007-07-231-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7530 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+1307
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-1307/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert a changed file I didn't want to commit ..Gravatar w00t2007-07-031-89/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7422 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix off-by-one reported by Darom in bug #339Gravatar w00t2007-07-031-0/+89
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7421 e03df62e-2008-0410-955e-edbf42e46eb7
* No no no, the fix to free module factories in loadmodule on error causes a ↵Gravatar brain2007-06-231-8/+0
| | | | | | bus error :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7403 e03df62e-2008-0410-955e-edbf42e46eb7
* Make a comment make a bit more general sense, and indent a nested define.Gravatar w00t2007-06-201-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7394 e03df62e-2008-0410-955e-edbf42e46eb7
* Helps if it compilesGravatar brain2007-06-181-3/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7389 e03df62e-2008-0410-955e-edbf42e46eb7
* This should be safe. Someone test module loading and unloading during use ↵Gravatar brain2007-06-181-1/+6
| | | | | | | | | and make sure stuff doesnt fall over. 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
* fix possible minor memleak in LoadModule. Thx IronLegend.Gravatar peavey2007-06-181-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7387 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup ifdefsGravatar brain2007-06-141-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7308 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, that was silly, the double print thing wont compile for any other OS ↵Gravatar brain2007-06-111-4/+0
| | | | | | but windows! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7279 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix double printing of 'setting log file' and 'setting config file' paths.Gravatar brain2007-06-111-3/+10
| | | | | | | 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
* We need to pass a copy of GetCommandLine() not the actual return pointer.Gravatar brain2007-06-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7277 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweak some tabular declarations to look correct on 8-width tabsGravatar brain2007-06-111-15/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7276 e03df62e-2008-0410-955e-edbf42e46eb7
* Woo, fixed the bug, win2k doesnt like the AUTHZ_LEVEL stuff :)Gravatar brain2007-06-111-23/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7275 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed commandline stuff for CreateProcess, but it looks like win2k doesnt ↵Gravatar brain2007-06-111-3/+8
| | | | | | like that AUTHZ const. Commented it out for now till burlex comes up with a solution git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7274 e03df62e-2008-0410-955e-edbf42e46eb7
* - Added more debug output to windows fork in order to help debug problems ↵Gravatar burlex2007-06-111-0/+16
| | | | | | encountered. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7270 e03df62e-2008-0410-955e-edbf42e46eb7
* - Removed un-needed event create at windows fork.Gravatar burlex2007-06-091-6/+5
| | | | | | * 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
* Fixed issue preventing startup without --nofork under win32Gravatar frostycoolslug2007-06-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7265 e03df62e-2008-0410-955e-edbf42e46eb7
* Change some = "" to clear() and some == "" to .empty()Gravatar brain2007-06-091-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7263 e03df62e-2008-0410-955e-edbf42e46eb7
* Note to devs: We should be using std::string::clear() to empty a ↵Gravatar brain2007-06-091-1/+1
| | | | | | | | | std::string, NOT somestr = "". somestr = "" involves a pointless memory allocation and 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
* - Enabled minimal rebuild on all VS project files, this will reduce build ↵Gravatar burlex2007-06-081-0/+1
| | | | | | time on small changes, also removed the -Auto configurations as they are no longer used. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7261 e03df62e-2008-0410-955e-edbf42e46eb7
* - Eek, gotta make it look the same as *nix! Windows will now print the ↵Gravatar burlex2007-06-081-0/+1
| | | | | | process id of the new "forked" process. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7259 e03df62e-2008-0410-955e-edbf42e46eb7
* - Whoops.. forgot a return here.Gravatar burlex2007-06-081-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7258 e03df62e-2008-0410-955e-edbf42e46eb7
* * Changed forking code, now the parent will attempt to retrieve the exit ↵Gravatar burlex2007-06-081-11/+11
| | | | | | | | code of the created process if startup fails for some reason. . 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
* + Added an *almost* unix-like fork system for windows. Insp will create a ↵Gravatar burlex2007-06-081-19/+95
| | | | | | | | secondary process now if nofork isn't specified and pipe its console output back to the originator's. If there is an error during startup, it will show too. * Fixed m_spanningtree project (cmd_rsquit was missing) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7255 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Burlex to developersGravatar w00t2007-06-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7254 e03df62e-2008-0410-955e-edbf42e46eb7
* Refactored InspIRCd::Duration(). The leetcode now lives!Gravatar brain2007-06-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7237 e03df62e-2008-0410-955e-edbf42e46eb7
* Probably fix 2nd compile issue on RH7 and add some checks which *should* ↵Gravatar om2007-06-031-1/+10
| | | | | | ensure none of this can break anything else git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7223 e03df62e-2008-0410-955e-edbf42e46eb7
* Back out the tweaks i made here, keep only the clear screen stuffGravatar brain2007-06-021-9/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7218 e03df62e-2008-0410-955e-edbf42e46eb7
* Change the behaviour of insp in windows to keep its window open, with some ↵Gravatar brain2007-06-021-21/+15
| | | | | | | | | status text in the title bar. It also clears the screen now on startup, see the wrapper for what a nasty amount of code it is to do such a simple thing to a windows console :( 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
* Add console mode patches from burlex, thanksGravatar brain2007-06-021-28/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7216 e03df62e-2008-0410-955e-edbf42e46eb7
* And make it compile.Gravatar brain2007-06-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7214 e03df62e-2008-0410-955e-edbf42e46eb7
* Chdir to bin dir on starting, allows relative paths to the bin dir to always ↵Gravatar brain2007-06-021-0/+2
| | | | | | work even when we're not started from our dir git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7213 e03df62e-2008-0410-955e-edbf42e46eb7