mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
Add optional plugin name for command /debug dump and signal "debug_dump"
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
Befehl: auszuführender Befehl (es wird automatisch ein '/' vorangestellt, falls dieser nicht angegeben wurde)
|
||||
........................................
|
||||
|
||||
• *`/debug`* `[list | set plugin level | dump | buffer | windows | term]`::
|
||||
• *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term]`::
|
||||
|
||||
........................................
|
||||
Debug-Kontrolle für Hauptprogramm und/oder Erweiterung
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
command: command to execute (a '/' is automatically added if not found at beginning of command)
|
||||
........................................
|
||||
|
||||
• *`/debug`* `[list | set plugin level | dump | buffer | windows | term]`::
|
||||
• *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term]`::
|
||||
|
||||
........................................
|
||||
control debug for core/plugins
|
||||
|
||||
@@ -6528,7 +6528,7 @@ Arguments:
|
||||
| weechat | day_changed | string: new date, format: "2010-01-31" |
|
||||
day of system date has changed
|
||||
|
||||
| weechat | debug_dump | - |
|
||||
| weechat | debug_dump | string: plugin name |
|
||||
dump request
|
||||
|
||||
| weechat | filter_added | pointer: filter |
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
commande: commande à exécuter (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
|
||||
........................................
|
||||
|
||||
• *`/debug`* `[list | set extension niveau | dump | buffer | windows | term]`::
|
||||
• *`/debug`* `[list | set extension niveau | dump [extension] | buffer | windows | term]`::
|
||||
|
||||
........................................
|
||||
contrôle du debug pour le coeur/les extensions
|
||||
|
||||
@@ -6611,7 +6611,7 @@ Paramètres :
|
||||
| weechat | day_changed | chaîne : nouvelle date, format : "2010-01-31" |
|
||||
le jour de la date système a changé
|
||||
|
||||
| weechat | debug_dump | - |
|
||||
| weechat | debug_dump | chaîne: nom d'extension |
|
||||
requête de "dump"
|
||||
|
||||
| weechat | filter_added | pointeur : filtre |
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
comando: comando da eseguire (una '/' viene aggiunta automaticamente se non trovata all'inizio del comando)
|
||||
........................................
|
||||
|
||||
• *`/debug`* `[list | set plugin livello | dump | buffer | windows | term]`::
|
||||
• *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term]`::
|
||||
|
||||
........................................
|
||||
attiva debug per core/plugin
|
||||
|
||||
@@ -6598,7 +6598,7 @@ Argomenti:
|
||||
| irc | irc_ignore_removed | - |
|
||||
ignore rimosso
|
||||
|
||||
| logger | logger_start | puntatore: buffer
|
||||
| logger | logger_start | puntatore: buffer |
|
||||
avvia il logging per il buffer
|
||||
|
||||
| logger | logger_stop | puntatore: buffer |
|
||||
@@ -6643,13 +6643,14 @@ Argomenti:
|
||||
| weechat | buffer_type_changed | puntatore: buffer |
|
||||
tipo di buffer modificato
|
||||
|
||||
| weechat | debug_dump | - |
|
||||
// TRANSLATION MISSING
|
||||
| weechat | debug_dump | string: plugin name |
|
||||
richiesta di dump
|
||||
|
||||
| weechat | day_changed | string: nuova data, formato: "2010-01-31" |
|
||||
data di sistema modificata
|
||||
|
||||
| weechat | filter_added | puntatore: filtro
|
||||
| weechat | filter_added | puntatore: filtro |
|
||||
filtro aggiunto
|
||||
|
||||
| weechat | filter_removing | puntatore: filtro |
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.4-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-09-17 14:38+0200\n"
|
||||
"POT-Creation-Date: 2010-09-17 16:09+0200\n"
|
||||
"PO-Revision-Date: 2010-08-07 10:46+0200\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1011,7 +1011,8 @@ msgstr ""
|
||||
msgid "control debug for core/plugins"
|
||||
msgstr "spřáva ladění pro jádro/pluginy"
|
||||
|
||||
msgid "[list | set plugin level | dump | buffer | windows | term]"
|
||||
#, fuzzy
|
||||
msgid "[list | set plugin level | dump [plugin] | buffer | windows | term]"
|
||||
msgstr "[list | set plugin level | dump | buffer | windows | term]"
|
||||
|
||||
msgid ""
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.3-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-09-17 14:38+0200\n"
|
||||
"POT-Creation-Date: 2010-09-17 16:09+0200\n"
|
||||
"PO-Revision-Date: 2010-09-08 22:15+0200\n"
|
||||
"Last-Translator: Nils G.\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1030,7 +1030,8 @@ msgstr ""
|
||||
msgid "control debug for core/plugins"
|
||||
msgstr "Debug-Kontrolle für Hauptprogramm und/oder Erweiterung"
|
||||
|
||||
msgid "[list | set plugin level | dump | buffer | windows | term]"
|
||||
#, fuzzy
|
||||
msgid "[list | set plugin level | dump [plugin] | buffer | windows | term]"
|
||||
msgstr "[list | set plugin level | dump | buffer | windows | term]"
|
||||
|
||||
msgid ""
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.4-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-09-17 14:38+0200\n"
|
||||
"POT-Creation-Date: 2010-09-17 16:09+0200\n"
|
||||
"PO-Revision-Date: 2010-08-07 10:46+0200\n"
|
||||
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1016,7 +1016,8 @@ msgstr ""
|
||||
msgid "control debug for core/plugins"
|
||||
msgstr "controla los mensajes de depuración para el núcleo/plugins"
|
||||
|
||||
msgid "[list | set plugin level | dump | buffer | windows | term]"
|
||||
#, fuzzy
|
||||
msgid "[list | set plugin level | dump [plugin] | buffer | windows | term]"
|
||||
msgstr "[list | set plugin nivel | dump | buffer | windows | term]"
|
||||
|
||||
msgid ""
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.4-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-09-17 14:38+0200\n"
|
||||
"PO-Revision-Date: 2010-09-14 13:37+0200\n"
|
||||
"POT-Creation-Date: 2010-09-17 16:09+0200\n"
|
||||
"PO-Revision-Date: 2010-09-17 16:09+0200\n"
|
||||
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: French\n"
|
||||
@@ -1018,8 +1018,9 @@ msgstr ""
|
||||
msgid "control debug for core/plugins"
|
||||
msgstr "contrôle du debug pour le coeur/les extensions"
|
||||
|
||||
msgid "[list | set plugin level | dump | buffer | windows | term]"
|
||||
msgstr "[list | set extension niveau | dump | buffer | windows | term]"
|
||||
msgid "[list | set plugin level | dump [plugin] | buffer | windows | term]"
|
||||
msgstr ""
|
||||
"[list | set extension niveau | dump [extension] | buffer | windows | term]"
|
||||
|
||||
msgid ""
|
||||
" set: set log level for plugin\n"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.4-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-09-17 14:38+0200\n"
|
||||
"POT-Creation-Date: 2010-09-17 16:09+0200\n"
|
||||
"PO-Revision-Date: 2010-08-07 10:46+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -993,7 +993,7 @@ msgid "control debug for core/plugins"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "[list | set plugin level | dump | buffer | windows | term]"
|
||||
msgid "[list | set plugin level | dump [plugin] | buffer | windows | term]"
|
||||
msgstr "dump | buffer | windows"
|
||||
|
||||
#, fuzzy
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.4-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-09-17 14:38+0200\n"
|
||||
"POT-Creation-Date: 2010-09-17 16:09+0200\n"
|
||||
"PO-Revision-Date: 2010-08-07 10:46+0200\n"
|
||||
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1008,7 +1008,8 @@ msgstr ""
|
||||
msgid "control debug for core/plugins"
|
||||
msgstr "attiva debug per core/plugin"
|
||||
|
||||
msgid "[list | set plugin level | dump | buffer | windows | term]"
|
||||
#, fuzzy
|
||||
msgid "[list | set plugin level | dump [plugin] | buffer | windows | term]"
|
||||
msgstr "[list | set plugin livello | dump | buffer | windows | term]"
|
||||
|
||||
msgid ""
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.4-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-09-17 14:38+0200\n"
|
||||
"POT-Creation-Date: 2010-09-17 16:09+0200\n"
|
||||
"PO-Revision-Date: 2010-08-07 10:46+0200\n"
|
||||
"Last-Translator: Krzysztof Koroscik <soltys@szluug.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1022,7 +1022,8 @@ msgstr ""
|
||||
msgid "control debug for core/plugins"
|
||||
msgstr "kontrola debugu dla rdzenia/wtyczek"
|
||||
|
||||
msgid "[list | set plugin level | dump | buffer | windows | term]"
|
||||
#, fuzzy
|
||||
msgid "[list | set plugin level | dump [plugin] | buffer | windows | term]"
|
||||
msgstr "[list | set plugin poziom | dump | buffer | windows| term]"
|
||||
|
||||
msgid ""
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.4-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-09-17 14:38+0200\n"
|
||||
"POT-Creation-Date: 2010-09-17 16:09+0200\n"
|
||||
"PO-Revision-Date: 2010-08-07 10:46+0200\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1000,7 +1000,7 @@ msgid "control debug for core/plugins"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "[list | set plugin level | dump | buffer | windows | term]"
|
||||
msgid "[list | set plugin level | dump [plugin] | buffer | windows | term]"
|
||||
msgstr "dump | buffer | windows"
|
||||
|
||||
#, fuzzy
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-09-17 14:38+0200\n"
|
||||
"POT-Creation-Date: 2010-09-17 16:09+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -856,7 +856,7 @@ msgstr ""
|
||||
msgid "control debug for core/plugins"
|
||||
msgstr ""
|
||||
|
||||
msgid "[list | set plugin level | dump | buffer | windows | term]"
|
||||
msgid "[list | set plugin level | dump [plugin] | buffer | windows | term]"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
|
||||
+13
-9
@@ -1063,9 +1063,13 @@ command_debug (void *data, struct t_gui_buffer *buffer,
|
||||
|
||||
if (string_strcasecmp (argv[1], "dump") == 0)
|
||||
{
|
||||
log_printf ("Dump request for WeeChat core and plugins");
|
||||
if (argc > 2)
|
||||
log_printf ("Dump request for plugin: \"%s\"", argv_eol[2]);
|
||||
else
|
||||
log_printf ("Dump request for WeeChat core and plugins");
|
||||
weechat_log_use_time = 0;
|
||||
hook_signal_send ("debug_dump", WEECHAT_HOOK_SIGNAL_STRING, NULL);
|
||||
hook_signal_send ("debug_dump", WEECHAT_HOOK_SIGNAL_STRING,
|
||||
(argc > 2) ? argv_eol[2] : NULL);
|
||||
weechat_log_use_time = 1;
|
||||
}
|
||||
else if (string_strcasecmp (argv[1], "buffer") == 0)
|
||||
@@ -4575,8 +4579,8 @@ command_init ()
|
||||
&command_command, NULL);
|
||||
hook_command (NULL, "debug",
|
||||
N_("control debug for core/plugins"),
|
||||
N_("[list | set plugin level | dump | buffer | windows | "
|
||||
"term]"),
|
||||
N_("[list | set plugin level | dump [plugin] | buffer | "
|
||||
"windows | term]"),
|
||||
N_(" set: set log level for plugin\n"
|
||||
" plugin: name of plugin (\"core\" for WeeChat core)\n"
|
||||
" level: debug level for plugin (0 = disable debug)\n"
|
||||
@@ -4588,11 +4592,11 @@ command_init ()
|
||||
" term: display infos about terminal and available "
|
||||
"colors"),
|
||||
"list"
|
||||
"|| set %(plugins_names)|core"
|
||||
"|| dump"
|
||||
"|| buffer"
|
||||
"|| windows"
|
||||
"|| term",
|
||||
" || set %(plugins_names)|core"
|
||||
" || dump %(plugins_names)|core"
|
||||
" || buffer"
|
||||
" || windows"
|
||||
" || term",
|
||||
&command_debug, NULL);
|
||||
hook_command (NULL, "filter",
|
||||
N_("filter messages in buffers, to hide/show them according "
|
||||
|
||||
@@ -117,9 +117,9 @@ debug_dump_cb (void *data, const char *signal, const char *type_data,
|
||||
(void) data;
|
||||
(void) signal;
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
debug_dump (0);
|
||||
if (!signal_data || (string_strcasecmp ((char *)signal_data, "core") == 0))
|
||||
debug_dump (0);
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
@@ -263,7 +263,7 @@ debug_windows_cb (void *data, const char *signal, const char *type_data,
|
||||
void
|
||||
debug_init ()
|
||||
{
|
||||
hook_signal (NULL, "debug_dump", debug_dump_cb, NULL);
|
||||
hook_signal (NULL, "debug_buffer", debug_buffer_cb, NULL);
|
||||
hook_signal (NULL, "debug_windows", debug_windows_cb, NULL);
|
||||
hook_signal (NULL, "debug_dump", &debug_dump_cb, NULL);
|
||||
hook_signal (NULL, "debug_buffer", &debug_buffer_cb, NULL);
|
||||
hook_signal (NULL, "debug_windows", &debug_windows_cb, NULL);
|
||||
}
|
||||
|
||||
+13
-10
@@ -42,17 +42,20 @@ irc_debug_signal_debug_dump_cb (void *data, const char *signal,
|
||||
(void) data;
|
||||
(void) signal;
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
|
||||
irc_server_print_log ();
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** End of \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
if (!signal_data
|
||||
|| (weechat_strcasecmp ((char *)signal_data, IRC_PLUGIN_NAME) == 0))
|
||||
{
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
|
||||
irc_server_print_log ();
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** End of \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
+14
-11
@@ -102,18 +102,21 @@ relay_debug_dump_cb (void *data, const char *signal, const char *type_data,
|
||||
(void) data;
|
||||
(void) signal;
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
|
||||
relay_server_print_log ();
|
||||
relay_client_print_log ();
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** End of \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
if (!signal_data
|
||||
|| (weechat_strcasecmp ((char *)signal_data, RELAY_PLUGIN_NAME) == 0))
|
||||
{
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
|
||||
relay_server_print_log ();
|
||||
relay_client_print_log ();
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** End of \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -41,17 +41,20 @@ rmodifier_debug_signal_debug_dump_cb (void *data, const char *signal,
|
||||
(void) data;
|
||||
(void) signal;
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
|
||||
rmodifier_print_log ();
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** End of \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
if (!signal_data
|
||||
|| (weechat_strcasecmp ((char *)signal_data, RMODIFIER_PLUGIN_NAME) == 0))
|
||||
{
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
|
||||
rmodifier_print_log ();
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** End of \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -609,9 +609,12 @@ weechat_lua_signal_debug_dump_cb (void *data, const char *signal,
|
||||
(void) data;
|
||||
(void) signal;
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
script_print_log (weechat_lua_plugin, lua_scripts);
|
||||
if (!signal_data
|
||||
|| (weechat_strcasecmp ((char *)signal_data, LUA_PLUGIN_NAME) == 0))
|
||||
{
|
||||
script_print_log (weechat_lua_plugin, lua_scripts);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -817,9 +817,12 @@ weechat_perl_signal_debug_dump_cb (void *data, const char *signal,
|
||||
(void) data;
|
||||
(void) signal;
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
script_print_log (weechat_perl_plugin, perl_scripts);
|
||||
if (!signal_data
|
||||
|| (weechat_strcasecmp ((char *)signal_data, PERL_PLUGIN_NAME) == 0))
|
||||
{
|
||||
script_print_log (weechat_perl_plugin, perl_scripts);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -831,9 +831,12 @@ weechat_python_signal_debug_dump_cb (void *data, const char *signal,
|
||||
(void) data;
|
||||
(void) signal;
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
script_print_log (weechat_python_plugin, python_scripts);
|
||||
if (!signal_data
|
||||
|| (weechat_strcasecmp ((char *)signal_data, PYTHON_PLUGIN_NAME) == 0))
|
||||
{
|
||||
script_print_log (weechat_python_plugin, python_scripts);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -853,9 +853,12 @@ weechat_ruby_signal_debug_dump_cb (void *data, const char *signal,
|
||||
(void) data;
|
||||
(void) signal;
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
script_print_log (weechat_ruby_plugin, ruby_scripts);
|
||||
if (!signal_data
|
||||
|| (weechat_strcasecmp ((char *)signal_data, RUBY_PLUGIN_NAME) == 0))
|
||||
{
|
||||
script_print_log (weechat_ruby_plugin, ruby_scripts);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -600,9 +600,12 @@ weechat_tcl_signal_debug_dump_cb (void *data, const char *signal,
|
||||
(void) data;
|
||||
(void) signal;
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
script_print_log (weechat_tcl_plugin, tcl_scripts);
|
||||
if (!signal_data
|
||||
|| (weechat_strcasecmp ((char *)signal_data, TCL_PLUGIN_NAME) == 0))
|
||||
{
|
||||
script_print_log (weechat_tcl_plugin, tcl_scripts);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
+13
-10
@@ -1409,17 +1409,20 @@ xfer_debug_dump_cb (void *data, const char *signal, const char *type_data,
|
||||
(void) data;
|
||||
(void) signal;
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
|
||||
xfer_print_log ();
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** End of \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
if (!signal_data
|
||||
|| (weechat_strcasecmp ((char *)signal_data, XFER_PLUGIN_NAME) == 0))
|
||||
{
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
|
||||
xfer_print_log ();
|
||||
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** End of \"%s\" plugin dump *****",
|
||||
weechat_plugin->name);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user