summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-03-06 12:05:33 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-03-06 12:05:33 +0100
commitd495c419197c670e8649853b580e39fff0162617 (patch)
tree24b3324fe38c11f8c3867161be33fa73a4b237aa
parent39787d483ad96095cfec440fada866526ff8a42d (diff)
downloadweechat-d495c419197c670e8649853b580e39fff0162617.zip
relay: add "date_printed" and "highlight" in signal "_buffer_line_added" (WeeChat protocol)
-rw-r--r--ChangeLog4
-rw-r--r--doc/en/weechat_relay_protocol.en.txt4
-rw-r--r--src/plugins/relay/weechat/relay-weechat-protocol.c4
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index fca9df532..a2d95797e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
-v0.3.8-dev, 2012-03-05
+v0.3.8-dev, 2012-03-06
Version 0.3.8 (under dev!)
@@ -14,6 +14,8 @@ Version 0.3.8 (under dev!)
* irc: add support of "external" SASL mechanism (task #11864)
* irc: close server buffer when server is deleted
* irc: add search for lower case nicks in option irc.look.nick_color_force
+* relay: add "date_printed" and "highlight" in signal "_buffer_line_added"
+ (WeeChat protocol)
* rmodifier: add option "release" in default rmodifier "nickserv" (used to hide
passwords in command "/msg nickserv") (bug #35705)
diff --git a/doc/en/weechat_relay_protocol.en.txt b/doc/en/weechat_relay_protocol.en.txt
index e6d04e31d..37e3d6f95 100644
--- a/doc/en/weechat_relay_protocol.en.txt
+++ b/doc/en/weechat_relay_protocol.en.txt
@@ -466,8 +466,8 @@ WeeChat reserved identifiers:
'number' (integer), 'full_name' (string), 'local_variables' (hashtable)
| _buffer_line_added | Line added in buffer | line |
- 'buffer' (pointer), 'date' (time), 'displayed' (char), 'prefix' (string),
- 'message' (string)
+ 'buffer' (pointer), 'date' (time), 'date_printed' (time), 'displayed' (char),
+ 'highlight' (char), 'prefix' (string), 'message' (string)
| _buffer_closing | Buffer closing | buffer |
'number' (integer), 'full_name' (string)
diff --git a/src/plugins/relay/weechat/relay-weechat-protocol.c b/src/plugins/relay/weechat/relay-weechat-protocol.c
index 025e7f063..304bca743 100644
--- a/src/plugins/relay/weechat/relay-weechat-protocol.c
+++ b/src/plugins/relay/weechat/relay-weechat-protocol.c
@@ -449,7 +449,9 @@ relay_weechat_protocol_signal_buffer_cb (void *data, const char *signal,
"line_data:0x%lx",
(long unsigned int)ptr_line_data);
relay_weechat_msg_add_hdata (msg, cmd_hdata,
- "buffer,date,displayed,prefix,message");
+ "buffer,date,date_printed,"
+ "displayed,highlight,prefix,"
+ "message");
relay_weechat_msg_send (ptr_client, msg, 0);
relay_weechat_msg_free (msg);
}