]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
14 years agoReplace std::deque with std::vector in spanningtree and related modules
danieldg [Wed, 2 Sep 2009 00:43:25 +0000 (00:43 +0000)]
Replace std::deque with std::vector in spanningtree and related modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoChange allocation of commands/modes
danieldg [Wed, 2 Sep 2009 00:43:04 +0000 (00:43 +0000)]
Change allocation of commands/modes

API change: Commands passed to AddCommand are no longer deleted automatically

This removes lots of needless heap allocation and fixes a few memory leaks by
allocating commands and modes as part of the Module rather than creating them
separately in the module constructor.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11592 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoClean up challenge generation to not include character 0x7F, and fix some other thing...
danieldg [Wed, 2 Sep 2009 00:42:57 +0000 (00:42 +0000)]
Clean up challenge generation to not include character 0x7F, and fix some other things in the file

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11591 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoVerify modules providing routed commands are VF_COMMON
danieldg [Wed, 2 Sep 2009 00:42:50 +0000 (00:42 +0000)]
Verify modules providing routed commands are VF_COMMON

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11590 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRead multiple GnuTLS records in one RawSocketRead operation
danieldg [Wed, 2 Sep 2009 00:42:42 +0000 (00:42 +0000)]
Read multiple GnuTLS records in one RawSocketRead operation

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11589 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoPut back missing semicolon
brain [Wed, 2 Sep 2009 00:27:22 +0000 (00:27 +0000)]
Put back missing semicolon

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11588 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoMove file inclusion logic into calcdep, and complain about ambiguous #include directi...
danieldg [Tue, 1 Sep 2009 22:44:44 +0000 (22:44 +0000)]
Move file inclusion logic into calcdep, and complain about ambiguous #include directives there

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11587 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoClarify FreeBSD 4 message a bit more
danieldg [Tue, 1 Sep 2009 22:44:37 +0000 (22:44 +0000)]
Clarify FreeBSD 4 message a bit more

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11586 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoUse a bool return type for boolean return
danieldg [Tue, 1 Sep 2009 15:08:30 +0000 (15:08 +0000)]
Use a bool return type for boolean return

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11585 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoMake the FreeBSD 4 message useful
danieldg [Tue, 1 Sep 2009 15:08:23 +0000 (15:08 +0000)]
Make the FreeBSD 4 message useful

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11584 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoUse sa_size() rather than sizeof() when passing input parameters to a syscall
danieldg [Tue, 1 Sep 2009 15:08:16 +0000 (15:08 +0000)]
Use sa_size() rather than sizeof() when passing input parameters to a syscall

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11583 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRemove unneeded #ifdef IPV6 lines
danieldg [Tue, 1 Sep 2009 15:08:09 +0000 (15:08 +0000)]
Remove unneeded #ifdef IPV6 lines

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11582 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRemove unneeded paramaters from OnAcceptReady
danieldg [Tue, 1 Sep 2009 15:08:00 +0000 (15:08 +0000)]
Remove unneeded paramaters from OnAcceptReady

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11581 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoMove IP<->sockaddr conversions into irc::sockets:: namespace
danieldg [Tue, 1 Sep 2009 15:07:52 +0000 (15:07 +0000)]
Move IP<->sockaddr conversions into irc::sockets:: namespace

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11580 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRemove now-unused insp_sockaddr and insp_inaddr types
danieldg [Tue, 1 Sep 2009 15:07:45 +0000 (15:07 +0000)]
Remove now-unused insp_sockaddr and insp_inaddr types

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11579 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRemove more text<->binary IP conversions, making code more IPv4/IPv6 independent
danieldg [Tue, 1 Sep 2009 15:07:36 +0000 (15:07 +0000)]
Remove more text<->binary IP conversions, making code more IPv4/IPv6 independent

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11578 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRename User::GetPort to GetServerPort to clarify its purpose
danieldg [Tue, 1 Sep 2009 15:07:27 +0000 (15:07 +0000)]
Rename User::GetPort to GetServerPort to clarify its purpose

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11577 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoReturn server port in GetPort rather than the arbitrary client port
danieldg [Tue, 1 Sep 2009 15:07:19 +0000 (15:07 +0000)]
Return server port in GetPort rather than the arbitrary client port

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11576 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoChange IP address storage in User to use more IPv4/IPv6 common code
danieldg [Tue, 1 Sep 2009 15:07:11 +0000 (15:07 +0000)]
Change IP address storage in User to use more IPv4/IPv6 common code

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11575 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRemove needless sockaddr[2] allocations, replace with irc::sockets::sockaddrs union
danieldg [Tue, 1 Sep 2009 15:07:02 +0000 (15:07 +0000)]
Remove needless sockaddr[2] allocations, replace with irc::sockets::sockaddrs union

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11574 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoEnable IPv6 support by default
danieldg [Tue, 1 Sep 2009 15:06:55 +0000 (15:06 +0000)]
Enable IPv6 support by default

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11573 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoStrip SUPPORT_IP6LINKS #define
danieldg [Tue, 1 Sep 2009 15:06:47 +0000 (15:06 +0000)]
Strip SUPPORT_IP6LINKS #define

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11572 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoUse CXXFLAGS rather than nonstandard NICEFLAGS/FLAGS/etc
danieldg [Tue, 1 Sep 2009 15:06:39 +0000 (15:06 +0000)]
Use CXXFLAGS rather than nonstandard NICEFLAGS/FLAGS/etc

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11571 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoConsolidate root-level Makefile targets to clarify common specifications
danieldg [Tue, 1 Sep 2009 15:06:32 +0000 (15:06 +0000)]
Consolidate root-level Makefile targets to clarify common specifications

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11570 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoMove bsd-dep.mk/gnu-dep.mk to top-level Makefile
danieldg [Tue, 1 Sep 2009 15:06:25 +0000 (15:06 +0000)]
Move bsd-dep.mk/gnu-dep.mk to top-level Makefile

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11569 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoAdd "make single" target and fix slow depfile generation on "make module"
danieldg [Tue, 1 Sep 2009 15:06:18 +0000 (15:06 +0000)]
Add "make single" target and fix slow depfile generation on "make module"

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11568 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoReplace special treatment of spanningtree module directory with a generic directory...
danieldg [Tue, 1 Sep 2009 15:06:11 +0000 (15:06 +0000)]
Replace special treatment of spanningtree module directory with a generic directory build

This allows "make M=m_spanningtree" to work on a clean build tree
It also allows for other complex modules to be created (i.e. m_services)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11567 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRun a dependency check on modules so missing dependencies are detected during configure
danieldg [Tue, 1 Sep 2009 15:06:04 +0000 (15:06 +0000)]
Run a dependency check on modules so missing dependencies are detected during configure

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11566 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix MAKEPROG configure warning
danieldg [Tue, 1 Sep 2009 15:05:57 +0000 (15:05 +0000)]
Fix MAKEPROG configure warning

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11565 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoMove compiler flag selection from configure to Makefile; add support for Intel C...
danieldg [Tue, 1 Sep 2009 15:05:50 +0000 (15:05 +0000)]
Move compiler flag selection from configure to Makefile; add support for Intel C++ Compiler.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11564 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoClean up unneeded messages, fix BSD make
danieldg [Tue, 1 Sep 2009 15:05:43 +0000 (15:05 +0000)]
Clean up unneeded messages, fix BSD make

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11563 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix "make module" to include dependency generation
danieldg [Tue, 1 Sep 2009 15:05:33 +0000 (15:05 +0000)]
Fix "make module" to include dependency generation

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11562 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoMove VERSION/REVISION to their own header to avoid needless rebuilds on update
danieldg [Tue, 1 Sep 2009 15:05:26 +0000 (15:05 +0000)]
Move VERSION/REVISION to their own header to avoid needless rebuilds on update

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11561 e03df62e-2008-0410-955e-edbf42e46eb7

14 years ago./configure fixes: -modupdate is no longer needed, -update no longer forces a full...
danieldg [Tue, 1 Sep 2009 15:05:18 +0000 (15:05 +0000)]
./configure fixes: -modupdate is no longer needed, -update no longer forces a full rebuild

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11560 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRe-implement dependency generation in perl to increase speed
danieldg [Tue, 1 Sep 2009 15:05:11 +0000 (15:05 +0000)]
Re-implement dependency generation in perl to increase speed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11559 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix install of module .so files
danieldg [Tue, 1 Sep 2009 15:05:03 +0000 (15:05 +0000)]
Fix install of module .so files

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11558 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix build of m_spanningtree and display of dependency regeneration
danieldg [Tue, 1 Sep 2009 15:04:48 +0000 (15:04 +0000)]
Fix build of m_spanningtree and display of dependency regeneration

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoMove dependency tracking from ./configure to Makefile
danieldg [Tue, 1 Sep 2009 15:04:40 +0000 (15:04 +0000)]
Move dependency tracking from ./configure to Makefile

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11556 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoAdd m_delaymsg - channel mode +d <time> prevents users from speaking for <time> secon...
danieldg [Tue, 1 Sep 2009 15:04:32 +0000 (15:04 +0000)]
Add m_delaymsg - channel mode +d <time> prevents users from speaking for <time> seconds after join

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11555 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoShow metadata keys and values in /CHECK output
danieldg [Tue, 1 Sep 2009 15:04:25 +0000 (15:04 +0000)]
Show metadata keys and values in /CHECK output

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11554 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoBump version on the right branch this time.
w00t [Tue, 1 Sep 2009 00:36:05 +0000 (00:36 +0000)]
Bump version on the right branch this time.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11552 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoExclude modules from build on release mode too.
peavey [Mon, 31 Aug 2009 23:47:03 +0000 (23:47 +0000)]
Exclude modules from build on release mode too.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11549 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoBump out of RC
w00t [Sat, 29 Aug 2009 15:06:11 +0000 (15:06 +0000)]
Bump out of RC

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11546 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoStop a potential null pointer dereference introduced by Namegduf's patch, found by...
w00t [Fri, 28 Aug 2009 20:30:25 +0000 (20:30 +0000)]
Stop a potential null pointer dereference introduced by Namegduf's patch, found by Dessa/Kuja for finding this, and to danieldg, Special, Namegduf and psychon for their input.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11545 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix a really minor spelling error in make/configure.pm
psychon [Fri, 28 Aug 2009 20:16:38 +0000 (20:16 +0000)]
Fix a really minor spelling error in make/configure.pm

Thanks to Kuja aka Dessa for reporting this.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11544 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoUpdated helpop files from Namegduf. Also thanks to Taros and Kazuma for their help.
w00t [Fri, 28 Aug 2009 17:09:52 +0000 (17:09 +0000)]
Updated helpop files from Namegduf. Also thanks to Taros and Kazuma for their help.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11543 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoPatch from Namegduf to use OnUserMessage instead of OnUserPreMessage, and correctly...
w00t [Fri, 28 Aug 2009 17:07:21 +0000 (17:07 +0000)]
Patch from Namegduf to use OnUserMessage instead of OnUserPreMessage, and correctly prioritize events to fix channel aliases arriving after the effects of the alias.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11542 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoDon't subtract one from MAXCHANNELS, it's a number, not a string length.
w00t [Fri, 28 Aug 2009 08:56:41 +0000 (08:56 +0000)]
Don't subtract one from MAXCHANNELS, it's a number, not a string length.
Reported by Sm0ke0ut.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11541 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agooverride: pass handling back to the core to send numerics if join restrictions apply...
w00t [Thu, 27 Aug 2009 10:38:26 +0000 (10:38 +0000)]
override: pass handling back to the core to send numerics if join restrictions apply. Thanks to webczat for (eventually) being able to communicate what the problem was.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11540 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoOf course, in adding yet more header madness to this for VS2010, I forgot to keep...
w00t [Wed, 26 Aug 2009 17:57:44 +0000 (17:57 +0000)]
Of course, in adding yet more header madness to this for VS2010, I forgot to keep the old hash_map include for windows.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11539 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoSmall example config changes; patch by jdhore
special [Mon, 24 Aug 2009 02:41:34 +0000 (02:41 +0000)]
Small example config changes; patch by jdhore

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11538 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoConfig patch from jdhore: identify modules in example config that are not suitable...
danieldg [Fri, 21 Aug 2009 19:57:57 +0000 (19:57 +0000)]
Config patch from jdhore: identify modules in example config that are not suitable for most networks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11537 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoAdd contents of LDFLAGS in addition to CXXFLAGS
danieldg [Fri, 21 Aug 2009 16:33:04 +0000 (16:33 +0000)]
Add contents of LDFLAGS in addition to CXXFLAGS

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11536 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoAllow relative and absolute paths to work (without magic) with pidfile.
w00t [Thu, 20 Aug 2009 15:55:32 +0000 (15:55 +0000)]
Allow relative and absolute paths to work (without magic) with pidfile.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11535 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix access-after-free on rehash
danieldg [Thu, 20 Aug 2009 13:40:35 +0000 (13:40 +0000)]
Fix access-after-free on rehash

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11534 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix a regression from fcb51634669e6ed588e42f2072c6f910e267126f ("fix uid collision...
w00t [Wed, 19 Aug 2009 15:09:27 +0000 (15:09 +0000)]
Fix a regression from fcb51634669e6ed588e42f2072c6f910e267126f ("fix uid collision on spanningtree reload") caused by access-after-free.
Thanks to transnet for the report.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11533 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoUpdate .gitignore to ignore .modulemanager (and cleanup)
danieldg [Mon, 17 Aug 2009 22:27:25 +0000 (22:27 +0000)]
Update .gitignore to ignore .modulemanager (and cleanup)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11532 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoAllow forward linking compatability by accepting higher protocol version numbers...
danieldg [Mon, 17 Aug 2009 15:09:46 +0000 (15:09 +0000)]
Allow forward linking compatability by accepting higher protocol version numbers (other server should fail the link if it becomes link-incompatable)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11531 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agocgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never worked...
w00t [Sun, 16 Aug 2009 01:17:09 +0000 (01:17 +0000)]
cgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never worked except on module load. _ARGH_. Thanks to Jeremy for his help in tracking this down.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11528 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoPartial revert of 1fb8a3f1b120db764375911be9ad8019a807a8ad by dKingston, (adding...
w00t [Sat, 15 Aug 2009 13:52:53 +0000 (13:52 +0000)]
Partial revert of 1fb8a3f1b120db764375911be9ad8019a807a8ad by dKingston, (adding RPL_NOTOPICSET).
This is *not* defined as a return for JOIN message, and it's a bit annoying too. Keep the define and use it in TOPIC instead of '331' though.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11527 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agovs2010 projects too.
w00t [Sat, 15 Aug 2009 11:45:07 +0000 (11:45 +0000)]
vs2010 projects too.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11526 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agowin: Add vs2010 SLN.
w00t [Sat, 15 Aug 2009 11:38:14 +0000 (11:38 +0000)]
win: Add vs2010 SLN.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11525 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agowin: Last part of support required for VS2010:
w00t [Sat, 15 Aug 2009 11:32:49 +0000 (11:32 +0000)]
win: Last part of support required for VS2010:
NEEDS COMPILE TESTING ON: gcc3 (if possible), gcc4, vs2008.
 - Check for vs2010 in hash_map.h
   - use unordered_map if it exists
 - change all map creations to:
    #if defined(WINDOWS) && !defined(HASHMAP_DEPRECATED)
       // old windows crap
    #else
       #if HASHMAP_DEPRECATED
           // tr1/gcc crap
       #endif
    #endif

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11524 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoBump version to rc5.
w00t [Sat, 15 Aug 2009 11:27:13 +0000 (11:27 +0000)]
Bump version to rc5.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11522 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agowin: vs2010 requires this to link in process memory retrieval stuff
w00t [Sat, 15 Aug 2009 05:16:26 +0000 (05:16 +0000)]
win: vs2010 requires this to link in process memory retrieval stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11521 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agowin: don't define error constants on VS2009, they're defined for us (finally)
w00t [Sat, 15 Aug 2009 05:02:29 +0000 (05:02 +0000)]
win: don't define error constants on VS2009, they're defined for us (finally)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11520 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix a compile error for IPv6 windows builds, discovered by Flo
special [Fri, 14 Aug 2009 22:02:01 +0000 (22:02 +0000)]
Fix a compile error for IPv6 windows builds, discovered by Flo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11519 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoMake ident handling consistant: use ChangeIdent for all ident manipulation. This...
w00t [Fri, 14 Aug 2009 20:43:46 +0000 (20:43 +0000)]
Make ident handling consistant: use ChangeIdent for all ident manipulation. This fixes cache bugs properly.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11518 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoPrint line on empty prefix errors to track down a bug
w00t [Fri, 14 Aug 2009 20:10:36 +0000 (20:10 +0000)]
Print line on empty prefix errors to track down a bug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11517 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoSet log to null on close and check for null loghandle on FileWriter::WriteLogLine.
w00t [Fri, 14 Aug 2009 20:06:42 +0000 (20:06 +0000)]
Set log to null on close and check for null loghandle on FileWriter::WriteLogLine.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11516 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRun modulemanager upgrade to check for updates to third party (and extras) modules...
w00t [Fri, 14 Aug 2009 19:51:09 +0000 (19:51 +0000)]
Run modulemanager upgrade to check for updates to third party (and extras) modules on reconfigure.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11515 e03df62e-2008-0410-955e-edbf42e46eb7

14 years ago(Hopefully) fix a issue with m_ident's result not being used for display.
psychon [Fri, 14 Aug 2009 19:50:53 +0000 (19:50 +0000)]
(Hopefully) fix a issue with m_ident's result not being used for display.

The user class has a couple of caches for the user's hostmask. If one of those
caches is initialized before m_ident set the user's new ident it would stick
around until the cache was invalidated the next time. This patch fixes this by
using the proper API for setting a user's ident which also invalidates any
caches which might still have the old ident.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11514 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRegenerate modules makefile if installing or uninstalling extras modules.
w00t [Fri, 14 Aug 2009 19:45:30 +0000 (19:45 +0000)]
Regenerate modules makefile if installing or uninstalling extras modules.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11513 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRemove some very verbose debug that isn't really needed anymore
w00t [Fri, 14 Aug 2009 15:08:58 +0000 (15:08 +0000)]
Remove some very verbose debug that isn't really needed anymore

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11512 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoApply fake lag on garbage input to discourage crap
w00t [Fri, 14 Aug 2009 15:08:15 +0000 (15:08 +0000)]
Apply fake lag on garbage input to discourage crap

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11511 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoMerge patch from dKingston for missing TOPIC numeric, also replace the literal 331...
brain [Thu, 13 Aug 2009 22:44:07 +0000 (22:44 +0000)]
Merge patch from dKingston for missing TOPIC numeric, also replace the literal 331 with an RPL_* enum value, thanks!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11510 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoPoint out that the dns server must be an ip, not a host
brain [Wed, 12 Aug 2009 23:27:49 +0000 (23:27 +0000)]
Point out that the dns server must be an ip, not a host

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11509 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix printf format warning
danieldg [Wed, 12 Aug 2009 21:46:21 +0000 (21:46 +0000)]
Fix printf format warning

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11508 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoComment out <dns:server> by default, and explain why.
w00t [Wed, 12 Aug 2009 20:34:27 +0000 (20:34 +0000)]
Comment out <dns:server> by default, and explain why.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11507 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoChange to using read/write not send/recv on the ThreadSignalSocket pipe
danieldg [Wed, 12 Aug 2009 19:56:43 +0000 (19:56 +0000)]
Change to using read/write not send/recv on the ThreadSignalSocket pipe

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11506 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoMake rehash work more than once per run, and fix some uninitialized values in connect...
danieldg [Wed, 12 Aug 2009 19:38:48 +0000 (19:38 +0000)]
Make rehash work more than once per run, and fix some uninitialized values in connect classes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11505 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFixes for config reader
danieldg [Wed, 12 Aug 2009 18:03:52 +0000 (18:03 +0000)]
Fixes for config reader

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoExtra bracket on regex go away
w00t [Tue, 11 Aug 2009 21:01:53 +0000 (21:01 +0000)]
Extra bracket on regex go away

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11503 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix module prioritization when a module asks to be after spanningtree, which asks...
danieldg [Tue, 11 Aug 2009 20:41:04 +0000 (20:41 +0000)]
Fix module prioritization when a module asks to be after spanningtree, which asks to be last

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11502 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix double-free in ~SocketThread
danieldg [Tue, 11 Aug 2009 20:40:57 +0000 (20:40 +0000)]
Fix double-free in ~SocketThread

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11501 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix thread join not working for subclasses of Thread because of C++ destructor ordering
danieldg [Mon, 10 Aug 2009 19:55:07 +0000 (19:55 +0000)]
Fix thread join not working for subclasses of Thread because of C++ destructor ordering

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11500 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoReport the correct sizes as set in the config
brain [Thu, 6 Aug 2009 17:29:10 +0000 (17:29 +0000)]
Report the correct sizes as set in the config

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11499 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFirst space stream seperator test.
w00t [Thu, 6 Aug 2009 15:09:22 +0000 (15:09 +0000)]
First space stream seperator test.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11498 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoAdd commasepstream test case.
w00t [Thu, 6 Aug 2009 14:45:05 +0000 (14:45 +0000)]
Add commasepstream test case.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11497 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoDon't catch and rethrow, as with the mutexing here removed it's no longer required...
w00t [Wed, 5 Aug 2009 12:31:25 +0000 (12:31 +0000)]
Don't catch and rethrow, as with the mutexing here removed it's no longer required. Thanks Special for noticing.
This rethrow was also not best-practice, 'throw;' is the recommended C++ way to rethrow an exception.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11496 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoHow about we abort if there were errors, not if there weren't any? Great idea...
danieldg [Wed, 5 Aug 2009 00:31:29 +0000 (00:31 +0000)]
How about we abort if there were errors, not if there weren't any? Great idea...

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11494 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix config errors being detected even if there were none
danieldg [Wed, 5 Aug 2009 00:16:28 +0000 (00:16 +0000)]
Fix config errors being detected even if there were none

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11493 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoWrite .modulemanager after everything has finished, not in a loop.
w00t [Tue, 4 Aug 2009 22:10:21 +0000 (22:10 +0000)]
Write .modulemanager after everything has finished, not in a loop.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11492 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoDependancies need string version support too.
w00t [Tue, 4 Aug 2009 22:10:18 +0000 (22:10 +0000)]
Dependancies need string version support too.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11491 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoProvide some kind of output so it doesn't look like it's doing nothing
w00t [Tue, 4 Aug 2009 21:49:39 +0000 (21:49 +0000)]
Provide some kind of output so it doesn't look like it's doing nothing

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11490 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoTrack installed module versions, so we can do upgrades properly.
w00t [Tue, 4 Aug 2009 21:49:35 +0000 (21:49 +0000)]
Track installed module versions, so we can do upgrades properly.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11489 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoAllow for string comparison of git IDs.
w00t [Tue, 4 Aug 2009 19:55:26 +0000 (19:55 +0000)]
Allow for string comparison of git IDs.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11488 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoUse string versions in "module" line instead of numerical versions.
w00t [Tue, 4 Aug 2009 19:55:23 +0000 (19:55 +0000)]
Use string versions in "module" line instead of numerical versions.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11487 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoExit if there were errors reading configuration on startup.
w00t [Tue, 4 Aug 2009 16:09:30 +0000 (16:09 +0000)]
Exit if there were errors reading configuration on startup.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11486 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoApparantly modulemanager can't handle empty lines.
w00t [Tue, 4 Aug 2009 09:46:42 +0000 (09:46 +0000)]
Apparantly modulemanager can't handle empty lines.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11485 e03df62e-2008-0410-955e-edbf42e46eb7