Alexey Sokolov
b7aff7f7ea
Don't bump compiler requirements from GCC 4.7 to GCC 4.8 yet.
...
Fix #1189
2015-11-26 14:02:15 +00:00
Alexey Sokolov
cbf5c38d0a
Teach modperl and modpython about CMessage and new hooks which accept it.
...
Fix #1084
Fix #1085
2015-11-22 23:39:30 +00:00
Alexey Sokolov
103ed00861
Move Message assertions to special cast operators.
...
Don't use static_cast directly anymore, but use these operators.
2015-11-21 12:13:54 +00:00
Alexey Sokolov
f33809585f
Move Message sizes asserts to their definitions, and add missing ones.
2015-11-21 10:50:52 +00:00
Alexey Sokolov
c283d7a07b
Fix include guard of Message.h
2015-11-21 10:35:03 +00:00
John Reese
9aff0cd566
See #1147 : show new server name when jumping
...
This updates the connect command in *status to retrieve the next server
object before triggering the jump, thereby allowing it to display the
next server's name rather than a generic message.
2015-10-25 12:41:00 -07:00
Alexey Sokolov
0750e529c5
Don't print anything from signal handler.
...
Thread sanitizer doesn't like that.
2015-10-03 19:29:01 +01:00
J-P Nurmi
c83a41ce89
CClient: message handlers
2015-09-20 23:22:03 +02:00
J-P Nurmi
ecb9b21055
Move message tags related code from CUtils to CMessage
2015-09-20 23:22:03 +02:00
J-P Nurmi
7d10ad2625
CBuffer: add CMessage-based API
2015-09-20 23:22:03 +02:00
J-P Nurmi
cbd860c2a9
Add CMessage::Equals()
...
Compares sender, command, and parameters. Not timestamp nor tags.
2015-09-20 23:22:02 +02:00
J-P Nurmi
f4c22aff6c
Incorporate CIRCSock::ForwardRaw353() into CClient::PutClient()
2015-09-20 23:22:02 +02:00
J-P Nurmi
69f1138052
CClient::PutClient(): handle away-notify and account-notify
2015-09-20 23:22:02 +02:00
J-P Nurmi
cb84ecac9c
Port CIRCSock::ParseISupport() to use CMessage
2015-09-20 23:22:01 +02:00
J-P Nurmi
6ad7cdb4a2
Resolve #818 : "Got ZNC?" is a little weird real name
2015-09-20 23:22:01 +02:00
J-P Nurmi
57fb58bf71
Fix CModeMessage::GetModes()
...
Thanks to KindOne for finding the bug. CModeMessage::GetModes()
must trim the colon that CMessage::GetParams() may include.
2015-09-17 13:26:24 +02:00
J-P Nurmi
73d5f382f8
Docs for the CMessage-based module hooks
2015-09-10 01:38:53 +02:00
J-P Nurmi
7f03484899
CClient: add ATTACH command
...
The main benefit is that (unlike JOIN) ATTACH allows wildcards.
It's also nicely symmetric with DETACH.
2015-09-10 01:12:19 +02:00
J-P Nurmi
832430659f
CClient: share the chan detaching code
2015-09-10 01:12:19 +02:00
J-P Nurmi
7916efa997
CClient: share the chan matching code
2015-09-10 01:12:19 +02:00
J-P Nurmi
1a3e9ecb86
Resolve #1045 : Make CMessage retain the colon
...
If the colon was there when parsed, stick it back even if it would be
technically unnecessary.
2015-09-10 00:21:04 +02:00
J-P Nurmi
ba76e041b9
Add OnNumericMessage() module hook ( close #1069 )
2015-09-07 16:41:15 +02:00
J-P Nurmi
1a7cf9d6ba
CIRCSock: make the message handlers private
...
These should not be called from the outside of the class.
2015-09-07 00:00:29 +02:00
J-P Nurmi
dae21026fa
CIRCSock::OnErrorMessage() handler
2015-09-07 00:00:28 +02:00
J-P Nurmi
41b71e3a40
CIRCSock::OnPing/PongMessage() handlers
2015-09-07 00:00:28 +02:00
J-P Nurmi
da06aacd4d
CIRCSock::OnNumericMessage() handler
2015-09-07 00:00:28 +02:00
J-P Nurmi
0446aaa929
CIRCSock::OnModeMessage() handler
2015-09-07 00:00:27 +02:00
J-P Nurmi
b8dbdb0a4b
CIRCSock::OnWallopsMessage() handler
2015-09-07 00:00:27 +02:00
J-P Nurmi
1346718308
CIRCSock::OnCapabilityMessage() handler
2015-09-07 00:00:27 +02:00
J-P Nurmi
d3f42cabeb
CIRCSock::OnInviteMessage() handler
2015-09-07 00:00:27 +02:00
J-P Nurmi
05fbb52173
CIRCSock::OnAccountMessage() handler
2015-09-07 00:00:27 +02:00
J-P Nurmi
d556a29218
CIRCSock::OnAwayMessage() handler
2015-09-07 00:00:27 +02:00
J-P Nurmi
d53a2d1f24
CIRCSock::OnTextMessage() handler
2015-09-07 00:00:27 +02:00
J-P Nurmi
236bd7249f
CIRCSock::OnActionMessage() handler
2015-09-07 00:00:26 +02:00
J-P Nurmi
74be5522d1
CIRCSock::OnCTCPMessage() handler
2015-09-07 00:00:26 +02:00
J-P Nurmi
30bb92fec3
CIRCSock::OnNoticeMessage() handler
2015-09-07 00:00:26 +02:00
J-P Nurmi
b459cdf85b
CIRCSock::OnTopicMessage() handler
2015-09-07 00:00:26 +02:00
J-P Nurmi
3349011a12
CIRCSock::OnKickMessage() handler
2015-09-07 00:00:26 +02:00
J-P Nurmi
9f9304a253
CIRCSock::OnPartMessage() handler
2015-09-07 00:00:26 +02:00
J-P Nurmi
a2110da245
CIRCSock::OnJoinMessage() handler
2015-09-07 00:00:26 +02:00
J-P Nurmi
a0a2b0fb4e
CIRCSock::OnQuitMessage() handler
2015-09-07 00:00:25 +02:00
J-P Nurmi
41a9b36687
CIRCSock::OnNickMessage() handler
2015-09-07 00:00:25 +02:00
J-P Nurmi
5880bb4180
Add CMessage::GetType()
2015-09-07 00:00:25 +02:00
J-P Nurmi
795ea45f69
CIRCSock::ForwardRaw353(): use CMessage
2015-09-07 00:00:24 +02:00
J-P Nurmi
58fc0e91d7
Add CCTCPMessage::IsReply()
2015-09-07 00:00:24 +02:00
J-P Nurmi
ec952024d7
Add CModeMessage
2015-09-07 00:00:24 +02:00
J-P Nurmi
fa894a86b0
Add CNumericMessage
2015-09-07 00:00:24 +02:00
J-P Nurmi
0faafbf3bf
Merge pull request #1056 from jpnurmi/handlecap
...
Implement CClient::HandleCap() using CMessage (ref #1013 )
2015-09-04 20:49:11 +02:00
J-P Nurmi
2880368825
Merge pull request #1055 from jpnurmi/onctcpreplymessage
...
Add missing CModules::OnCTCPReplyMessage()
2015-09-03 20:11:38 +02:00
J-P Nurmi
2b18d6ee38
Merge pull request #1020 from jpnurmi/traffic
...
Calculate per-network traffic (#963 )
2015-09-02 01:01:13 +02:00