1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 08:25:43 +02:00

Add IRC options to customize target buffer for messages (task #7381)

This commit is contained in:
Sebastien Helleu
2009-12-31 19:29:26 +01:00
parent 5663e69bc5
commit b493bc5c25
28 changed files with 1009 additions and 183 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
FlashCode <flashcode@flashtux.org>
v0.3.1-dev, 2009-12-16
v0.3.1-dev, 2009-12-31
Version 0.3.1 (under dev!)
@@ -24,6 +24,7 @@ Version 0.3.1 (under dev!)
* alias: fix bug with buffer for execution of alias, when called from plugin API
with function "command" (bug #27697)
* alias: fix bug with arguments (bug #27440)
* irc: add options to customize target buffer for messages (task #7381)
* irc: use self-signed certificate to auto identify on IRC server (CertFP)
(task #7492, debian #453348)
* irc: check SSL certificates (task #7492)
+1
View File
@@ -75,6 +75,7 @@ my %plugin_list = ("weechat" => "co", "alias" => "",
my @ignore_options = ("aspell\\.dict\\..*",
"charset\\.decode\\..*",
"charset\\.encode\\..*",
"irc\\.msgbuffer\\..*",
"irc\\.ctcp\\..*",
"irc\\.ignore\\..*",
"irc\\.server\\..*",
+5
View File
@@ -73,6 +73,11 @@
** type: integer
** values: buffer_plugin, buffer_name (default value: buffer_plugin)
* *irc.look.msgbuffer_fallback*
** description: default target buffer for msgbuffer options when target is private and that private buffer is not found
** type: integer
** values: current, server (default value: current)
* *irc.look.nick_completion_smart*
** description: smart completion for nicks (completes first with last speakers)
** type: integer
+7 -7
View File
@@ -4403,14 +4403,14 @@ Arguments:
* 'prefix': name of prefix:
[width="70%",cols="^2,^1,^3,5",options="header"]
[width="70%",cols="^2e,^1l,^3,5",options="header"]
|========================================
| Prefix | Value | Color | Description
| 'error' | `=!=` | yellow | error message
| 'network' | `--` | magenta | message from network
| 'action' | `*` | white | self action
| 'join' | `-->` | lightgreen | someone joins current chat
| 'quit' | `<--` | lightred | someone leaves current chat
| Prefix | Value | Color | Description
| error | =!= | yellow | error message
| network | -- | magenta | message from network
| action | * | white | self action
| join | --> | lightgreen | someone joins current chat
| quit | <-- | lightred | someone leaves current chat
|========================================
[NOTE]
File diff suppressed because it is too large Load Diff
+5
View File
@@ -73,6 +73,11 @@
** type: entier
** valeurs: buffer_plugin, buffer_name (valeur par défaut: buffer_plugin)
* *irc.look.msgbuffer_fallback*
** description: tampon cible par défaut pour les options msgbuffer quand la cible est "private" et que le tampon privé n'est pas trouvé
** type: entier
** valeurs: current, server (valeur par défaut: current)
* *irc.look.nick_completion_smart*
** description: complétion intelligente pour les pseudos (complète d'abord avec les personnes qui ont parlé récemment)
** type: entier
+7 -7
View File
@@ -4452,14 +4452,14 @@ Paramètres :
* 'prefix' : nom du préfixe :
[width="70%",cols="^2,^1,^3,5",options="header"]
[width="70%",cols="^2e,^1l,^3,5",options="header"]
|========================================
| Préfixe | Valeur | Couleur | Description
| 'error' | `=!=` | jaune ("yellow") | message d'erreur
| 'network' | `--` | violet ("magenta") | message du réseau
| 'action' | `*` | blanc ("white") | action personnelle
| 'join' | `-->` | vert clair ("lightgreen") | quelqu'un a rejoint la discussion
| 'quit' | `<--` | rouge clair ("lightred") | quelqu'un a quitté la discussion
| Préfixe | Valeur | Couleur | Description
| error | =!= | jaune ("yellow") | message d'erreur
| network | -- | violet ("magenta") | message du réseau
| action | * | blanc ("white") | action personnelle
| join | --> | vert clair ("lightgreen") | quelqu'un a rejoint la discussion
| quit | <-- | rouge clair ("lightred") | quelqu'un a quitté la discussion
|========================================
[NOTE]
File diff suppressed because it is too large Load Diff
+5
View File
@@ -73,6 +73,11 @@
** tipo: intero
** valori: buffer_plugin, buffer_name (valore predefinito: buffer_plugin)
* *irc.look.msgbuffer_fallback*
** descrizione: default target buffer for msgbuffer options when target is private and that private buffer is not found
** tipo: intero
** valori: current, server (valore predefinito: current)
* *irc.look.nick_completion_smart*
** descrizione: completamento intelligente per i nick (usando prima chi ha parlato per ultimo)
** tipo: intero
File diff suppressed because it is too large Load Diff
+2
View File
@@ -131,6 +131,8 @@
./src/plugins/irc/irc-input.h
./src/plugins/irc/irc-mode.c
./src/plugins/irc/irc-mode.h
./src/plugins/irc/irc-msgbuffer.c
./src/plugins/irc/irc-msgbuffer.h
./src/plugins/irc/irc-nick.c
./src/plugins/irc/irc-nick.h
./src/plugins/irc/irc-protocol.c
+17 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-18 19:35+0100\n"
"POT-Creation-Date: 2009-12-31 00:57+0100\n"
"PO-Revision-Date: 2009-09-14 10:56+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3900,6 +3900,13 @@ msgstr ""
"%s%s: varování: server \"%s\" nenalezen v konfiguračním souboru, nesmazáno z "
"paměti, protože se stále používá"
msgid "buffer used to display message received from IRC server"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: error creating \"%s\" => \"%s\""
msgstr "%s%s: chyba vytváření CTCP \"%s\" => \"%s\""
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
@@ -4060,6 +4067,11 @@ msgstr ""
msgid "name of bar item where IRC server is displayed (for status bar)"
msgstr "jméno položky pole, kde je IRC server zobrazen (pro stavový řádek)"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
msgstr ""
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -5868,6 +5880,10 @@ msgstr "%s%s: nemohu nastavit \"neblokovaci\" volbu na soket"
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: vypršel časový limit \"%s\" pro %s"
#, fuzzy
#~ msgid "%s%s: error creating msgbuffer \"%s\" => \"%s\""
#~ msgstr "%s%s: chyba vytváření znakové sady \"%s\" => \"%s\""
#~ msgid "%s%s: error: \"%s\""
#~ msgstr "%s%s: chyba: \"%s\""
+17 -1
View File
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-18 19:35+0100\n"
"POT-Creation-Date: 2009-12-31 00:57+0100\n"
"PO-Revision-Date: 2009-12-20 18:42+0100\n"
"Last-Translator: Nils G <weechatter@arcor.de>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4038,6 +4038,13 @@ msgstr ""
"gefunden werden. Da der Server zur Zeit genutzt wird, konnte er noch nicht "
"entfernt werden"
msgid "buffer used to display message received from IRC server"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: error creating \"%s\" => \"%s\""
msgstr "%s%s: Fehler bei CTCP Erstellung \"%s\" => \"%s\""
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
@@ -4209,6 +4216,11 @@ msgid "name of bar item where IRC server is displayed (for status bar)"
msgstr ""
"Name der Bar-Item in dem der IRC Server angezeigt wird (für Status-Bar)"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
msgstr ""
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -6065,3 +6077,7 @@ msgstr ""
#, c-format
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: Zeitüberschreitung für \"%s\" mit %s"
#, fuzzy
#~ msgid "%s%s: error creating msgbuffer \"%s\" => \"%s\""
#~ msgstr "%s%s: Fehler bei Zeichensatz Erstellung \"%s\" => \"%s\""
+17 -1
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-18 19:35+0100\n"
"POT-Creation-Date: 2009-12-31 00:57+0100\n"
"PO-Revision-Date: 2009-09-06 21:25+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3824,6 +3824,13 @@ msgstr ""
"%s%s: atención: servidor \"%s\" no encontrado en el archivo de "
"configuración, no es borrado de la memoria porque aún está en uso"
msgid "buffer used to display message received from IRC server"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: error creating \"%s\" => \"%s\""
msgstr "%s%s: error al crear CTCP \"%s\" => \"%s\""
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
@@ -3981,6 +3988,11 @@ msgstr ""
"nombre del elemento de barra donde el servidor IRC es mostrado (para la "
"barra de estado)"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
msgstr ""
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -5764,6 +5776,10 @@ msgstr "%s%s: no es posible configurar la opción \"nonblock\" para el socket"
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: tiempo de espera máximo para \"%s\" con %s"
#, fuzzy
#~ msgid "%s%s: error creating msgbuffer \"%s\" => \"%s\""
#~ msgstr "%s%s: error al crear el set de caracteres \"%s\" => \"%s\""
#~ msgid "%s%s: error: \"%s\""
#~ msgstr "%s%s: error: \"%s\""
+16 -2
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-18 19:35+0100\n"
"PO-Revision-Date: 2009-12-18 19:36+0100\n"
"POT-Creation-Date: 2009-12-31 00:57+0100\n"
"PO-Revision-Date: 2009-12-31 18:57+0100\n"
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"MIME-Version: 1.0\n"
@@ -3988,6 +3988,13 @@ msgstr ""
"%s%s: attention: le serveur \"%s\" n'a pas été trouvé dans le fichier de "
"configuration, non supprimé en mémoire car il est en cours d'utilisation"
msgid "buffer used to display message received from IRC server"
msgstr "tampon utilisé pour afficher le message reçu du serveur IRC"
#, c-format
msgid "%s%s: error creating \"%s\" => \"%s\""
msgstr "%s%s: erreur de création \"%s\" => \"%s\""
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
@@ -4152,6 +4159,13 @@ msgstr ""
"nom de l'objet de barre où est affiché le serveur IRC (pour la barre de "
"statut)"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
msgstr ""
"tampon cible par défaut pour les options msgbuffer quand la cible est "
"\"private\" et que le tampon privé n'est pas trouvé"
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
+17 -1
View File
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-18 19:35+0100\n"
"POT-Creation-Date: 2009-12-31 00:57+0100\n"
"PO-Revision-Date: 2009-09-20 13:51+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3843,6 +3843,13 @@ msgid ""
"memory because it's currently used"
msgstr ""
msgid "buffer used to display message received from IRC server"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: error creating \"%s\" => \"%s\""
msgstr "%s nincs elég memória az információs pult üzenethez\n"
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
@@ -4004,6 +4011,11 @@ msgstr ""
msgid "name of bar item where IRC server is displayed (for status bar)"
msgstr ""
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
msgstr ""
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -5806,6 +5818,10 @@ msgstr "%s DCC: nem sikerült 'nonblock' opciót beállítani a csatornán\n"
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
#, fuzzy
#~ msgid "%s%s: error creating msgbuffer \"%s\" => \"%s\""
#~ msgstr "%s nincs elég memória az információs pult üzenethez\n"
#, fuzzy
#~ msgid "%s%s: error: \"%s\""
#~ msgstr "%sSzerver: %s%s\n"
+18 -1
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Weechat 0.31-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-18 19:35+0100\n"
"POT-Creation-Date: 2009-12-31 00:57+0100\n"
"PO-Revision-Date: 2009-12-17 08:27+0100\n"
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3962,6 +3962,13 @@ msgstr ""
"%s%s: attenzione: il server \"%s\" non è stato trovato nel file di "
"configurazione, e non è stato eliminato perché è attivo"
msgid "buffer used to display message received from IRC server"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: error creating \"%s\" => \"%s\""
msgstr "%s%s: errore nella creazione del CTCP \"%s\" => \"%s\""
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
@@ -4123,6 +4130,11 @@ msgstr ""
"nome dell'elemento barra dov'è visualizzato il server IRC (per la barra di "
"stato)"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
msgstr ""
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -5946,3 +5958,8 @@ msgstr "%s%s: impossibile impostare l'opzione \"nonblock\" per il socket"
#, c-format
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: timeout per \"%s\" con %s"
#, fuzzy
#~ msgid "%s%s: error creating msgbuffer \"%s\" => \"%s\""
#~ msgstr ""
#~ "%s%s: errore durante la creazione del set di caratteri \"%s\" => \"%s\""
+18 -1
View File
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-18 19:35+0100\n"
"POT-Creation-Date: 2009-12-31 00:57+0100\n"
"PO-Revision-Date: 2009-09-06 21:25+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: Polish\n"
@@ -3947,6 +3947,13 @@ msgstr ""
"%s%s: ostrzeżenie: serwer \"%s\" nie znaleziony w pliku konfiguracyjnym, nie "
"usunięty z pamięci, ponieważ jest obecnie uzywany"
msgid "buffer used to display message received from IRC server"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: error creating \"%s\" => \"%s\""
msgstr "%s%s: błąd podczas tworzenia aliasu \"%s\" => \"%s\""
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
@@ -4104,6 +4111,11 @@ msgstr ""
msgid "name of bar item where IRC server is displayed (for status bar)"
msgstr "nazwa paska, w którym wyświetlany jest serwer IRC (dla paska stanu)"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
msgstr ""
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -5926,6 +5938,11 @@ msgstr "%s%s: nie można ustawić opcji \"nonblock\" dla gniazda"
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: przekroczono czas na \"%s\" z %s"
#, fuzzy
#~ msgid "%s%s: error creating msgbuffer \"%s\" => \"%s\""
#~ msgstr ""
#~ "%s%s: błąd przy tworzeniu zestawu znaków (kodowania) \"%s\" => \"%s\""
#~ msgid "%s%s: error: \"%s\""
#~ msgstr "%s%s: błąd: \"%s\""
+17 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-18 19:35+0100\n"
"POT-Creation-Date: 2009-12-31 00:57+0100\n"
"PO-Revision-Date: 2009-09-20 13:50+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3844,6 +3844,13 @@ msgid ""
"memory because it's currently used"
msgstr ""
msgid "buffer used to display message received from IRC server"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: error creating \"%s\" => \"%s\""
msgstr "%s недостаточно памяти для сообщения в строке информации\n"
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
@@ -4005,6 +4012,11 @@ msgstr ""
msgid "name of bar item where IRC server is displayed (for status bar)"
msgstr ""
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
msgstr ""
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -5804,6 +5816,10 @@ msgstr "%s DCC: не могу установить неблокирующий р
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s нет аргумента для параметра \"%s\"\n"
#, fuzzy
#~ msgid "%s%s: error creating msgbuffer \"%s\" => \"%s\""
#~ msgstr "%s недостаточно памяти для сообщения в строке информации\n"
#, fuzzy
#~ msgid "%s%s: error: \"%s\""
#~ msgstr "%sСервер: %s%s\n"
+2
View File
@@ -132,6 +132,8 @@ SET(WEECHAT_SOURCES
./src/plugins/irc/irc-input.h
./src/plugins/irc/irc-mode.c
./src/plugins/irc/irc-mode.h
./src/plugins/irc/irc-msgbuffer.c
./src/plugins/irc/irc-msgbuffer.h
./src/plugins/irc/irc-nick.c
./src/plugins/irc/irc-nick.h
./src/plugins/irc/irc-protocol.c
+13 -1
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-18 19:35+0100\n"
"POT-Creation-Date: 2009-12-31 00:57+0100\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"
@@ -3267,6 +3267,13 @@ msgid ""
"memory because it's currently used"
msgstr ""
msgid "buffer used to display message received from IRC server"
msgstr ""
#, c-format
msgid "%s%s: error creating \"%s\" => \"%s\""
msgstr ""
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
@@ -3403,6 +3410,11 @@ msgstr ""
msgid "name of bar item where IRC server is displayed (for status bar)"
msgstr ""
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
msgstr ""
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
+1
View File
@@ -30,6 +30,7 @@ irc-ignore.c irc-ignore.h
irc-info.c irc-info.h
irc-input.c irc-input.h
irc-mode.c irc-mode.h
irc-msgbuffer.c irc-msgbuffer.h
irc-nick.c irc-nick.h
irc-protocol.c irc-protocol.h
irc-raw.c irc-raw.h
+2
View File
@@ -50,6 +50,8 @@ irc_la_SOURCES = irc.c \
irc-input.h \
irc-mode.c \
irc-mode.h \
irc-msgbuffer.c \
irc-msgbuffer.h \
irc-nick.c \
irc-nick.h \
irc-protocol.c \
File diff suppressed because it is too large Load Diff
+8
View File
@@ -35,6 +35,12 @@ enum t_irc_config_look_item_display_server
IRC_CONFIG_LOOK_ITEM_DISPLAY_SERVER_NAME,
};
enum t_irc_config_look_msgbuffer_fallback
{
IRC_CONFIG_LOOK_MSGBUFFER_FALLBACK_CURRENT = 0,
IRC_CONFIG_LOOK_MSGBUFFER_FALLBACK_SERVER,
};
enum t_irc_config_look_notice_as_pv
{
IRC_CONFIG_LOOK_NOTICE_AS_PV_AUTO = 0,
@@ -57,6 +63,7 @@ enum t_irc_config_display_away
};
extern struct t_config_file *irc_config_file;
extern struct t_config_section *irc_config_section_msgbuffer;
extern struct t_config_section *irc_config_section_ctcp;
extern struct t_config_section *irc_config_section_server_default;
extern struct t_config_section *irc_config_section_server;
@@ -76,6 +83,7 @@ extern struct t_config_option *irc_config_look_display_old_topic;
extern struct t_config_option *irc_config_look_hide_nickserv_pwd;
extern struct t_config_option *irc_config_look_highlight_tags;
extern struct t_config_option *irc_config_look_item_display_server;
extern struct t_config_option *irc_config_look_msgbuffer_fallback;
extern struct t_config_option *irc_config_look_notice_as_pv;
extern struct t_config_option *irc_config_look_raw_messages;
extern struct t_config_option *irc_config_look_show_away_once;
File diff suppressed because it is too large Load Diff
+46
View File
@@ -0,0 +1,46 @@
/*
* Copyright (c) 2003-2009 by FlashCode <flashcode@flashtux.org>
* See README for License detail, AUTHORS for developers list.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_IRC_MSGBUFFER_H
#define __WEECHAT_IRC_MSGBUFFER_H 1
enum t_irc_msgbuffer_target
{
IRC_MSGBUFFER_TARGET_WEECHAT = 0,
IRC_MSGBUFFER_TARGET_CURRENT,
IRC_MSGBUFFER_TARGET_PRIVATE,
/* number of msgbuffer targets */
IRC_MSGBUFFER_NUM_TARGETS,
};
struct t_irc_server;
struct t_irc_msgbuffer
{
char *message; /* IRC message */
enum t_irc_msgbuffer_target target; /* target buffer */
};
extern const char *irc_msgbuffer_get_string (int target);
extern struct t_gui_buffer *irc_msgbuffer_get_target_buffer (struct t_irc_server *server,
const char *nick,
const char *message,
const char *alias);
#endif /* irc-msgbuffer.h */
File diff suppressed because it is too large Load Diff