danieldg
5d67a5fff1
Remove unneeded ProtocolInterface::Introduce
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11600 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:40 +00:00
danieldg
a02ed18a1a
Remove unused I_ProtoSendMetaData, I_ProtoSendMode fields of Implementation
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11599 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:32 +00:00
danieldg
e27f338073
Replace FOREACH_RESULT_MAP with a more readable and flexible do_each_hook/while_each_hook macro pair
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11598 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:24 +00:00
danieldg
5abd3b1cc5
Add "created" parameter to OnUserJoin, to avoid explicit checks for +P
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11597 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:15 +00:00
danieldg
fbe8169b82
Use CheckTimeStamp to merge modes on netburst
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11596 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:06 +00:00
danieldg
deb6822302
Cast rework: use C++ style static_cast<> instead of C-style casts
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11595 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:43:56 +00:00
danieldg
e35dd5cbb8
Rework mode parser into slightly smaller chunks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11594 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:43:41 +00:00
danieldg
219993bc90
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
2009-09-02 00:43:25 +00:00
danieldg
2630a87bb1
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
2009-09-02 00:43:04 +00:00
danieldg
de87dec941
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
2009-09-02 00:42:57 +00:00
danieldg
1b213e678b
Verify modules providing routed commands are VF_COMMON
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11590 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:42:50 +00:00
danieldg
da1010f407
Read multiple GnuTLS records in one RawSocketRead operation
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11589 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:42:42 +00:00
brain
9a09770a54
Put back missing semicolon
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11588 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:27:22 +00:00
danieldg
eb910456e2
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
2009-09-01 22:44:44 +00:00
danieldg
db6308f630
Clarify FreeBSD 4 message a bit more
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11586 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 22:44:37 +00:00
danieldg
16b8e22615
Use a bool return type for boolean return
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11585 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:08:30 +00:00
danieldg
f3515fa3a4
Make the FreeBSD 4 message useful
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11584 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:08:23 +00:00
danieldg
b04195317a
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
2009-09-01 15:08:16 +00:00
danieldg
248a14477c
Remove unneeded #ifdef IPV6 lines
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11582 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:08:09 +00:00
danieldg
5ad936b13f
Remove unneeded paramaters from OnAcceptReady
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11581 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:08:00 +00:00
danieldg
b47228902d
Move IP<->sockaddr conversions into irc::sockets:: namespace
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11580 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:07:52 +00:00
danieldg
77d5c9f765
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
2009-09-01 15:07:45 +00:00
danieldg
7a672d42e4
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
2009-09-01 15:07:36 +00:00
danieldg
6278262baa
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
2009-09-01 15:07:27 +00:00
danieldg
b796d975cf
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
2009-09-01 15:07:19 +00:00
danieldg
5f4095e595
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
2009-09-01 15:07:11 +00:00
danieldg
a64a4665e0
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
2009-09-01 15:07:02 +00:00
danieldg
1819d0109b
Enable IPv6 support by default
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11573 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:55 +00:00
danieldg
819147178d
Strip SUPPORT_IP6LINKS #define
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11572 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:47 +00:00
danieldg
5c93325b53
Use CXXFLAGS rather than nonstandard NICEFLAGS/FLAGS/etc
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11571 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:39 +00:00
danieldg
7dc0bccadd
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
2009-09-01 15:06:32 +00:00
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