22 Commits

Author SHA1 Message Date
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Peter Powell
714284aa30 Convert all core ExtensionItem code away from {un,}serialize. 2019-08-07 19:37:27 +01:00
Peter Powell
58a0a7e014 Implement IRCv3 message tag support.
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-13 21:51:11 +01:00
Peter Powell
91e0af0fc4 Add the override keyword in places that it is missing.
GCCs warnings for this are much better than Clangs.
2017-11-21 15:51:45 +00:00
Attila Molnar
65667e7cc2 Fix Windows build and most MSVC warnings 2016-09-02 19:58:44 +02:00
Attila Molnar
c933f32408 m_cap Make Capability objects compatible with dynamic_references, add Cap::Reference 2015-12-05 16:42:17 +01:00
Attila Molnar
425d54073a m_cap Specialize extension item 2015-12-05 16:16:49 +01:00
Attila Molnar
302053cf8f m_cap Provide the OnCapValueChange event and add Cap::Manager::NotifyValueChange() 2015-12-05 15:58:48 +01:00
Attila Molnar
912fd7a922 m_cap Provide the OnCapAddDel() event 2015-12-05 15:57:00 +01:00
Attila Molnar
b9c6792cd6 m_cap Add Capability::GetCapValue(), list capabilities with values 2015-12-05 15:50:07 +01:00
Attila Molnar
9ac2eae1f0 m_cap Learn the supported capability negotiation protocol of a client from CAP LS
Let modules implementing caps query this information
2015-12-05 15:45:20 +01:00
Attila Molnar
3e08629e83 m_cap Add Capability::OnList() hook 2015-12-05 15:42:04 +01:00
Attila Molnar
bc388aa97c m_cap Add Capability::OnRequest() hook 2015-12-05 15:35:05 +01:00
Attila Molnar
259b111394 Add rewritten m_cap module
- Caps are now managed by m_cap
- Each cap uses one bit in an extension item shared with other caps
2015-12-05 15:29:01 +01:00
Attila Molnar
0528e83604 Nuke m_cap 2015-12-05 15:04:00 +01:00
Peter Powell
cd5d78203b Fix building modules that use cap.h with a C++11 compiler. 2015-03-06 16:13:11 +00:00
Attila Molnar
f3ef8a230c Convert the CAP event to use the new cross-module event system 2015-02-11 17:01:00 +01:00
Attila Molnar
971788e42f Allow enabling/disabling caps via GenericCap::SetActive() 2015-02-11 16:52:39 +01:00
Attila Molnar
4fc2f7199e Specify which Extensible subclass an ExtensionItem is valid for 2015-01-18 10:40:33 +01:00
Attila Molnar
d02011d69f Remove whitespace and minor style changes 2014-01-23 14:37:09 +01:00
attilamolnar
992674362c Automatically register ServiceProviders created by modules 2013-09-08 17:11:08 +02:00
Peter Powell
11cafc12d5 Tidy up source files:
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
2013-04-12 17:03:05 +01:00