danieldg
e07a1a5ffa
Add VF_OPTCOMMON for optionally common modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11619 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:47:14 +00:00
danieldg
54ebc7b84d
Misc removal of pointless Extend strings
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11618 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:47:05 +00:00
danieldg
09b802d5e9
ThreadWindows: Remove ThreadSignalListener and connect the socket right away
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11617 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:58 +00:00
danieldg
6ba640bd53
Valgrind cleanup: fix segfault on exit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11616 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:51 +00:00
danieldg
68e47f5ec2
Valgrind cleanup: finish destructor creation
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11615 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:44 +00:00
danieldg
ae6acab1ba
Valgrind cleanup: deallocate RFC modes, clientlist, and uuidlist
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11614 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:36 +00:00
danieldg
1ea2fca767
Valgrind cleanup: Add RemoveRFCCommands() to dlclose() and delete the core commands
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11613 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:29 +00:00
danieldg
e581679d1f
Fix valgrind uninitialised memory error
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11612 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:21 +00:00
danieldg
b31f343eac
Remove unneeded Extensible inheritance and remove "age" field from classbase
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11611 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:11 +00:00
danieldg
a97624bd4b
Remove misleading byte counts from stats z
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11610 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:03 +00:00
danieldg
f63fee17a9
Include untranslated user/channel metadata in CHECK output
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11609 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:55 +00:00
danieldg
7c340cba11
Remove useless vector copy
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11608 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:49 +00:00
danieldg
f25c4b7a22
MetaData rework
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11607 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:37 +00:00
danieldg
6e85701ecb
Remove a few unneeded string copies in the PRIVMSG path
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11606 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:29 +00:00
danieldg
8c149db461
Strong typing for stacked module results
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11605 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:22 +00:00
danieldg
cfa482e186
Add User::DoHostCycle
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11604 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:16 +00:00
danieldg
af6e4d13ee
Update NICKLOCK to route using unicast
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11603 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:08 +00:00
danieldg
b5e2200087
Allow commands to optionally route themselves using ENCAP
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11602 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:59 +00:00
danieldg
8cebe2878f
Include explicit routing information in Command, will replace CMD_LOCALONLY return value
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11601 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:50 +00:00
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