Adam
a9772cde21
Clean up and reorganize our header files
2012-02-14 15:13:27 -05:00
Adam
4204ece7a8
Updated Copyright to 2012
2012-01-02 21:28:24 -05:00
Adam
1f2399de36
Added a new database format and sqlite support. Also moved db-convert to a module.
2011-09-25 04:19:15 -04:00
Adam
43201ead95
Fixed /os reload doing weird things to service channels, and allow setting modes by clients on burst
2011-09-19 18:35:40 -04:00
Adam
63cb8ca24c
Moved signal/thread/mode checking to use signal pipes
2011-09-10 02:06:31 -04:00
Adam
4fcb371bc8
Track what "level" channel status modes are, which allows us to have chanserv/mode determine if a status mode can be set by users better
2011-09-10 01:52:59 -04:00
Adam
f858164dee
Rewrote how commands are handled within Anope.
...
This allows naming commands and having spaces within command names.
2011-07-14 02:31:12 -04:00
Adam
c8c23158a4
Moved the core pseudo clients out into their own modules
2011-05-16 04:06:17 -04:00
Adam
8eb23e7d48
Added support for extbans
2011-03-07 19:54:51 -05:00
Adam
093b3d258e
Change the mode name code to use Flags names in preparation for extban support
2011-03-06 19:36:52 -05:00
Adam
ee38756982
Fixed a lot of small problems
2011-02-25 21:40:43 -05:00
Adam
e62664138b
Added patricia_tree::iterator
2011-01-28 23:09:25 -05:00
Adam
ab2e34d817
Added options:nomlock
2011-01-19 00:31:18 -05:00
Adam
512d23d60f
Made the Flag class able to convert flags to strings and back
2011-01-08 00:25:11 -05:00
lethality
9efebe5461
update copyrights for 2011
2011-01-05 18:34:38 +00:00
Adam
aed53dbb47
Cleaned up some things, made the protocol modules use some basic inheritance to cut back on their code duplication. More work can be done in the future to remove even more of it.
2010-12-12 19:37:03 -05:00
Adam
7790a7f98c
Allow the patricia tree to store non-pointers
2010-12-12 19:35:30 -05:00
Adam
246f44b988
Added cs_mode, rewrote the old list mode code, and added CIDR support
2010-12-12 19:35:27 -05:00
Adam
a85112172d
Removed and deprecated /cs set mlock, removed /cs clear, removed /os clearmodes, removed /cs akick (un)stick, added /cs clearusers
2010-12-12 19:33:59 -05:00
Adam
c792c7f62d
Switched the system for storing users, channels, and sesions to a patricia
...
tree from STL's unordered_map, which was giving horrible performance.
2010-12-12 19:33:58 -05:00
Adam
4f8dfc2132
Delete users and channels from the modestacker when they are destructed
2010-11-14 17:34:17 -05:00
Adam
cbd0f52eff
Made Base not virtual, prevents us from having to dynamic cast in the mode stacker on release builds
2010-11-04 00:36:53 -04:00
Adam
fb9f41b3e5
Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows.
...
Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext.
Fixed m_mysql and m_ssl to work under Windows, made the Windows Config
program remember the last used options, and fixed Windows release builds.
2010-10-30 19:41:13 -04:00
Adam
8a0cf62d70
Set the botmodes on bots in the log channel(s) when using ircds that have dynamic modes
2010-10-02 15:24:00 -04:00
Adam
86c1dab286
Fixed many bugs and crashes
2010-09-16 21:16:20 -04:00
Adam
e820e1af0d
Properly store our clients internal channel status's and burst them if needed.
...
Also made Flag::HasFlag use test() instead of operator[] to catch errors, and fixed an out of bounds access to a
Flags
bitset causing crashes on some systems.
2010-08-28 20:56:45 -04:00
Adam
c2ddecc2b1
Added a new logging system
2010-08-27 20:56:28 -04:00
Adam
ada65a3baf
Added a classbase for the major classes, makes dynamic_reference invalidation really work.
...
This also cleans up a bit of the code in the modestacker.
2010-08-22 00:34:02 -04:00
Adam
fb551f0d5d
Made Anope keep track of channels its clients are in if it splits from its uplink, then burst them back to its uplink once connection is reestablished.
...
Also made Anope use TS enforcement to change persistant channels creation time to the time they were registered.
2010-08-21 01:40:36 -04:00
Adam
e65d8b2f3d
Rewrote the config reader to better handle invalid configs.
...
This prevents Anope from exploding when /os reload has errors.
2010-08-17 19:27:37 -04:00
Naram Qashat
afb3782aa3
Some more slight cleanups, this time in modes.cpp and module.cpp.
2010-07-30 20:00:52 -04:00
Adam
abfc9926db
Added support for tracking inspircd2.0 usermode +Q and cahnged the Flags bitsets for modes to not use a max defined value, it can go over
2010-07-29 23:08:47 -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
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
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
36c646c7d2
Added support for InspIRCd 2.0s dynamic modes.
...
Note that this changes the maximum length of an acceptable
IRC message from 512 to 1024 because InspIRCd sends messages
longer than 512 characters.
2010-06-26 21:12:31 -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
ee57f57193
Store modes in users and channels using the Flags class, cleaner
2010-06-18 21:01:55 -04:00
Adam
631d11d6a8
Store a plaintext version of mode names in the mode structures, removes alot of unneeded code from db_plain/db_mysql.
2010-06-18 21:01:17 -04:00
Adam
c4b725b2e1
Removed all references to $, git has no svn keywords
2010-06-18 18:39:30 -04:00
Adam
ad45dbacbb
Fixed some problems with the mode stacker from svn to git merge
2010-06-18 16:50:56 -04:00
Charles
184b96946a
Merge svn with git
2010-06-18 21:04:30 +01: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
475f5afafc
Replaced some spaces with tabs in unreal32.c, os_defcon.c, and modes.cpp
2010-06-16 17:14:35 -04:00
Adam-
c4f40ed3a7
Fixed tracking of InspIRCd mode +J and fixed mode manager and stacker to handle parameter modes correctly
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2879 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 22:50:48 +00:00
Adam-
1a3a4b275f
Removed the OnFind events, they are not necessary anymore and just waste CPU
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2872 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 06:04:52 +00:00
Adam-
a40c22a729
Made the mode stacker never send a mode change for something that is already (un)set, and set -r when dropping channels
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2868 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:04:17 +00:00
Adam-
84ecd1866c
Added generic support for unknown modes told to Anope at runtime by the IRCd
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2790 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-12 19:51:16 +00:00