Adam
cc64903179
Rewrote the hashing systems to properly handle the new Anope::strings which we have everywhere.
2010-07-29 18:38:56 -04:00
Naram Qashat
04200cc838
Made all of IRCDProto use const pointers, with the exception of SendVhostDel because of the Unreal protocol module, it makes me sad.
2010-07-29 08:12:54 -04:00
Adam
a2573a2c30
Removed some assertions, replaced with throwing CoreExceptions
2010-07-27 22:12:20 -04:00
Adam
4b870cc5f9
Added debug_cast which uses dynamic_cast on debug builds, and static_cast on release builds
2010-07-27 21:31:13 -04:00
Naram Qashat
57bb759305
Trying to make things a little more const-safe, a work in progress but this is a bit better.
2010-07-26 23:32:03 -04:00
Adam
707268f30b
Some windows fixes caused by the last commit
2010-07-25 23:03:06 -04:00
Naram Qashat
ae38212c1c
Epic commit to replace most of the strings in Anope with a single Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
2010-07-25 21:58:20 -04:00
Adam
7e20659522
No need to allocate the numberlist callback classes with new
2010-07-09 00:20:00 -04:00
Adam
1cf4ebb231
Added an epoll socket engine
2010-07-08 22:19:13 -04:00
Naram Qashat
85b07a94d7
Fix version system so it doesn't cause the entire build tree to get rebuilt just because version.h gets regenerated, thanks to Adam for initial patch.
2010-06-28 01:28:51 -04:00
Adam
57caa0b53f
Made Anope track its own clients internally as if they were real users
2010-06-27 02:41:48 -04:00
Adam
d49aee6cf8
Made the flags class take an optional size arg
2010-06-26 22:50:02 -04:00
Adam
03fbc7d281
Changed the versioning system to use git
2010-06-25 20:00:21 -04:00
DukePyrolator
959a1a69a5
moved FindMessage() into the Anope class
2010-06-22 22:06:23 +02:00
Adam
0d2d7e9968
Fixed Windows build
2010-06-20 20:05:23 -04:00
Naram Qashat
381c9c8870
The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.
2010-06-20 18:42:58 -04:00
Adam
e6447fa2c4
Added in a subcommand system and switched ns_set and ns_saset to use it
2010-06-18 21:04:09 -04:00
Adam
f0a44ba894
Made NumberList take an arg to determin if it should pass numbers in descending order, fixes listing specific ranges being returned in descending order
2010-06-18 21:04:08 -04:00
Adam
2fba686904
Burned slist, rewrote operservs XLine code
2010-06-18 21:04:05 -04:00
Adam
cab6fcc82d
Added a founder access level used to determin who is a channel founder. This is completely independant of the owner levels
2010-06-18 21:03:43 -04:00
Adam
17ab410400
Removed process_numlist and having to mark everything as "in use" and constantly checking it. Replaced with a better system.
2010-06-18 21:03:41 -04:00
Adam
2a22d9c2fd
Fixed cmake build, removed version_flags it is no longer need, removed old unneeded defs.h and split up pseudo.h
2010-06-18 21:02:12 -04:00
Adam
f049124905
Rewrote the hashing system to use std::tr1::unordered_map
2010-06-18 21:01:53 -04:00
Adam
e6263dba84
Allow attaching metadata to nickrequests and storing it in the databases and fixed windows build
2010-06-18 21:01:17 -04:00
Adam
4e1286ca10
Rewrote the mail system to use threading
2010-06-18 21:01:09 -04:00
Adam
e78a055c2b
Removed old config.h and moved configreader.h to config.h
2010-06-18 21:00:02 -04:00
Adam
5d437d9ab5
Renamed the init_module function to AnopeInit - Some systems have an init_module function outside of Anope which causes a crash if you try to load a non-Anope module
2010-06-18 20:58:55 -04:00
Adam
031bc4a8b0
Merged branch threadingengine with master - Added a threading engine
2010-06-18 20:58:54 -04:00
Adam
c1d161dec4
Rewrote all of the server handling code
2010-06-18 20:58:52 -04:00
cyberbotx
b766b3a597
Minor edits to fix compile errors/warnings with clang and a small compile warning under Windows (gotta work on the other 450+ Windows warnings sometime).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3006 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-16 23:50:33 +00:00
Adam-
9abdb4e2e9
Added inspircd2.0 protocol module, moved usermode +r unsetting on nick change to the protocol modules to fix inspircd1.2s weird usermode +r behavior
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2997 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03 19:01:28 +00:00
Adam-
6d87e0eb72
Use pongs to determine when servers are done syncing in Unreal, fixes a problem with Unreals endburst system where we have clients introduced to us from a "synced" server when they really arent
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2995 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03 05:15:44 +00:00
Adam-
1c89004245
Removed ircd->b_delay_auth, have User::CheckAuthenticationToken validate users. Fixes us telling people to identify after netmerge then silently identifying them once we process svid.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2994 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03 05:15:39 +00:00
Adam-
d5f0360175
Rewrote the nick colliding/releaseing/canceling system, fixes many many bugs on IRCds without svsnick and/or svshold
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2975 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-22 07:40:22 +00:00
Adam-
e84db77a2c
Correctly identify a user when they get autoidentified and made db_plain not crash if it gets a founderless channel
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2888 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 20:09:06 +00:00
Adam-
c424dce517
Made db_plain backup its databases
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2882 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-10 22:58:42 +00:00
Adam-
973ecb7058
Rewrote sockets. This adds support for IPv6 and makes Anope capable of reconnecting if it loses connection to the uplink.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2862 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-08 20:23:00 +00:00
Adam-
94822c99c0
Added last used time to akick view
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2846 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 04:41:44 +00:00
Adam-
3ffd917926
Rewrote arg parsing system, changed lots of std::string*s to std::string&, made --config arg, and made Anope print out a few lines of information when starting
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2833 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-24 00:46:53 +00:00
DukePyrolator
3e77eaa218
fixed sending CHGIDENT without parameter
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2825 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20 22:27:11 +00:00
Adam-
51351aac2b
Added in support for OperServ and MemoServ into SQL
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2822 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20 04:59:38 +00:00
Adam-
3f80e1cad0
Added in support for live updating MySQL databases and the ability to execute commands to Anope through MySQL. Currently database support only applies to NickServ, ChanServ and BotServ but will be expanded soon.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2798 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-28 17:33:31 +00:00
Adam-
2eb2cb7650
Changed up a small part of the mode API for preparation for dynamic mode support at runtime
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2789 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-10 23:40:54 +00:00
Adam-
512b5bdaf3
Rewrote & fixed CAPAB support
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2786 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-08 03:09:19 +00:00
Adam-
4099944013
Recieve the max number of modes we can set at once from the IRCd and use it
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2783 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-06 19:27:32 +00:00
DukePyrolator
aa4b3e2563
replaced the alog() command with a new type-safe and stream-based Alog()
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-31 06:15:29 +00:00
Adam-
0ed0fa4af6
Rewrote how Anope stores channel status modes on users.
...
This allows 3rd party modules to add and track their own status mode.
Additionally we now store a users status in both the UserContainer and ChannelContainer.
This also fixes the ModeStacker to not send any mode strings unnecessarially and shuffles some code
around so we don't have to manually remove channels from users lists everywhere.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2775 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-21 06:31:17 +00:00
Adam-
ff13d00eb5
Removed c_userlist and u_chanlist, replaced with std::list
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2764 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-16 06:57:14 +00:00
Adam-
aaf1cefd1c
Added channels.h and moved channel stuff from services.h to it
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2763 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-16 06:56:57 +00:00
Adam-
fadc61f89e
Fixed crash caused by r2732 caused by adding someone to the exception list
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2756 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-14 21:29:39 +00:00