9673 Commits

Author SHA1 Message Date
danieldg
e9c9012636 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
2009-09-01 15:06:25 +00:00
danieldg
9de77615d6 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
2009-09-01 15:06:18 +00:00
danieldg
facb1eb98f 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
2009-09-01 15:06:11 +00:00
danieldg
c835102e64 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
2009-09-01 15:06:04 +00:00
danieldg
65e70af56c Fix MAKEPROG configure warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11565 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:57 +00:00
danieldg
572cdf85ea 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
2009-09-01 15:05:50 +00:00
danieldg
8db3608194 Clean up unneeded messages, fix BSD make
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11563 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:43 +00:00
danieldg
77f2c57c60 Fix "make module" to include dependency generation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11562 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:33 +00:00
danieldg
d1188236f2 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
2009-09-01 15:05:26 +00:00
danieldg
94d5c29f63 ./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
2009-09-01 15:05:18 +00:00
danieldg
944d154bef 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
2009-09-01 15:05:11 +00:00
danieldg
ee0d8addce Fix install of module .so files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11558 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:03 +00:00
danieldg
192fa7d313 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
2009-09-01 15:04:48 +00:00
danieldg
990e04bab5 Move dependency tracking from ./configure to Makefile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11556 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:04:40 +00:00
danieldg
8f8e244f4f 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
2009-09-01 15:04:32 +00:00
danieldg
a86c1730db Show metadata keys and values in /CHECK output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11554 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:04:25 +00:00
w00t
9f24bef18e Bump version on the right branch this time.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11552 e03df62e-2008-0410-955e-edbf42e46eb7
v2.0fork
2009-09-01 00:36:05 +00:00
peavey
1b12ec7b62 Exclude modules from build on release mode too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11549 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-31 23:47:03 +00:00
w00t
f411bce50e Bump out of RC
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11546 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0
2009-08-29 15:06:11 +00:00
w00t
da063380e6 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
2009-08-28 20:30:25 +00:00
psychon
8bedfebc17 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
2009-08-28 20:16:38 +00:00
w00t
14c2b4a761 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
2009-08-28 17:09:52 +00:00
w00t
3875c2751e 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
2009-08-28 17:07:21 +00:00
w00t
c0d293e3fb 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
2009-08-28 08:56:41 +00:00
w00t
2fdbd68121 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
2009-08-27 10:38:26 +00:00
w00t
1c4e1d10d0 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
2009-08-26 17:57:44 +00:00
special
c64333e02a Small example config changes; patch by jdhore
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11538 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-24 02:41:34 +00:00
danieldg
8324ef7db0 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
2009-08-21 19:57:57 +00:00
danieldg
7b08be5752 Add contents of LDFLAGS in addition to CXXFLAGS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11536 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-21 16:33:04 +00:00
w00t
d1937540f4 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
2009-08-20 15:55:32 +00:00
danieldg
d9dcf0459c Fix access-after-free on rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11534 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-20 13:40:35 +00:00
w00t
01dbd2658f 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
2009-08-19 15:09:27 +00:00
danieldg
14ec488aeb Update .gitignore to ignore .modulemanager (and cleanup)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11532 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-17 22:27:25 +00:00
danieldg
36cb60f872 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
2009-08-17 15:09:46 +00:00
w00t
c71801ebc4 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
2009-08-16 01:17:09 +00:00
w00t
6c5dc5e7b5 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
2009-08-15 13:52:53 +00:00
w00t
d9482db7e0 vs2010 projects too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11526 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-15 11:45:07 +00:00
w00t
12bcb51dbd win: Add vs2010 SLN.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11525 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-15 11:38:14 +00:00
w00t
01ce98f274 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
2009-08-15 11:32:49 +00:00
w00t
74a515a72f Bump version to rc5.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11522 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0rc5
2009-08-15 11:27:13 +00:00
w00t
aefbcfd22f 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
2009-08-15 05:16:26 +00:00
w00t
b50bf7a2ce 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
2009-08-15 05:02:29 +00:00
special
fe97bfba2c 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
2009-08-14 22:02:01 +00:00
w00t
0740e2b8e5 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
2009-08-14 20:43:46 +00:00
w00t
ff02ab2e93 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
2009-08-14 20:10:36 +00:00
w00t
5bac24a5b0 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
2009-08-14 20:06:42 +00:00
w00t
26e8190a37 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
2009-08-14 19:51:09 +00:00
psychon
32810ff62b (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
2009-08-14 19:50:53 +00:00
w00t
a9f3a0a0d4 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
2009-08-14 19:45:30 +00:00
w00t
54e04fe36a 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
2009-08-14 15:08:58 +00:00