From 771be1a3164fb91b48ddb9eac95bfae955b37cf9 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 16 Apr 2009 12:06:27 +0200 Subject: Add list of modifiers in developer guide --- doc/de/dev/plugin_c_api.de.xml | 89 +++++++++++++++++++++++++++++++++++++++++- doc/en/dev/plugin_c_api.en.xml | 89 +++++++++++++++++++++++++++++++++++++++++- doc/fr/dev/plugin_c_api.fr.xml | 89 +++++++++++++++++++++++++++++++++++++++++- 3 files changed, 261 insertions(+), 6 deletions(-) diff --git a/doc/de/dev/plugin_c_api.de.xml b/doc/de/dev/plugin_c_api.de.xml index b236c30ae..e6bf50e64 100644 --- a/doc/de/dev/plugin_c_api.de.xml +++ b/doc/de/dev/plugin_c_api.de.xml @@ -6324,8 +6324,93 @@ struct t_hook *weechat_hook_modifier ( - : modifier name (you should look at - core and plugins doc to find name of existing modifiers) + : modifier name, list of modifiers used + by Weechat or plugins: + + + + + Plugin + Modifier + Modifier data + String + Output + + + + + charset + charset_decode + plugin.buffer_name + any string + string decoded from charset found for plugin/buffer to UTF-8 + + + charset + charset_encode + plugin.buffer_name + any string + string encoded from UTF-8 to charset found for plugin/buffer + + + irc + irc_color_decode + "1" to keep colors, "0" to remove colors + any string + string with WeeChat color codes, or without color + + + irc + irc_color_encode + "1" to keep colors, "0" to remove colors + any string, with user colors + string with IRC color codes, or without color + + + irc + irc_in_xxx (xxx is IRC command name) + server name + content of message received from IRC server + new content of message + + + irc + irc_out_xxx (xxx is IRC command name) + server name + content of message about to be sent to IRC server + new content of message + + + weechat + input_text_content + string with buffer pointer ("0x123..") + input buffer (from user) + new content of input buffer + + + weechat + input_text_display + string with buffer pointer ("0x123..") + input buffer (from user), without cursor tag + new content of input buffer, for display only (input buffer is not changed) + + + weechat + input_text_display_with_cursor + string with buffer pointer ("0x123..") + input buffer (from user), with cursor tag + new content of input buffer, for display only (input buffer is not changed) + + + weechat + weechat_print + plugin;buffer_name;tags + message printed + new message printed + + + + diff --git a/doc/en/dev/plugin_c_api.en.xml b/doc/en/dev/plugin_c_api.en.xml index 36a607b0f..051dfcc6e 100644 --- a/doc/en/dev/plugin_c_api.en.xml +++ b/doc/en/dev/plugin_c_api.en.xml @@ -6323,8 +6323,93 @@ struct t_hook *weechat_hook_modifier ( - : modifier name (you should look at - core and plugins doc to find name of existing modifiers) + : modifier name, list of modifiers used + by Weechat or plugins: + + + + + Plugin + Modifier + Modifier data + String + Output + + + + + charset + charset_decode + plugin.buffer_name + any string + string decoded from charset found for plugin/buffer to UTF-8 + + + charset + charset_encode + plugin.buffer_name + any string + string encoded from UTF-8 to charset found for plugin/buffer + + + irc + irc_color_decode + "1" to keep colors, "0" to remove colors + any string + string with WeeChat color codes, or without color + + + irc + irc_color_encode + "1" to keep colors, "0" to remove colors + any string, with user colors + string with IRC color codes, or without color + + + irc + irc_in_xxx (xxx is IRC command name) + server name + content of message received from IRC server + new content of message + + + irc + irc_out_xxx (xxx is IRC command name) + server name + content of message about to be sent to IRC server + new content of message + + + weechat + input_text_content + string with buffer pointer ("0x123..") + input buffer (from user) + new content of input buffer + + + weechat + input_text_display + string with buffer pointer ("0x123..") + input buffer (from user), without cursor tag + new content of input buffer, for display only (input buffer is not changed) + + + weechat + input_text_display_with_cursor + string with buffer pointer ("0x123..") + input buffer (from user), with cursor tag + new content of input buffer, for display only (input buffer is not changed) + + + weechat + weechat_print + plugin;buffer_name;tags + message printed + new message printed + + + + diff --git a/doc/fr/dev/plugin_c_api.fr.xml b/doc/fr/dev/plugin_c_api.fr.xml index 8f763942f..9033f4879 100644 --- a/doc/fr/dev/plugin_c_api.fr.xml +++ b/doc/fr/dev/plugin_c_api.fr.xml @@ -6324,8 +6324,93 @@ struct t_hook *weechat_hook_modifier ( - : modifier name (you should look at - core and plugins doc to find name of existing modifiers) + : modifier name, list of modifiers used + by Weechat or plugins: + + + + + Plugin + Modifier + Modifier data + String + Output + + + + + charset + charset_decode + plugin.buffer_name + any string + string decoded from charset found for plugin/buffer to UTF-8 + + + charset + charset_encode + plugin.buffer_name + any string + string encoded from UTF-8 to charset found for plugin/buffer + + + irc + irc_color_decode + "1" to keep colors, "0" to remove colors + any string + string with WeeChat color codes, or without color + + + irc + irc_color_encode + "1" to keep colors, "0" to remove colors + any string, with user colors + string with IRC color codes, or without color + + + irc + irc_in_xxx (xxx is IRC command name) + server name + content of message received from IRC server + new content of message + + + irc + irc_out_xxx (xxx is IRC command name) + server name + content of message about to be sent to IRC server + new content of message + + + weechat + input_text_content + string with buffer pointer ("0x123..") + input buffer (from user) + new content of input buffer + + + weechat + input_text_display + string with buffer pointer ("0x123..") + input buffer (from user), without cursor tag + new content of input buffer, for display only (input buffer is not changed) + + + weechat + input_text_display_with_cursor + string with buffer pointer ("0x123..") + input buffer (from user), with cursor tag + new content of input buffer, for display only (input buffer is not changed) + + + weechat + weechat_print + plugin;buffer_name;tags + message printed + new message printed + + + + -- cgit v1.2.3