1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

Compare commits

...

21 Commits

Author SHA1 Message Date
Sebastien Helleu 8d630641dc Version 0.3.7-rc3 2012-02-19 19:36:54 +01:00
Sebastien Helleu c6850e14a7 irc: fix memory leak in SASL/blowfish authentication 2012-02-19 19:24:57 +01:00
Sebastien Helleu 8a0f53019a irc: fix memory leak when a server is deleted 2012-02-19 19:17:50 +01:00
Sebastien Helleu 205a869598 core: fix memory leak when closing buffer 2012-02-19 19:15:14 +01:00
Sebastien Helleu 508bfe5c7a core: fix memory leak in function util_search_full_lib_name 2012-02-19 19:14:06 +01:00
Sebastien Helleu af72bcb01d irc: add option "cap" in servers to enable capabilities on connection 2012-02-19 19:04:11 +01:00
Sebastien Helleu 19dfdfedc9 doc: fix python example for config_new_option in plugin API reference 2012-02-17 11:05:59 +01:00
Sebastien Helleu 9040193f7a core: update ChangeLog: add task #10703 2012-02-16 10:07:30 +01:00
Sebastien Helleu a539dcbff8 core: automatically add newline char after last pasted line (when pasting many lines with confirmation) 2012-02-16 09:52:45 +01:00
Sebastien Helleu c91a91c6ee Version 0.3.7-rc2 2012-02-13 11:14:06 +01:00
Sebastien Helleu 08cb3f3870 core: update ChangeLog 2012-02-13 11:07:23 +01:00
Sebastien Helleu 3c338e59ed core: fix bug with layout: assign layout number in buffers when doing /layout save 2012-02-12 08:55:58 +01:00
Marco Paolone 00c2b8f951 doc: update italian FAQ 2012-02-12 08:29:21 +01:00
Sebastien Helleu 5d29e0062a doc: add question about "TLS handshake error" in FAQ 2012-02-11 11:40:01 +01:00
Sebastien Helleu d31a6540ca doc: update example of color code in developer's guide 2012-02-11 07:55:29 +01:00
Sebastien Helleu f8ef3c8f80 doc: add color codes in strings (developer's guide) 2012-02-10 18:02:06 +01:00
Marco Paolone 508d8a1b43 doc: update italian docs 2012-02-10 08:25:52 +01:00
Sebastien Helleu 96ecfdd9d1 core: add options "dns_servers" and "accepttimeout_ms" for curl (libcurl >= 7.24.0) 2012-02-09 09:48:57 +01:00
Sebastien Helleu 4a1f0ef5cc irc: add signal "irc_server_opened" 2012-02-09 08:47:36 +01:00
Sebastien Helleu 06fb5d1921 doc: fix typo in plugin API reference (example for weechat_string_toupper) 2012-02-09 07:32:04 +01:00
Marco Paolone 544b7098b3 core: update italian translations 2012-02-06 08:29:55 +01:00
53 changed files with 1053 additions and 568 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "7-rc1")
SET(VERSION_PATCH "7-rc3")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
+11 -1
View File
@@ -1,12 +1,18 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.7-rc1, 2012-02-05
v0.3.7-rc3, 2012-02-19
Version 0.3.7 (under dev!)
--------------------------
* core: fix memory leak when closing buffer
* core: fix memory leak in function util_search_full_lib_name
* core: automatically add newline char after last pasted line (when pasting many
lines with confirmation) (task #10703)
* core: fix bug with layout: assign layout number in buffers when doing
/layout save
* core: do not auto add space after nick completer if option
weechat.completion.nick_add_space is off
* core: fix signal "buffer_switch": send it only once when switching buffer
@@ -55,6 +61,10 @@ Version 0.3.7 (under dev!)
nicklist_get_next_item
* alias: add default alias umode => /mode $nick
* aspell: fix URL detection (do not check spelling of URLs) (bug #34040)
* irc: fix memory leak in SASL/blowfish authentication
* irc: fix memory leak when a server is deleted
* irc: add option "cap" in servers to enable capabilities on connection
* irc: add signal "irc_server_opened"
* irc: add signal "xxx,irc_out1_yyy" and modifier "irc_out1_xxx" (outgoing
message before automatic split to fit in 512 bytes)
* irc: fix self-highlight when using /me with an IRC bouncer like znc
+1 -1
View File
@@ -1,7 +1,7 @@
WeeChat News
============
Sébastien Helleu <flashcode@flashtux.org>
v0.3.7-rc1, 2012-02-05
v0.3.7-rc3, 2012-02-19
Version 0.3.7 (under dev!)
+2 -2
View File
@@ -24,10 +24,10 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.3.7-rc1, flashcode@flashtux.org)
AC_INIT(WeeChat, 0.3.7-rc3, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([src/core/weechat.c])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([weechat], [0.3.7-rc1])
AM_INIT_AUTOMAKE([weechat], [0.3.7-rc3])
LICENSE="GPL3"
# Checks for programs
+1 -1
View File
@@ -9,4 +9,4 @@
@k\(([A-Za-z0-9/_&\=])\)=<span class="key">\1</span>
@k\(([a-z0-9/_&\=][^)]*)\)=<span class="key">\1</span>
@k\(([^)]+)\)=<span class="key other">\1</span>
@h\(([A-Za-z0-9]+)\)=<span class="hexa">\1</span>
+9
View File
@@ -65,3 +65,12 @@ p.table {
.keyplus {
font-size: 0.8em;
}
.hexa {
color: #000077;
font-size: 0.85em;
font-family: monospace;
font-variant: small-caps;
border: solid 1px #8888BB;
padding: 0 0.2em 0 0.2em;
margin: 0 0.2em 0 0.2em;
}
@@ -228,6 +228,10 @@
| use_ssl | long | none, try, control, all
| dns_servers | string |
| accepttimeout_ms | long |
| sslcert | string |
| sslcerttype | string |
+5
View File
@@ -418,6 +418,11 @@
** Typ: integer
** Werte: 0 .. 1000000 (Standardwert: `25`)
* [[option_irc.server_default.cap]] *irc.server_default.cap*
** Beschreibung: `comma-separated list of capabilities to enable for server if they are available (example: "multi-prefix,extended-join")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.server_default.command]] *irc.server_default.command*
** Beschreibung: `Enthält Befehle die nach der Verbindung zum Server ausgeführt werden sollen. Mehrere Befehle müssen durch ein ";" getrennt werden. Möchte man ein Semikolon schreiben muss man "\;" verwenden. Die speziellen Variablen $nick, $channel und $server werden dabei durch den jeweiligen Wert ersetzt`
** Typ: Zeichenkette
+13
View File
@@ -670,6 +670,19 @@ Fall weniger sicher):
----------------------------------------
// TRANSLATION MISSING
[[irc_ssl_handshake_error]]
When connecting to server with SSL, I see only error "TLS handshake failed", what can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can try a different priority string (WeeChat ≥ 0.3.5 only), replace "xxx"
by your server name:
----------------------------------------
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
----------------------------------------
[[irc_ssl_freenode]]
Wie kann ich eine SSL gesicherte Verbindung zum freenode Server herstellen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -228,6 +228,10 @@
| use_ssl | long | none, try, control, all
| dns_servers | string |
| accepttimeout_ms | long |
| sslcert | string |
| sslcerttype | string |
+5
View File
@@ -418,6 +418,11 @@
** type: integer
** values: 0 .. 1000000 (default value: `25`)
* [[option_irc.server_default.cap]] *irc.server_default.cap*
** description: `comma-separated list of capabilities to enable for server if they are available (example: "multi-prefix,extended-join")`
** type: string
** values: any string (default value: `""`)
* [[option_irc.server_default.command]] *irc.server_default.command*
** description: `command(s) to run when connected to server (many commands should be separated by ";", use "\;" for a semicolon, special variables $nick, $channel and $server are replaced by their value)`
** type: string
+149 -1
View File
@@ -714,13 +714,161 @@ struct t_gui_buffer
Then the two list pointers, to the head and tail of list:
[source,C]
----------------------------------------
struct t_gui_buffer *gui_buffers = NULL; /* first buffer */
struct t_gui_buffer *last_gui_buffer = NULL; /* last buffer */
----------------------------------------
[[color_codes_in_strings]]
Color codes in strings
~~~~~~~~~~~~~~~~~~~~~~
WeeChat uses own color codes in strings to display attributes (bold,
underline, ...) and colors on screen.
All attributes/colors are prefixed with a char in string, which can be:
* '0x19': color code (followed by color code(s))
* '0x1A': set attribute (followed by attribute on one char)
* '0x1B': remove attribute (followed by attribute on one char)
* '0x1C': reset (nothing after)
Allowed attributes are (one or more chars):
* `*`: bold
* `!`: reverse
* `/`: italic
* `_`: underline
* `|`: keep attributes
Possible colors are:
* standard color: optional attributes + number on 2 digits
* extended color: `@` + optional attributes + number on 5 digits
In following table, these conventions are used:
* `STD`: standard color (2 digits)
* `(A)STD`: standard color with optional attributes (attributes + 2 digits)
* `EXT`: extended color (`@` + 5 digits)
* `(A)EXT`: extended color with optional attributes (`@` + attributes + 5 digits)
* `ATTR`: one attribute char (`*`, `!`, `/`, `_` or `|`)
All combinations are summarized in this table:
[width="100%",cols="3,2,1,5",options="header"]
|========================================
| Code | Example | Areas | Description
| @h(19) + STD | @h(19)`01` | chat + bars | Set attributes and color using option, see table below
| @h(19) + EXT | @h(19)`@00001` | chat | Set color with a ncurses pair (used only on `/color` buffer)
| @h(19) + "F" + (A)STD | @h(19)`F*05` | chat + bars | Set foreground (WeeChat color)
| @h(19) + "F" + (A)EXT | @h(19)`F@00214` | chat + bars | Set foreground (extended color)
| @h(19) + "B" + STD | @h(19)`B05` | chat + bars | Set background (WeeChat color)
| @h(19) + "B" + EXT | @h(19)`B@00124` | chat + bars | Set background (extended color)
| @h(19) + "*" + (A)STD | @h(19)`*05` | chat + bars | Set foreground (WeeChat color)
| @h(19) + "*" + (A)EXT | @h(19)`*@00214` | chat + bars | Set foreground (extended color)
| @h(19) + "*" + (A)STD + "," + (A)STD | @h(19)`*08,05` | chat + bars | Set foreground/background (WeeChat colors)
| @h(19) + "*" + (A)STD + "," + (A)EXT | @h(19)`*01,@00214` | chat + bars | Set foreground (WeeChat color) and background (extended color)
| @h(19) + "*" + (A)EXT + "," + (A)STD | @h(19)`*@00214,05` | chat + bars | Set foreground (extended color) and background (WeeChat color)
| @h(19) + "*" + (A)EXT + "," + (A)EXT | @h(19)`*@00214,@00017` | chat + bars | Set foreground/background (extended colors)
| @h(19) + "b" + "F" | @h(19)`bF` | bars | Set bar foreground color
| @h(19) + "b" + "D" | @h(19)`bD` | bars | Set bar delimiter color
| @h(19) + "b" + "B" | @h(19)`bB` | bars | Set bar background color
| @h(19) + "b" + "_" | @h(19)`b_` | input bar | Start input char (used only in item "input_text")
| @h(19) + "b" + "-" | @h(19)`b-` | input bar | Start input hidden char (used only in item "input_text")
| @h(19) + "b" + "#" | @h(19)`b#` | input bar | Move cursor char char (used only in item "input_text")
| @h(19) + "b" + "i" | @h(19)`bi` | bars | Start item
| @h(19) + "b" + "l" (lower L) | @h(19)`bl` | bars | Start line item
| @h(19) + @h(1C) | @h(19)@h(1C) | chat + bars | Reset color (keep attributes)
| @h(1A) + ATTR | @h(1A)`*` | chat + bars | Set attribute
| @h(1B) + ATTR | @h(1B)`*` | chat + bars | Remove attribute
| @h(1C) | @h(1C) | chat + bars | Reset attributes and color
|========================================
Color codes using options (see 't_gui_color_enum', in file 'src/gui/gui-color.h'):
[width="40%",cols="^1m,5",options="header"]
|========================================
| Code | Option
| 00 | weechat.color.separator
| 01 | weechat.color.chat
| 02 | weechat.color.chat_time
| 03 | weechat.color.chat_time_delimiters
| 04 | weechat.color.chat_prefix_error
| 05 | weechat.color.chat_prefix_network
| 06 | weechat.color.chat_prefix_action
| 07 | weechat.color.chat_prefix_join
| 08 | weechat.color.chat_prefix_quit
| 09 | weechat.color.chat_prefix_more
| 10 | weechat.color.chat_prefix_suffix
| 11 | weechat.color.chat_buffer
| 12 | weechat.color.chat_server
| 13 | weechat.color.chat_channel
| 14 | weechat.color.chat_nick
| 15 | weechat.color.chat_nick_self
| 16 | weechat.color.chat_nick_other
| 17 | _(not used any more since WeeChat 0.3.4)_
| 18 | _(not used any more since WeeChat 0.3.4)_
| 19 | _(not used any more since WeeChat 0.3.4)_
| 20 | _(not used any more since WeeChat 0.3.4)_
| 21 | _(not used any more since WeeChat 0.3.4)_
| 22 | _(not used any more since WeeChat 0.3.4)_
| 23 | _(not used any more since WeeChat 0.3.4)_
| 24 | _(not used any more since WeeChat 0.3.4)_
| 25 | _(not used any more since WeeChat 0.3.4)_
| 26 | _(not used any more since WeeChat 0.3.4)_
| 27 | weechat.color.chat_host
| 28 | weechat.color.chat_delimiters
| 29 | weechat.color.chat_highlight
| 30 | weechat.color.chat_read_marker
| 31 | weechat.color.chat_text_found
| 32 | weechat.color.chat_value
| 33 | weechat.color.chat_prefix_buffer
| 34 | weechat.color.chat_tags
| 35 | weechat.color.chat_inactive_window
| 36 | weechat.color.chat_inactive_buffer
| 37 | weechat.color.chat_prefix_buffer_inactive_buffer
|========================================
WeeChat colors are:
[width="40%",cols="^1m,5",options="header"]
|========================================
| Code | Color
| 00 | default (terminal foreground/background)
| 01 | black
| 02 | dark gray
| 03 | dark red
| 04 | light red
| 05 | dark green
| 06 | light green
| 07 | brown
| 08 | yellow
| 09 | dark blue
| 10 | light blue
| 11 | dark magenta
| 12 | light magenta
| 13 | dark cyan
| 14 | light cyan
| 15 | gray
| 16 | white
|========================================
Examples of color codes:
[width="50%",cols="1,2",options="header"]
|========================================
| Code | Description
| @h(19)`01` | color of option "01" (chat text)
| @h(19)`*08,03` | yellow on red
| @h(19)`*@00214` | orange (extended color 214)
| @h(19)`*@*_00214,@00017` | bold underlined orange (214) on dark blue (17)
| @h(1A)`_` | set underline
| @h(1B)`_` | remove underline
| @h(1C)`bD` | reset attributes and color
|========================================
[[plugin_internals]]
Plugin internals
----------------
+12
View File
@@ -637,6 +637,18 @@ connection will be less secure by doing that):
----------------------------------------
[[irc_ssl_handshake_error]]
When connecting to server with SSL, I see only error "TLS handshake failed", what can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can try a different priority string (WeeChat ≥ 0.3.5 only), replace "xxx"
by your server name:
----------------------------------------
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
----------------------------------------
[[irc_ssl_freenode]]
How can I connect to freenode server using SSL?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+7 -2
View File
@@ -556,7 +556,7 @@ C example:
[source,C]
----------------------------------------
char *str = "AbCdé";
weechat_string_tolower (str); /* str is now: "ABCDé" */
weechat_string_toupper (str); /* str is now: "ABCDé" */
----------------------------------------
[NOTE]
@@ -4262,7 +4262,7 @@ option4 = weechat.config_new_option(config_file, section, "option4", "string",
option5 = weechat.config_new_option(config_file, section, "option5", "color",
"My option, type color",
"", 0, 100, "lightblue", "lightblue", 0,
"", 0, 0, "lightblue", "lightblue", 0,
"", "",
"", "",
"", "")
@@ -7355,6 +7355,11 @@ Arguments:
pointer: buffer |
private opened
| irc | irc_server_opened +
(_new in version 0.3.7_) |
pointer: buffer |
server buffer opened
| irc | irc_server_connecting |
string: server name |
connecting to server
@@ -228,6 +228,10 @@
| use_ssl | long | none, try, control, all
| dns_servers | string |
| accepttimeout_ms | long |
| sslcert | string |
| sslcerttype | string |
+5
View File
@@ -418,6 +418,11 @@
** type: entier
** valeurs: 0 .. 1000000 (valeur par défaut: `25`)
* [[option_irc.server_default.cap]] *irc.server_default.cap*
** description: `liste séparée par des virgules de capacités ("capabilities") à activer sur le serveur si elles sont disponibles (exemple: "multi-prefix,extended-join")`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_irc.server_default.command]] *irc.server_default.command*
** description: `commande(s) à exécuter lorsque connecté au serveur (plusieurs commandes doivent être séparées par ";", utilisez "\;" pour un point-virgule, les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)`
** type: chaîne
+12
View File
@@ -661,6 +661,18 @@ Si vous voyez des erreurs à propos du certificat, vous pouvez désactiver
----------------------------------------
[[irc_ssl_handshake_error]]
Lors de la connexion SSL à un serveur, je vois juste une erreur "TLS handshake failed", que puis-je faire ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Vous pouvez essayer une chaîne de priorité différente (WeeChat ≥ 0.3.5
seulement), remplacez "xxx" par le nom de votre serveur :
----------------------------------------
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
----------------------------------------
[[irc_ssl_freenode]]
Comment puis-je me connecter à freenode avec SSL ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+7 -2
View File
@@ -563,7 +563,7 @@ Exemple en C :
[source,C]
----------------------------------------
char *str = "AbCdé";
weechat_string_tolower (str); /* str vaut maintenant : "ABCDé" */
weechat_string_toupper (str); /* str vaut maintenant : "ABCDé" */
----------------------------------------
[NOTE]
@@ -4312,7 +4312,7 @@ option4 = weechat.config_new_option(config_file, section, "option4", "string",
option5 = weechat.config_new_option(config_file, section, "option5", "color",
"Mon option, type couleur",
"", 0, 100, "lightblue", "lightblue", 0,
"", 0, 0, "lightblue", "lightblue", 0,
"", "",
"", "",
"", "")
@@ -7465,6 +7465,11 @@ Paramètres :
pointeur : tampon |
discussion privée ouverte
| irc | irc_server_opened +
(_nouveau dans la version 0.3.7_) |
pointeur : tampon |
tampon du serveur ouvert
| irc | irc_server_connecting |
chaîne : nom du serveur |
connexion en cours au serveur
@@ -228,6 +228,10 @@
| use_ssl | long | none, try, control, all
| dns_servers | string |
| accepttimeout_ms | long |
| sslcert | string |
| sslcerttype | string |
+25 -25
View File
@@ -163,24 +163,24 @@ motivo: motivo per la disconnessione
add [re:]<nick> [<server> [<canale>]]
del <numero>|-all
list: list all ignores
add: add an ignore
nick: nick or hostname (can be regular expression if "re:" is given or a mask using "*" to replace one or more chars)
del: delete an ignore
number: number of ignore to delete (look at list to find it)
-all: delete all ignores
server: internal server name where ignore is working
channel: channel name where ignore is working
list: elenca tutti gli ignore
add: aggiungi un ignore
nick: nick oppure nome host (può essere un'espressione regolare se viene passato il parametro "re:" oppure usando un mask "*" per sostituire uno o più caratteri)
del: elimina un ignore
numero: numero di ignore da eliminare (nella lista)
-all: elimina tutti gli ignore
server: nome interno del server dove l'ignore è attivo
canale: nome del canale dove l'ignore è attivo
Note: the regular expression can start with "(?-i)" to become case sensitive.
Nota: l'espressione regolare può iniziare con "(?-i)" per diventare sensibile alle maiuscole.
Examples:
ignore nick "toto" everywhere:
/ignore add toto
ignore host "toto@domain.com" on freenode server:
/ignore add toto@domain.com freenode
ignore host "toto*@*.domain.com" on freenode/#weechat:
/ignore add toto*@*.domain.com freenode #weechat
Esempi:
ignora nick "tizio" su tutti gli host/canali:
/ignore add tizio
ignora l'host "tizio@dominio.com" sul server freenode:
/ignore add tizio@dominio.com freenode
ignora l'host "tizio*@*.dominio.com" su freenode/#weechat:
/ignore add tizio*@*.dominio.com freenode #weechat
........................................
[[command_irc_info]]
@@ -272,16 +272,16 @@ mask_server: elenco dei server che devono corrispondere a questa mask
........................................
/list [<canale>[,<canale>...]] [<server>] [-re <regexp>]
channel: channel to list
server: server name
regex: regular expression used to filter results (case insensitive, can start by "(?-i)" to become case sensitive)
canale: canale da elencare
server: nome del server
regex: espressione regolare usata per filtrare i risultati (non sensibile alle maiuscole, può iniziare con "(?-i)" per renderla sensibile alle maiuscole)
Examples:
list all channels on server (can be very slow on large networks):
Esempi:
elenca tutti i canali sul server (può essere molto lento su grandi network):
/list
list channel #weechat:
/list #weechat
list all channels beginning with "#weechat" (can be very slow on large networks):
elenca il canale #weechat:
/list #weechat.*
elenca tutti i canali che iniziano con "#weechat" (può essere molto lento su grandi network):
/list -re #weechat.*
........................................
@@ -338,7 +338,7 @@ L'elenco delle modalità non è completa, è necessario leggere la documentazion
Esempi:
protegge l'argomento sul canale #weechat:
/mode #weecht +t
/mode #weechat +t
diventa invisibile sul server:
/mode nick +i
........................................
+9 -4
View File
@@ -159,17 +159,17 @@
** valori: on, off (valore predefinito: `on`)
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
** descrizione: `comma separated list of words to highlight in channel buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their value), these words are added to buffer local variable "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"`
** descrizione: `elenco separato da virgole di parole da evidenziare nei buffer dei canali (non sensibili alle maiuscole, usare "(?-i)" all'inizio delle parole per renderle sensibili alle maiuscole; le variabili speciali $nick, $channel e $server sono sostituite dal loro valore), queste parole vengono aggiunte alla variabile locale del buffer "highlight_words" solo quando viene creato il buffer (non interessa gli attuali buffer), una stringa vuota disabilita l'evidenziatore predefinito sul nick, esempi: "$nick", "(?-i)$nick"`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"$nick"`)
* [[option_irc.look.highlight_pv]] *irc.look.highlight_pv*
** descrizione: `comma separated list of words to highlight in private buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their value), these words are added to buffer local variable "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"`
** descrizione: `elenco separato da virgole di parole da evidenziare nei buffer privati (non sensibili alle maiuscole, usare "(?-i)" all'inizio delle parole per renderle sensibili alle maiuscole; le variabili speciali $nick, $channel e $server sono sostituite dal loro valore), queste parole vengono aggiunte alla variabile locale del buffer "highlight_words" solo quando viene creato il buffer (non interessa gli attuali buffer), una stringa vuota disabilita l'evidenziatore predefinito sul nick, esempi: "$nick", "(?-i)$nick"`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"$nick"`)
* [[option_irc.look.highlight_server]] *irc.look.highlight_server*
** descrizione: `comma separated list of words to highlight in server buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their value), these words are added to buffer local variable "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"`
** descrizione: `elenco separato da virgole di parole da evidenziare nei buffer dei server (non sensibili alle maiuscole, usare "(?-i)" all'inizio delle parole per renderle sensibili alle maiuscole; le variabili speciali $nick, $channel e $server sono sostituite dal loro valore), queste parole vengono aggiunte alla variabile locale del buffer "highlight_words" solo quando viene creato il buffer (non interessa gli attuali buffer), una stringa vuota disabilita l'evidenziatore predefinito sul nick, esempi: "$nick", "(?-i)$nick"`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"$nick"`)
@@ -194,7 +194,7 @@
** valori: on, off (valore predefinito: `off`)
* [[option_irc.look.item_display_server]] *irc.look.item_display_server*
** descrizione: `nome dell'elemento barra dov'è visualizzato il server IRC (per la barra di stato)`
** descrizione: `nome dell'elemento barra dove è mostrato il server IRC (per la barra di stato)`
** tipo: intero
** valori: buffer_plugin, buffer_name (valore predefinito: `buffer_plugin`)
@@ -418,6 +418,11 @@
** tipo: intero
** valori: 0 .. 1000000 (valore predefinito: `25`)
* [[option_irc.server_default.cap]] *irc.server_default.cap*
** descrizione: `comma-separated list of capabilities to enable for server if they are available (example: "multi-prefix,extended-join")`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
* [[option_irc.server_default.command]] *irc.server_default.command*
** descrizione: `comando(i) da eseguire quando si è connessi al server (più comandi vanno separati da ":", usare ";" per un punto e virgola, le variabili speciali $nick, $canale e $server vengono sostituite dai loro valori)`
** tipo: stringa
+14 -14
View File
@@ -6,23 +6,23 @@
del <protocollo.nome>
raw
list: list relay clients (only active relays)
listfull: list relay clients (verbose, all relays)
listrelay: list relays (name and port)
add: add relay for a protocol + name
del: remove relay for a protocol + name
protocol.name: protocol and name to relay:
- protocol "irc": name is the server to share
- protocol "weechat" (name is not used)
port: port used for relay
raw: open buffer with raw Relay data
list: elenca i client relay (solo quelli attivi)
listfull: elenca i client relay (dettagliato, tutti i relay)
listrelay: elenca i relay (nome e porta)
add: aggiungi relay per un protocollo + nome
del: rimuovi relay per un protocollo + nome
protocollo.nome: protocollo e nome con cui effettuare il relay
- protocollo "irc": il nome è il server da condividere
- protocollo "weechat" (il nome non viene usato)
porta: porta usata per il relay
raw: apre il buffer con dati raw Relay
Without argument, this command opens buffer with list of relay clients.
Senza argomento, il comando apre i buffer con l'elenco dei client relay.
Examples:
irc proxy, for server "freenode":
Esempio:
proxy irc, per il server "freenode":
/relay add irc.freenode 8000
weechat protocol:
protocollo weechat:
/relay add weechat 8001
........................................
+2 -2
View File
@@ -49,12 +49,12 @@
** valori: 0 .. 65535 (valore predefinito: `256`)
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
** descrizione: `regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^(123.45.67.89|192.160.*)$"`
** descrizione: `espressione regolare con gli indirizzi IP a cui è consentito usare il relay, (non sensibile alle maiuscole, usare "(?-i)" all'inizio per renderla sensibile alle maiuscole), esempio: "^(123.45.67.89|192.160.*)$"`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
* [[option_relay.network.bind_address]] *relay.network.bind_address*
** descrizione: `indirizzo associato (se vuoto, la connessione è possibile su tutte le interfacce, usare "127.0.0.1" per consentire le connessioni solo dalla macchina locale)`
** descrizione: `indirizzo per l'associazione (se vuoto, la connessione è possibile su tutte le interfacce, usare "127.0.0.1" per consentire le connessioni solo dalla macchina locale)`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
+14 -14
View File
@@ -6,23 +6,23 @@
del <nome>|-all [<nome>...]
default -yes
list: list all rmodifiers
listdefault: list default rmodifiers
add: add a rmodifier
name: name of rmodifier
modifiers: comma separated list of modifiers
groups: action on groups found: comma separated list of groups (from 1 to 9) with optional "*" after number to hide group
regex: regular expression (case insensitive, can start by "(?-i)" to become case sensitive)
del: delete a rmodifier
-all: delete all rmodifiers
default: restore default rmodifiers
list: elenca tutti gli rmodifier
listdefault: elenca gli rmodifier predefiniti
add: aggiunge un rmodifier
nome: nome rmodifier
modifier: elenco separato da virgole di modificatori
gruppi: azione sui gruppi trovati: elenco separato da virgole di gruppi (da 1 a 9) con "*" opzionale dopo il numero per nascondere il gruppo
regex: espressione regolare (non sensibile alle maiuscole, può iniziare con "(?-i)" per diventare sensibile alle maiuscole
del: elimina rmodifier
-all: elimina tutti gli rmodifier
default: ripristina gli rmodifier predefiniti
Examples:
hide everything typed after a command /password:
Esempi:
nasconde ciò che viene digitato dopo il comando /password:
/rmodifier add password input_text_display 1,2* ^(/password +)(.*)
delete rmodifier "password":
elimina rmodifier "password":
/rmodifier del password
delete all rmodifiers:
elimina tutti gli rmodifier:
/rmodifier del -all
........................................
+131 -131
View File
@@ -201,49 +201,49 @@ infolists: mostra informazioni sulle liste info
add <nome> <buffer>[,<buffer>...] <tag> <regex>]
del <nome>|-all
list: list all filters
enable: enable filters (filters are enabled by default)
disable: disable filters
toggle: toggle filters
name: filter name
add: add a filter
del: delete a filter
-all: delete all filters
buffer: comma separated list of buffers where filter is active:
- this is full name including plugin (example: "irc.freenode.#weechat")
- "*" means all buffers
- a name starting with '!' is excluded
- name can start or end with '*' to match many buffers
tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
regex: regular expression to search in line
- use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|'
- if regex starts with '!', then matching result is reversed (use '\!' to start with '!')
- two regular expressions are created: one for prefix and one for message
- regex are case insensitive, they can start by "(?-i)" to become case sensitive
list: elenca tutti i filtri
enable: abilita filtri (i filtri sono abilitati di default)
disable: disabilita filtri
toggle: abilita/disabilita filtri
nome: nome del filtro
add: aggiunge un filtro
del: elimina un filtro
-all: elimina tutti i filtri
buffer: elenco separato da virgole di buffer in cui il filtro è attivo:
- nome completo che include il plugin (esempio: "irc.freenode.#weechat)
- "*" indica tutti i buffer
- un nome preceduto da '!' viene escluso
- un nome può iniziare o terminare con '*' per includere più buffer
tag: elenco di tag separati da virgole, per esempio: "irc_join,irc_part,irc_quit"
regex: espressione regolare da cercare nella riga
- usare '\t' per separare il prefisso dal messaggio, caratteri speciali come "|" vanno preceduti dal carattere escape: '\|')
- se l'espressione regolare inizia con '!', il risultato corrispondente viene invertito (usare '\!' per iniziare con '!')
The default key alt+'=' toggles filtering on/off.
- vengono create due espressioni regolari: una per il prefisso e l'altra per il messaggio
- le espressioni regolari non sono sensibili alle maiuscole, possono iniziare con "(?-i)" per diventare sensibili alle maiuscole
Tags most commonly used:
no_filter, no_highlight, no_log, log0..log9 (log level),
Il tasto predefinito alt+'=' abilita/disabilita il filtro.
Tag usati di frequente:
no_filter, no_highlight, no_log, log0..log9 (livello di log),
notify_none, notify_message, notify_private, notify_highlight,
nick_xxx (xxx is nick in message),
irc_xxx (xxx is command name or number, see /server raw),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
To see tags for lines in buffers: /debug tags
nick_xxx (xxx è il nick nel messaggio),
irc_xxx (xxx è il nome comando o il numero, consultare /server raw), irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Per mostrare i tag per le righe nei buffer: /debug tags
Examples:
use IRC smart filter on all buffers:
/filter add irc_smart * irc_smart_filter *
use IRC smart filter on all buffers except those with "#weechat" in name:
/filter add irc_smart *,!*#weechat* irc_smart_filter *
filter all IRC join/part/quit messages:
/filter add joinquit * irc_join,irc_part,irc_quit *
filter nicks displayed when joining channels or with /names:
Esempi:
usa il filtro intelligente IRC per tutti i buffer:
/filter add irc_smart * irc_smart_filter *
usa il filtro intelligente IRC su tutti i buffer tranne quelli che contengono "#weechat" nel nome:
/filter add irc_smart *,!*weechat* irc_smart_filter
filtra tutti i messaggi entrata/uscita/abbandono di IRC:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtra i nick visualizzati all'ingresso in un canale o con /names:
/filter add nicks * irc_366 *
filter nick "toto" on IRC channel #weechat:
/filter add toto irc.freenode.#weechat nick_toto *
filter lines containing "weechat sucks" on IRC channel #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
filtra il nick "tizio" sul canale IRC #weechat:
/filter add tizio irc.freenode.#weechat nick_tizio *
filtra le righe contententi "weechat fa schifo" sul canale IRC #weechat:
/filter add schifo irc.freenode.#weechat * weechat fa schifo
........................................
[[command_weechat_help]]
@@ -275,53 +275,53 @@ valore: numero delle voci nella cronologia da mostrare
........................................
/input <azioni> [<argomenti>]
list of actions:
return: simulate key "enter"
complete_next: complete word with next completion
complete_previous: complete word with previous completion
search_text: search text in buffer
search_switch_case: switch exact case for search
search_previous: search previous line
search_next: search next line
search_stop: stop search
delete_previous_char: delete previous char
delete_next_char: delete next char
delete_previous_word: delete previous word
delete_next_word: delete next word
delete_beginning_of_line: delete from beginning of line until cursor
delete_end_of_line: delete from cursor until end of line
delete_line: delete entire line
clipboard_paste: paste from clipboard
transpose_chars: transpose two chars
undo: undo last command line action
redo: redo last command line action
move_beginning_of_line: move cursor to beginning of line
move_end_of_line: move cursor to end of line
move_previous_char: move cursor to previous char
move_next_char: move cursor to next char
move_previous_word: move cursor to previous word
move_next_word: move cursor to next word
history_previous: recall previous command in current buffer history
history_next: recall next command in current buffer history
history_global_previous: recall previous command in global history
history_global_next: recall next command in global history
jump_smart: jump to next buffer with activity
jump_last_buffer: jump to last buffer
jump_last_buffer_displayed: jump to last buffer displayed (before last jump to a buffer)
jump_previously_visited_buffer: jump to previously visited buffer
jump_next_visited_buffer: jump to next visited buffer
hotlist_clear: clear hotlist
grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds)
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds)
grab_mouse: grab mouse event code
grab_mouse_area: grab mouse event code with area
set_unread: set unread marker for all buffers
set_unread_current_buffer: set unread marker for current buffer
switch_active_buffer: switch to next merged buffer
switch_active_buffer_previous: switch to previous merged buffer
insert: insert text in command line
elenco di azioni:
return: simula il tasto "invio"
complete_next: completa la parola con il completamento successivo
complete_previous: completa la parola con il completamento precedente
search_text: cerca testo nel buffer
search_switch_case: passa alla ricerca sensibile
search_previous: cerca la riga precedente
search_next: cerca la riga successiva
search_stop: ferma la ricerca
delete_previous_char: elimina carattere precedente
delete_next_char: elimina carattere successivo
delete_previous_word: elimina parola precedente
delete_next_word: elimina parola successiva
delete_beginning_of_line: elimina da inizio riga fino al cursore
delete_end_of_line: elimina dal cursore fino a fine riga
delete_line: elimina intera riga
clipboard_paste: incolla dagli appunti
transpose_chars: inverti l'ordine di due caratteri
undo: annulla l'ultima azione nella riga di comando
redo: rifai l'ultima azione nella riga di comando
move_beginning_of_line: sposta il cursore ad inizio riga
move_end_of_line: sposta il cursore a fine riga
move_previous_char: sposta cursore al carattere precedente
move_next_char: sposta cursore al carattere successivo
move_previous_word: sposta cursore alla parola precedente
move_next_word: sposta cursore alla parola successiva
history_previous: richiama il comando precedente nella cronologia del buffer corrente
history_next: richiama il comando successivo nella cronologia del buffer corrente
history_global_previous: richiama il comando precedente nella cronologia globale
history_global_next: richiama il comando successivo nella cronologia globale
jump_smart: passa al buffer successivo con attività
jump_last_buffer: passa all'ultimo buffer
jump_last_buffer_displayed: passa all'ultimo buffer mostrato (primadell'ultimo passaggio ad un buffer)
jump_previously_visited_buffer: passa al precedente buffer visualizzato
jump_next_visited_buffer: passa al successivo buffer visualizzato
hotlist_clear: elimina hotlist
grab_key: ottiene un tasto
grab_key_command: ottiene un tasto con il suo comando associato
grab_mouse: cattura il codice dell'evento del mouse
grab_mouse_area: cattura il codice dell'evento del mouse con l'area
set_unread: imposta il segnalibro non letto per tutti i buffer
set_unread_current_buffer: imposta il segnalibro non letto per il buffer corrente
switch_active_buffer: passa al successivo buffer incollato
switch_active_buffer_previous: passa al precedente buffer incollato
insert: inserisci testo nella riga di comando
This command is used by key bindings or plugins.
Questo comando viene usato dalla combinazioni tasti o dai plugin.
........................................
[[command_weechat_key]]
@@ -638,61 +638,61 @@ Esempi:
[command]*`window`* gestione finestre::
........................................
/window list
-1|+1|b#|up|down|left|right [-window <number>]
<number>
splith|splitv [-window <number>] [<pct>]
resize [-window <number>] [+/-]<pct>
-1|+1|b#|up|down|left|right [-window <numero>]
<numero>
splith|splitv [-window <numero>] [<pct>]
resize [-window <numero>] [+/-]<pct>
balance
merge [-window <number>] [all]
page_up|page_down [-window <number>]
merge [-window <numero>] [all]
page_up|page_down [-window <numero>]
refresh
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
scroll_horiz [-window <number>] [+/-]<value>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
swap [-window <number>] [up|down|left|right]
zoom[-window <number>]
scroll [-window <numero>] [+/-]<value>[s|m|h|d|M|y]
scroll_horiz [-window <numero>] [+/-]<value>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <numero>]
swap [-window <numero>] [up|down|left|right]
zoom[-window <numero>]
list: list opened windows (without argument, this list is displayed)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
up: switch to window above current one
down: switch to window below current one
left: switch to window on the left
right: switch to window on the right
number: window number (see /window list)
splith: split current window horizontally
splitv: split current window vertically
resize: resize window size, new size is <pct> percentage of parent window
balance: balance the sizes of all windows
merge: merge window with another (all = keep only one window)
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
scroll_horiz: scroll horizontally a number of columns (+/-N) or percentage of window size (this scrolling is possible only on buffers with free content)
scroll_up: scroll a few lines up
scroll_down: scroll a few lines down
scroll_top: scroll to top of buffer
scroll_bottom: scroll to bottom of buffer
scroll_previous_highlight: scroll to previous highlight
scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
list: elenca le finestre aperte (senza argomento, questa lista viene visualizzata)
-1: salta alla finestra precedente
+1: salta alla finestra successiva
b#: salta alla finestra successiva che visualizza il buffer numero #
up: passa alla finestra superiore a quella corrente
down: passa alla finestra inferiore a quella attiva
left: passa alla finestra a sinistra
right: passa alla finestra a destra
numero: numero della finestra (consultare /window list)
splith: divide la finestra attiva orizzontalmente
splitv: divide la finestra attiva verticalmente
resize: ridimensiona finestra, la nuova dimensione è <pct> percentuale della finestra genitore
balance: bilancia le dimensioni tutte le finestre
merge: unisce la finestra con un'altra (all = mantiente una sola finestra)
page_up: scorre di una pagina in alto
page_down: scorre di una pagina in basso
refresh: aggiorna lo schermo
scroll: scorre di un numero di righe (+/-N) o in base al tempo: s=secondi, m=minuti, h=ore, d=giorni, M=mesi, y=anni
scroll_horiz: scorre orizzontalmente un numero di colonne (+/-N) una percentuale della dimensione della finestra (questo scorrimento è possibile solo sui buffer con contenuto libero)
scroll_up: scorre di alcune righe in alto
scroll_down: scorre di alcune righe in basso
scroll_top: scorre fino all'inizio del buffer
scroll_bottom: scorre fino alla fine del buffer buffer
scroll_previous_highlight: passa all'evento precedente
scroll_next_highlight: passa all'evento successivo
scroll_unread: passa al segnalibro non letto
swap: scambia i buffer di due finestra (con direzione opzionale per la finestra di destinazione)
zoom: ingrandimento sulla finestra
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
Per splith e splitv, pct è una percentuale che rappresenta la dimensione della nuova finestra, calcolata con la finestra attiva come riferimento per la dimensione. Per esempio 25 vuol dire creare una finestra di dimensione = dimensione_attuale / 4
Examples:
jump to window displaying buffer #1:
Esempi:
salta alla finestra che visualizza il buffer #1:
/window b1
scroll 2 lines up:
scorre di due righe in alto:
/window scroll -2
scroll 2 days up:
scorre all'indietro di due giorni:
/window scroll -2d
scroll to beginning of current day:
/window scroll -d
zoom on window #2:
scorre all'inizio del giorno attuale:
/window scroll -d
zoom sulla finestra #2:
/window zoom -window 2
........................................
+5 -5
View File
@@ -449,17 +449,17 @@
** valori: on, off (valore predefinito: `off`)
* [[option_weechat.look.highlight]] *weechat.look.highlight*
** descrizione: `comma separated list of words to highlight; case insensitive comparison (use "(?-i)" at beginning of words to make them case sensitive), words may begin or end with "*" for partial match; example: "test,(?-i)*toto*,flash*"`
** descrizione: `elenco separato da virgole di parole da evidenziare; confronto non sensibile alle maiuscole (usare "(?-i)" all'inizio delle parole per renderle sensibili alle maiuscole), le parole possono iniziare o terminare con "*" per la corrispondenza parziale; ad esempio: "test,(?-i)*tizio*,flash*"`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
** descrizione: `regular expression used to check if a message has highlight or not, at least one match in string must be surrounded by word chars (alphanumeric, "-", "_" or "|"), regular expression is case insensitive (use "(?-i)" at beginning to make it case sensitive), examples: "flashcode|flashy", "(?-i)FlashCode|flashy"`
** descrizione: `espressione regolare usata per verificare se un messaggio contiene un evento oppure no, almeno una corrispondenza nella stringa deve essere circondata da caratteri :(alfanumerici, "-", "_" or "|"), l'espressione regolare non è sensibile alle maiuscole (usare "(?-i)" all'inizio per renderla sensibile alle maiuscole), ad esempio: "flashcode|flashy", "(?-i)Flashcode|flashy"`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
* [[option_weechat.look.highlight_tags]] *weechat.look.highlight_tags*
** descrizione: `elenco separato da virgole di tag da evidenziare (senza differenza tra maiuscole/minuscole, esempi: "irc_notice" per gli annunci IRC, "nick_flashcode" per i messaggi dal nick "FlashCode")`
** descrizione: `elenco separato da virgole di tag da evidenziare (confronto non sensibile alle maiuscole, esempi: "irc_notice" per gli annunci IRC, "nick_flashcode" per i messaggi dal nick "FlashCode")`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
@@ -649,12 +649,12 @@
** valori: qualsiasi stringa (valore predefinito: `"|"`)
* [[option_weechat.look.read_marker]] *weechat.look.read_marker*
** descrizione: `usa evidenziatore (riga o carattere) sui buffer per mostrare la prima riga non letta`
** descrizione: `usa segnalibro (riga o carattere) sui buffer per mostrare la prima riga non letta`
** tipo: intero
** valori: none, line, char (valore predefinito: `line`)
* [[option_weechat.look.read_marker_always_show]] *weechat.look.read_marker_always_show*
** descrizione: `mostra sempre l'evidenziatore di lettura, anche se si trova dopo l'ultima riga del buffer`
** descrizione: `mostra sempre il segnalibro, anche se si trova dopo l'ultima riga del buffer`
** tipo: bool
** valori: on, off (valore predefinito: `off`)
+12
View File
@@ -656,6 +656,18 @@ Se si verificano errori con i certificati, è possibile disabilitare "ssl_verify
----------------------------------------
[[irc_ssl_handshake_error]]
Alla connessione al server con SSL ottengo solo l'errore "handshake TLS fallito", cosa posso fare?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Provare una stringa di priorità diversa (solo WeeChat ≥ 0.3.5), sostituendo
"xxx" con il nome del server:
----------------------------------------
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
----------------------------------------
[[irc_ssl_freenode]]
Come ci si può connettere al server freenode via SSL?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+133 -163
View File
@@ -572,7 +572,7 @@ Esempio in C:
[source,C]
----------------------------------------
char *str = "AbCdé";
weechat_string_tolower (str); /* str ora è: "ABCDé" */
weechat_string_toupper (str); /* str ora è: "ABCDé" */
----------------------------------------
[NOTE]
@@ -581,8 +581,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
weechat_strcasecmp
^^^^^^^^^^^^^^^^^^
Confronta stringa indipendente da caso (maiuscole
o minuscole) e da locale.
Confronta stringa non sensibile alle maiuscole e alla localizzazione.
Prototipo:
@@ -616,9 +615,8 @@ Questa funzione non è disponibile nelle API per lo scripting.
weechat_strcasecmp_range
^^^^^^^^^^^^^^^^^^^^^^^^
// TRANSLATION MISSING
Confronta stringa indipendente da caso (maiuscole
o minuscole) e da locale, using a range for case comparison.
Confronta stringa non sensibile alle maiuscole e alla localizzazione, usando una
serie per il confronto.
Prototipo:
@@ -631,15 +629,13 @@ Argomenti:
* 'string1': prima stringa da comparare
* 'string2': seconda stringa da comparare
// TRANSLATION MISSING
* 'range': number of chars in case comparison, for example:
** 26: "A-Z" are lowered to "a-z"
** 29: "A-Z [ \ ]" are lowered to "a-z { | }"
** 30: "A-Z [ \ ] ^" are lowered to "a-z { | } ~"
* 'range': numero di caratteri nel confronto maiuscole/minuscole, ad esempio:
** 26: "A-Z" vengono ridotti ad "a-z"
** 29: "A-Z [ \ ]" vengono ridotti ad "a-z { | }"
** 30: "A-Z [ \ ] ^" vengono ridotti ad "a-z { | } ~"
// TRANSLATION MISSING
[NOTE]
Values 29 and 30 are used by some protocols like IRC.
I valori 29 e 30 vengono usati da alcuni protocolli come IRC.
Valore restituito:
@@ -661,8 +657,8 @@ Questa funzione non è disponibile nelle API per lo scripting.
weechat_strncasecmp
^^^^^^^^^^^^^^^^^^^
Confronta stringa indipendente da caso (maiuscole o minuscole) e da locale, per
un numero 'max' di caratteri.
Confronta stringa indipendente non sensibile alle maiuscole e alla
localizzazione, per un numero 'max' di caratteri.
Prototipo:
@@ -680,9 +676,9 @@ Argomenti:
Valore restituito:
* differenze tra le due stringhe:
** negativa se stringa1 < stringa2
** zero se stringa1 == stringa1
** positiva se stringa1 > stringa2
** negativa se string1 < string2
** zero se string1 == string1
** positiva se string1 > string2
Esempio in C:
@@ -697,9 +693,8 @@ Questa funzione non è disponibile nelle API per lo scripting.
weechat_strncasecmp_range
^^^^^^^^^^^^^^^^^^^^^^^^^
// TRANSLATION MISSING
Confronta stringa indipendente da caso (maiuscole o minuscole) e da locale, per
un numero 'max' di caratteri, using a range for case comparison.
Confronta una stringa non sensibile alle maiuscole e alla localizzazione, per un
numero 'max' di caratteri, usando una serie per il confronto.
Prototipo:
@@ -713,22 +708,20 @@ Argomenti:
* 'string1': prima stringa da comparare
* 'string2': seconda stringa da comparare
* 'max': numero massimo di caratteri da comparare
// TRANSLATION MISSING
* 'range': number of chars in case comparison, for example:
** 26: "A-Z" are lowered to "a-z"
** 29: "A-Z [ \ ]" are lowered to "a-z { | }"
** 30: "A-Z [ \ ] ^" are lowered to "a-z { | } ~"
* 'range': numero di caratteri nel confronto maiuscole/minuscole, ad esempio:
** 26: "A-Z" vengono ridotti ad "a-z"
** 29: "A-Z [ \ ]" vengono ridotti ad "a-z { | }"
** 30: "A-Z [ \ ] ^" vengono ridotti ad "a-z { | } ~"
// TRANSLATION MISSING
[NOTE]
Values 29 and 30 are used by some protocols like IRC.
I valori 29 e 30 vengono usati da alcuni protocolli come IRC.
Valore restituito:
* differenze tra le due stringhe:
** negativa se stringa1 < stringa2
** zero se stringa1 == stringa1
** positiva se stringa1 > stringa2
** negativa se string1 < string2
** zero se string1 == string1
** positiva se string1 > string2
Esempio in C:
@@ -743,8 +736,8 @@ Questa funzione non è disponibile nelle API per lo scripting.
weechat_strcmp_ignore_chars
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Confronta una stringa locale (ed opzionalmente indipendente
da maiuscole/minuscole), ignorando alcuni caratteri.
Confronta una stringa localizzata (e opzionalmente non sensibile alle
maiuscole), ignorando alcuni caratteri.
Prototipo:
@@ -760,8 +753,7 @@ Argomenti:
* 'string1': prima stringa per il confronto
* 'string2': seconda stringa per il confronto
* 'chars_ignored': stringa con caratteri da ignorare
* 'case_sensitive': 1 per il confronto con caso esatto (maiuscole/minuscole),
altrimenti 0
* 'case_sensitive': 1 per il confronto sensibile alle maiuscole, altrimenti 0
Valore restituito:
@@ -783,8 +775,8 @@ Questa funzione non è disponibile nelle API per lo scripting.
weechat_strcasestr
^^^^^^^^^^^^^^^^^^
Cerca una stringa indipendente da locale e caso esatto
(maiuscole/minuscole).
Cerca una stringa non sensibile alle maiuscole e indipendente dalla
localizzazione.
Prototipo:
@@ -830,8 +822,7 @@ Argomenti:
* 'string': stringa
* 'mask': mask, può iniziare o terminare con "`*`" (nessun altro "`*`"
consentito all'interno della mask)
* 'case_sensitive': 1 per il confronto con caso esatto (maiuscole/minuscole),
altrimenti 0
* 'case_sensitive': 1 per il confronto sensibile alle maiuscole, altrimenti 0
Valore restituito:
@@ -1050,14 +1041,13 @@ regex = weechat.string_mask_to_regex(mask)
regex = weechat.string_mask_to_regex("test*mask") # "test.*mask"
----------------------------------------
// TRANSLATION MISSING
weechat_string_regex_flags
^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.7._
Get pointer on string after flags and return mask with flags to compile regular
expression.
Restituisce sia il puntatore sulla stringa dopo le flag che la mask con le flag
per compilare l'espressione regolare.
Prototipo:
@@ -1068,8 +1058,8 @@ const char *weechat_string_regex_flags (const char *regex, int default_flags, in
Argomenti:
* 'regex': regular expression
* 'default_flags': combination of following values (see `man regcomp`):
* 'regex': espressione regolare
* 'default_flags': combinazione dei seguenti valori (consultare `man regcomp`):
** REG_EXTENDED
** REG_ICASE
** REG_NEWLINE
@@ -1104,14 +1094,14 @@ const char *ptr_regex = weechat_string_regex_flags (regex, REG_EXTENDED, &flags)
[NOTE]
Questa funzione non è disponibile nelle API per lo scripting.
// TRANSLATION MISSING
weechat_string_regcomp
^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.7._
Compile a regular expression using optional flags at beginning of string (for
format of flags, see <<_weechat_string_regex_flags,weechat_string_regex_flags>>).
Compila un'espressione regolare usando flag opzionali all'inizio della stringa
(per il formato delle flag consultare
<<_weechat_string_regex_flags,weechat_string_regex_flags>>).
Prototipo:
@@ -2000,7 +1990,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
weechat_utf8_charcasecmp
^^^^^^^^^^^^^^^^^^^^^^^^
Confronta due caratteri UTF-8, ignorando maiuscole/minuscole.
Confronta due caratteri UTF-8, ignorando la sensibilità alle maiuscole.
Prototipo:
@@ -3390,9 +3380,8 @@ weechat_hashtable_map_string
_Novità nella versione 0.3.7._
// TRANSLATION MISSING
Chiama una funzione su tutte le voci della tabella hash, sending keys and values
as strings.
Chiama una funzione su tutte le voci della tabella hash, inviando chiavi e
valori come stringhe.
Prototipo:
@@ -3412,10 +3401,9 @@ Argomenti:
* 'callback_map': funzione chiamata per ogni voce nella tabella hash
* 'callback_map_data': puntatore fornito alla mappa di callback quando chiamata
// TRANSLATION MISSING
[NOTE]
The strings 'key' and 'value' sent to callback are temporary strings, they
are deleted after call to callback.
Le stringhe 'key' e 'value' inviate alla callback sono temporanee, vengono
eliminate dopo la chiamata alla callback.
Esempio in C:
@@ -4263,7 +4251,7 @@ option4 = weechat.config_new_option(config_file, section, "option4", "string",
option5 = weechat.config_new_option(config_file, section, "option5", "color",
"My option, type color",
"", 0, 100, "lightblue", "lightblue", 0,
"", 0, 0, "lightblue", "lightblue", 0,
"", "",
"", "",
"", "")
@@ -6260,7 +6248,7 @@ Argomenti:
* 'buffer': puntatore al buffer, se NULL, il messaggio viene visualizzato
sul buffer di WeeChat
* 'date': data per il messaggio (0 vuol dire data/ora corrente)
* 'date': data per il messaggio (0 indica data/ora corrente)
* 'message': messaggio da visualizzare
Esempio in C:
@@ -6321,7 +6309,7 @@ Argomenti:
* 'buffer': puntatore al buffer, se NULL il messaggio viene visualizzato
sul buffer di WeeChat
* 'date': data per il messaggio (0 vuol dire data/ora corrente)
* 'date': data per il messaggio (0 indica data/ora corrente)
* 'tags': lista di tag separati da virgole
* 'message': messaggio da visualizzare
@@ -6830,23 +6818,22 @@ struct t_hook *weechat_hook_process (const char *command,
Argomenti:
// TRANSLATION MISSING
* 'command': comando da avviare nel processo figlio or URL
(_novità nella versione 0.3.7_), see below
* 'command': comando da avviare nel processo figlio o URL
(_novità nella versione 0.3.7_), segue:
* 'timeout': timeout per il comando (in millisecondi): dopo questo timeout,
il processo figlio viene terminato (0 vuol dire nessun timeout)
il processo figlio viene terminato (0 indica nessun timeout)
* 'callback': funzione chiamata quando i dati dal processo figlio sono disponibili,
oppure quando è terminato, argomenti e valore restituito:
** 'void *data': puntatore
** 'const char *command': comando eseguito dal processo figlio
** 'int return_code': codice restituito:
// TRANSLATION MISSING
*** '>= 0': child return code for a command, and for URL possible values are:
**** '0': transfer ok
**** '1': invalid URL
**** '2': transfer error
**** '3': not enough memory
**** '4': error with a file
*** '>= 0': codice ritorno figlio per un comando, e per un URL i valori
possibili sono:
**** '0': trasferimento riuscito
**** '1': URL non valido
**** '2': errore di trasferimento
**** '3': memoria non sufficiente
**** '4': errore con un file
*** '< 0': 'WEECHAT_HOOK_PROCESS_RUNNING' (dati disponibili, ma figlio
ancora in esecuzione) o 'WEECHAT_HOOK_PROCESS_ERROR' (errore nella
esecuzione del comando)
@@ -6864,10 +6851,10 @@ Valore restituito:
Quando il comando ha terminato, o se viene raggiunto il timeout, WeeChat
effettua automaticamente l'unhook (e termina il processo se ancora in esecuzione).
// TRANSLATION MISSING
The command can be an URL with format: "url:http://www.example.com", to download
content of URL (_new in version 0.3.7_). Options are possible for URL with
function <<_weechat_hook_process_hashtable,weechat_hook_process_hashtable>>.
Il comando può essere un URL con il formato: "url:http://www.esempio.com", per
scaricare il contenuto dell'URL (_novità nella versione 0.3.7_). Le opzioni per
un URL sono disponibili con la funzione
<<_weechat_hook_process_hashtable,weechat_hook_process_hashtable>>.
[NOTE]
La dimensione del buffer per l'invio dei dati alla callback è di 64KB (ci sono
@@ -6945,9 +6932,8 @@ weechat_hook_process_hashtable
_Novità nella versione 0.3.7._
// TRANSLATION MISSING
Hook a process (launched with fork) using options in a hashtable, and catch
output.
Hook su un processo (avviato con un fork) usando le opzioni nella tabella hash,
e cattura dell'output.
Prototipo:
@@ -6964,29 +6950,29 @@ struct t_hook *weechat_hook_process_hashtable (const char *command,
void *callback_data);
----------------------------------------
// TRANSLATION MISSING
Arguments are the same as function <<_weechat_hook_process,weechat_hook_process>>,
with an extra argument:
Gli argomenti sono gli stessi della funzione
<<_weechat_hook_process,weechat_hook_process>>, con un argomento aggiuntivo:
* 'options': options for command executed (see table below); the hashtable is
duplicated in function, so it's safe to free it after this call
* 'options': le opzioni per il comando eseguito (consultare la tabella in
basso); la tabella hash è duplicata nella funzione, per cui è possibile
liberarla dopo questa chiamata
// TRANSLATION MISSING
For command "url:...", following options are available (see
`man curl_easy_setopt` for a description of each option):
Per il comando "url:..." sono disponibili le seguenti opzioni (consultare
`man curl_easy_setopt` per la descrizione di ogni opzione):
include::autogen/plugin_api/url_options.txt[]
// TRANSLATION MISSING
[NOTE]
^(1)^ When constants are available they must be used as value for option. For
options with type "mask", format is: "value1+value2+value3".
^(1)^ Quando sono disponibili le costanti, esse vanno usate come valore per
l'opzione. Per le opzioni con il tipo "mask" il formato è:
"value1+value2+value3".
For URL, two extra options (strings) are allowed for input/output file:
Per un URL, sono consentite due opzioni aggiuntive (stringhe) per il file in
input/output:
* 'file_in': file to read and send with URLs (post file)
* 'file_out': write downloaded URL/file in this file (instead of standard
output)
* 'file_in': file da leggere e inviare con gli URL (invio del file "post")
* 'file_out': scrive URL scaricato/file in questo file (invece dello standard
* output)
Valore restituito:
@@ -7365,16 +7351,14 @@ Argomenti:
utilizzato dal plugin irc, il segnale viene inviato
anche se il messaggio è stato ignorato)
// TRANSLATION MISSING
| irc | xxx,irc_out1_yyy ^(1)^ +
(_novità nella versione 0.3.7_) |
string: messaggio |
messaggio irc inviato al server (before automatic split to fit in 512 bytes)
messaggio irc inviato al server (prima della divisione automatica da adattare in 512 byte)
// TRANSLATION MISSING
| irc | xxx,irc_out_yyy ^(1)^ |
string: messaggio |
messaggio irc inviato al server (after automatic split to fit in 512 bytes)
messaggio irc inviato al server (dopo la divisione automatica da adattare in 512 byte)
| irc | xxx,irc_outtags_yyy ^(1)^ +
(_novità nella versione 0.3.4_) |
@@ -7401,6 +7385,11 @@ Argomenti:
puntatore: buffer |
chat privata aperta
| irc | irc_server_opened +
(_novità nella versione 0.3.7_) |
puntatore: buffer |
server del buffer aperto
| irc | irc_server_connecting |
string: nome server |
connessione al server
@@ -7481,11 +7470,10 @@ Argomenti:
puntatore: buffer |
tipo di buffer modificato
// TRANSLATION MISSING
| weechat | buffer_line_added +
(_novità nella versione 0.3.7_) |
puntatore: line |
line added in a buffer
puntatore: riga |
riga aggiunta in un buffer
| weechat | day_changed +
(_novità nella versione 0.3.2_) |
@@ -7589,11 +7577,10 @@ Argomenti:
puntatore: finestra |
scroll nella finestra
// TRANSLATION MISSING
| weechat | window_switch +
(_novità nella versione 0.3.7_) |
pointer: window |
switching window
puntatore: finestra |
passaggio alla finestra
| weechat | window_unzoom |
puntatore: finestra corrente |
@@ -8063,18 +8050,17 @@ Quando è stata ricevuta la risposta completa dal proprio comando, verrà
inviato un hsignal. Questo hsignal ha il nome 'irc_redirection_xxx_yyy' dove
'xxx' è il segnale e 'yyy' lo 'schema' usato.
// TRANSLATION MISSING
Hashtable sent in hsignal has following content (key and values are strings):
La tabella hash inviata in hsignal ha il seguente contenuto (chiavi e valori
sono stringhe):
// TRANSLATION MISSING
* 'output': output of command (messages are separated by "\n")
* 'output_size': number of bytes in 'output' (as string)
* 'error': error string (if an error occurred):
** 'timeout': redirection stopped after timeout
* 'server': internal server name
* 'pattern': redirect pattern
* 'signal': signal name
* 'command': redirected command
* 'output': output del comando (i messaggi vengono separati da "\n")
* 'output_size': numero di byte in 'output' (come stringa)
* 'error': stringa di errore (in caso di errore):
** 'timeout': redirezione fermata dopo il timeout
* 'server': nome interno del server
* 'pattern': schema di redirezione
* 'signal': nome del segnale
* 'command': comando rediretto
Esempio in C:
@@ -8506,17 +8492,15 @@ Argomenti:
contenuto del messaggio ricevuto dal server IRC (dopo la codifica del set caratteri) |
nuovo contenuto del messaggio
// TRANSLATION MISSING
| irc | irc_out1_xxx ^(1)^ +
(_novità nella versione 0.3.7_) |
nome server |
contenuto del messaggio che sta per essere inviato al server IRC (before automatic split to fit in 512 bytes) |
contenuto del messaggio che sta per essere inviato al server IRC (prima della divisione automatica da adattare in 512 byte) |
nuovo contenuto del messaggio
// TRANSLATION MISSING
| irc | irc_out_xxx ^(1)^ |
nome server |
contenuto del messaggio che sta per essere inviato al server IRC (after automatic split to fit in 512 bytes) |
contenuto del messaggio che sta per essere inviato al server IRC (dopo la divisione automatica da adattare in 512 byte) |
nuovo contenuto del messaggio
| weechat | bar_condition_yyy ^(2)^ |
@@ -8524,37 +8508,32 @@ Argomenti:
stringa vuota |
"1" per visualizzare la barra, "0" per nasconderla
// TRANSLATION MISSING
| weechat | history_add +
(_novità nella versione 0.3.2_) |
stringa con puntatore al buffer ("0x123..") |
content of command line to add in command history (buffer and global) |
string added to command history
contenuto della riga di comando da aggiungere nella cronologia comandi (buffer e globale |
stringa aggiunta alla cronologia comandi
// TRANSLATION MISSING
| weechat | input_text_content |
stringa con puntatore al buffer ("0x123..") |
content of command line |
new content of command line
contenuto della riga di comando |
nuovo contenuto della riga di comando
// TRANSLATION MISSING
| weechat | input_text_display |
stringa con puntatore al buffer ("0x123..") |
content of command line, without cursor tag |
new string, for display only (command line is not changed)
contenuto della riga di comando, senza tag al cursore |
nuova stringa, solo da mostrare (la riga di comando non viene modificata)
// TRANSLATION MISSING
| weechat | input_text_display_with_cursor |
stringa con puntatore al buffer ("0x123..") |
content of command line, with cursor tag |
new string, for display only (command line is not changed)
contenuto della riga di comando, con tag al cursore |
nuova stringa, solo da mostrare (la riga di comando non viene modificata)
// TRANSLATION MISSING
| weechat | input_text_for_buffer +
(_novità nella versione 0.3.7_) |
stringa con puntatore al buffer ("0x123..") |
content of command line sent to buffer (text or command) |
new content of command line sent to buffer
contenuto della riga di comando inviata al buffer (testo o comando) |
nuovo contenuto della riga di comando inviata al buffer
| weechat | weechat_print |
plugin;buffer_name;tags |
@@ -9011,8 +8990,7 @@ Contenuto della tabella hash inviata alla callback (tasti e valori sono di tipo
| _buffer_number | numero del buffer | "1" ... "n" | "-1"
| _buffer_plugin | nome plugin del buffer | "core", "irc", ... | ""
| _buffer_name | nome del buffer | "weechat", "freenode.#weechat", ... | ""
// TRANSLATION MISSING
| _buffer_full_name | full name of buffer | "core.weechat", "irc.freenode.#weechat", ... | ""
| _buffer_full_name | nome completo del buffer | "core.weechat", "irc.freenode.#weechat", ... | ""
| _buffer_localvar_XXX ^(2)^ | variabili locali del buffer | qualsiasi valore | non impostato
| _chat | indicatore area di chat | "0" o "1" | "0"
| _chat_line_x | colonna nella riga ^(3)^ | "0" ... "n" | "-1"
@@ -9556,14 +9534,16 @@ Argomenti:
** 'notify': livello di notifica per il buffer
** 'num_displayed': numero delle finestre che visualizzano il buffer
** 'active': 1 se il buffer è attivo, 0 se il buffer è unito e non selezionato
** 'print_hooks_enabled': 1 se gli hook sulla stampa sono abilitati, altrimenti 0
** 'print_hooks_enabled': 1 se gli hook sulla stampa sono abilitati,
altrimenti 0
** 'lines_hidden': 1 se almeno una riga è nascosta sul buffer (filtrata),
oppure 0 se vengono visualizzate tutte le righe
** 'prefix_max_length': lunghezza massima del prefisso in questo buffer
** 'time_for_each_line': 1 se l'ora è visualizzata per ogni riga nel buffer
(predefinito), altrimenti 0
** 'nicklist': 1 se la lista nick è abilitata, altrimenti 0
** 'nicklist_case_sensitive': 1 se i nick sono in maiuscole/minuscole, altrimenti 0
** 'nicklist_case_sensitive': 1 se i nick sono sensibili alle maiuscole,
altrimenti 0
** 'nicklist_max_length': lunghezza massima per un nick
** 'nicklist_display_groups': 1 se i gruppi vengono visualizzati, altrimenti 0
** 'nicklist_visible_count': numero di nick/gruppi visualizzati
@@ -9625,8 +9605,7 @@ Argomenti:
** 'plugin': nome del plugin che ha creato questo buffer ("core"
per il buffer principale di WeeChat)
** 'name': nome del buffer
// TRANSLATION MISSING
** 'full_name': full name of buffer ("plugin.name") (_novità nella versione 0.3.7_)
** 'full_name': nome completo del buffer ("plugin.nome") (_novità nella versione 0.3.7_)
** 'short_name': nome breve del buffer
** 'title': titolo del buffer
** 'input': testo in ingresso
@@ -9776,9 +9755,8 @@ Argomenti:
la lista nick per il buffer
| nicklist_case_sensitive | "0" oppure "1" |
"0" per avere una lista nick case insenstive (maiuscole/minuscole
ignorate), "1" per avere una lista nick case sensitive
(maiuscole/minuscole non ignorate)
"0" per avere una lista nick non sensibile alle maiuscole, "1" per
una lista nick sensibile alle maiuscole
| nicklist_display_groups | "0" oppure "1" |
"0" per nascondere i gruppi nella lista nick, "1" per visualizzare
@@ -10139,9 +10117,9 @@ Argomenti:
** 'win_width': larghezza della finestra, in caratteri
** 'win_height': altezza della finestra, in caratteri
** 'win_width_pct': misura percentuale, paragonata alla finestra genitore
(ad esempio 50 vuol dire metà grandezza)
(ad esempio 50 indica metà grandezza)
** 'win_height_pct': misura percentuale, paragonata alla finestra genitore
(ad esempio 50 vuol dire metà grandezza)
(ad esempio 50 indica metà grandezza)
** 'win_chat_x': posizione X della finestra di chat nel terminale
(la prima colonna è 0)
** 'win_chat_y': posizione Y della finestra di chat nel terminale
@@ -10631,8 +10609,8 @@ weechat_nicklist_get_next_item
_Novità nella versione 0.3.7._
// TRANSLATION MISSING
Get next group or nick from nicklist (mainly used to display nicklist).
Ottiene il prossimo gruppo oppure il nick dalla lista nick (usato principalmente
per mostrare la lista nick).
Prototipo:
@@ -10646,10 +10624,8 @@ void gui_nicklist_get_next_item (struct t_gui_buffer *buffer,
Argomenti:
* 'buffer': puntatore al buffer
// TRANSLATION MISSING
* 'group': pointer on pointer to group
// TRANSLATION MISSING
* 'nick': pointer on pointer to nick
* 'group': puntatore sul puntatore al gruppo
* 'nick': puntatore sul puntatore al nick
Esempio in C:
@@ -10670,7 +10646,7 @@ while (ptr_group || ptr_nick)
}
else
{
/* group */
/* gruppo */
/* ... */
}
gui_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
@@ -12788,7 +12764,7 @@ Restituisce hdata per una struttura di WeeChat o di un plugin.
[NOTE]
Hdata non contiene dati, è una tabella hash con la posizione delle variabili
nella struttura. Ciò vuol dire che è necessario questo hdata ed un puntatore ad
nella struttura. Ciò indica che è necessario questo hdata ed un puntatore ad
un oggetto di WeeChat/plugin per leggere dei dati.
Prototipo:
@@ -13131,8 +13107,7 @@ weechat_hdata_check_pointer
_Novità nella versione 0.3.7._
// TRANSLATION MISSING
Check if a pointer is valid for a hdata and a list pointer.
Verifica se un puntatore è valido per un hdata e un puntatore della lista.
Prototipo:
@@ -13144,15 +13119,12 @@ int weechat_hdata_check_pointer (struct t_hdata *hdata, void *list, void *pointe
Argomenti:
* 'hdata': puntatore hdata
// TRANSLATION MISSING
* 'list': list pointer
// TRANSLATION MISSING
* 'pointer': pointer to check
* 'list': puntatore alla lista
* 'pointer': puntatore da verificare
Valore restituito:
// TRANSLATION MISSING
* 1 if pointer is in list, 0 if not found
* 1 se il puntatore è in lista, 0 in caso contrario
Esempio in C:
@@ -13270,8 +13242,7 @@ Argomenti:
Valore restituito:
// TRANSLATION MISSING
* char value of variable
* valore char della variabile
Esempio in C:
@@ -13547,8 +13518,8 @@ weechat_hdata_hashtable
_Novità nella versione 0.3.7._
// TRANSLATION MISSING
Return value of hashtable variable in structure using hdata.
Restituisce il valore di una variabile nella tabella hash nella struttura usando
hdata.
Prototipo:
@@ -13565,8 +13536,7 @@ Argomenti:
Valore restituito:
// TRANSLATION MISSING
* hashtable value of variable (pointer to hashtable)
* valore della tabella hash della variabile (puntatore alla tabella hash)
Esempio in C:
+12 -11
View File
@@ -632,18 +632,18 @@ def my_process_cb(data, command, rc, out, err):
weechat.hook_process("/bin/ls -l /etc", 10 * 1000, "my_process_cb", "")
----------------------------------------
// TRANSLATION MISSING
[[url_transfer]]
URL transfer
^^^^^^^^^^^^
Trasferimento URL
^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.7._
To download URL (or post to URL), you have to use function `hook_process`, or
`hook_process_hashtable` if you need to set options for URL transfer.
Per scaricare un URL (o inviare verso un URL), è necessario usare la funzione
`hook_process` oppure `hook_process_hashtable` se ci fosse bisogno di impostare
delle opzioni per il trasferimento dell'URL.
Example of URL transfer without option: the HTML page will be received as "out"
in callback (standard output of process):
Esempio di trasferimento di un URL senza opzioni: la pagina HTML verrà
ricevuta come "out" nella callback (output standard di un processo):
[source,python]
----------------------------------------
@@ -662,8 +662,8 @@ weechat.hook_process("url:http://www.kernel.org/kdist/finger_banner",
30 * 1000, "kernel_process_cb", "")
----------------------------------------
Example of URL transfer with an option: download latest WeeChat development
package in file '/tmp/weechat-devel.tar.gz':
Esempio di trasferimento di un URL con un'opzione: scaricare l'ultimo pacchetto
di sviluppo di WeeChat nel file '/tmp/weechat-devel.tar.gz':
[source,python]
----------------------------------------
@@ -677,8 +677,9 @@ weechat.hook_process_hashtable("url:http://weechat.org/files/src/weechat-devel.t
30 * 1000, "my_process_cb", "")
----------------------------------------
For more information about URL transfer and available options, see functions
`hook_process` and `hook_process_hashtable` in 'WeeChat Plugin API Reference'.
Per maggiori informazioni sul trasferimento degli URL e le opzioni disponibili,
consultare le funzioni `hook_process` e `hook_process_hashtable` in 'Referenze
API per Plugin'.
[[config_options]]
Configurazione / opzioni
+6 -8
View File
@@ -94,8 +94,7 @@ compilare WeeChat.
| Pacchetto ^(1)^ | Versione | Richiesto | Caratteristica
| cmake | | *sì* | compilazione (ancora possibile con autotools, ma si raccomanda cmake)
| libncursesw5-dev ^(2)^ | | *sì* | interfaccia ncurses
// TRANSLATION MISSING
| libcurl4-xxxxx-dev | | *sì* | URL transfer
| libcurl4-xxxxx-dev | | *sì* | trasferimento URL
| gettext | | | internazionalizzazione (traduzione dei messaggi; la lingua base è l'inglese)
| libgcrypt11-dev | | | autenticazione SASL per i server IRC che utilizzano il meccanismo DH-BLOWFISH
| libgnutls-dev | ≥ 2.2.0 | | connessione SSL al server IRC
@@ -116,9 +115,9 @@ compilare WeeChat.
potrebbero essere differenti in versioni e distribuzioni differenti. +
^(2)^ WeeChat può essere compilato con libncurses5-dev, ma *NON* è raccomandato
(potrebbero verificarsi bug di visualizzazione). +
// TRANSLATION MISSING
^(3)^ WeeChat can compile with Python 3.x, but recommended Python version is 2.7
(all scripts run fine with version 2.x, but not with version 3.x).
^(3)^ WeeChat può compilare con Python 3.x, ma si raccomanda di usare la
versione 2.7 (tutti gli script vengono eseguiti correttamente con la versione
2.x, ma non con la 3.x).
[[compile_with_cmake]]
Compilazione con cmake
@@ -1617,7 +1616,7 @@ personalizzare:
| messaggio | alias | descrizione
| error | | errore
| invite | | invitato su un canale
| join | | channel join
| join | | ingresso nel canale
| kick | | kick
| kill | | kill
| mode | | mode
@@ -1626,8 +1625,7 @@ personalizzare:
| quit | | quit
| topic | | topic
| wallops | | wallops
// TRANSLATION MISSING
| | ctcp | ctcp (sent or received, in a privmsg or notice message)
| | ctcp | ctcp (inviato o ricevuto, in un messaggio privato o di notifica)
| 221 | | stringa modalità utente
| 275 | whois | whois (connessione sicura)
| 301 | whois | whois (assente)
+13
View File
@@ -645,6 +645,19 @@ Jeśli widzisz błędy związanie z certyfikatami, możesz wyłączyć opjcę "s
----------------------------------------
// TRANSLATION MISSING
[[irc_ssl_handshake_error]]
When connecting to server with SSL, I see only error "TLS handshake failed", what can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can try a different priority string (WeeChat ≥ 0.3.5 only), replace "xxx"
by your server name:
----------------------------------------
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
----------------------------------------
[[irc_ssl_freenode]]
Jak mogę połączyć się z serwerem freenode używając SSL?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+9 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-01-24 21:20+0100\n"
"POT-Creation-Date: 2012-02-19 18:55+0100\n"
"PO-Revision-Date: 2011-12-25 22:56+0100\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5322,6 +5322,12 @@ msgstr "ověřit, že je ssl spojení zcela důvěryhodné"
msgid "password for server"
msgstr "heslo pro server"
#. TRANSLATORS: please keep word "capabilities" between brackets if translation is different (see fr.po)
msgid ""
"comma-separated list of capabilities to enable for server if they are "
"available (example: \"multi-prefix,extended-join\")"
msgstr ""
msgid "mechanism for SASL authentication"
msgstr "mechanismu pro SASL autentizaci"
@@ -6078,8 +6084,8 @@ msgstr ""
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: schopnost klienta, server podporuje: %s"
#, c-format
msgid "%s%s: client capability, requesting: sasl"
#, fuzzy, c-format
msgid "%s%s: client capability, requesting: %s"
msgstr "%s%s: schopnost klienta, vyžaduji: sasl"
#, c-format
+9 -3
View File
@@ -23,7 +23,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-02-04 11:26+0100\n"
"POT-Creation-Date: 2012-02-19 18:55+0100\n"
"PO-Revision-Date: 2012-01-29 14:32+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -5679,6 +5679,12 @@ msgstr "Überprüfe ob die SSL-Verbindung vertrauenswürdig ist"
msgid "password for server"
msgstr "Passwort für den Server"
#. TRANSLATORS: please keep word "capabilities" between brackets if translation is different (see fr.po)
msgid ""
"comma-separated list of capabilities to enable for server if they are "
"available (example: \"multi-prefix,extended-join\")"
msgstr ""
msgid "mechanism for SASL authentication"
msgstr "Vorrichtung zur SASL Authentifizierung"
@@ -6525,8 +6531,8 @@ msgstr ""
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: Client Fähigkeit, Server unterstützt: %s"
#, c-format
msgid "%s%s: client capability, requesting: sasl"
#, fuzzy, c-format
msgid "%s%s: client capability, requesting: %s"
msgstr "%s%s: Client Fähigkeit, Anfrage: SASL"
#, c-format
+9 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-01-24 21:20+0100\n"
"POT-Creation-Date: 2012-02-19 18:55+0100\n"
"PO-Revision-Date: 2011-12-25 22:56+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5504,6 +5504,12 @@ msgstr "verificar que la conexión SSL es confiable completamente"
msgid "password for server"
msgstr "contraseña del servidor"
#. TRANSLATORS: please keep word "capabilities" between brackets if translation is different (see fr.po)
msgid ""
"comma-separated list of capabilities to enable for server if they are "
"available (example: \"multi-prefix,extended-join\")"
msgstr ""
msgid "mechanism for SASL authentication"
msgstr "mecanismo para la autenticación SASL"
@@ -6275,8 +6281,8 @@ msgstr ""
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: capabilidad del cliente, el servidor soporta: %s"
#, c-format
msgid "%s%s: client capability, requesting: sasl"
#, fuzzy, c-format
msgid "%s%s: client capability, requesting: %s"
msgstr "%s%s: capabilidad del cliente, solicitando: sasl"
#, c-format
+13 -4
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-01-24 21:20+0100\n"
"PO-Revision-Date: 2012-01-24 20:33+0100\n"
"POT-Creation-Date: 2012-02-19 18:55+0100\n"
"PO-Revision-Date: 2012-02-19 10:45+0100\n"
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: French\n"
@@ -5558,6 +5558,15 @@ msgstr "vérifier que la connexion ssl est entièrement de confiance"
msgid "password for server"
msgstr "mot de passe pour le serveur"
#. TRANSLATORS: please keep word "capabilities" between brackets if translation is different (see fr.po)
msgid ""
"comma-separated list of capabilities to enable for server if they are "
"available (example: \"multi-prefix,extended-join\")"
msgstr ""
"liste séparée par des virgules de capacités (\"capabilities\") à activer sur "
"le serveur si elles sont disponibles (exemple: \"multi-prefix,extended-join"
"\")"
msgid "mechanism for SASL authentication"
msgstr "mécanisme pour l'authentification SASL"
@@ -6366,8 +6375,8 @@ msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: client capability, le serveur supporte: %s"
#, c-format
msgid "%s%s: client capability, requesting: sasl"
msgstr "%s%s: client capability, demande: sasl"
msgid "%s%s: client capability, requesting: %s"
msgstr "%s%s: client capability, demande: %s"
#, c-format
msgid "%s%s: client capability: sasl not supported"
+10 -4
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-01-24 21:20+0100\n"
"POT-Creation-Date: 2012-02-19 18:55+0100\n"
"PO-Revision-Date: 2011-12-25 22:56+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4921,6 +4921,12 @@ msgstr ""
msgid "password for server"
msgstr "jelszó az IRC szerveren"
#. TRANSLATORS: please keep word "capabilities" between brackets if translation is different (see fr.po)
msgid ""
"comma-separated list of capabilities to enable for server if they are "
"available (example: \"multi-prefix,extended-join\")"
msgstr ""
#, fuzzy
msgid "mechanism for SASL authentication"
msgstr "SSL használata a a kapcsolathoz"
@@ -5660,9 +5666,9 @@ msgstr ""
msgid "%s%s: client capability, server supports: %s"
msgstr ""
#, c-format
msgid "%s%s: client capability, requesting: sasl"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: client capability, requesting: %s"
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
#, c-format
msgid "%s%s: client capability: sasl not supported"
+126 -94
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-01-24 21:20+0100\n"
"PO-Revision-Date: 2012-01-16 22:07+0100\n"
"POT-Creation-Date: 2012-02-19 18:55+0100\n"
"PO-Revision-Date: 2012-02-05 22:24+0100\n"
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: Italian\n"
@@ -1199,7 +1199,6 @@ msgstr ""
"list || enable|disable|toggle [<nome>] || add <nome> <buffer>[,<buffer>...] "
"<tag> <regex>] || del <nome>|-all"
#, fuzzy
msgid ""
" list: list all filters\n"
" enable: enable filters (filters are enabled by default)\n"
@@ -1253,32 +1252,33 @@ msgid ""
" filter lines containing \"weechat sucks\" on IRC channel #weechat:\n"
" /filter add sucks irc.freenode.#weechat * weechat sucks"
msgstr ""
" list: elenca tutti i filtri\n"
" enable: abilita filtri (i filtri sono abilitati di default)\n"
" disable: disabilita filtri\n"
" toggle: abilita/disabilita filtri\n"
" nome: nome del filtro\n"
" add: aggiunge un filtro\n"
" del: elimina un filtro\n"
" -all: elimina tutti i filtri\n"
" buffer: elenco separato da virgole di buffer in cui il filtro è "
"attivo:\n"
" - nome completo che include il plugin (esempio: \"irc."
"freenode.#weechat)\n"
" - \"*\" indica tutti i buffer\n"
" - un nome preceduto da '!' viene escluso\n"
" - un nome può iniziare o terminare con '*' per includere più "
" list: elenca tutti i filtri\n"
" enable: abilita filtri (i filtri sono abilitati di default)\n"
"disable: disabilita filtri\n"
" toggle: abilita/disabilita filtri\n"
" nome: nome del filtro\n"
" add: aggiunge un filtro\n"
" del: elimina un filtro\n"
" -all: elimina tutti i filtri\n"
" buffer: elenco separato da virgole di buffer in cui il filtro è attivo:\n"
" - nome completo che include il plugin (esempio: \"irc.freenode."
"#weechat)\n"
" - \"*\" indica tutti i buffer\n"
" - un nome preceduto da '!' viene escluso\n"
" - un nome può iniziare o terminare con '*' per includere più "
"buffer\n"
" tag: elenco di tag separati da virgole, per esempio: \"irc_join,"
"irc_part,irc_quit\"\n"
" regex: espressione regolare da cercare nella riga\n"
" - usare '\\t' per separare il prefisso dal messaggio, "
"caratteri speciali come \"|\" vanno preceduti dal carattere escape: '\\|')\n"
" - se l'espressione regolare inizia con '!', il risultato "
" tag: elenco di tag separati da virgole, per esempio: \"irc_join,irc_part,"
"irc_quit\"\n"
" regex: espressione regolare da cercare nella riga\n"
" - usare '\\t' per separare il prefisso dal messaggio, caratteri "
"speciali come \"|\" vanno preceduti dal carattere escape: '\\|')\n"
" - se l'espressione regolare inizia con '!', il risultato "
"corrispondente viene invertito (usare '\\!' per iniziare con '!')\n"
"\n"
" -vengono create due espressioni regolari: una per il prefisso "
"e l'altra per il messaggio\n"
" - vengono create due espressioni regolari: una per il prefisso e "
"l'altra per il messaggio\n"
" - le espressioni regolari non sono sensibili alle maiuscole, "
"possono iniziare con \"(?-i)\" per diventare sensibili alle maiuscole\n"
"\n"
"Il tasto predefinito alt+'=' abilita/disabilita il filtro.\n"
"\n"
@@ -1347,7 +1347,6 @@ msgstr "funzioni per la riga di comando"
msgid "<action> [<arguments>]"
msgstr "<azioni> [<argomenti>]"
#, fuzzy
msgid ""
"list of actions:\n"
" return: simulate key \"enter\"\n"
@@ -1405,7 +1404,7 @@ msgstr ""
" complete_next: completa la parola con il completamento successivo\n"
" complete_previous: completa la parola con il completamento precedente\n"
" search_text: cerca testo nel buffer\n"
" search_switch_case: passa alla ricerca esatta\n"
" search_switch_case: passa alla ricerca sensibile\n"
" search_previous: cerca la riga precedente\n"
" search_next: cerca la riga successiva\n"
" search_stop: ferma la ricerca\n"
@@ -1445,7 +1444,6 @@ msgstr ""
" grab_key_command: ottiene un tasto con il suo comando associato\n"
" grab_mouse: cattura il codice dell'evento del mouse\n"
" grab_mouse_area: cattura il codice dell'evento del mouse con l'area\n"
" scroll_unread: scorri fino al segnalibro non letto\n"
" set_unread: imposta il segnalibro non letto per tutti i buffer\n"
" set_unread_current_buffer: imposta il segnalibro non letto per il buffer "
"corrente\n"
@@ -2050,7 +2048,6 @@ msgstr ""
msgid "manage windows"
msgstr "gestione finestre"
#, fuzzy
msgid ""
"list || -1|+1|b#|up|down|left|right [-window <number>] || <number> || splith|"
"splitv [-window <number>] [<pct>] || resize [-window <number>] [+/-]<pct> || "
@@ -2066,11 +2063,10 @@ msgstr ""
"balance || merge [-window <numero>] [all] || page_up|page_down [-window "
"<numero>] || refresh || scroll [-window <numero>] [+/-]<value>[s|m|h|d|M|y] "
"|| scroll_horiz [-window <numero>] [+/-]<value>[%] || scroll_up|scroll_down|"
"scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight [-"
"window <numero>] || swap [-window <numero>] [up|down|left|right] || zoom[-"
"window <numero>]"
"scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight|"
"scroll_unread [-window <numero>] || swap [-window <numero>] [up|down|left|"
"right] || zoom[-window <numero>]"
#, fuzzy
msgid ""
" list: list opened windows (without argument, this list is "
"displayed)\n"
@@ -2155,6 +2151,7 @@ msgstr ""
"scroll_bottom: scorre fino alla fine del buffer buffer\n"
"scroll_previous_highlight: passa all'evento precedente\n"
" scroll_next_highlight: passa all'evento successivo\n"
" \t scroll_unread: passa al segnalibro non letto\n"
" swap: scambia i buffer di due finestra (con direzione opzionale per "
"la finestra di destinazione)\n"
" zoom: ingrandimento sulla finestra\n"
@@ -2474,18 +2471,17 @@ msgstr ""
"applicazione (l'opzione è disabilitata per default, dato che può causare "
"seri errori di visualizzazione)"
#, fuzzy
msgid ""
"comma separated list of words to highlight; case insensitive comparison (use "
"\"(?-i)\" at beginning of words to make them case sensitive), words may "
"begin or end with \"*\" for partial match; example: \"test,(?-i)*toto*,flash*"
"\""
msgstr ""
"elenco separato da virgole di finestre da evidenziare (maiuscole/minuscole, "
"le parole potrebbero cominciare o terminare con \"*\" per un riscontro "
"parziale)"
"elenco separato da virgole di parole da evidenziare; confronto non sensibile "
"alle maiuscole (usare \"(?-i)\" all'inizio delle parole per renderle "
"sensibili alle maiuscole), le parole possono iniziare o terminare con \"*\" "
"per la corrispondenza parziale; ad esempio: \"test,(?-i)*tizio*,flash*\""
#, fuzzy
msgid ""
"regular expression used to check if a message has highlight or not, at least "
"one match in string must be surrounded by word chars (alphanumeric, \"-\", "
@@ -2493,19 +2489,21 @@ msgid ""
"beginning to make it case sensitive), examples: \"flashcode|flashy\", \"(?-i)"
"FlashCode|flashy\""
msgstr ""
"l'espressione regolare usata per verificare se un messaggio contiene un "
"evento oppure no, almeno una corrispondenza nella stringa deve essere "
"circondata da caratteri :(alfanumerici, \"-\", \"_\" or \"|\"), "
"l'espressione regolare è esatta, esempio \"FlashCode|flashy\""
"espressione regolare usata per verificare se un messaggio contiene un evento "
"oppure no, almeno una corrispondenza nella stringa deve essere circondata da "
"caratteri :(alfanumerici, \"-\", \"_\" or \"|\"), l'espressione regolare non "
"è sensibile alle maiuscole (usare \"(?-i)\" all'inizio per renderla "
"sensibile alle maiuscole), ad esempio: \"flashcode|flashy\", \"(?-i)"
"Flashcode|flashy\""
msgid ""
"comma separated list of tags to highlight (case insensitive comparison, "
"examples: \"irc_notice\" for IRC notices, \"nick_flashcode\" for messages "
"from nick \"FlashCode\")"
msgstr ""
"elenco separato da virgole di tag da evidenziare (senza differenza tra "
"maiuscole/minuscole, esempi: \"irc_notice\" per gli annunci IRC, "
"\"nick_flashcode\" per i messaggi dal nick \"FlashCode\")"
"elenco separato da virgole di tag da evidenziare (confronto non sensibile "
"alle maiuscole, esempi: \"irc_notice\" per gli annunci IRC, \"nick_flashcode"
"\" per i messaggi dal nick \"FlashCode\")"
msgid ""
"add any buffer to hotlist (including current or visible buffers) if local "
@@ -2703,13 +2701,12 @@ msgstr "stringa visualizzata dopo il prefisso"
msgid "use a marker (line or char) on buffers to show first unread line"
msgstr ""
"usa evidenziatore (riga o carattere) sui buffer per mostrare la prima riga "
"non letta"
"usa segnalibro (riga o carattere) sui buffer per mostrare la prima riga non "
"letta"
msgid "always show read marker, even if it is after last buffer line"
msgstr ""
"mostra sempre l'evidenziatore di lettura, anche se si trova dopo l'ultima "
"riga del buffer"
"mostra sempre il segnalibro, anche se si trova dopo l'ultima riga del buffer"
msgid ""
"string used to draw read marker line (string is repeated until end of line)"
@@ -4535,7 +4532,6 @@ msgstr "ignora nick/host dai server o dai canali"
msgid "list || add [re:]<nick> [<server> [<channel>]] || del <number>|-all"
msgstr "list || add [re:]<nick> [<server> [<canale>]] || del <numero>|-all"
#, fuzzy
msgid ""
" list: list all ignores\n"
" add: add an ignore\n"
@@ -4560,14 +4556,18 @@ msgid ""
msgstr ""
" list: elenca tutti gli ignore\n"
" add: aggiungi un ignore\n"
" nick: nick oppure hostname (può essere un'espressione regolare se "
"forinito il parametro \"-re:\")\n"
" nick: nick oppure nome host (può essere un'espressione regolare se "
"viene passato il parametro \"re:\" oppure usando un mask \"*\" per "
"sostituire uno o più caratteri)\n"
" del: elimina un ignore\n"
" numero: numero di ignore da eliminare (nella lista)\n"
"numero: numero di ignore da eliminare (nella lista)\n"
" -all: elimina tutti gli ignore\n"
" server: nome interno del server dove l'ignore è attivo\n"
" canale: nome del canale dove l'ignore è attivo\n"
"\n"
"Nota: l'espressione regolare può iniziare con \"(?-i)\" per diventare "
"sensibile alle maiuscole.\n"
"\n"
"Esempi:\n"
" ignora nick \"tizio\" su tutti gli host/canali:\n"
" /ignore add tizio\n"
@@ -4700,7 +4700,6 @@ msgstr "elenca i canali ed i loro argomenti"
msgid "[<channel>[,<channel>...]] [<server>] [-re <regex>]"
msgstr "[<canale>[,<canale>...]] [<server>] [-re <regexp>]"
#, fuzzy
msgid ""
"channel: channel to list\n"
" server: server name\n"
@@ -4718,7 +4717,9 @@ msgid ""
msgstr ""
"canale: canale da elencare\n"
"server: nome del server\n"
"regex: espressione regolare usata per filtrare i risultati\n"
" regex: espressione regolare usata per filtrare i risultati (non sensibile "
"alle maiuscole, può iniziare con \"(?-i)\" per renderla sensibile alle "
"maiuscole)\n"
"\n"
"Esempi:\n"
" elenca tutti i canali sul server (può essere molto lento su grandi "
@@ -4820,7 +4821,7 @@ msgstr ""
"\n"
"Esempi:\n"
" protegge l'argomento sul canale #weechat:\n"
" /mode #weecht +t\n"
" /mode #weechat +t\n"
" diventa invisibile sul server:\n"
" /mode nick +i"
@@ -5502,6 +5503,12 @@ msgstr "verifica che la connessione ssl sia totalmente fidata"
msgid "password for server"
msgstr "password per il server"
#. TRANSLATORS: please keep word "capabilities" between brackets if translation is different (see fr.po)
msgid ""
"comma-separated list of capabilities to enable for server if they are "
"available (example: \"multi-prefix,extended-join\")"
msgstr ""
msgid "mechanism for SASL authentication"
msgstr "meccanismo per l'autenticazione SASL"
@@ -5775,6 +5782,14 @@ msgid ""
"buffers), an empty string disables default highlight on nick, examples: "
"\"$nick\", \"(?-i)$nick\""
msgstr ""
"elenco separato da virgole di parole da evidenziare nei buffer dei server "
"(non sensibili alle maiuscole, usare \"(?-i)\" all'inizio delle parole per "
"renderle sensibili alle maiuscole; le variabili speciali $nick, $channel e "
"$server sono sostituite dal loro valore), queste parole vengono aggiunte "
"alla variabile locale del buffer \"highlight_words\" solo quando viene "
"creato il buffer (non interessa gli attuali buffer), una stringa vuota "
"disabilita l'evidenziatore predefinito sul nick, esempi: \"$nick\", \"(?-"
"i)$nick\""
msgid ""
"comma separated list of words to highlight in channel buffers (case "
@@ -5785,6 +5800,14 @@ msgid ""
"buffers), an empty string disables default highlight on nick, examples: "
"\"$nick\", \"(?-i)$nick\""
msgstr ""
"elenco separato da virgole di parole da evidenziare nei buffer dei canali "
"(non sensibili alle maiuscole, usare \"(?-i)\" all'inizio delle parole per "
"renderle sensibili alle maiuscole; le variabili speciali $nick, $channel e "
"$server sono sostituite dal loro valore), queste parole vengono aggiunte "
"alla variabile locale del buffer \"highlight_words\" solo quando viene "
"creato il buffer (non interessa gli attuali buffer), una stringa vuota "
"disabilita l'evidenziatore predefinito sul nick, esempi: \"$nick\", \"(?-"
"i)$nick\""
msgid ""
"comma separated list of words to highlight in private buffers (case "
@@ -5795,6 +5818,14 @@ msgid ""
"buffers), an empty string disables default highlight on nick, examples: "
"\"$nick\", \"(?-i)$nick\""
msgstr ""
"elenco separato da virgole di parole da evidenziare nei buffer privati (non "
"sensibili alle maiuscole, usare \"(?-i)\" all'inizio delle parole per "
"renderle sensibili alle maiuscole; le variabili speciali $nick, $channel e "
"$server sono sostituite dal loro valore), queste parole vengono aggiunte "
"alla variabile locale del buffer \"highlight_words\" solo quando viene "
"creato il buffer (non interessa gli attuali buffer), una stringa vuota "
"disabilita l'evidenziatore predefinito sul nick, esempi: \"$nick\", \"(?-"
"i)$nick\""
msgid ""
"comma separated list of tags for messages that may produce highlight "
@@ -5806,7 +5837,7 @@ msgstr ""
msgid "name of bar item where IRC server is displayed (for status bar)"
msgstr ""
"nome dell'elemento barra dov'è visualizzato il server IRC (per la barra di "
"nome dell'elemento barra dove è mostrato il server IRC (per la barra di "
"stato)"
msgid ""
@@ -6284,8 +6315,8 @@ msgstr ""
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: capacità del client, il server supporta: %s"
#, c-format
msgid "%s%s: client capability, requesting: sasl"
#, fuzzy, c-format
msgid "%s%s: client capability, requesting: %s"
msgstr "%s%s: capacità del client, richiesta in corso: sasl"
#, c-format
@@ -7436,21 +7467,21 @@ msgstr "autenticazione fallita"
msgid "disconnected"
msgstr "disconnesso"
#, fuzzy, c-format
#, c-format
msgid "%s: new client from %s%s%s on port %d (id: %d, relaying: %s%s%s)"
msgstr "%s: nuovo client da %s%s%s sulla porta %d (id: %d, relay: %s,%s)"
msgstr "%s: nuovo client da %s%s%s sulla porta %d (id: %d, relay: %s%s%s)"
#, c-format
msgid "%s%s: not enough memory for new client"
msgstr "%s%s: memoria insufficiente per il nuovo client"
#, fuzzy, c-format
#, c-format
msgid "%s%s: authentication failed with client %s%s%s (%s%s%s)"
msgstr "%s%s: autenticazione fallita con il client %s%s%s (%s,%s)"
msgstr "%s%s: autenticazione fallita con il client %s%s%s (%s%s%s)"
#, fuzzy, c-format
#, c-format
msgid "%s: disconnected from client %s%s%s (%s%s%s)"
msgstr "%s: disconnesso dal client %s%s%s (%s,%s)"
msgstr "%s: disconnesso dal client %s%s%s (%s%s%s)"
msgid "Clients for relay:"
msgstr "Client per relay:"
@@ -7473,9 +7504,9 @@ msgstr "Nessun client per il relay"
msgid "Listening on ports:"
msgstr "In ascolto sulle porte:"
#, fuzzy, c-format
#, c-format
msgid " port %s%d%s, relay: %s%s%s%s%s, started on: %s"
msgstr " porta %s%d%s, relay: %s%s.%s%s, avviato il: %s"
msgstr " porta %s%d%s, relay: %s%s%s%s%s, avviato il: %s"
msgid "No server for relay"
msgstr "Nessun server per il relay"
@@ -7502,7 +7533,6 @@ msgstr ""
"list|listfull|listrelay || add <protocollo.nome> <porta> || del <protocollo."
"nome> || raw"
#, fuzzy
msgid ""
" list: list relay clients (only active relays)\n"
" listfull: list relay clients (verbose, all relays)\n"
@@ -7529,16 +7559,18 @@ msgstr ""
" add: aggiungi relay per un protocollo + nome\n"
" del: rimuovi relay per un protocollo + nome\n"
"protocollo.nome: protocollo e nome con cui effettuare il relay\n"
" al momento, è supportato solo il protocollo \"irc\"\n"
" ad esempio: irc.freenode\n"
" - protocollo \"irc\": il nome è il server da condividere\n"
"\t\t - protocollo \"weechat\" (il nome non viene usato)\n"
" porta: porta usata per il relay\n"
" raw: apre il buffer con dati Relay\n"
" raw: apre il buffer con dati raw Relay\n"
"\n"
"Senza argomento, il comando apre i buffer con l'elenco dei client relay.\n"
"\n"
"Esempio:\n"
" proxy irc, per il server \"freenode\":\n"
" /relay add irc.freenode.net 8000"
" /relay add irc.freenode 8000\n"
" protocollo weechat:\n"
" /relay add weechat 8001"
msgid "all possible protocol.name for relay plugin"
msgstr "protocollo.nome possibile per il plugin relay"
@@ -7557,13 +7589,13 @@ msgstr "%s%s: errore: la porta \"%d\" è già in uso"
msgid "%s%s: error: unknown protocol \"%s\""
msgstr "%s%s: errore: protocollo \"%s\" sconosciuto"
#, fuzzy, c-format
#, c-format
msgid "%s%s: error: name is not allowed for protocol \"%s\""
msgstr "%s%s: errore: protocollo \"%s\" sconosciuto"
msgstr "%s%s: errore: nome non consentito per il protocollo \"%s\""
#, fuzzy, c-format
#, c-format
msgid "%s%s: error: name is not required for protocol \"%s\""
msgstr "%s%s: errore: protocollo \"%s\" sconosciuto"
msgstr "%s%s: errore: nome non richiesto per il protocollo \"%s\""
#, c-format
msgid "%s%s: error: relay for \"%s\" already exists"
@@ -7597,21 +7629,21 @@ msgstr "colore del testo per lo status \"autenticazione fallita\""
msgid "text color for \"disconnected\" status"
msgstr "colore del testo per lo status \"disconnesso\""
#, fuzzy
msgid ""
"regular expression with IPs allowed to use relay (case insensitive, use \"(?-"
"i)\" at beginning to make it case sensitive), example: \"^(123.45.67.89|"
"192.160.*)$\""
msgstr ""
"espressione regolare con gli indirizzi IP a cui è consentito usare il relay, "
"esempio: \"^(123.45.67.89|192.160.*)$\""
"(non sensibile alle maiuscole, usare \"(?-i)\" all'inizio per renderla "
"sensibile alle maiuscole), esempio: \"^(123.45.67.89|192.160.*)$\""
msgid ""
"address for bind (if empty, connection is possible on all interfaces, use "
"\"127.0.0.1\" to allow connections from local machine only)"
msgstr ""
"indirizzo associato (se vuoto, la connessione è possibile su tutte le "
"interfacce, usare \"127.0.0.1\" per consentire le connessioni solo dalla "
"indirizzo per l'associazione (se vuoto, la connessione è possibile su tutte "
"le interfacce, usare \"127.0.0.1\" per consentire le connessioni solo dalla "
"macchina locale)"
msgid ""
@@ -7641,25 +7673,25 @@ msgstr "puntatore al relay (opzionale)"
msgid "Relay raw messages"
msgstr "messaggi raw Relay"
#, fuzzy, c-format
#, c-format
msgid "%s: socket closed for %s%s%s (port %d)"
msgstr "%s: socket chiuso per %s.%s (porta %d)"
msgstr "%s: socket chiuso per %s%s%s (porta %d)"
#, fuzzy, c-format
#, c-format
msgid "%s%s: cannot accept client on port %d (%s%s%s)"
msgstr "%s%s: impossibile accettare il client sulla porta \"%d\" (%s.%s)"
msgstr "%s%s: impossibile accettare il client sulla porta %d (%s%s%s)"
#, c-format
msgid "%s%s: IP address \"%s\" not allowed for relay"
msgstr "%s%s: indirizzo IP \"%s\" non consentito per il relay"
#, fuzzy, c-format
#, c-format
msgid "%s%s: error with \"bind\" on port %d (%s%s%s)"
msgstr "%s%s: errore con \"bind\" sulla porta %d (%s.%s)"
msgstr "%s%s: errore con \"bind\" sulla porta %d (%s%s%s)"
#, fuzzy, c-format
#, c-format
msgid "%s: listening on port %d (relay: %s%s%s, max %d clients)"
msgstr "%s: in ascolto sulla porta %d (relay: %s,%s, massimo %d client)"
msgstr "%s: in ascolto sulla porta %d (relay: %s%s%s, massimo %d client)"
#, c-format
msgid "%s%s: not enough memory for listening on new port"
@@ -7743,7 +7775,6 @@ msgstr ""
"list|listdefault || add <nome> <modifier> <gruppi> <regex> || del <nome>|-"
"all [<nome>...] || default -yes"
#, fuzzy
msgid ""
" list: list all rmodifiers\n"
"listdefault: list default rmodifiers\n"
@@ -7771,9 +7802,10 @@ msgstr ""
" add: aggiunge un rmodifier\n"
" nome: nome rmodifier\n"
" modifier: elenco separato da virgole di modificatori\n"
" gruppi: azione sul gruppo trovato: elenco separato da virgole di gruppi "
" gruppi: azione sui gruppi trovati: elenco separato da virgole di gruppi "
"(da 1 a 9) con \"*\" opzionale dopo il numero per nascondere il gruppo\n"
" regex: espressione regolare\n"
" regex: espressione regolare (non sensibile alle maiuscole, può "
"iniziare con \"(?-i)\" per diventare sensibile alle maiuscole\n"
" del: elimina rmodifier\n"
" -all: elimina tutti gli rmodifier\n"
" default: ripristina gli rmodifier predefiniti\n"
@@ -8148,12 +8180,12 @@ msgstr ""
"%s: file in arrivo da %s (%s.%s), ip: %d.%d.%d.%d, nome: %s, %llu byte "
"(protocollo: %s)"
#, fuzzy, c-format
#, c-format
msgid ""
"%s: sending file to %s (%s.%s): %s (local filename: %s), %llu bytes "
"(protocol: %s)"
msgstr ""
"%s: invio file a %s (%s.%s), ip: %d.%d.%d.%d, nome: %s, %llu byte "
"%s: invio file a %s (%s.%s): %s (nome file locale: %s), %llu byte "
"(protocollo: %s)"
#, c-format
+9 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-01-24 21:20+0100\n"
"POT-Creation-Date: 2012-02-19 18:55+0100\n"
"PO-Revision-Date: 2011-12-25 22:56+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5472,6 +5472,12 @@ msgstr "sprawdź czy połączenie ssl jest w pełni zaufane"
msgid "password for server"
msgstr "hasło dla serwera"
#. TRANSLATORS: please keep word "capabilities" between brackets if translation is different (see fr.po)
msgid ""
"comma-separated list of capabilities to enable for server if they are "
"available (example: \"multi-prefix,extended-join\")"
msgstr ""
msgid "mechanism for SASL authentication"
msgstr "mechanizm uwierzytelniania SASL"
@@ -6235,8 +6241,8 @@ msgstr ""
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: możliwości klienta, serwer wspiera: %s"
#, c-format
msgid "%s%s: client capability, requesting: sasl"
#, fuzzy, c-format
msgid "%s%s: client capability, requesting: %s"
msgstr "%s%s: możliwości klienta, żądanie: sasl"
#, c-format
+8 -2
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-01-24 21:20+0100\n"
"POT-Creation-Date: 2012-02-19 18:55+0100\n"
"PO-Revision-Date: 2011-12-25 22:56+0100\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5075,6 +5075,12 @@ msgstr "verificar que a conexão SSL é totalmente confiável"
msgid "password for server"
msgstr "senha para o servidor"
#. TRANSLATORS: please keep word "capabilities" between brackets if translation is different (see fr.po)
msgid ""
"comma-separated list of capabilities to enable for server if they are "
"available (example: \"multi-prefix,extended-join\")"
msgstr ""
msgid "mechanism for SASL authentication"
msgstr "mecanismo para autenticação SASL"
@@ -5797,7 +5803,7 @@ msgid "%s%s: client capability, server supports: %s"
msgstr ""
#, c-format
msgid "%s%s: client capability, requesting: sasl"
msgid "%s%s: client capability, requesting: %s"
msgstr ""
#, c-format
+10 -4
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-01-24 21:20+0100\n"
"POT-Creation-Date: 2012-02-19 18:55+0100\n"
"PO-Revision-Date: 2012-01-07 09:24+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4940,6 +4940,12 @@ msgstr ""
msgid "password for server"
msgstr "пароль, используемый при подключении к IRC серверу"
#. TRANSLATORS: please keep word "capabilities" between brackets if translation is different (see fr.po)
msgid ""
"comma-separated list of capabilities to enable for server if they are "
"available (example: \"multi-prefix,extended-join\")"
msgstr ""
#, fuzzy
msgid "mechanism for SASL authentication"
msgstr "использовать SSL при связи с сервером"
@@ -5684,9 +5690,9 @@ msgstr ""
msgid "%s%s: client capability, server supports: %s"
msgstr ""
#, c-format
msgid "%s%s: client capability, requesting: sasl"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: client capability, requesting: %s"
msgstr "Не могу записать лог-файл \"%s\"\n"
#, c-format
msgid "%s%s: client capability: sasl not supported"
+8 -2
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: 2012-01-24 21:20+0100\n"
"POT-Creation-Date: 2012-02-19 18:55+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"
@@ -4243,6 +4243,12 @@ msgstr ""
msgid "password for server"
msgstr ""
#. TRANSLATORS: please keep word "capabilities" between brackets if translation is different (see fr.po)
msgid ""
"comma-separated list of capabilities to enable for server if they are "
"available (example: \"multi-prefix,extended-join\")"
msgstr ""
msgid "mechanism for SASL authentication"
msgstr ""
@@ -4897,7 +4903,7 @@ msgid "%s%s: client capability, server supports: %s"
msgstr ""
#, c-format
msgid "%s%s: client capability, requesting: sasl"
msgid "%s%s: client capability, requesting: %s"
msgstr ""
#, c-format
+5
View File
@@ -728,6 +728,11 @@ struct t_url_option url_options[] =
#if LIBCURL_VERSION_NUM >= 0x071503
/* libcurl >= 7.21.3 */
/*URL_DEF_OPTION(RESOLVE, LIST, NULL),*/
#endif
#if LIBCURL_VERSION_NUM >= 0x071800
/* libcurl >= 7.24.0 */
URL_DEF_OPTION(DNS_SERVERS, STRING, NULL),
URL_DEF_OPTION(ACCEPTTIMEOUT_MS, LONG, NULL),
#endif
/*
* SSL and security options
+6
View File
@@ -403,14 +403,20 @@ util_search_full_lib_name (const char *filename, const char *plugins_dir)
config_plugin_extensions[i],
plugins_dir);
if (full_name)
{
free (filename2);
return full_name;
}
}
}
else
{
full_name = util_search_full_lib_name_ext (filename2, "", plugins_dir);
if (full_name)
{
free (filename2);
return full_name;
}
}
free (filename2);
+6 -2
View File
@@ -2185,12 +2185,16 @@ gui_buffer_close (struct t_gui_buffer *buffer)
free (buffer->mixed_lines);
/* free some data */
if (buffer->title)
free (buffer->title);
if (buffer->plugin_name_for_upgrade)
free (buffer->plugin_name_for_upgrade);
if (buffer->name)
free (buffer->name);
if (buffer->full_name)
free (buffer->full_name);
if (buffer->short_name)
free (buffer->short_name);
if (buffer->title)
free (buffer->title);
if (buffer->input_buffer)
free (buffer->input_buffer);
gui_buffer_undo_free_all (buffer);
+5
View File
@@ -20,6 +20,11 @@
#ifndef __WEECHAT_GUI_COLOR_H
#define __WEECHAT_GUI_COLOR_H 1
/*
* Color from options
* (when changing something here, please update the Developer's guide)
*/
enum t_gui_color_enum
{
GUI_COLOR_SEPARATOR = 0,
+8
View File
@@ -1422,6 +1422,14 @@ gui_key_get_paste_lines ()
void
gui_key_paste_accept ()
{
/* add final '\n' if there is not in pasted text */
if ((gui_key_buffer_size > 0)
&& (gui_key_buffer[gui_key_buffer_size - 1] != '\r')
&& (gui_key_buffer[gui_key_buffer_size - 1] != '\n'))
{
gui_key_buffer_add ('\n');
}
gui_key_paste_pending = 0;
gui_input_paste_pending_signal ();
}
+28 -25
View File
@@ -149,31 +149,6 @@ gui_layout_buffer_add (struct t_gui_layout_buffer **layout_buffers,
return new_layout_buffer;
}
/*
* gui_layout_buffer_save: save current layout for buffers
*/
void
gui_layout_buffer_save (struct t_gui_layout_buffer **layout_buffers,
struct t_gui_layout_buffer **last_layout_buffer)
{
struct t_gui_buffer *ptr_buffer;
if (!layout_buffers || !last_layout_buffer)
return;
gui_layout_buffer_remove_all (layout_buffers, last_layout_buffer);
for (ptr_buffer = gui_buffers; ptr_buffer;
ptr_buffer = ptr_buffer->next_buffer)
{
gui_layout_buffer_add (layout_buffers, last_layout_buffer,
gui_buffer_get_plugin_name (ptr_buffer),
ptr_buffer->name,
ptr_buffer->number);
}
}
/*
* gui_layout_buffer_get_number: get layout number for a plugin/buffer
*/
@@ -237,6 +212,34 @@ gui_layout_buffer_get_number_all (struct t_gui_layout_buffer *layout_buffers)
}
}
/*
* gui_layout_buffer_save: save current layout for buffers
*/
void
gui_layout_buffer_save (struct t_gui_layout_buffer **layout_buffers,
struct t_gui_layout_buffer **last_layout_buffer)
{
struct t_gui_buffer *ptr_buffer;
if (!layout_buffers || !last_layout_buffer)
return;
gui_layout_buffer_remove_all (layout_buffers, last_layout_buffer);
for (ptr_buffer = gui_buffers; ptr_buffer;
ptr_buffer = ptr_buffer->next_buffer)
{
gui_layout_buffer_add (layout_buffers, last_layout_buffer,
gui_buffer_get_plugin_name (ptr_buffer),
ptr_buffer->name,
ptr_buffer->number);
}
/* get layout number for all buffers */
gui_layout_buffer_get_number_all (*layout_buffers);
}
/*
* gui_layout_buffer_apply: apply a layout for buffers
*/
+15
View File
@@ -1446,6 +1446,21 @@ irc_config_server_new_option (struct t_config_file *config_file,
callback_change, callback_change_data,
NULL, NULL);
break;
case IRC_SERVER_OPTION_CAP:
new_option = weechat_config_new_option (
config_file, section,
option_name, "string",
/* TRANSLATORS: please keep word "capabilities" between brackets if translation is different (see fr.po) */
N_("comma-separated list of capabilities to enable for server "
"if they are available (example: "
"\"multi-prefix,extended-join\")"),
NULL, 0, 0,
default_value, value,
null_value_allowed,
callback_check_value, callback_check_value_data,
callback_change, callback_change_data,
NULL, NULL);
break;
case IRC_SERVER_OPTION_SASL_MECHANISM:
new_option = weechat_config_new_option (
config_file, section,
+8
View File
@@ -253,6 +253,14 @@ irc_display_server (struct t_irc_server *server, int with_detail)
weechat_printf (NULL, " password . . . . . . : %s%s",
IRC_COLOR_CHAT_VALUE,
_("(hidden)"));
/* cap (capabilities) */
if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_CAP]))
weechat_printf (NULL, " cap. . . . . . . . . : ('%s')",
IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_CAP));
else
weechat_printf (NULL, " cap. . . . . . . . . : %s'%s'",
IRC_COLOR_CHAT_VALUE,
weechat_config_string (server->options[IRC_SERVER_OPTION_CAP]));
/* sasl_mechanism */
if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_SASL_MECHANISM]))
weechat_printf (NULL, " sasl_mechanism . . . : ('%s')",
+88 -27
View File
@@ -196,8 +196,10 @@ IRC_PROTOCOL_CALLBACK(authenticate)
IRC_PROTOCOL_CALLBACK(cap)
{
char *ptr_caps, **items;
int num_items, sasl, i, timeout;
char *ptr_caps, **caps_supported, **caps_requested, *cap_option, *cap_req;
const char *ptr_cap_option;
int num_caps_supported, num_caps_requested, sasl_requested, sasl_to_do;
int i, j, timeout, length;
/*
* CAP message looks like:
@@ -218,35 +220,79 @@ IRC_PROTOCOL_CALLBACK(cap)
weechat_prefix ("network"),
IRC_PLUGIN_NAME,
ptr_caps);
sasl = 0;
items = weechat_string_split (ptr_caps, " ", 0, 0, &num_items);
if (items)
/* auto-enable capabilities only when connecting to server */
if (!server->is_connected)
{
for (i = 0; i < num_items; i++)
sasl_requested = irc_server_sasl_enabled (server);
sasl_to_do = 0;
ptr_cap_option = IRC_SERVER_OPTION_STRING(server,
IRC_SERVER_OPTION_CAP);
length = ((ptr_cap_option && ptr_cap_option[0]) ? strlen (ptr_cap_option) : 0) + 16;
cap_option = malloc (length);
cap_req = malloc (length);
if (cap_option && cap_req)
{
if (strcmp (items[i], "sasl") == 0)
cap_option[0] = '\0';
if (ptr_cap_option && ptr_cap_option[0])
strcat (cap_option, ptr_cap_option);
if (sasl_requested)
{
sasl = 1;
break;
if (cap_option[0])
strcat (cap_option, ",");
strcat (cap_option, "sasl");
}
cap_req[0] = '\0';
caps_requested = weechat_string_split (cap_option, ",", 0, 0,
&num_caps_requested);
caps_supported = weechat_string_split (ptr_caps, " ", 0, 0,
&num_caps_supported);
if (caps_requested && caps_supported)
{
for (i = 0; i < num_caps_requested; i++)
{
for (j = 0; j < num_caps_supported; j++)
{
if (weechat_strcasecmp (caps_requested[i],
caps_supported[j]) == 0)
{
if (strcmp (caps_requested[i], "sasl") == 0)
sasl_to_do = 1;
if (cap_req[0])
strcat (cap_req, " ");
strcat (cap_req, caps_supported[j]);
}
}
}
}
if (caps_requested)
weechat_string_free_split (caps_requested);
if (caps_supported)
weechat_string_free_split (caps_supported);
if (cap_req[0])
{
weechat_printf (server->buffer,
_("%s%s: client capability, requesting: %s"),
weechat_prefix ("network"),
IRC_PLUGIN_NAME,
cap_req);
irc_server_sendf (server, 0, NULL,
"CAP REQ :%s", cap_req);
}
if (!sasl_to_do)
irc_server_sendf (server, 0, NULL, "CAP END");
if (sasl_requested && !sasl_to_do)
{
weechat_printf (server->buffer,
_("%s%s: client capability: sasl not supported"),
weechat_prefix ("network"),
IRC_PLUGIN_NAME);
}
}
weechat_string_free_split (items);
}
if (sasl)
{
weechat_printf (server->buffer,
_("%s%s: client capability, requesting: sasl"),
weechat_prefix ("network"),
IRC_PLUGIN_NAME);
irc_server_sendf (server, 0, NULL, "CAP REQ :sasl");
}
else
{
weechat_printf (server->buffer,
_("%s%s: client capability: sasl not supported"),
weechat_prefix ("network"),
IRC_PLUGIN_NAME);
irc_server_sendf (server, 0, NULL, "CAP END");
if (cap_option)
free (cap_option);
if (cap_req)
free (cap_req);
}
}
}
@@ -259,7 +305,22 @@ IRC_PROTOCOL_CALLBACK(cap)
_("%s%s: client capability, enabled: %s"),
weechat_prefix ("network"), IRC_PLUGIN_NAME,
ptr_caps);
if (strcmp (ptr_caps, "sasl") == 0)
sasl_to_do = 0;
caps_supported = weechat_string_split (ptr_caps, " ", 0, 0,
&num_caps_supported);
if (caps_supported)
{
for (i = 0; i < num_caps_supported; i++)
{
if (strcmp (caps_supported[i], "sasl") == 0)
{
sasl_to_do = 1;
break;
}
}
weechat_string_free_split (caps_supported);
}
if (sasl_to_do)
{
switch (IRC_SERVER_OPTION_INTEGER(server,
IRC_SERVER_OPTION_SASL_MECHANISM))
+18
View File
@@ -109,6 +109,12 @@ irc_sasl_mechanism_dh_blowfish (const char *data_base64,
password_crypted = NULL;
answer = NULL;
answer_base64 = NULL;
data_prime_number = NULL;
data_generator_number = NULL;
data_server_pub_key = NULL;
pub_key = NULL;
priv_key = NULL;
secret_mpi = NULL;
/* decode data */
data = malloc (strlen (data_base64) + 1);
@@ -225,6 +231,18 @@ end:
free (password_crypted);
if (answer)
free (answer);
if (data_prime_number)
gcry_mpi_release (data_prime_number);
if (data_generator_number)
gcry_mpi_release (data_generator_number);
if (data_server_pub_key)
gcry_mpi_release (data_server_pub_key);
if (pub_key)
gcry_mpi_release (pub_key);
if (priv_key)
gcry_mpi_release (priv_key);
if (secret_mpi)
gcry_mpi_release (secret_mpi);
return answer_base64;
#else
+22 -4
View File
@@ -68,7 +68,8 @@ struct t_irc_message *irc_msgq_last_msg = NULL;
char *irc_server_option_string[IRC_SERVER_NUM_OPTIONS] =
{ "addresses", "proxy", "ipv6",
"ssl", "ssl_cert", "ssl_priorities", "ssl_dhkey_size", "ssl_verify",
"password", "sasl_mechanism", "sasl_username", "sasl_password", "sasl_timeout",
"password", "cap",
"sasl_mechanism", "sasl_username", "sasl_password", "sasl_timeout",
"autoconnect", "autoreconnect", "autoreconnect_delay",
"nicks", "username", "realname", "local_hostname",
"command", "command_delay", "autojoin", "autorejoin", "autorejoin_delay",
@@ -82,7 +83,8 @@ char *irc_server_option_string[IRC_SERVER_NUM_OPTIONS] =
char *irc_server_option_default[IRC_SERVER_NUM_OPTIONS] =
{ "", "", "off",
"off", "", "NORMAL", "2048", "on",
"", "plain", "", "", "15",
"", "",
"plain", "", "", "15",
"off", "on", "10",
"", "", "", "",
"", "0", "", "off", "30",
@@ -1179,6 +1181,8 @@ irc_server_free_data (struct t_irc_server *server)
free (server->prefix_modes);
if (server->prefix_chars)
free (server->prefix_chars);
if (server->chantypes)
free (server->chantypes);
if (server->away_message)
free (server->away_message);
if (server->cmd_list_regexp)
@@ -2707,11 +2711,12 @@ irc_server_reconnect_schedule (struct t_irc_server *server)
void
irc_server_login (struct t_irc_server *server)
{
const char *password, *username, *realname;
const char *password, *username, *realname, *cap;
password = IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_PASSWORD);
username = IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_USERNAME);
realname = IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_REALNAME);
cap = IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_CAP);
if (password && password[0])
irc_server_sendf (server, 0, NULL, "PASS %s", password);
@@ -2726,7 +2731,7 @@ irc_server_login (struct t_irc_server *server)
else
server->nick_first_tried = irc_server_get_nick_index (server);
if (irc_server_sasl_enabled (server))
if (irc_server_sasl_enabled (server) || (cap && cap[0]))
{
irc_server_sendf (server, 0, NULL, "CAP LS");
}
@@ -3065,6 +3070,9 @@ irc_server_create_buffer (struct t_irc_server *server)
weechat_buffer_merge (server->buffer, ptr_buffer_for_merge);
}
weechat_hook_signal_send ("irc_server_opened",
WEECHAT_HOOK_SIGNAL_POINTER, server->buffer);
return server->buffer;
}
@@ -4302,6 +4310,9 @@ irc_server_add_to_infolist (struct t_infolist *infolist,
if (!weechat_infolist_new_var_string (ptr_item, "password",
IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_PASSWORD)))
return 0;
if (!weechat_infolist_new_var_string (ptr_item, "cap",
IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_CAP)))
return 0;
if (!weechat_infolist_new_var_integer (ptr_item, "sasl_mechanism",
IRC_SERVER_OPTION_INTEGER(server, IRC_SERVER_OPTION_SASL_MECHANISM)))
return 0;
@@ -4519,6 +4530,13 @@ irc_server_print_log ()
weechat_log_printf (" password . . . . . . : null");
else
weechat_log_printf (" password . . . . . . : (hidden)");
/* cap (capabilities) */
if (weechat_config_option_is_null (ptr_server->options[IRC_SERVER_OPTION_CAP]))
weechat_log_printf (" cap. . . . . . . . . : null ('%s')",
IRC_SERVER_OPTION_STRING(ptr_server, IRC_SERVER_OPTION_CAP));
else
weechat_log_printf (" cap. . . . . . . . . : '%s'",
weechat_config_string (ptr_server->options[IRC_SERVER_OPTION_CAP]));
/* sasl_mechanism */
if (weechat_config_option_is_null (ptr_server->options[IRC_SERVER_OPTION_SASL_MECHANISM]))
weechat_log_printf (" sasl_mechanism . . . : null ('%s')",
+1
View File
@@ -42,6 +42,7 @@ enum t_irc_server_option
IRC_SERVER_OPTION_SSL_DHKEY_SIZE, /* Diffie Hellman key size */
IRC_SERVER_OPTION_SSL_VERIFY, /* check if the connection is trusted */
IRC_SERVER_OPTION_PASSWORD, /* password for server */
IRC_SERVER_OPTION_CAP, /* capabilities to enable on server */
IRC_SERVER_OPTION_SASL_MECHANISM,/* mechanism for SASL authentication */
IRC_SERVER_OPTION_SASL_USERNAME, /* username for SASL authentication */
IRC_SERVER_OPTION_SASL_PASSWORD, /* password for SASL authentication */