From e4149b073dd4c00c5dbd5733e8c26c2738c99fd5 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 7 Feb 2013 22:08:31 +0100 Subject: [PATCH] relay: add options "buffers" and "upgrade" for commands sync/desync in weechat protocol --- ChangeLog | 4 +- doc/en/weechat_relay_protocol.en.txt | 113 +++-- .../relay/weechat/relay-weechat-protocol.c | 435 ++++++++++-------- .../relay/weechat/relay-weechat-protocol.h | 12 + src/plugins/relay/weechat/relay-weechat.c | 9 +- 5 files changed, 344 insertions(+), 229 deletions(-) diff --git a/ChangeLog b/ChangeLog index bed2ecb7c..3cb164b21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ WeeChat ChangeLog ================= Sébastien Helleu -v0.4.1-dev, 2013-02-04 +v0.4.1-dev, 2013-02-07 Version 0.4.1 (under dev!) @@ -21,6 +21,8 @@ Version 0.4.1 (under dev!) * irc: add color in output of /names when result is on server buffer (channel not joined) (bug #38070) * perl: simplify code to load scripts +* relay: add options "buffers" and "upgrade" for commands sync/desync in weechat + protocol * relay: fix commands sync/desync in weechat protocol (bug #38215) * scripts: do not allow empty script name in function "register" diff --git a/doc/en/weechat_relay_protocol.en.txt b/doc/en/weechat_relay_protocol.en.txt index e24f72834..3f8e56a99 100644 --- a/doc/en/weechat_relay_protocol.en.txt +++ b/doc/en/weechat_relay_protocol.en.txt @@ -282,43 +282,66 @@ input irc.freenode.#weechat hello guys! sync ~~~~ +_Updated in version 0.4.1._ + Synchronize one or more buffers, to get updates. +[IMPORTANT] +It is recommended to send this command immediately after you asked +data for buffers (lines, ...). It can be send in same message (after a new +line). + Syntax: ---------------------------------------- -sync [[,...] ] +sync [[,...]