Naram Qashat
950cfcd31e
Some OCDing over version.cpp, and make it so module.cpp doesn't need version.h (only main.cpp, modulemanager.cpp, and modules.cpp need version.h, to avoid rebuilding EVERYTHING every build)
2010-06-28 23:15:16 -04:00
Adam
03fbc7d281
Changed the versioning system to use git
2010-06-25 20:00:21 -04:00
Adam
16854ae793
Fixed a few Windows problems with cleaning out the runtime directory
2010-06-21 00:02:57 -04:00
Adam
17040c088a
Store modules in a list and xlines in a vector, not deques. We need to be able to keep iterators valid.
2010-06-20 21:33:01 -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
f049124905
Rewrote the hashing system to use std::tr1::unordered_map
2010-06-18 21:01:53 -04:00
Adam
c4b725b2e1
Removed all references to $, git has no svn keywords
2010-06-18 18:39:30 -04:00
Adam-
531cba9251
Actually use readtimeout from the config & fixed many valgrind errors
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2905 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-22 19:40:58 +00:00
Adam-
235c4ae95c
Rewrote part of the Timer and CallBack code for modules to be sane
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2795 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-25 06:20:00 +00:00
cyberbotx
0d3ec454de
Fix a few things that bugged me when I was working on one of my own modules.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2573 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-18 21:10:39 +00:00
Adam-
f572827157
Removed old mod_version system for detecting module versions and replaced with the Module::GetVersion() function
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2521 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-27 21:20:56 +00:00
adam-
6b5786aa37
Changed module callbacks to use new Timer API
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2338 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-26 20:01:26 +00:00
cyberbotx
578da38d30
Replace Set*Help() functions with virtual *ServHelp() functions that can be overriden in a module's Module class. Patch from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2266 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06 21:25:56 +00:00
rburchell
7723437a81
Fix a few warnings. Also move split_usermask into cs_akick, as this is the only place it is used.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2119 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 21:59:31 +00:00
rburchell
c917ca5a34
Remove (and neuter) old event system. Not used by anything in core.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2116 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 00:23:14 +00:00
cyberbotx
ba47bf2f6f
HelpServ has been destroyed, +1000 points. Also fixed the argument order in the deprecated match_wild() function.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2074 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 17:47:52 +00:00
rburchell
d7d01bdc5c
Squashed commit: merge next (1.9.1) back to trunk.
...
SVN users, NOTE: THIS WILL NOT BUILD, NOR SHOULD YOU RUN IT YET.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1953 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:01:05 +00:00
sjaz
73bd4f99ca
Housekeeping contact address updates.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03 17:06:39 +00:00
rburchell
fba6ec736d
Update copyrights for 2009.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02 18:20:35 +00:00
cyberbotx
000b8b3423
Removed mod_current_module, again, so far, no ill-effects...
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1809 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 06:32:45 +00:00
cyberbotx
3964ead17e
Moved moduleDeleteLanguage() to Module::DeleteLanguage().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1800 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-27 03:13:27 +00:00
cyberbotx
16e667a2ce
Replaced most uses of smalloc and scalloc with new, replaced most uses of free with delete.
...
NOTE: This build is unstable due to lack of memory zeroing, this will be addresses in a future commit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1783 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22 01:11:19 +00:00
robbeh
2d768eb325
Modules now delete themselves instead of letting the core do it (just incase one of them has used a custom delete operator)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1729 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:25:40 +00:00
rburchell
8784fa995e
Remove moduleAddData|GetData|DelData and all associated mess. Extensible base replaces all this in a much cleaner and more transparent fashion.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1706 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:56:39 +00:00
rburchell
73f4cccf99
Remove unused moduleAddMessage/moduleDelMessage, move moduleCallBackRun() into ModuleManager::
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1695 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 15:45:27 +00:00
rburchell
1da6b93633
Nuke eventprintf() and EvtMessage from orbit
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1691 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 12:51:03 +00:00
rburchell
094688603f
Cleanup some stuff to a header.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1683 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 00:12:54 +00:00
rburchell
6c55e0a529
Insane commit of doom: s/ \t/g
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:57:20 +00:00
rburchell
bb47ab8f41
Add Module::SetPermanent() and Module::GetPermanent(), used to mark a module as not unloadable.
...
Used for os_modunload, as unloading it would cause issues.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1679 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:28:23 +00:00
Robin Burchell w00t@inspircd.org
649a12c07f
addModule + delModule compressed into constructor/destructor.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1615 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 19:03:56 +00:00
Robin Burchell w00t@inspircd.org
65fd49d362
Move loadModule() and unloadModule() inside ModuleManager::
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1614 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 16:56:54 +00:00
Robin Burchell w00t@inspircd.org
d353167118
Add module.cpp and modulemanager.cpp.
...
- module.cpp: contains (new/"good") code relating to modules. Crappy/stuff to be replaced will stay in modules.c
- modulemanager.cpp: contains stuff *manipulating* modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1611 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 03:03:12 +00:00