diff options
-rw-r--r-- | ChangeLog.adoc | 1 | ||||
-rw-r--r-- | po/cs.po | 5 | ||||
-rw-r--r-- | po/de.po | 5 | ||||
-rw-r--r-- | po/es.po | 5 | ||||
-rw-r--r-- | po/fr.po | 7 | ||||
-rw-r--r-- | po/hu.po | 5 | ||||
-rw-r--r-- | po/it.po | 5 | ||||
-rw-r--r-- | po/ja.po | 5 | ||||
-rw-r--r-- | po/pl.po | 5 | ||||
-rw-r--r-- | po/pt.po | 5 | ||||
-rw-r--r-- | po/pt_BR.po | 5 | ||||
-rw-r--r-- | po/ru.po | 5 | ||||
-rw-r--r-- | po/sr.po | 5 | ||||
-rw-r--r-- | po/tr.po | 5 | ||||
-rw-r--r-- | po/weechat.pot | 5 | ||||
-rw-r--r-- | src/plugins/irc/irc-command.c | 6 | ||||
-rw-r--r-- | src/plugins/irc/irc-config.c | 9 | ||||
-rw-r--r-- | src/plugins/irc/irc-config.h | 1 |
18 files changed, 72 insertions, 17 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index d6ef7077b..eccc1a409 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -27,6 +27,7 @@ New features:: * core: add number of processes in command `/sys waitpid` * core, alias, trigger: allow wildcard in commands `/bar`, `/item`, `/proxy`, `/alias` and `/trigger` (issue #1956) * buflist: jump to previous/next buffer displayed in buflist item with ctrl+wheel up/down on a buflist item (issue #1473) + * irc: add option irc.look.list_buffer * irc: change default value of server option "tls_priorities" to `NORMAL` * irc: add support of RGB colors in messages, add option irc.color.term_remap (issue #2025) * irc: add tags "nick_xxx" and "host_xxx" in all messages, including self and server messages @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-10-20 13:09+0200\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -10468,6 +10468,9 @@ msgstr "" "kanálu nezačíná se správným znakem druhu kanálu na serveru; například: \"/" "join weechat\" ve skutečnosti odešle: \"/join #weechat\"" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "" @@ -26,7 +26,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-11-11 13:49+0100\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Language-Team: German <kde-i18n-de@kde.org>\n" @@ -11620,6 +11620,9 @@ msgstr "" "der Benutzung des /join Befehls der angegebene Kanalname keinen gültigen Typ " "besitzt; Beispiel: \"/join weechat\" wird als: \"/join #weechat\" versendet" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "links/rechts im /list Buffer scrollen (prozentual zur Breite)" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-10-20 13:09+0200\n" "Last-Translator: Santiago Forero <santiago@forero.xyz>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -10717,6 +10717,9 @@ msgid "" "for example: \"/join weechat\" will in fact send: \"/join #weechat\"" msgstr "" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "" @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" -"PO-Revision-Date: 2023-11-23 08:16+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" +"PO-Revision-Date: 2023-11-24 19:39+0100\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: fr\n" @@ -11393,6 +11393,9 @@ msgstr "" "valide pour le serveur ; par exemple \"/join weechat\" enverra en fait : \"/" "join #weechat\"" +msgid "use a dedicated buffer for the output of /list" +msgstr "utiliser un tampon dédié pour la sortie de /list" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "" "défilement gauche/droite dans le tampon /list (pourcentage de la largeur)" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-10-20 13:09+0200\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -10059,6 +10059,9 @@ msgid "" "for example: \"/join weechat\" will in fact send: \"/join #weechat\"" msgstr "" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-10-20 13:10+0200\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -10724,6 +10724,9 @@ msgid "" "for example: \"/join weechat\" will in fact send: \"/join #weechat\"" msgstr "" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-10-20 13:10+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/" @@ -11066,6 +11066,9 @@ msgstr "" "る; 例: \"/join weechat\" とした場合、実際に送信されるコマンドは \"/join " "#weechat\" になります" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + #, fuzzy #| msgid "left/right scroll in fset buffer (percent of width)" msgid "left/right scroll in /list buffer (percent of width)" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-11-20 23:44+0100\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Language-Team: Polish <kde-i18n-doc@kde.org>\n" @@ -10445,6 +10445,9 @@ msgstr "" "jeśli nazwa kanału nie zaczyna się od poprawnego typu kanału na serwerze; na " "przykład: \"/join weechat\" zostanie wysłane jako: \"/join #weechat\"" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "przewinięcie w lewo/prawo w buforze /list (procent szerokości)" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-10-20 13:10+0200\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Language-Team: Portuguese <>\n" @@ -11044,6 +11044,9 @@ msgstr "" "comando /join se o nome do canal não começar por um tipo de canal válido do " "servidor; por exemplo: \"/join weechat\" enviará de facto: \"/join #weechat\"" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index ee6f55788..a332d3141 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-10-20 13:11+0200\n" "Last-Translator: Érico Nogueira <ericonr@disroot.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -10364,6 +10364,9 @@ msgid "" "for example: \"/join weechat\" will in fact send: \"/join #weechat\"" msgstr "" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "" @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-10-20 13:11+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -10099,6 +10099,9 @@ msgid "" "for example: \"/join weechat\" will in fact send: \"/join #weechat\"" msgstr "" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-11-16 08:13+0400\n" "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -11043,6 +11043,9 @@ msgstr "" "ако име канала не почиње са важећим типом канала за сервер; на пример: „/" "join weechat” ће уствари да пошаље „/join #weechat”" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "скроловање у лево/десно у /list баферу (проценат ширине)" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2023-10-20 13:11+0200\n" "Last-Translator: Emir SARI <emir_sari@icloud.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -11212,6 +11212,9 @@ msgstr "" "komutundaki kanal adının önüne kendiliğinden kanal türünü ekle; örneğin: \"/" "join weechat\" komutu \"/join #weechat\" olarak algılanacaktır" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + #, fuzzy #| msgid "left/right scroll in fset buffer (percent of width)" msgid "left/right scroll in /list buffer (percent of width)" diff --git a/po/weechat.pot b/po/weechat.pot index f8226d484..47820d8aa 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-11-23 08:13+0100\n" +"POT-Creation-Date: 2023-11-24 16:35+0100\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -9138,6 +9138,9 @@ msgid "" "for example: \"/join weechat\" will in fact send: \"/join #weechat\"" msgstr "" +msgid "use a dedicated buffer for the output of /list" +msgstr "" + msgid "left/right scroll in /list buffer (percent of width)" msgstr "" diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 39c5a3432..8f6f165d5 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -3391,7 +3391,7 @@ IRC_COMMAND_CALLBACK(list) struct t_hashtable *hashtable; char buf[512], *ptr_channel_name, *ptr_server_name, *ptr_regex; regex_t *new_regexp; - int i, ret, value; + int i, ret, value, use_list_buffer; IRC_BUFFER_GET_SERVER(buffer); @@ -3403,6 +3403,7 @@ IRC_COMMAND_CALLBACK(list) ptr_server_name = NULL; ptr_regex = NULL; new_regexp = NULL; + use_list_buffer = weechat_config_boolean (irc_config_look_list_buffer); if ((argc > 0) && (weechat_strcmp (argv[1], "-up") == 0)) { @@ -3483,6 +3484,7 @@ IRC_COMMAND_CALLBACK(list) if (argc <= i + 1) WEECHAT_COMMAND_ERROR; ptr_regex = argv_eol[i + 1]; + use_list_buffer = 0; i++; } else if (!ptr_channel_name) @@ -3535,7 +3537,7 @@ IRC_COMMAND_CALLBACK(list) ptr_server->cmd_list_regexp = NULL; } - if (ptr_server->list && !ptr_server->cmd_list_regexp) + if (ptr_server->list && use_list_buffer) { hashtable = weechat_hashtable_new (32, WEECHAT_HASHTABLE_STRING, diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c index c17173ff3..21606cfdb 100644 --- a/src/plugins/irc/irc-config.c +++ b/src/plugins/irc/irc-config.c @@ -93,6 +93,7 @@ struct t_config_option *irc_config_look_item_display_server = NULL; struct t_config_option *irc_config_look_item_nick_modes = NULL; struct t_config_option *irc_config_look_item_nick_prefix = NULL; struct t_config_option *irc_config_look_join_auto_add_chantype = NULL; +struct t_config_option *irc_config_look_list_buffer = NULL; struct t_config_option *irc_config_look_list_buffer_scroll_horizontal = NULL; struct t_config_option *irc_config_look_list_buffer_sort = NULL; struct t_config_option *irc_config_look_list_buffer_topic_strip_colors = NULL; @@ -3332,6 +3333,14 @@ irc_config_init () "will in fact send: \"/join #weechat\""), NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + irc_config_look_list_buffer = weechat_config_new_option ( + irc_config_file, irc_config_section_look, + "list_buffer", "boolean", + N_("use a dedicated buffer for the output of /list"), + NULL, 0, 0, "on", NULL, 0, + NULL, NULL, NULL, + NULL, NULL, NULL, + NULL, NULL, NULL); irc_config_look_list_buffer_scroll_horizontal = weechat_config_new_option ( irc_config_file, irc_config_section_look, "list_buffer_scroll_horizontal", "integer", diff --git a/src/plugins/irc/irc-config.h b/src/plugins/irc/irc-config.h index 333f8c712..26f12bf65 100644 --- a/src/plugins/irc/irc-config.h +++ b/src/plugins/irc/irc-config.h @@ -128,6 +128,7 @@ extern struct t_config_option *irc_config_look_item_display_server; extern struct t_config_option *irc_config_look_item_nick_modes; extern struct t_config_option *irc_config_look_item_nick_prefix; extern struct t_config_option *irc_config_look_join_auto_add_chantype; +extern struct t_config_option *irc_config_look_list_buffer; extern struct t_config_option *irc_config_look_list_buffer_scroll_horizontal; extern struct t_config_option *irc_config_look_list_buffer_sort; extern struct t_config_option *irc_config_look_list_buffer_topic_strip_colors; |