summaryrefslogtreecommitdiff
path: root/src/modulemanager.cpp
AgeCommit message (Collapse)Author
2012-03-22added a missing error message when a module file does not exist. this fixes ↵DukePyrolator
bug #1401. also moved some debug messages to debug level 2
2012-02-22Added regex support for many commands, such as akill, sqline, snline,Adam
all of the */list commands, etc. Also extended the ability of akill to match a full nick!user@host and real name of users.
2012-02-15Remove revision numbers as they're only ever set by Config reading git since ↵Adam
we've switched off of SVN. Instead just use the hash for the current head when building. Also recheck the hash on every make not just Config.
2012-02-14Clean up and reorganize our header filesAdam
2012-01-02Updated Copyright to 2012Adam
2011-11-08WindowsAdam
2011-10-09Give more verbose messages on startupAdam
2011-09-10Made service_reference type safeAdam
2011-08-11Fixed Windows runtime problemsAdam
2011-08-08Copy modules to the runtime directory in one big read/write if we can ↵Adam
instead of this 1 byte at a time thing, significantly improves startup loading time.
2011-07-14Rewrote how commands are handled within Anope.Adam
This allows naming commands and having spaces within command names.
2011-05-21Made Anope able to process normally when disconnected from the uplink and ↵Adam
not sleep(), enable usage of non-blocking connect() and default all sockets to non blocking mode. Some cleanup to m_ssl and some cleanup to main.cpp.
2011-05-16Use module type to determine what type each module is instead of its ↵Adam
location in the configuration file.
2011-05-16Added more useful functions to our LDAP API, allow adding newly registered ↵Adam
accounts to LDAP, removed some unnecessary OnPre events and fixed unloading all modules
2011-05-16Moved some global functions to be member functions and misc cleanupAdam
2011-03-13Added some useful Anope::Version functions to prevent some files from ↵DukePyrolator
unnecessarily rebuilding on every make
2011-02-20Much more work on the live SQL. Should work pretty decently now under heavy ↵Adam
load.
2010-10-02Added os_modreload. Also allow unloading database and encryption modules ↵Adam
since there isn't a reason we cant allow reloading them. Soon os_modreload will allow reloading the protocol modules.
2010-10-02Made OperServ and Global optionalAdam
2010-10-01Revert "Do not use new/delete to allocate modules, allows modules to always ↵Adam
destruct properly and automatically" This does not work as expected, it causes objects allocated by modules to be freed by the operating system when the module is unloaded, giving no chance to the module to deallocate it itself. This reverts commit 05e6815d912f0418f6da25a2106dd718796f02fa.
2010-09-26Changed the language system to use gettextAdam
2010-09-22Do not use new/delete to allocate modules, allows modules to always destruct ↵Adam
properly and automatically
2010-09-17Rejig of some of the socket stuff. Fixed marking sockets as nonblocking on ↵Adam
Windows. Added in a LastError function to keep having to use strerror/GetLastError everywhere.
2010-09-14Cleanup DNS requests when modules are unloaded, fixes unloading m_dnsbl ↵Adam
during the middle of queries
2010-08-27Added a new logging systemAdam
2010-08-22Added a classbase for the major classes, makes dynamic_reference ↵Adam
invalidation really work. This also cleans up a bit of the code in the modestacker.
2010-08-17Always unload socketengines/database/protocl etc modules last, and fixed a ↵Adam
potential crash in m_mysql when unloading when not in GDB
2010-08-17Rewrote the config reader to better handle invalid configs.Adam
This prevents Anope from exploding when /os reload has errors.
2010-08-15Rewrote the MySQL API to use threads. This acts similar to before, but is ↵Adam
faster. Removed db_mysql_execute for now.
2010-07-30Cleanup in modulemanager.cpp, make it so CMake only includes the ↵Naram Qashat
-fno-leading-underscore flag on a GNU compiler, changed the hash compare functions to use struct to appease clang, and made it so hashcomp.h uses tr1/unordered_map with g++ 4.x or up.
2010-07-27Some windows fixes from the Anope::string commitAdam
2010-07-26Trying to make things a little more const-safe, a work in progress but this ↵Naram Qashat
is a bit better.
2010-07-26Removed std::string and ci::string versions of LoadModuleList, we only need ↵Naram Qashat
the Anope::string version now.
2010-07-25Epic commit to replace most of the strings in Anope with a single ↵Naram Qashat
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-06-29Missed OCDing over src/protocol/*, plus fixed a minor lack of braces and ↵Naram Qashat
fixed Config to work in an out-of-source build.
2010-06-21Fixed a few Windows problems with cleaning out the runtime directoryAdam
2010-06-20Store modules in a list and xlines in a vector, not deques. We need to be ↵Adam
able to keep iterators valid.
2010-06-20The first of a few "CBX OCDing over code style" commits, focusing on ↵Naram Qashat
include/* and src/* but not src/core/* or src/modules/*.
2010-06-18Rewrote the hashing system to use std::tr1::unordered_mapAdam
2010-06-18Renamed the init_module function to AnopeInit - Some systems have an ↵Adam
init_module function outside of Anope which causes a crash if you try to load a non-Anope module
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-05-25Check if a module file exists before making runtime copy of it, keeps 0 byte ↵Adam-
sized unused modules out of the runtime/ directory git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2984 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-25Rewrote part of the Timer and CallBack code for modules to be saneAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2795 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-31replaced the alog() command with a new type-safe and stream-based Alog()DukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04Removed NICKMAX and CHANMAX, replaced user->nick, c->name, and ci->name with ↵Adam-
std::string git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2732 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-31Added in new plaintext databases. Note: This currently has no automatic ↵Adam-
backup feature. Big thanks to Phil on this for mass scale testing git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2722 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16Made many of the functions in IRCDProto accept the relative object pointers ↵Adam-
instea of char* everywhere, and updated TODO git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2706 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-28Massive move of all of the Config variables out of global scope to the ↵Adam-
Config class git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-17Removed some unnecessary casts, used C++-style casts over C-style casts, ↵cyberbotx
fixed a few warnings (one possibly fatal one). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2655 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-16Made the 'Module compiled against current version of Anope' message debug onlyAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2652 5417fbe8-f217-4b02-8779-1006273d7864