summaryrefslogtreecommitdiff
path: root/include/modules.h
AgeCommit message (Collapse)Author
2015-12-02Merge branch 'master+serviceinit'Attila Molnar
2015-11-26Handle module reloading in core_reloadmodule entirelyAttila Molnar
2015-11-23Extract code that manipulates the ModuleManager::DataProviders map into methodsAttila Molnar
2015-06-04Expand module names in ServerConfig::ApplyModules()Attila Molnar
2015-05-20Allow modules to be called as "foo" instead of "m_foo.so"Attila Molnar
2015-05-12Remove support for non-unloadable (VF_STATIC) modulesAttila Molnar
No module we ship uses this flag and new modules should not use it either to make hotfixing possible
2015-04-28Move OnWhois* events to core_whois, add Whois::ContextAttila Molnar
Remove InspIRCd::SendWhoisLine()
2015-04-20Merge insp20Attila Molnar
2015-02-15Eliminate constant return value of the all events version of ↵Attila Molnar
ModuleManager::SetPriority()
2015-02-15Convert mods calling the old compat wrapper of ModuleManager::SetPriority() ↵Attila Molnar
to use the current method, remove wrapper
2015-02-15Remove I_BEGIN from enum ImplementationAttila Molnar
2015-02-11Remove class Event and the OnEvent hookAttila Molnar
2015-01-17Fix modules not being versioned on Windows.Peter Powell
2015-01-10Remove the unused OnGlobalOper hookAttila Molnar
2014-10-13Avoid calling methods on NULL pointers wherever possible.Peter Powell
The trick we use to allow this is undefined behaviour and is not liked by LLVM. We should stop using it but it has the potential to break to many things for a minor release.
2014-09-04Migrate code from ModeParser into cmd_mode (core_user)Attila Molnar
- Process() that takes a std::vector<std::string> - DisplayCurrentModes() - DisplayListModes()
2014-09-04Pass Modes::ChangeList references to the OnPreMode hook, make it modifiableAttila Molnar
This gets rid of the duplicated mode parsing logic in m_namedmodes
2014-09-03Pass the modes to the OnMode hook as a Modes::ChangeList, pass ↵Attila Molnar
ModeProcessFlags too
2014-06-24Change allocation of InspIRCd::Modules to be physically part of the object ↵Attila Molnar
containing it using fakederef
2014-06-20Change the type of the user parameter in the OnUserPreNick() hook from User ↵Attila Molnar
to LocalUser No remote users were passed to this hook before. Remove needless IS_LOCAL() checks.
2014-05-23Prefix all definitions in config.h to avoid potential collisions.Peter Powell
2014-04-20Document parameters and return value for the OnNamesListItem() hookAttila Molnar
2014-04-20Change the OnNamesListItem() hook to return ModResultAttila Molnar
Return MOD_RES_DENY to exclude the user from the NAMES list
2014-04-19Fix undefined symbol error on module load if compiled with Clang 3.4Attila Molnar
Fixes issue #803 reported by @SaberUK
2014-02-21Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcntAttila Molnar
2014-02-14Return a Membership* from get_first_visible_channel() in cmd_who and pass ↵Attila Molnar
that to modules
2014-02-07Only compile the testsuite if INSPIRCD_ENABLE_TESTSUITE is definedAttila Molnar
2014-01-25Add Channel* parameter to OnSendWhoLineAttila Molnar
2014-01-24Convert UserChanList to an intrusively linked listAttila Molnar
2014-01-22Split IOHook into IOHook and IOHookProviderAttila Molnar
Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established.
2014-01-21Bump API version because of 3f4d54eb031f1cd6b016dfe1f768ed86303e3856Attila Molnar
2014-01-05Move server description field from TreeServer into Server; remove ↵Attila Molnar
OnGetServerDescription hook
2013-12-18Clean up CoreExceptionAttila Molnar
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
2013-12-15Move stuff around a bit:Peter Powell
- Create FileSystem class: * Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite. * Move ServerConfig::ExpandPath to FileSystem. * Move ServerConfig::FileExists to FileSystem. * Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem. - Move FileReader to fileutils.cpp and fix documentation. - Move UserManager::DoBackgroundUserStuff to usermanager.cpp.
2013-09-13Pass an interface to the OnSync hooksattilamolnar
Remove Module::ProtoSendMetaData()
2013-09-12Send ListModeBase modes implicitly on channel syncattilamolnar
Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()
2013-09-08Hide all symbols that aren't exported explicitlyattilamolnar
In addition to reducing the sizes of all binaries this also helps the optimizer
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-09-08Deduplicate code in modmanager_static and modmanager_dynamicattilamolnar
2013-09-08Remove ModuleManager::ModCount and GetCount()attilamolnar
2013-09-08Fix module loading in PURE_STATIC buildsattilamolnar
2013-08-30Remove ModuleManager::GetAllModuleNames(), use GetModules() insteadattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-08Fix a couple of issuesattilamolnar
- Wrong doc for Snomask::GetDescription() - Incorrect idle time when WHOISing remote users - String + int = garbage - Remote MODE commands (user mode changes) being broadcast in addition to being forwarded - Incorrect revision being shown
2013-08-04Automatically attach modules to eventsattilamolnar
2013-08-04Change the syntax of FOREACH macros to be less dumb.Adam
2013-07-19Move dynamic_reference and related classes to dynref.hattilamolnar
2013-06-21Fix Doxygen comments.Peter Powell
2013-06-13Replace void* dest and target_type parameters of OnMode with a User* and a ↵attilamolnar
Channel*
2013-06-12Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to ↵attilamolnar
route KILLs