1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 09:13:14 +02:00

Compare commits

...

22 Commits

Author SHA1 Message Date
Sébastien Helleu d50d32629f core: add CVE ids in ChangeLog 2020-03-02 20:43:10 +01:00
Sébastien Helleu 5c0aa1aae7 Version 2.7.1 2020-02-20 20:45:08 +01:00
Sébastien Helleu c827d6fa86 irc: fix crash when receiving a malformed message 352 (who)
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-14 08:14:31 +01:00
Sébastien Helleu 694b5c9f87 irc: fix crash when a new message 005 is received with longer nick prefixes
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-14 08:11:02 +01:00
Sébastien Helleu 51a739df61 irc: fix crash when receiving a malformed message 324 (channel mode) (CVE-2020-8955)
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-14 08:08:23 +01:00
Sébastien Helleu 410a12b2ae Version 2.7.1-dev 2020-02-14 08:05:19 +01:00
Sébastien Helleu 236dbe3f62 Version 2.7 2019-12-08 09:48:53 +01:00
Sébastien Helleu 632755d51d core: remove obsolete file FindTCL.cmake from root Makefile.am 2019-12-08 09:23:35 +01:00
Sébastien Helleu ee52c8ceae debian: fix debian/wheezy and ubuntu/trusty patches 2019-12-08 09:13:46 +01:00
Sébastien Helleu dda3ac7963 debian: update changelog 2019-12-08 08:23:07 +01:00
Sébastien Helleu e81d0787e4 debian: bump Standards-Version to 4.4.0 2019-12-08 08:22:45 +01:00
Sébastien Helleu 54aa8b82b3 doc: update Polish auto-generated files 2019-12-01 18:03:07 +01:00
Krzysztof Korościk 39ae55322d doc: updated polish traslation 2019-12-01 17:14:12 +01:00
Krzysztof Korościk 10f4e16695 po: update polish translation 2019-12-01 16:24:32 +01:00
Sébastien Helleu cfd7d31f95 doc: update German auto-generated files 2019-12-01 11:42:49 +01:00
Nils Görs 621b87ea8a core: update German translations 2019-11-29 09:17:37 +01:00
Sébastien Helleu c947d1575f core: exit makedist.sh script if command "cd" failed 2019-11-28 21:28:07 +01:00
Sébastien Helleu d876ec49fc core: replace "! -z" by "-n" in build-debian.sh 2019-11-28 21:27:43 +01:00
Sébastien Helleu d2300e62af core: replace "-o" by "||" in tools scripts 2019-11-28 21:26:45 +01:00
Sébastien Helleu a727516e0d core: run command and check return code on same line in tools scripts 2019-11-28 21:25:47 +01:00
Sébastien Helleu c0e48b0370 core: double quote variables in tools scripts 2019-11-28 21:23:59 +01:00
Sébastien Helleu 45509c3560 core: double quote variables in script autogen.sh 2019-11-27 20:17:48 +01:00
37 changed files with 505 additions and 394 deletions
+10 -1
View File
@@ -15,8 +15,17 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file _ReleaseNotes.adoc_ in sources). (file _ReleaseNotes.adoc_ in sources).
[[v2.7.1]]
== Version 2.7.1 (2020-02-20)
Bug fixes::
* irc: fix crash when a new message 005 is received with longer nick prefixes (CVE-2020-9760)
* irc: fix crash when receiving a malformed message 352 (who) (CVE-2020-9759)
* irc: fix crash when receiving a malformed message 324 (channel mode) (CVE-2020-8955)
[[v2.7]] [[v2.7]]
== Version 2.7 (under dev) == Version 2.7 (2019-12-08)
New features:: New features::
-1
View File
@@ -56,7 +56,6 @@ EXTRA_DIST = AUTHORS.adoc \
cmake/FindPkgConfig.cmake \ cmake/FindPkgConfig.cmake \
cmake/FindPython.cmake \ cmake/FindPython.cmake \
cmake/FindRuby.cmake \ cmake/FindRuby.cmake \
cmake/FindTCL.cmake \
cmake/FindV8.cmake \ cmake/FindV8.cmake \
cmake/FindZLIB.cmake \ cmake/FindZLIB.cmake \
cmake/cmake_uninstall.cmake.in \ cmake/cmake_uninstall.cmake.in \
+6 -1
View File
@@ -17,8 +17,13 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file _ChangeLog.adoc_ in sources). (file _ChangeLog.adoc_ in sources).
[[v2.7.1]]
== Version 2.7.1 (2020-02-20)
Bug fix and maintenance release.
[[v2.7]] [[v2.7]]
== Version 2.7 (under dev) == Version 2.7 (2019-12-08)
[[v2.7_cmake_errors]] [[v2.7_cmake_errors]]
=== CMake errors on missing dependencies === CMake errors on missing dependencies
+4 -5
View File
@@ -24,8 +24,8 @@
### common stuff ### common stuff
### ###
DIR=$(cd $(dirname "$0"); pwd) DIR=$(cd "$(dirname "$0")" || exit 1; pwd)
cd $DIR cd "$DIR" || exit 1
AUTOGEN_LOG=autogen.log AUTOGEN_LOG=autogen.log
@@ -41,9 +41,8 @@ err ()
run () run ()
{ {
echo -n "Running \"$@\"..." printf "Running \"%s\"..." "$@"
eval $@ >$AUTOGEN_LOG 2>&1 if eval "$@" >$AUTOGEN_LOG 2>&1 ; then
if [ $? = 0 ] ; then
echo " OK" echo " OK"
else else
echo " FAILED" echo " FAILED"
+1 -1
View File
@@ -21,7 +21,7 @@ Build-Depends:
libgcrypt20-dev, libgcrypt20-dev,
libgnutls28-dev, libgnutls28-dev,
zlib1g-dev zlib1g-dev
Standards-Version: 4.3.0 Standards-Version: 4.4.0
Homepage: https://weechat.org/ Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat Vcs-Browser: https://salsa.debian.org/kolter/weechat
+15
View File
@@ -1,3 +1,18 @@
weechat (2.6-2) unstable; urgency=medium
* Add a patch from upstream to support Guile 2.2 (Closes: #885235)
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 11 Oct 2019 15:07:22 +0000
weechat (2.6-1) unstable; urgency=medium
* New upstream release
* Build only with Python3 (Closes: #938817)
* Bump Standards-Version to 4.4.0
* Build Lua plugin against Lua 5.3
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 17 Sep 2019 13:30:32 +0000
weechat (2.4-1) unstable; urgency=medium weechat (2.4-1) unstable; urgency=medium
* New upstream release * New upstream release
+1 -1
View File
@@ -21,7 +21,7 @@ Build-Depends:
libgcrypt20-dev, libgcrypt20-dev,
libgnutls28-dev, libgnutls28-dev,
zlib1g-dev zlib1g-dev
Standards-Version: 4.3.0 Standards-Version: 4.4.0
Homepage: https://weechat.org/ Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat Vcs-Browser: https://salsa.debian.org/kolter/weechat
+2 -2
View File
@@ -225,7 +225,7 @@
** Standardwert: `+on+` ** Standardwert: `+on+`
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address* * [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
** Beschreibung: pass:none[display a warning in private buffer if the address of remote nick has changed; this option is disabled by default because servers like bitlbee are causing this warning to be displayed when it is not expected (the address of remote nick changes multiple times on login)] ** Beschreibung: pass:none[zeigt eine Warnung in einem privaten Buffer an, sobald sich die Adresse eines Remote-Nick geändert hat; diese Option ist standardmäßig ausgeschaltet, da Server wie bitlbee eine solche Warnung unvermittelt auslösen (die Adresse des Remote-Nick ändert sich während eines Login mehrfach)]
** Typ: boolesch ** Typ: boolesch
** Werte: on, off ** Werte: on, off
** Standardwert: `+off+` ** Standardwert: `+off+`
@@ -387,7 +387,7 @@
** Standardwert: `+merge_with_core+` ** Standardwert: `+merge_with_core+`
* [[option_irc.look.smart_filter]] *irc.look.smart_filter* * [[option_irc.look.smart_filter]] *irc.look.smart_filter*
** Beschreibung: pass:none[filter join/part/quit/nick messages for a nick if not speaking for some minutes on channel (you must create a filter on tag "irc_smart_filter", see /help filter)] ** Beschreibung: pass:none[filtert join/part/quit/nick Nachrichten für einen Nick der einige Minuten im Channel inaktiv gewesen ist (dazu muss ein Filter mit dem Schlagwort "irc_smart_filter" erstellt werden, siehe /help filter)]
** Typ: boolesch ** Typ: boolesch
** Werte: on, off ** Werte: on, off
** Standardwert: `+on+` ** Standardwert: `+on+`
+1 -1
View File
@@ -927,7 +927,7 @@
** Standardwert: `+djb2+` ** Standardwert: `+djb2+`
* [[option_weechat.look.nick_color_hash_salt]] *weechat.look.nick_color_hash_salt* * [[option_weechat.look.nick_color_hash_salt]] *weechat.look.nick_color_hash_salt*
** Beschreibung: pass:none[salt for the hash algorithm used to find nick colors (the nickname is appended to this salt and the hash algorithm operates on this string); modifying this shuffles nick colors] ** Beschreibung: pass:none[salt für den Hash-Algorithmus, der zum Auffinden von Nickfarben verwendet wird (der Nickname wird an diesen Salt angehängt und der Hash-Algorithmus verarbeitet diesen String); Wenn Sie dies ändern, werden die Nickfarben gemischt]
** Typ: Zeichenkette ** Typ: Zeichenkette
** Werte: beliebige Zeichenkette ** Werte: beliebige Zeichenkette
** Standardwert: `+""+` ** Standardwert: `+""+`
+6 -7
View File
@@ -2141,15 +2141,14 @@ mittels dem Befehl `/python` geladen wird.
Mit dem Befehl `/plugin` kann eine Erweiterung geladen bzw. entfernt werden. Auch können Mit dem Befehl `/plugin` kann eine Erweiterung geladen bzw. entfernt werden. Auch können
mit dem Befehl alle installierten Erweiterungen aufgelistet werden. mit dem Befehl alle installierten Erweiterungen aufgelistet werden.
// TRANSLATION MISSING Sobald eine Erweiterung beendet wird, entfernt WeeChat:
When a plugin is unloaded, WeeChat removes:
* buffers * Buffer
* configuration options (options are written in files) * Konfigurationsoptionen (Optionen die in Datein geschrieben wurden)
* all hooks: commands, modifiers, process, etc. * alle Hooks: commands, modifiers, process, etc.
* infos and infolists * Infos und Infolisten
* hdata * hdata
* bar items. * Bar-Items.
Beispiele wie man Erweiterungen lädt, entfernt und auflistet: Beispiele wie man Erweiterungen lädt, entfernt und auflistet:
+2 -2
View File
@@ -38,7 +38,7 @@
| irc | irc_privates | rozmowy prywatne na wszystkich serwerach IRC | irc | irc_privates | rozmowy prywatne na wszystkich serwerach IRC
| irc | irc_raw_filters | filters for irc raw buffer | irc | irc_raw_filters | filtry dla bufora nieprzetworzonych wiadomości IRC
| irc | irc_server | obecny serwer IRC | irc | irc_server | obecny serwer IRC
@@ -144,7 +144,7 @@
| weechat | env_vars | zmienne środowiskowe | weechat | env_vars | zmienne środowiskowe
| weechat | filename | filename; optional argument: default path (evaluated, see /help eval) | weechat | filename | nazwa pliku; opcjonalny argument: domyślna ścieżka (przetwarzana, zobacz /help eval)
| weechat | filters_names | nazwy filtrów | weechat | filters_names | nazwy filtrów
@@ -6,7 +6,7 @@
|=== |===
| Wtyczka | Nazwa | Opis | Hashtable (wejście) | Hashtable (wyjście) | Wtyczka | Nazwa | Opis | Hashtable (wejście) | Hashtable (wyjście)
| irc | irc_message_parse | przetwarza wiadomość IRC | "message": wiadomość IRC, "server": nazwa serwera (opcjonalne) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "user": user, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel), "text": text (for example user message), "pos_command": index of "command" message ("-1" if "command" was not found), "pos_arguments": index of "arguments" message ("-1" if "arguments" was not found), "pos_channel": index of "channel" message ("-1" if "channel" was not found), "pos_text": index of "text" message ("-1" if "text" was not found) | irc | irc_message_parse | przetwarza wiadomość IRC | "message": wiadomość IRC, "server": nazwa serwera (opcjonalne) | "tags": tagi, "message_without_tags": wiadomość bez tagów, "nick": nick, "user": użytkownik, "host": host, "command": komenda, "channel": kanał, "arguments": argumenty (razem z kanałem), "text": tekst (na przykład wiadomość użytkownika), "pos_command": indeks wiadomości "command" message ("-1" jeśli "command" nie zostało znalezione), "pos_arguments": indeks wiadomości "arguments" ("-1" jeśli "arguments" nie zostało znalezione), "pos_channel": indeks wiadomości "channel" ("-1" jeśli "channel" nie zostało znalezione), "pos_text": indeks słowa "text" ("-1" jeśli "text" nie zostało znalezione)
| irc | irc_message_split | dziel wiadomość IRC (aby zmieściła się domyślnie w 512 bajtach) | "message": wiadomość IRC, "server": nazwa serwera (opcjonalne) | "msg1" ... "msgN": wiadomości do wysłania (bez kończącego "\r\n"), "args1" ... "argsN": argumenty wiadomości, "count": ilość wiadomości | irc | irc_message_split | dziel wiadomość IRC (aby zmieściła się domyślnie w 512 bajtach) | "message": wiadomość IRC, "server": nazwa serwera (opcjonalne) | "msg1" ... "msgN": wiadomości do wysłania (bez kończącego "\r\n"), "args1" ... "argsN": argumenty wiadomości, "count": ilość wiadomości
+31 -32
View File
@@ -373,7 +373,7 @@ powód: powód
---- ----
[[command_irc_links]] [[command_irc_links]]
* `+links+`: list all server names which are known by the server answering the query * `+links+`: wyświetla wszystkie nazwy serwerów, które są znane serwerowi odpowiadającemu na zapytanie
---- ----
/links [[<cel>] <maska>] /links [[<cel>] <maska>]
@@ -720,41 +720,40 @@ powód: powód
* `+server+`: wyświetla, dodaje lub usuwa serwery IRC * `+server+`: wyświetla, dodaje lub usuwa serwery IRC
---- ----
/server list|listfull [<name>] /server list|listfull [<nazwa>]
add <name> <hostname>[/<port>] [-temp] [-<option>[=<value>]] [-no<option>] add <nazwa> <host>[/<port>] [-temp] [-<opcja>[=<wartość>]] [-no<opcja>]|| copy|rename <nazwa> <nowa_nazwa>
copy|rename <name> <new_name> reorder <nazwa> [<nazwa>...]
reorder <name> [<name>...] open <nazwa>|-all [<nazwa>...]
open <name>|-all [<name>...] del|keep <nazwa>
del|keep <name>
deloutq|jump deloutq|jump
raw [<filter>] raw [<filter>]
list: list servers (without argument, this list is displayed) list: wyświetla listę serwerów (bez argumentu wyświetlana jest ta lista)
listfull: list servers with detailed info for each server listfull: wyświetla listę serwerów ze szczegółowymi informacjami dla każdego serwera
add: add a new server add: tworzy nowy serwer
name: server name, for internal and display use; this name is used to connect to the server (/connect name) and to set server options: irc.server.name.xxx nazwa: nazwa serwera, do użytku wewnętrznego i wyświetlania; ta nazwa jest używana do połączenia z serwerem (/connect nazwa) i do ustawiania opcji serwera: irc.server.nazwa.xxx
hostname: name or IP address of server, with optional port (default: 6667), many addresses can be separated by a comma host: nazwa albo adres IP serwera, z opcjonalnym numerem portu (domyślnie: 6667), wiele adresów należy rozdzielić przecinkiem
-temp: add a temporary server (not saved) -temp: tworzy serwer tymczasowy (nie zapisany)
option: set option for server (for boolean option, value can be omitted) opcja: ustawia opcję dla serwera (dla opcji boolowskich wartość może zostać pominięta)
nooption: set boolean option to 'off' (for example: -nossl) noopcja: ustawia opcje boolowskie na 'off' (na przykład: -nossl)
copy: duplicate a server copy: duplikuje serwer
rename: rename a server rename: zmienia nazwę serwera
reorder: reorder list of servers reorder: zmienia kolejność na liście serwerów
open: open the server buffer without connecting open: otwiera bufor serwera nie łącząc się z nim
keep: keep server in config file (for temporary servers only) keep: zachowuje serwer w pliku konfiguracyjnym (tylko dla serwerów tymczasowych)
del: delete a server del: usuwa serwer
deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending) deloutq: usuń wiadomości z kolejki dla wszystkich serwerów (wszystkie wiadomości jakie WeeChat obecnie wysyła)
jump: jump to server buffer jump: przechodzi do bufora serwera
raw: open buffer with raw IRC data raw: otwiera bufor z nieprzetworzonymi danymi IRC
filter: set a new filter to see only matching messages (this filter can be used as input in raw IRC data buffer as well); allowed formats are: filtr: ustawia nowy filtr pokazujący tylko wybrane wiadomości (może zostać również użyty jako wejście w buforze nieprzetworzonych danych IRC); dozwolone formaty:
* show all messages (no filter) * pokaż wszystkie wiadomości (brak filtra)
xxx show only messages containing "xxx" xxx pokaż tylko wiadomości zawierające "xxx"
s:xxx show only messages for server "xxx" s:xxx pokaż tylko wiadomości od serwera "xxx"
f:xxx show only messages with a flag: recv (message received), sent (message sent), modified (message modified by a modifier), redirected (message redirected) f:xxx pokaż tylko wiadomości z flagą: recv (wiadomości odebrane), sent (wiadomości wysłane), modified (wiadomości zmodyfikowane), redirected (wiadomości przekierowane)
m:xxx show only IRC command "xxx" m:xxx pokaż tylko komendę IRC "xxx"
c:xxx show only messages matching the evaluated condition "xxx", using following variables: output of function irc_message_parse (like nick, command, channel, text, etc., see function info_get_hashtable in plugin API reference for the list of all variables), date (format: "yyyy-mm-dd hh:mm:ss"), server, recv, sent, modified, redirected c:xxx pokaż tylko wiadomości pasujące to przetworzonego warunku "xxx", używając następujących zmiennych: wynik funkcji irc_message_parse (jak nick, komenda, kanał, tekst, etc., zobacz funkcję info_get_hashtable w opisie API wtyczek dla listy wszystkich dostępnych zmiennych), data (format: "yyyy-mm-dd hh:mm:ss"), serwer, recv, sent, modified, redirected
Examples: Przykłady:
/server listfull /server listfull
/server add freenode chat.freenode.net /server add freenode chat.freenode.net
/server add freenode chat.freenode.net/6697 -ssl -autoconnect /server add freenode chat.freenode.net/6697 -ssl -autoconnect
+6 -6
View File
@@ -45,7 +45,7 @@
** domyślna wartość: `+green+` ** domyślna wartość: `+green+`
* [[option_irc.color.message_kick]] *irc.color.message_kick* * [[option_irc.color.message_kick]] *irc.color.message_kick*
** opis: pass:none[color for text in kick/kill messages] ** opis: pass:none[kolor tekstu w wiadomości kick/kill]
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
** domyślna wartość: `+red+` ** domyślna wartość: `+red+`
@@ -75,7 +75,7 @@
** domyślna wartość: `+green+` ** domyślna wartość: `+green+`
* [[option_irc.color.reason_kick]] *irc.color.reason_kick* * [[option_irc.color.reason_kick]] *irc.color.reason_kick*
** opis: pass:none[color for reason in kick/kill messages] ** opis: pass:none[kolor tekstu powodu w wiadomości kick/kill]
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
** domyślna wartość: `+default+` ** domyślna wartość: `+default+`
@@ -225,7 +225,7 @@
** domyślna wartość: `+on+` ** domyślna wartość: `+on+`
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address* * [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
** opis: pass:none[display a warning in private buffer if the address of remote nick has changed; this option is disabled by default because servers like bitlbee are causing this warning to be displayed when it is not expected (the address of remote nick changes multiple times on login)] ** opis: pass:none[wyświetl ostrzeżenie w prywatnym buforze jeśli adres zdalnego nicka uległ zmianie; ta opcja jest domyślnie wyłączona ponieważ serwery jak bitlbee powodują wyświetlanie tego ostrzeżenia, kiedy nie powinny (adres zdalnego nicka zmienia się wiele razy przy logowaniu)]
** typ: bool ** typ: bool
** wartości: on, off ** wartości: on, off
** domyślna wartość: `+off+` ** domyślna wartość: `+off+`
@@ -387,7 +387,7 @@
** domyślna wartość: `+merge_with_core+` ** domyślna wartość: `+merge_with_core+`
* [[option_irc.look.smart_filter]] *irc.look.smart_filter* * [[option_irc.look.smart_filter]] *irc.look.smart_filter*
** opis: pass:none[filter join/part/quit/nick messages for a nick if not speaking for some minutes on channel (you must create a filter on tag "irc_smart_filter", see /help filter)] ** opis: pass:none[filtruj wiadomości wejścia/opuszczenia/wyjścia/nick od nicków nie będących aktywnymi od kilku minut na kanale (musisz stworzyć filtr na tagu "irc_smart_filter", zobacz /help filter)]
** typ: bool ** typ: bool
** wartości: on, off ** wartości: on, off
** domyślna wartość: `+on+` ** domyślna wartość: `+on+`
@@ -609,7 +609,7 @@
** domyślna wartość: `+""+` ** domyślna wartość: `+""+`
* [[option_irc.server_default.charset_message]] *irc.server_default.charset_message* * [[option_irc.server_default.charset_message]] *irc.server_default.charset_message*
** opis: pass:none[part of the IRC message (received or sent) which is decoded/encoded to the target charset; message = the whole IRC message (default), channel = starting from the channel name only (if found, with fallback on text), text = starting from the text only (you should try this value if you have issues with the channel name encoding)] ** opis: pass:none[część wiadomości IRC (otrzymanej lub wysłanej), która jest kodowana na ustawione kodowanie; message = cała wiadomość IRC (domyślne), channel = zaczynając od nazwy kanału (jeśli znaleziona, w przeciwnym wypadku text), text = zaczynając od samego tekstu (powinieneś spróbować tej wartości, jeśli masz problem z kodowaniem nazwy kanału)]
** typ: liczba ** typ: liczba
** wartości: message, channel, text ** wartości: message, channel, text
** domyślna wartość: `+message+` ** domyślna wartość: `+message+`
@@ -765,7 +765,7 @@
** domyślna wartość: `+""+` ** domyślna wartość: `+""+`
* [[option_irc.server_default.ssl_password]] *irc.server_default.ssl_password* * [[option_irc.server_default.ssl_password]] *irc.server_default.ssl_password*
** opis: pass:none[password for SSL certificate's private key (note: content is evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name)] ** opis: pass:none[hasło do klucza prywatnego certyfikatu SSL (uwaga: zawartość jest przetwarzana zobacz /help eval; opcje serwera mogą zostać użytego w postaci ${irc_server.xxx} oraz ${server} jest zastępowany nazwą serwera)]
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg ** wartości: dowolny ciąg
** domyślna wartość: `+""+` ** domyślna wartość: `+""+`
+2 -2
View File
@@ -9,7 +9,7 @@
** domyślna wartość: `+default+` ** domyślna wartość: `+default+`
* [[option_logger.color.backlog_line]] *logger.color.backlog_line* * [[option_logger.color.backlog_line]] *logger.color.backlog_line*
** opis: pass:none[color for backlog lines, used only if the option logger.file.color_lines is off] ** opis: pass:none[kolor linii backloga, używany tylko jeśli opcja logger.file.color_lines jest wyłączona]
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
** domyślna wartość: `+default+` ** domyślna wartość: `+default+`
@@ -21,7 +21,7 @@
** domyślna wartość: `+on+` ** domyślna wartość: `+on+`
* [[option_logger.file.color_lines]] *logger.file.color_lines* * [[option_logger.file.color_lines]] *logger.file.color_lines*
** opis: pass:none[use ANSI color codes in lines written in log files and display backlog lines with these colors] ** opis: pass:none[użyj kodów kolorów ANSI w liniach zapisywanych do plików z logami oraz wyświetlaj linie backloga z tymi kolorami]
** typ: bool ** typ: bool
** wartości: on, off ** wartości: on, off
** domyślna wartość: `+off+` ** domyślna wartość: `+off+`
+55 -55
View File
@@ -7,72 +7,72 @@
---- ----
/script list [-o|-ol|-i|-il] /script list [-o|-ol|-i|-il]
search <text> search <tekst>
show <script> show <skrypt>
load|unload|reload <script> [<script>...] load|unload|reload <skrypt> [<skrypt>...]
autoload|noautoload|toggleautoload <script> [<script>...] autoload|noautoload|toggleautoload <skrypt> [<skrypt>...]
install|remove|installremove|hold [-q] <script> [<script>...] install|remove|installremove|hold [-q] <skrypt> [<skrypt>...]
upgrade upgrade
update update
list: list loaded scripts (all languages) list: lista załadowanych skryptów (wszystkie języki)
-o: send list of loaded scripts to buffer (string in English) -o: wysyła listę skryptów do bufora (po angielsku)
-ol: send list of loaded scripts to buffer (translated string) -ol: wysyła listę skryptów do bufora (przetłumaczoną)
-i: copy list of loaded scripts in command line (for sending to buffer) (string in English) -i: kopiuje listę skryptów do wiersza poleceń (do wysłania do bufora)(po angielsku)
-il: copy list of loaded scripts in command line (for sending to buffer) (translated string) -il: kopiuje listę skryptów do wiersza poleceń (do wysłania do bufora)(przetłumaczone)
search: search scripts by tags, language (python, perl, ...), filename extension (py, pl, ...) or text; result is displayed on scripts buffer search: wyszukuje skryptu po tagach, języku (python, perl, ...), rozszerzeniu pliku (py, pl, ...) lub tekście; wynik jest wyświetlany w buforze skryptów
show: show detailed info about a script show: pokazuje dokładne informacje o skrypcie
load: load script(s) load: ładuje skrypt(y)
unload: unload script(s) unload: wyładowuje skrypt(y)
reload: reload script(s) reload: przeładowuje skrypt(y)
autoload: autoload the script autoload: automatyczne ładowanie skryptu
noautoload: do not autoload the script noautoload: nie ładuj automatycznie skryptu
toggleautoload: toggle autoload toggleautoload: przełącza automatyczne logowanie
install: install/upgrade script(s) install: instaluje/uaktualnia skrypt(y)
remove: remove script(s) remove: usuwa skrypt(y)
installremove: install or remove script(s), depending on current state installremove: instaluje lub usuwa skrypt(y), w zależności od obecnego stanu
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed) hold: przełącza stan wstrzymania skrypt(y) (wstrzymany skrypt nie będzie aktualizowany ani nie może zostać usunięty)
-q: quiet mode: do not display messages -q: tryb cichy: nie wyświetla wiadomości
upgrade: upgrade all installed scripts which are obsolete (new version available) upgrade: aktualizuje wszystkie zainstalowane skrypty, które są przestarzałe (nowa wersja jest dostępne)
update: update local scripts cache update: aktualizuje lokalna listę dostępnych skryptów
Without argument, this command opens a buffer with list of scripts. Bez żadnego argumentu, komenda otwiera bufor z listą skryptów.
On script buffer, the possible status for each script are: W buforze skryptów, możliwe statusy dla każdego ze skryptów:
* i a H r N * i a H r N
| | | | | | | | | | | |
| | | | | obsolete (new version available) | | | | | przestarzały (dostępna jest nowa wersja)
| | | | running (loaded) | | | | działający (załadowany)
| | | held | | | wstrzymany
| | autoloaded | | automatycznie ładowany
| installed | zainstalowany
popular script popularny skrypt
Keys on script buffer: Skróty klawiszowe w buforze skryptów:
alt+i install script alt+i instaluje skrypt
alt+r remove script alt+r usuwa skrypt
alt+l load script alt+l ładuje skrypt
alt+L reload script alt+L przeładowuje skrypt
alt+u unload script alt+u wyładowuje skrypt
alt+A autoload script alt+A automatyczne ładowanie skryptu
alt+h (un)hold script alt+h przełącza stan wstrzymania skryptu
alt+v view script alt+v wyświetla skrypt
Input allowed on script buffer: Dozwolone komendy z linii poleceń w buforze skryptów:
i/r/l/L/u/A/h/v action on script (same as keys above) i/r/l/L/u/A/h/v akcje dla skryptu (takie same jak skróty klawiszowe powyżej)
q close buffer q zamknij bufor
$ refresh buffer $ odśwież bufor
s:x,y sort buffer using keys x and y (see /help script.look.sort) s:x,y sortuj bufor używając klawiszy x i y (zobacz /help script.look.sort)
s: reset sort (use default sort) s: resetuj sortowanie (użyj domyślnego)
word(s) filter scripts: search word(s) in scripts (description, tags, ...) słowo(a) filtruj skrypty: szukaj słowa(ów) w skryptach (opis, tagi, ...)
* remove filter * usuń filtr
Mouse actions on script buffer: Akcje myszy w buforze skryptów:
wheel scroll list kółko przewija listę
left button select script lewy przycisk wybiera skrypt
right button install/remove script prawy przycisk instaluj/usuń skrypt
Examples: Przykłady:
/script search url /script search url
/script install go.py urlserver.py /script install go.py urlserver.py
/script remove go.py /script remove go.py
+55 -55
View File
@@ -266,68 +266,68 @@ infolists: wyświetla informacje o infolistach
/eval [-n|-s] <wyrażenie> /eval [-n|-s] <wyrażenie>
[-n] -c <wyrażenie1> <operator> <wyrażenie2> [-n] -c <wyrażenie1> <operator> <wyrażenie2>
-n: display result without sending it to buffer (debug mode) -n: wyświetla wynik bez wysyłania go do buforu (tryb debugowania)
-s: split expression before evaluating it (many commands can be separated by semicolons) -s: podziel wyrażenie przed przetworzeniem go (wiele komend może być oddzielonych średnikami)
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1") -c: przetwarza jako warunek: użyj operatorów i nawiasów, zwraca wartość logiczną ("0" lub "1")
expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons wyrażenie: wyrażenie do przetworzenia, zmienne o formacie ${zmienna} są zastępowane (zobacz niżej); wiele komend można oddzielić średnikami
operator: a logical or comparison operator: operator: operator logiczny lub porównania:
- logical operators: - operatory logiczne:
&& boolean "and" && logiczne "i"
|| boolean "or" || logiczne "lub"
- comparison operators: - operatory porównania:
== equal == równy
!= not equal != różny
<= less or equal <= mniejszy lub równy
< less < mniejszy
>= greater or equal >= większy lub równy
> greater > większy
=~ is matching POSIX extended regex =~ pasuje do rozszerzonego wyrażenia regularnego POSIX
!~ is NOT matching POSIX extended regex !~ NIE pasuje do rozszerzonego wyrażenia regularnego POSIX
=* is matching mask (wildcard "*" is allowed) =* pasuje do maski (dzika karta "*" dozwolona)
!* is NOT matching mask (wildcard "*" is allowed) !* NIE pasuje do maski (dzika karta "*" dozwolona)
An expression is considered as "true" if it is not NULL, not empty, and different from "0". Wyrażenie jest uznawane za „prawdziwe” jeśli nie jest NULL, nie jest puste, oraz różni się od "0".
The comparison is made using floating point numbers if the two expressions are valid numbers, with one of the following formats: Porównania dokonuje się z użyciem liczb całkowitych jeśli oba wyrażenia są liczbami całkowitymi, w jednym z następujących formatów:
- integer (examples: 5, -7) - liczby całkowite (przykłady: 5, -7)
- floating point number (examples: 5.2, -7.5, 2.83e-2) - liczby zmiennoprzecinkowe (przykłady: 5.2, -7.5, 2.83e-2)
- hexadecimal number (examples: 0xA3, -0xA3) - liczby szesnastkowe (przykłady: 0xA3, -0xA3)
To force a string comparison, you can add double quotes around each expression, for example: W celu wymuszenia porównywania ciągów, należy umieścić każde wyrażenie w cudzysłowie, na przykład:
50 > 100 ==> 0 50 > 100 ==> 0
"50" > "100" ==> 1 "50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority: Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu ${zmienna}, według priorytetu zmienną może być:
1. an evaluated sub-string (format: "eval:xxx") 1. przetworzony ciąg (format: "eval:xxx")
2. a string with escaped chars (format: "esc:xxx" or "\xxx") 2. ciąg z wyescapowanymi znakami (format: "esc:xxx" lub "\xxx")
3. a string with chars to hide (format: "hide:char,string") 3. ciąg ze znakami do ukrycia (format: "hide:char,string")
4. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string") 4. ciąg o maksymalnej długości (format: "cut:max,suffix,string" lub "cut:+max,suffix,string")
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string") lub maksymalna ilość znaków wyświetlanych na ekranie (format: "cutscr:max,suffix,string" lub "cutscr:+max,suffix,string")
5. a reversed string (format: "rev:xxx" or "revscr:xxx") 5. odwrócony ciąg (format: "rev:xxx")
6. a repeated string (format: "repeat:count,string") 6. powtórzony ciąg (format: "repeat:ilość,ciąg")
7. length of a string (format: "length:xxx" or "lengthscr:xxx") 7. długość ciągu (format: "length:xxx" or "lengthscr:xxx")
8. a color (format: "color:xxx", see "Plugin API reference", function "color") 8. kolor (format "color:xxx", zobacz „Opis API wtyczek”, funkcja "color")
9. a modifier (format: "modifier:name,data,string") 9. modyfikator (format: "modifier:name,data,string")
10. an info (format: "info:name,arguments", arguments are optional) 10. informacja (format: "info:nazwa,argumenty", argumenty są opcjonalne)
11. current date/time (format: "date" or "date:format") 11. obecna data/czas (format: "date" lub "date:format")
12. an environment variable (format: "env:XXX") 12. zmienna środowiskowa (format: "env:XXX")
13. a ternary operator (format: "if:condition?value_if_true:value_if_false") 13. wyrażenie warunkowe (format: "if:condition?value_if_true:value_if_false")
14. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx") 14. wynik wyrażenia z nawiasami i operatorami + - * / // % ** (format: "calc:xxx")
15. an option (format: "file.section.option") 15. opcja (format: plik.sekcja.opcja)
16. a local variable in buffer 16 zmienna lokalna w buforze
17. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer. 17. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg znaków), domyślnie "window" i "buffer" wskazują na aktualne okno/bufor.
Format for hdata can be one of following: Format dla hdata może być jednym z poniższych:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed) hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), następnie wypytuje zmienne jedna po drugiej (inne hdata mogą być następne)
hdata[list].var1.var2...: start with a hdata using a list, for example: hdata[list].zmienna1.zmienna2...: inicjuje hdata z wykorzystaniem listy, na przykład:
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers ${buffer[gui_buffers].full_name}: pełna nazwa buforu w połączonej liście buforów
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins ${plugin[weechat_plugins].name}: nazwa pierwszej wtyczki w połączonej liście wtyczek
hdata[pointer].var1.var2...: start with a hdata using a pointer, for example: hdata[wskaźnik].zmienna1.zmienna2...: zacznij z hdata używając wskaźnika, na przykład:
${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers) ${buffer[0x1234abcd].full_name}: pełna nazwa buforu z tym wskaźnikiem (może zostać użyte w triggerach)
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get". Nazwy hdata i zmiennych, można znaleźć w „Opisie API wtyczek”, funkcja "weechat_hdata_get".
Examples (simple strings): Przykłady (proste ciągi):
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user /eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3 /eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${sec.data.freenode_password} ==> secret /eval -n ${sec.data.freenode_password} ==> secret
/eval -n ${window} ==> 0x2549aa0 /eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320 /eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat /eval -n ${window.buffer.full_name} ==> core.weechat
@@ -343,7 +343,7 @@ Examples (simple strings):
/eval -n ${length:test} ==> 4 /eval -n ${length:test} ==> 4
/eval -n ${calc:(5+2)*3} ==> 21 /eval -n ${calc:(5+2)*3} ==> 21
Examples (conditions): Przykłady (warunki):
/eval -n -c ${window.buffer.number} > 2 ==> 0 /eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1 /eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1 /eval -n -c (8 > 12) || (5 > 2) ==> 1
+2 -2
View File
@@ -915,7 +915,7 @@
** domyślna wartość: `+100+` ** domyślna wartość: `+100+`
* [[option_weechat.look.nick_color_force]] *weechat.look.nick_color_force* * [[option_weechat.look.nick_color_force]] *weechat.look.nick_color_force*
** opis: pass:none[force color for some nicks: hash computed with nickname to find color will not be used for these nicks (format is: "nick1:color1;nick2:color2"); look up for nicks is with exact case then lower case, so it's possible to use only lower case for nicks in this option; color can include background with the format "text,background", for example "yellow,red"] ** opis: pass:none[wymusza kolory dla niektórych nicków: hash połączony z nickiem w celu znalezienia koloru nie zostanie użyty dla tych nicków (format: "nick1:kolor1;nick2:kolor2"); wyszukiwanie nicków odbywa się na zasadzie dopasowania porównania dokładnego, następnie z małych liter, jest więc możliwe używanie tylko małych liter w tej opcji; kolor może zawierać tło w formacie "tekst,tło", na przykład "yellow,red"]
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg ** wartości: dowolny ciąg
** domyślna wartość: `+""+` ** domyślna wartość: `+""+`
@@ -927,7 +927,7 @@
** domyślna wartość: `+djb2+` ** domyślna wartość: `+djb2+`
* [[option_weechat.look.nick_color_hash_salt]] *weechat.look.nick_color_hash_salt* * [[option_weechat.look.nick_color_hash_salt]] *weechat.look.nick_color_hash_salt*
** opis: pass:none[salt for the hash algorithm used to find nick colors (the nickname is appended to this salt and the hash algorithm operates on this string); modifying this shuffles nick colors] ** opis: pass:none[sól dla algorytmu haszującego używanego do wyszukiwania kolorów nicków (nick jest dodawany do tej soli i algorytm pracuje na tym ciągu); zmiana wartości powoduje przetasowanie kolorów nicków]
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg ** wartości: dowolny ciąg
** domyślna wartość: `+""+` ** domyślna wartość: `+""+`
+1 -1
View File
@@ -105,7 +105,7 @@
** domyślna wartość: `+"%h/xfer"+` ** domyślna wartość: `+"%h/xfer"+`
* [[option_xfer.file.download_temporary_suffix]] *xfer.file.download_temporary_suffix* * [[option_xfer.file.download_temporary_suffix]] *xfer.file.download_temporary_suffix*
** opis: pass:none[temporary filename suffix used during the transfer for a file received, it is removed after successful transfer; if empty string, no filename suffix is used during the transfer] ** opis: pass:none[sufiks tymczasowego pliku użyty podczas pobierania pliku, zostanie usunięty po pomyślnym transferze; pusty ciąg oznacza, że nie zostanie użyty żaden przyrostek podczas transferu pliku]
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg ** wartości: dowolny ciąg
** domyślna wartość: `+".part"+` ** domyślna wartość: `+".part"+`
+3 -5
View File
@@ -226,17 +226,15 @@ nazwa opcji):
/set irc.server.freenode.xxx wartość /set irc.server.freenode.xxx wartość
---- ----
// TRANSLATION MISSING
[[connect_to_irc_server]] [[connect_to_irc_server]]
== Connect to IRC server == Łączenie z serwerem IRC
---- ----
/connect freenode /connect freenode
---- ----
// TRANSLATION MISSING Dzięki tej komendzie WeeChat łączy się z serwerem freenode i automatycznie
With this command, WeeChat connects to the freenode server and auto-joins the wchodzi na kanały skonfigurowane w opcji "autojoin" dla serwera.
channels configured in the "autojoin" server option.
[NOTE] [NOTE]
Ta komenda może być użyta do utworzenia i połączenia się z nowym serwerem bez Ta komenda może być użyta do utworzenia i połączenia się z nowym serwerem bez
+67 -87
View File
@@ -74,45 +74,41 @@ link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat] (Angiel
==== Python ==== Python
// TRANSLATION MISSING ===== Moduł
===== Module
WeeChat defines a `weechat` module which must be imported with `import weechat`. WeeChat definiuje moduł `weechat`, który należy zaimportowac poprzez `import weechat`.
// TRANSLATION MISSING ===== Funkcje
===== Functions
Functions are called with `weechat.xxx(arg1, arg2, ...)`. Funkcje są wywoływane za pomocą `weechat.xxx(arg1, arg2, ...)`.
Functions `+print*+` are called `+prnt*+` in python (because `print` was a Funkcje `+print*+` nzwyają się `+prnt*+` (ponieważ `print` był zarezerwowanym
reserved keyword in Python 2). łowem kluczowym w Pythonie 2).
// TRANSLATION MISSING ===== Ciągi otrzymywane w callbackach
===== Strings received in callbacks
In Python 3 and with WeeChat ≥ 2.7, the strings received in callbacks have type W Pythonie 3 i dla wersji WeeChat ≥ 2.7, ciągi te mają typ `str` jeśli ciąg
`str` if the string has valid UTF-8 data (which is the most common case), zawiera poprawne dane UTF-8 (najrzęstzy przypadek), lub `bytes` w przeciwnym
or `bytes` if the string is not UTF-8 valid. So the callback should take care razie. Dlatego callback powinien być w stanie obsłużyć również taki typ danych.
about this type if some invalid UTF-8 content can be received.
Some invalid UTF-8 data may be received in these cases, so the callback can Niektóre niepoprawne dane UTF-8 mogą zostać otrzymane w poniższych przypadkach,
receive a string of type `str` or `bytes` (this list is not exhaustive): dlatego callback może otrzymać ciąc typu `str` lub `bytes` (lista nie jest pełna):
[width="100%",cols="3m,3m,3m,8",options="header"] [width="100%",cols="3m,3m,3m,8",options="header"]
|=== |===
| API function | Arguments | Examples | Description | Funkcja API | Argumenty | Przykłady | Opis
| hook_modifier | | hook_modifier |
irc_in_yyy | irc_in_yyy |
pass:[irc_in_privmsg] + pass:[irc_in_privmsg] +
pass:[irc_in_notice] | pass:[irc_in_notice] |
A message received in IRC plugin, before it is decoded to UTF-8 (used Wiadomość otrzymana przez wtyczkę IRC, zanim jest zdekodowana do UTF-8
internally). + (używana wewnętrznie) +
+ +
It is recommended to use modifier `irc_in2_yyy` instead, the string received Zalecane jest używanie w zamian modyfikatora `irc_in2_yyy`, otrzymany ciąg
is always UTF-8 valid. + jest zawsze poprawnym UTF-8. +
See function `hook_modifier` in the Zobacz funkcję `hook_modifier` w
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat plugin API reference]. link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat].
| hook_signal | | hook_signal |
xxx,irc_out_yyy + xxx,irc_out_yyy +
@@ -121,79 +117,73 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
pass:[*,irc_out_notice] + pass:[*,irc_out_notice] +
pass:[*,irc_outtags_privmsg] + pass:[*,irc_outtags_privmsg] +
pass:[*,irc_outtags_notice] | pass:[*,irc_outtags_notice] |
A message sent by IRC plugin, after it is encoded to the `encode` charset Wiadomość wysłana przez serwer IRC po zakodowaniu na kodowanie `encode`
defined by the user (if different from the default `UTF-8`). + zdefiniowane przez użytkownika (jeśli inne niż `UTF-8`). +
+ +
It is recommended to use signal `xxx,irc_out1_yyy` instead, the string received Zaleca się użycie w zamian sygnału `xxx,irc_out1_yyy`,otrzymany ciąg jest
is always UTF-8 valid. + zawsze poprawnym UTF-8. +
See function `hook_signal` in the Zobacz funkcję `hook_signal` w
link:weechat_plugin_api.en.html#_hook_signal[WeeChat plugin API reference]. link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat].
| hook_process + | hook_process +
hook_process_hashtable | hook_process_hashtable |
- | - |
- | - |
Output of the command, sent to the callback, can contain invalid UTF-8 data. Wynik komendy wysyłany do callbacka, może zawierać niepoprawne dane UTF-8.
|=== |===
In Python 2, which is now deprecated and should not be used any more, the W Pytonie 2, który jest już nie wspierany i nie powinien być już używany,
strings sent to callbacks are always of type `str`, and may contain invalid ciągi wysyłane do callbacków są zawsze typu `str` i mogą zawierać niepoprawne
UTF-8 data, in the cases mentioned above. dane UTF-8 w przypadkach wspomnianych wyżej.
==== Perl ==== Perl
// TRANSLATION MISSING ===== Funkcje
===== Functions
Functions are called with `weechat::xxx(arg1, arg2, ...);`. Funkcje są wywoływane za pomocą `weechat::xxx(arg1, arg2, ...);`.
==== Ruby ==== Ruby
// TRANSLATION MISSING ===== Inicjalizacja
===== Initialization
You have to define _weechat_init_ and call _register_ inside. Musisz zdefiniowac _weechat_init_ i wywołać wewnątrz _register_.
// TRANSLATION MISSING ===== Funkcje
===== Functions
Functions are called with `Weechat.xxx(arg1, arg2, ...)`. Funkcje wywoływane są za pomocą `Weechat.xxx(arg1, arg2, ...)`.
Due to a limitation of Ruby (15 arguments max by function), the function Poprzez limitację Ruby (maksymalnie 15 argumentów dla funkcji), funkcja
`Weechat.config_new_option` receives the callbacks in an array of 6 strings `Weechat.config_new_option` otrzymuje callbacki w tablicy 6 ciągów
(3 callbacks + 3 data strings), so a call to this function looks like: (3 callbacki + 3 ciągi danych), wywołanie tej funkcji wygląda następująco:
[source,ruby] [source,ruby]
---- ----
Weechat.config_new_option(config, section, "name", "string", "description of option", "", 0, 0, Weechat.config_new_option(config, section, "name", "string", "opis opcji", "", 0, 0,
"value", "value", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""]) "value", "wartość", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""])
---- ----
==== Lua ==== Lua
// TRANSLATION MISSING ===== Funkcje
===== Functions
Functions are called with `weechat.xxx(arg1, arg2, ...)`. Funkcje są wywoływane za pomocą `weechat.xxx(arg1, arg2, ...)`.
==== Tcl ==== Tcl
// TRANSLATION MISSING ===== Funkcje
===== Functions
Functions are called with `weechat::xxx arg1 arg2 ...`. Funkcje są wywoływane za pomocą `weechat::xxx arg1 arg2 ...`.
==== Guile (Scheme) ==== Guile (Scheme)
// TRANSLATION MISSING ===== Funkcje
===== Functions
Functions are called with `(weechat:xxx arg1 arg2 ...)`. Funkcje są wywoływane za pomocą `(weechat:xxx arg1 arg2 ...)`.
The following functions take one list of arguments (instead of many arguments Następujące funkcje przyjmują litę argumentów (zamiast wielu argumentów dla
for other functions), because number of arguments exceed number of allowed innych funkcji), ponieważ ilość argumentów przekracza maksymalną ilość
arguments in Guile: argumentów dozwolonych w Guile:
* config_new_section * config_new_section
* config_new_option * config_new_option
@@ -201,17 +191,15 @@ arguments in Guile:
==== JavaScript ==== JavaScript
// TRANSLATION MISSING ===== Funkcje
===== Functions
Functions are called with `weechat.xxx(arg1, arg2, ...);`. Funkcje są wywoływane za pomocą `weechat.xxx(arg1, arg2, ...);`.
==== PHP ==== PHP
// TRANSLATION MISSING ===== Funkcje
===== Functions
Functions are called with `weechat_xxx(arg1, arg2, ...);`. Funkcje są wywoływane za pomocą `weechat_xxx(arg1, arg2, ...);`.
[[register_function]] [[register_function]]
=== Funkcja rejestrująca === Funkcja rejestrująca
@@ -1178,25 +1166,20 @@ weechat.prnt("", "wartość opcji weechat.color.chat_delimiters to: %s"
[[irc_catch_messages]] [[irc_catch_messages]]
==== Przechwytywanie wiadomości ==== Przechwytywanie wiadomości
// TRANSLATION MISSING Wtyczka IRC wysyła cztery sygnały dla otrzymanych wiadomości (`xxx` to wewnętrzna
IRC plugin sends four signals for a message received (`xxx` is IRC internal nazwa serwera IRC, `yyy` to komenda IRC jak JOIN, QUIT, PRIVMSG, 301, ..):
server name, `yyy` is IRC command name like JOIN, QUIT, PRIVMSG, 301, ..):
// TRANSLATION MISSING
xxx,irc_in_yyy:: xxx,irc_in_yyy::
signal sent before processing message, only if message is *not* ignored sygnał wysyłany przed przetworzeniem wiadomości, tylko jeśli *nie* jest ignorowana
// TRANSLATION MISSING
xxx,irc_in2_yyy:: xxx,irc_in2_yyy::
signal sent after processing message, only if message is *not* ignored sygnał wysyłany po przetworzeniu wiadomości, tylko jeśli wiadomość *nie* jest ignorowana
// TRANSLATION MISSING
xxx,irc_raw_in_yyy:: xxx,irc_raw_in_yyy::
signal sent before processing message, even if message is ignored sygnał wysyłany przed przetworzeniem wiadomości, nawet jeśli wiadomość jest ignorowana
// TRANSLATION MISSING
xxx,irc_raw_in2_yyy:: xxx,irc_raw_in2_yyy::
signal sent after processing message, even if message is ignored sygnał wysyłany po przetworzeniu wiadomoci, nawet jeśli wiadomość jest ignorowana
[source,python] [source,python]
---- ----
@@ -1218,19 +1201,17 @@ weechat.hook_signal("*,irc_in2_join", "join_cb", "")
[[irc_modify_messages]] [[irc_modify_messages]]
==== Modyfikowanie wiadomości ==== Modyfikowanie wiadomości
// TRANSLATION MISSING Plugin IRC wysyła dwa "modyfikatory" dla odebranych wiadomości ("xxx" to komenda IRC),
IRC plugin sends two "modifiers" for a message received ("xxx" is IRC command), aby umożliwić jej modyfikację:
so that you can modify it:
// TRANSLATION MISSING
irc_in_xxx:: irc_in_xxx::
modifier sent before charset decoding: use with caution, the string may modyfikator wysyłany przez zmianą kodowania: używaj ostrożnie, ciąg może
contain invalid UTF-8 data; use only for raw operations on a message zawierać niepoprawne dane UTF-8; używaj tylko dla operacji na nieprzetworzonych
wiadomościach
// TRANSLATION MISSING
irc_in2_xxx:: irc_in2_xxx::
modifier sent after charset decoding, so the string received is always modyfikator wysyłany po zmianie kodowania, ciąg jest zawsze poprawnym
UTF-8 valid (*recommended*) UTF-8 (*zalecane*)
[source,python] [source,python]
---- ----
@@ -1273,9 +1254,8 @@ Wynik jest tabela hashy z następującymi kluczami
Nick żródła. | Nick żródła. |
`nick` `nick`
// TRANSLATION MISSING
| user | ≥ 2.7 | | user | ≥ 2.7 |
The origin user. | Oryginalny użytkownik. |
`user` `user`
| host | ≥ 0.3.4 | | host | ≥ 0.3.4 |
+12 -17
View File
@@ -804,8 +804,7 @@ i podkreślonym jasno czerwonym "Alice":
^Cc12^Cbhello ^Cb^Cc04^C_Alice^C_^Cc! ^Cc12^Cbhello ^Cb^Cc04^C_Alice^C_^Cc!
---- ----
// TRANSLATION MISSING Skróty klawiszowe:
Keys:
kbd:[Ctrl+c] kbd:[c] kbd:[1] kbd:[2] kbd:[Ctrl+c] kbd:[b] + kbd:[Ctrl+c] kbd:[c] kbd:[1] kbd:[2] kbd:[Ctrl+c] kbd:[b] +
kbd:[h] kbd:[e] kbd:[l] kbd:[l] kbd:[o] kbd:[Space] + kbd:[h] kbd:[e] kbd:[l] kbd:[l] kbd:[o] kbd:[Space] +
@@ -2109,15 +2108,14 @@ polecenia `/python`.
Możesz użyć komendy `/plugin` żeby załadować/wyładować wtyczkę, lub wyświetlić Możesz użyć komendy `/plugin` żeby załadować/wyładować wtyczkę, lub wyświetlić
wszystkie załadowane wtyczki. wszystkie załadowane wtyczki.
// TRANSLATION MISSING Podcza wyładowywania wtyczki WeeChat usówa:
When a plugin is unloaded, WeeChat removes:
* buffers * bufory
* configuration options (options are written in files) * opcje konfiguracyjne (options są zapisywane w plikach)
* all hooks: commands, modifiers, process, etc. * wszystkie hooki: komendy, modyfikatory, procesy, etc.
* infos and infolists * infos i infolists
* hdata * hdata
* bar items. * elementy pasków.
Przykłady ładowania, wyładowywania i wyświetlania załadowanych wtyczek: Przykłady ładowania, wyładowywania i wyświetlania załadowanych wtyczek:
@@ -2996,18 +2994,16 @@ Kilka przykładów:
[[logger_filenames_masks]] [[logger_filenames_masks]]
==== Maski dla nazw plików ==== Maski dla nazw plików
// TRANSLATION MISSING
Możliwe jest zdefiniowanie maski dla nazwy pliku z logiem dla każdego bufora i Możliwe jest zdefiniowanie maski dla nazwy pliku z logiem dla każdego bufora i
użycie do tego zmiennych lokalnych bufora. To see available local variables for użycie do tego zmiennych lokalnych bufora. W celu wyświetlenia listy dostępnych
current buffer: zmiennych dla bufora wykonaj:
---- ----
/buffer localvar /buffer localvar
---- ----
// TRANSLATION MISSING Maski zostaną dopasowane do opcji w kolejności malejącej specyficznie dla
Masks will be matched on options in descending order of specificity on `logger.mask.$plugin.*`, z `logger.file.mask` jako opcją zapasową.
`logger.mask.$plugin.*`, with `logger.file.mask` as fallback option.
Na przykład, w buforze "irc.freenode.#weechat", WeeChat będzie szukał maski dla Na przykład, w buforze "irc.freenode.#weechat", WeeChat będzie szukał maski dla
nazwy w takiej kolejności: nazwy w takiej kolejności:
@@ -4062,8 +4058,7 @@ Callback "line" ustawia następujące zmienne w tablicy hashy:
| str_time | ciąg | Date do wyświetlenia. Może zawierać kody kolorów. | str_time | ciąg | Date do wyświetlenia. Może zawierać kody kolorów.
| tags | ciąg | Tagi wiadomości (z przecinkiem dodanym na początku/końcu ciągu). | tags | ciąg | Tagi wiadomości (z przecinkiem dodanym na początku/końcu ciągu).
| displayed | ciąg | "1" jeśli wyświetlono, "0" jeśli nie wyświetlono. | displayed | ciąg | "1" jeśli wyświetlono, "0" jeśli nie wyświetlono.
// TRANSLATION MISSING | notify_level | ciąg | "-1" = brak powiadomienia, "0" = poziom niski, "1" = wiadomość, "2" = wiadomość prywatna, "3" = podświetlenie
| notify_level | ciąg | "-1" = no notify, "0" = poziom niski, "1" = wiadomość, "2" = wiadomość prywatna, "3" = podświetlenie
| highlight | ciąg | "1" jeśli podświetlenie, inaczej "0". | highlight | ciąg | "1" jeśli podświetlenie, inaczej "0".
| prefix | ciąg | Prefiks. | prefix | ciąg | Prefiks.
| tg_prefix_nocolor | ciag | Prefiks bez kodów kolorów. | tg_prefix_nocolor | ciag | Prefiks bez kodów kolorów.
+12 -4
View File
@@ -25,7 +25,7 @@ msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2019-11-25 21:33+0100\n" "POT-Creation-Date: 2019-11-25 21:33+0100\n"
"PO-Revision-Date: 2019-11-25 21:42+0100\n" "PO-Revision-Date: 2019-11-29 09:10+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n" "Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de\n" "Language: de\n"
@@ -4183,6 +4183,10 @@ msgid ""
"appended to this salt and the hash algorithm operates on this string); " "appended to this salt and the hash algorithm operates on this string); "
"modifying this shuffles nick colors" "modifying this shuffles nick colors"
msgstr "" msgstr ""
"salt für den Hash-Algorithmus, der zum Auffinden von Nickfarben verwendet "
"wird (der Nickname wird an diesen Salt angehängt und der Hash-Algorithmus "
"verarbeitet diesen String); Wenn Sie dies ändern, werden die Nickfarben "
"gemischt"
msgid "" msgid ""
"chars used to stop in nick when computing color with letters of nick (at " "chars used to stop in nick when computing color with letters of nick (at "
@@ -10007,6 +10011,11 @@ msgid ""
"causing this warning to be displayed when it is not expected (the address of " "causing this warning to be displayed when it is not expected (the address of "
"remote nick changes multiple times on login)" "remote nick changes multiple times on login)"
msgstr "" msgstr ""
"zeigt eine Warnung in einem privaten Buffer an, sobald sich die Adresse "
"eines Remote-Nick geändert hat; diese Option ist standardmäßig "
"ausgeschaltet, da Server wie bitlbee eine solche Warnung unvermittelt "
"auslösen (die Adresse des Remote-Nick ändert sich während eines Login "
"mehrfach)"
msgid "" msgid ""
"comma separated list of words to highlight in channel buffers (case " "comma separated list of words to highlight in channel buffers (case "
@@ -10249,15 +10258,14 @@ msgstr ""
"Layout genutzt wird und mit dieser Option im Widerspruch steht (siehe /help " "Layout genutzt wird und mit dieser Option im Widerspruch steht (siehe /help "
"layout)" "layout)"
#, fuzzy
msgid "" msgid ""
"filter join/part/quit/nick messages for a nick if not speaking for some " "filter join/part/quit/nick messages for a nick if not speaking for some "
"minutes on channel (you must create a filter on tag \"irc_smart_filter\", " "minutes on channel (you must create a filter on tag \"irc_smart_filter\", "
"see /help filter)" "see /help filter)"
msgstr "" msgstr ""
"filtert join/part/quit/nick Nachrichten für einen Nick der einige Minuten im " "filtert join/part/quit/nick Nachrichten für einen Nick der einige Minuten im "
"Channel inaktiv gewesen ist. Dazu muss ein Filter mit dem Schlagwort " "Channel inaktiv gewesen ist (dazu muss ein Filter mit dem Schlagwort "
"\"irc_smart_filter\" erstellt werden" "\"irc_smart_filter\" erstellt werden, siehe /help filter)"
#. TRANSLATORS: please do not translate "chghost" #. TRANSLATORS: please do not translate "chghost"
msgid "enable smart filter for \"chghost\" messages" msgid "enable smart filter for \"chghost\" messages"
+100 -58
View File
@@ -23,16 +23,16 @@ msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2019-11-25 21:33+0100\n" "POT-Creation-Date: 2019-11-25 21:33+0100\n"
"PO-Revision-Date: 2019-11-03 08:38+0100\n" "PO-Revision-Date: 2019-12-01 16:23+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n" "Language-Team: Polish <kde-i18n-doc@kde.org>\n"
"Language: pl\n" "Language: pl\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10"
"|| n%100>=20) ? 1 : 2);\n" " || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 19.08.0\n" "X-Generator: Lokalize 19.08.3\n"
msgid "any string" msgid "any string"
msgstr "dowolny ciąg" msgstr "dowolny ciąg"
@@ -1627,7 +1627,6 @@ msgstr "przetwórz wyrażenie"
msgid "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>" msgid "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
msgstr "[-n|-s] <wyrażenie> || [-n] -c <wyrażenie1> <operator> <wyrażenie2>" msgstr "[-n|-s] <wyrażenie> || [-n] -c <wyrażenie1> <operator> <wyrażenie2>"
#, fuzzy
msgid "" msgid ""
" -n: display result without sending it to buffer (debug mode)\n" " -n: display result without sending it to buffer (debug mode)\n"
" -s: split expression before evaluating it (many commands can be " " -s: split expression before evaluating it (many commands can be "
@@ -1783,16 +1782,20 @@ msgstr ""
"max,suffix,string\" lub \"cutscr:+max,suffix,string\")\n" "max,suffix,string\" lub \"cutscr:+max,suffix,string\")\n"
" 5. odwrócony ciąg (format: \"rev:xxx\")\n" " 5. odwrócony ciąg (format: \"rev:xxx\")\n"
" 6. powtórzony ciąg (format: \"repeat:ilość,ciąg\")\n" " 6. powtórzony ciąg (format: \"repeat:ilość,ciąg\")\n"
" 7. kolor (format \"color:xxx\", zobacz „Opis API wtyczek”, funkcja \"color" " 7. długość ciągu (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 8. kolor (format \"color:xxx\", zobacz „Opis API wtyczek”, funkcja \"color"
"\")\n" "\")\n"
" 8. informacja (format: \"info:nazwa,argumenty\", argumenty są opcjonalne)\n" " 9. modyfikator (format: \"modifier:name,data,string\")\n"
" 9. obecna data/czas (format: \"date\" lub \"date:format\")\n" " 10. informacja (format: \"info:nazwa,argumenty\", argumenty są opcjonalne)\n"
" 10. zmienna środowiskowa (format: \"env:XXX\")\n" " 11. obecna data/czas (format: \"date\" lub \"date:format\")\n"
" 11. wyrażenie warunkowe (format: \"if:condition?value_if_true:" " 12. zmienna środowiskowa (format: \"env:XXX\")\n"
" 13. wyrażenie warunkowe (format: \"if:condition?value_if_true:"
"value_if_false\")\n" "value_if_false\")\n"
" 12. opcja (format: plik.sekcja.opcja)\n" " 14. wynik wyrażenia z nawiasami i operatorami + - * / // % ** "
" 13. zmienna lokalna w buforze\n" "(format: \"calc:xxx\")\n"
" 14. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg " " 15. opcja (format: plik.sekcja.opcja)\n"
" 16 zmienna lokalna w buforze\n"
" 17. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg "
"znaków), domyślnie \"window\" i \"buffer\" wskazują na aktualne okno/bufor.\n" "znaków), domyślnie \"window\" i \"buffer\" wskazują na aktualne okno/bufor.\n"
"Format dla hdata może być jednym z poniższych:\n" "Format dla hdata może być jednym z poniższych:\n"
" hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), " " hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), "
@@ -1827,6 +1830,8 @@ msgstr ""
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n" " /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
" /eval -n ${rev:Hello} ==> olleH\n" " /eval -n ${rev:Hello} ==> olleH\n"
" /eval -n ${repeat:5,-} ==> -----\n" " /eval -n ${repeat:5,-} ==> -----\n"
" /eval -n ${length:test} ==> 4\n"
" /eval -n ${calc:(5+2)*3} ==> 21\n"
"\n" "\n"
"Przykłady (warunki):\n" "Przykłady (warunki):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n" " /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -3277,11 +3282,10 @@ msgstr "paleta kolorów"
msgid "configuration files" msgid "configuration files"
msgstr "pliki konfiguracyjne" msgstr "pliki konfiguracyjne"
#, fuzzy
msgid "filename; optional argument: default path (evaluated, see /help eval)" msgid "filename; optional argument: default path (evaluated, see /help eval)"
msgstr "" msgstr ""
"nazwa użytkownika dla serwera proxy (zawartość jest przetwarzana, zobacz /" "nazwa pliku; opcjonalny argument: domyślna ścieżka (przetwarzana, zobacz"
"help eval)" " /help eval)"
msgid "names of filters" msgid "names of filters"
msgstr "nazwy filtrów" msgstr "nazwy filtrów"
@@ -3971,7 +3975,6 @@ msgstr ""
"odstęp (w milisekundach) przechwytywania zdarzeń myszy: WeeChat zawsze " "odstęp (w milisekundach) przechwytywania zdarzeń myszy: WeeChat zawsze "
"poczeka ten czas przed obsługą zdarzenia" "poczeka ten czas przed obsługą zdarzenia"
#, fuzzy
msgid "" msgid ""
"force color for some nicks: hash computed with nickname to find color will " "force color for some nicks: hash computed with nickname to find color will "
"not be used for these nicks (format is: \"nick1:color1;nick2:color2\"); look " "not be used for these nicks (format is: \"nick1:color1;nick2:color2\"); look "
@@ -3983,7 +3986,8 @@ msgstr ""
"znalezienia koloru nie zostanie użyty dla tych nicków (format: \"nick1:" "znalezienia koloru nie zostanie użyty dla tych nicków (format: \"nick1:"
"kolor1;nick2:kolor2\"); wyszukiwanie nicków odbywa się na zasadzie " "kolor1;nick2:kolor2\"); wyszukiwanie nicków odbywa się na zasadzie "
"dopasowania porównania dokładnego, następnie z małych liter, jest więc " "dopasowania porównania dokładnego, następnie z małych liter, jest więc "
"możliwe używanie tylko małych liter w tej opcji" "możliwe używanie tylko małych liter w tej opcji; kolor może zawierać tło "
"w formacie \"tekst,tło\", na przykład \"yellow,red\""
msgid "" msgid ""
"hash algorithm used to find the color for a nick: djb2 = variant of djb2 " "hash algorithm used to find the color for a nick: djb2 = variant of djb2 "
@@ -4001,6 +4005,10 @@ msgid ""
"appended to this salt and the hash algorithm operates on this string); " "appended to this salt and the hash algorithm operates on this string); "
"modifying this shuffles nick colors" "modifying this shuffles nick colors"
msgstr "" msgstr ""
"sól dla algorytmu haszującego używanego do wyszukiwania kolorów nicków "
"(nick jest dodawany do tej soli i algorytm pracuje na tym ciągu); zmiana"
" wartości "
"powoduje przetasowanie kolorów nicków"
msgid "" msgid ""
"chars used to stop in nick when computing color with letters of nick (at " "chars used to stop in nick when computing color with letters of nick (at "
@@ -7242,7 +7250,7 @@ msgstr "%s%s: nie można przydzielić nowego kanału"
#, c-format #, c-format
msgid "%sWarning: the address of remote nick has changed" msgid "%sWarning: the address of remote nick has changed"
msgstr "" msgstr "%sUwaga: adres zdalnego nicka uległ zmianie"
#, c-format #, c-format
msgid "%s%s%s %s(%s%s%s)%s is back on server" msgid "%s%s%s %s(%s%s%s)%s is back on server"
@@ -8150,11 +8158,10 @@ msgstr ""
" nick: nick\n" " nick: nick\n"
"powód: powód" "powód: powód"
#, fuzzy
msgid "list all server names which are known by the server answering the query" msgid "list all server names which are known by the server answering the query"
msgstr "" msgstr ""
"wyświetla wszystkie nazwy serwerów, które są połączone z tym samym serwerem " "wyświetla wszystkie nazwy serwerów, które są znane serwerowi "
"co my" "odpowiadającemu na zapytanie"
msgid "[[<target>] <server_mask>]" msgid "[[<target>] <server_mask>]"
msgstr "[[<cel>] <maska>]" msgstr "[[<cel>] <maska>]"
@@ -8593,7 +8600,6 @@ msgstr ""
msgid "list, add or remove IRC servers" msgid "list, add or remove IRC servers"
msgstr "wyświetla, dodaje lub usuwa serwery IRC" msgstr "wyświetla, dodaje lub usuwa serwery IRC"
#, fuzzy
msgid "" msgid ""
"list|listfull [<name>] || add <name> <hostname>[/<port>] [-temp] [-" "list|listfull [<name>] || add <name> <hostname>[/<port>] [-temp] [-"
"<option>[=<value>]] [-no<option>] || copy|rename <name> <new_name> || " "<option>[=<value>]] [-no<option>] || copy|rename <name> <new_name> || "
@@ -8603,9 +8609,8 @@ msgstr ""
"list|listfull [<nazwa>] || add <nazwa> <host>[/<port>] [-temp] [-" "list|listfull [<nazwa>] || add <nazwa> <host>[/<port>] [-temp] [-"
"<opcja>[=<wartość>]] [-no<opcja>]|| copy|rename <nazwa> <nowa_nazwa> || " "<opcja>[=<wartość>]] [-no<opcja>]|| copy|rename <nazwa> <nowa_nazwa> || "
"reorder <nazwa> [<nazwa>...] || open <nazwa>|-all [<nazwa>...] || del|keep " "reorder <nazwa> [<nazwa>...] || open <nazwa>|-all [<nazwa>...] || del|keep "
"<nazwa> || deloutq|jump|raw" "<nazwa> || deloutq|jump || raw [<filter>]"
#, fuzzy
msgid "" msgid ""
" list: list servers (without argument, this list is displayed)\n" " list: list servers (without argument, this list is displayed)\n"
"listfull: list servers with detailed info for each server\n" "listfull: list servers with detailed info for each server\n"
@@ -8682,6 +8687,24 @@ msgstr ""
"wiadomości jakie WeeChat obecnie wysyła)\n" "wiadomości jakie WeeChat obecnie wysyła)\n"
" jump: przechodzi do bufora serwera\n" " jump: przechodzi do bufora serwera\n"
" raw: otwiera bufor z nieprzetworzonymi danymi IRC\n" " raw: otwiera bufor z nieprzetworzonymi danymi IRC\n"
" filtr: ustawia nowy filtr pokazujący tylko wybrane wiadomości (może zostać "
"również użyty jako wejście w buforze nieprzetworzonych danych IRC); "
"dozwolone formaty:\n"
" * pokaż wszystkie wiadomości (brak filtra)\n"
" xxx pokaż tylko wiadomości zawierające \"xxx\"\n"
" s:xxx pokaż tylko wiadomości od serwera \"xxx\"\n"
" f:xxx pokaż tylko wiadomości z flagą: recv (wiadomości"
" odebrane), "
"sent (wiadomości wysłane), modified (wiadomości zmodyfikowane), redirected "
"(wiadomości przekierowane)\n"
" m:xxx pokaż tylko komendę IRC \"xxx\"\n"
" c:xxx pokaż tylko wiadomości pasujące to przetworzonego warunku"
" \"xxx"
"\", używając następujących zmiennych: wynik funkcji irc_message_parse (jak "
"nick, komenda, kanał, tekst, etc., zobacz funkcję info_get_hashtable w "
"opisie API wtyczek dla listy wszystkich dostępnych zmiennych), data (format:"
" \"yyyy-mm-"
"dd hh:mm:ss\"), serwer, recv, sent, modified, redirected\n"
"\n" "\n"
"Przykłady:\n" "Przykłady:\n"
" /server listfull\n" " /server listfull\n"
@@ -8692,7 +8715,10 @@ msgstr ""
" /server rename freenode-test freenode2\n" " /server rename freenode-test freenode2\n"
" /server reorder freenode2 freenode\n" " /server reorder freenode2 freenode\n"
" /server del freenode\n" " /server del freenode\n"
" /server deloutq" " /server deloutq\n"
" /server raw\n"
" /server raw s:freenode\n"
" /server raw c:${recv} && ${command}==PRIVMSG && ${nick}==foo"
msgid "list services currently connected to the network" msgid "list services currently connected to the network"
msgstr "wyświetla serwisy obecnie połączone z siecią" msgstr "wyświetla serwisy obecnie połączone z siecią"
@@ -8990,9 +9016,8 @@ msgstr "numery zdefiniowanych ignorów"
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "nicki na liście powiadomień" msgstr "nicki na liście powiadomień"
#, fuzzy
msgid "filters for irc raw buffer" msgid "filters for irc raw buffer"
msgstr "kolor tekstu w buforze pośrednika" msgstr "filtry dla bufora nieprzetworzonych wiadomości IRC"
#, c-format #, c-format
msgid "" msgid ""
@@ -9097,15 +9122,16 @@ msgstr ""
"plik certyfikatu SSL używany do automatycznego uwierzytelnienia nicka (\"%h" "plik certyfikatu SSL używany do automatycznego uwierzytelnienia nicka (\"%h"
"\" zostanie zastąpione katalogiem domowym WeeChat, domyślnie \"~/.weechat\")" "\" zostanie zastąpione katalogiem domowym WeeChat, domyślnie \"~/.weechat\")"
#, fuzzy
msgid "" msgid ""
"password for SSL certificate's private key (note: content is evaluated, see /" "password for SSL certificate's private key (note: content is evaluated, see /"
"help eval; server options are evaluated with ${irc_server.xxx} and ${server} " "help eval; server options are evaluated with ${irc_server.xxx} and ${server} "
"is replaced by the server name)" "is replaced by the server name)"
msgstr "" msgstr ""
"hasło dla serwera (uwaga: zawartość jest przetwarzana zobacz /help eval; " "hasło do klucza prywatnego certyfikatu SSL (uwaga: zawartość jest"
"opcje serwera mogą zostać użytego w postaci ${irc_server.xxx} oraz ${server} " " przetwarzana "
"jest zastępowany nazwą serwera)" "zobacz /help eval; opcje serwera mogą zostać użytego w postaci"
" ${irc_server.xxx} "
"oraz ${server} jest zastępowany nazwą serwera)"
msgid "" msgid ""
"string with priorities for gnutls (for syntax, see documentation of function " "string with priorities for gnutls (for syntax, see documentation of function "
@@ -9437,6 +9463,11 @@ msgid ""
"= starting from the text only (you should try this value if you have issues " "= starting from the text only (you should try this value if you have issues "
"with the channel name encoding)" "with the channel name encoding)"
msgstr "" msgstr ""
"część wiadomości IRC (otrzymanej lub wysłanej), która jest kodowana na "
"ustawione kodowanie; message = cała wiadomość IRC (domyślne), channel "
"= zaczynając od nazwy kanału (jeśli znaleziona, w przeciwnym wypadku text), "
"text = zaczynając od samego tekstu (powinieneś spróbować tej wartości, jeśli "
"masz problem z kodowaniem nazwy kanału)"
#, c-format #, c-format
msgid "%s%s: error adding server \"%s\"" msgid "%s%s: error adding server \"%s\""
@@ -9548,6 +9579,10 @@ msgid ""
"causing this warning to be displayed when it is not expected (the address of " "causing this warning to be displayed when it is not expected (the address of "
"remote nick changes multiple times on login)" "remote nick changes multiple times on login)"
msgstr "" msgstr ""
"wyświetl ostrzeżenie w prywatnym buforze jeśli adres zdalnego nicka uległ "
"zmianie; ta opcja jest domyślnie wyłączona ponieważ serwery jak bitlbee "
"powodują wyświetlanie tego ostrzeżenia, kiedy nie powinny (adres zdalnego "
"nicka zmienia się wiele razy przy logowaniu)"
msgid "" msgid ""
"comma separated list of words to highlight in channel buffers (case " "comma separated list of words to highlight in channel buffers (case "
@@ -9773,7 +9808,6 @@ msgstr ""
"łączy bufory serwerów; ta opcja nie ma wpływu jeśli układ jest zapisany i " "łączy bufory serwerów; ta opcja nie ma wpływu jeśli układ jest zapisany i "
"nie pasuje do tej opcji (zobacz /help layout)" "nie pasuje do tej opcji (zobacz /help layout)"
#, fuzzy
msgid "" msgid ""
"filter join/part/quit/nick messages for a nick if not speaking for some " "filter join/part/quit/nick messages for a nick if not speaking for some "
"minutes on channel (you must create a filter on tag \"irc_smart_filter\", " "minutes on channel (you must create a filter on tag \"irc_smart_filter\", "
@@ -9781,7 +9815,7 @@ msgid ""
msgstr "" msgstr ""
"filtruj wiadomości wejścia/opuszczenia/wyjścia/nick od nicków nie będących " "filtruj wiadomości wejścia/opuszczenia/wyjścia/nick od nicków nie będących "
"aktywnymi od kilku minut na kanale (musisz stworzyć filtr na tagu " "aktywnymi od kilku minut na kanale (musisz stworzyć filtr na tagu "
"\"irc_smart_filter\")" "\"irc_smart_filter\", zobacz /help filter)"
#. TRANSLATORS: please do not translate "chghost" #. TRANSLATORS: please do not translate "chghost"
msgid "enable smart filter for \"chghost\" messages" msgid "enable smart filter for \"chghost\" messages"
@@ -9866,9 +9900,8 @@ msgstr "kolor tekstu w wiadomościach o zmianie hosta"
msgid "color for text in join messages" msgid "color for text in join messages"
msgstr "kolor tekstu w wiadomościach o wejściu na kanał" msgstr "kolor tekstu w wiadomościach o wejściu na kanał"
#, fuzzy
msgid "color for text in kick/kill messages" msgid "color for text in kick/kill messages"
msgstr "kolor tekstu w wiadomościach o wejściu na kanał" msgstr "kolor tekstu w wiadomości kick/kill"
msgid "color for text in part/quit messages" msgid "color for text in part/quit messages"
msgstr "kolor tekstu w wiadomościach o opuszczeniu kanału/wyjściu z IRC" msgstr "kolor tekstu w wiadomościach o opuszczeniu kanału/wyjściu z IRC"
@@ -9908,9 +9941,8 @@ msgstr ""
msgid "color for text \"Notice\" in notices" msgid "color for text \"Notice\" in notices"
msgstr "kolor tekstu \"Notice\" w podświetleniach" msgstr "kolor tekstu \"Notice\" w podświetleniach"
#, fuzzy
msgid "color for reason in kick/kill messages" msgid "color for reason in kick/kill messages"
msgstr "kolor tekstu powodu opuszczenia kanału/wyjścia z IRC" msgstr "kolor tekstu powodu w wiadomości kick/kill"
msgid "color for reason in part/quit messages" msgid "color for reason in part/quit messages"
msgstr "kolor tekstu powodu opuszczenia kanału/wyjścia z IRC" msgstr "kolor tekstu powodu opuszczenia kanału/wyjścia z IRC"
@@ -10128,7 +10160,6 @@ msgid "\"message\": IRC message, \"server\": server name (optional)"
msgstr "\"message\": wiadomość IRC, \"server\": nazwa serwera (opcjonalne)" msgstr "\"message\": wiadomość IRC, \"server\": nazwa serwera (opcjonalne)"
#. TRANSLATORS: please do not translate key names (enclosed by quotes) #. TRANSLATORS: please do not translate key names (enclosed by quotes)
#, fuzzy
msgid "" msgid ""
"\"tags\": tags, \"message_without_tags\": message without the tags, \"nick" "\"tags\": tags, \"message_without_tags\": message without the tags, \"nick"
"\": nick, \"user\": user, \"host\": host, \"command\": command, \"channel\": " "\": nick, \"user\": user, \"host\": host, \"command\": command, \"channel\": "
@@ -10140,14 +10171,18 @@ msgid ""
"index of \"text\" message (\"-1\" if \"text\" was not found)" "index of \"text\" message (\"-1\" if \"text\" was not found)"
msgstr "" msgstr ""
"\"tags\": tagi, \"message_without_tags\": wiadomość bez tagów, \"nick\": " "\"tags\": tagi, \"message_without_tags\": wiadomość bez tagów, \"nick\": "
"nick, \"host\": host, \"command\": komenda, \"channel\": kanał, \"arguments" "nick, \"user\": użytkownik, \"host\": host, \"command\": komenda,"
"\": argumenty (razem z kanałem), \"text\": tekst (na przykład wiadomość " " \"channel\": "
"użytkownika), \"pos_command\": indeks wiadomości \"command\" message (\"-1\" " "kanał, \"arguments\": argumenty (razem z kanałem), \"text\": tekst (na "
"jeśli \"command\" nie zostało znalezione), \"pos_arguments\": indeks " "przykład wiadomość użytkownika), \"pos_command\": indeks wiadomości "
"wiadomości \"arguments\" (\"-1\" jeśli \"arguments\" nie zostało " "\"command\" message (\"-1\" jeśli \"command\" nie zostało znalezione), "
"znalezione), \"pos_channel\": indeks wiadomości \"channel\" (\"-1\" jeśli " "\"pos_arguments\": indeks wiadomości \"arguments\" (\"-1\" jeśli"
"\"channel\" nie został znaleziony), \"pos_text\": indeks słowa \"text" " \"arguments\" "
"\" (\"-1\" jeśli \"text\" nie został znaleziony)" "nie zostało znalezione), \"pos_channel\": indeks wiadomości \"channel\""
" (\"-1\" "
"jeśli \"channel\" nie zostało znalezione), \"pos_text\": indeks słowa"
" \"text\" "
" (\"-1\" jeśli \"text\" nie zostało znalezione)"
msgid "split an IRC message (to fit in 512 bytes by default)" msgid "split an IRC message (to fit in 512 bytes by default)"
msgstr "dziel wiadomość IRC (aby zmieściła się domyślnie w 512 bajtach)" msgstr "dziel wiadomość IRC (aby zmieściła się domyślnie w 512 bajtach)"
@@ -10687,9 +10722,9 @@ msgstr ""
msgid "%s%s: \"%s\" command received without host" msgid "%s%s: \"%s\" command received without host"
msgstr "%s%s: \"%s\" komenda otrzymana bez hosta" msgstr "%s%s: \"%s\" komenda otrzymana bez hosta"
#, fuzzy, c-format #, c-format
msgid "IRC raw messages | Filter: %s" msgid "IRC raw messages | Filter: %s"
msgstr "nieprzetworzone wiadomości IRC" msgstr "nieprzetworzone wiadomości IRC | Filtry: %s"
#, c-format #, c-format
msgid "%s%s: missing argument \"%s\" for redirect pattern" msgid "%s%s: missing argument \"%s\" for redirect pattern"
@@ -11088,9 +11123,9 @@ msgstr "%s%s: nie można utworzyć katalogu dla logów (\"%s\")"
msgid "%s%s: unable to write log file \"%s\": %s" msgid "%s%s: unable to write log file \"%s\": %s"
msgstr "%s%s: nie można zapisać pliku z logiem \"%s\": %s" msgstr "%s%s: nie można zapisać pliku z logiem \"%s\": %s"
#, fuzzy, c-format #, c-format
msgid "%s%s: unable to get file status of log file \"%s\": %s" msgid "%s%s: unable to get file status of log file \"%s\": %s"
msgstr "%s%s: nie można zapisać pliku z logiem \"%s\": %s" msgstr "%s%s: nieznany status pliku z logiem \"%s\": %s"
#, c-format #, c-format
msgid "%s\t**** Beginning of log ****" msgid "%s\t**** Beginning of log ****"
@@ -11218,6 +11253,8 @@ msgid ""
"color for backlog lines, used only if the option logger.file.color_lines is " "color for backlog lines, used only if the option logger.file.color_lines is "
"off" "off"
msgstr "" msgstr ""
"kolor linii backloga, używany tylko jeśli opcja logger.file.color_lines jest "
"wyłączona"
msgid "" msgid ""
"automatically save content of buffers to files (unless a buffer disables log)" "automatically save content of buffers to files (unless a buffer disables log)"
@@ -11229,6 +11266,8 @@ msgid ""
"use ANSI color codes in lines written in log files and display backlog lines " "use ANSI color codes in lines written in log files and display backlog lines "
"with these colors" "with these colors"
msgstr "" msgstr ""
"użyj kodów kolorów ANSI w liniach zapisywanych do plików z logami oraz "
"wyświetlaj linie backloga z tymi kolorami"
msgid "" msgid ""
"number of seconds between flush of log files (0 = write in log files " "number of seconds between flush of log files (0 = write in log files "
@@ -12678,9 +12717,8 @@ msgstr "%s%s: nie można ocenić wewnętrznego kodu ruby w WeeChat"
msgid "Scripts loaded:" msgid "Scripts loaded:"
msgstr "Załadowane skrypty:" msgstr "Załadowane skrypty:"
#, fuzzy
msgid "No scripts loaded" msgid "No scripts loaded"
msgstr "załadowano skrypt %s:" msgstr "Nie załadowano żadnego skryptu"
#, c-format #, c-format
msgid "%s: unknown language for script \"%s\"" msgid "%s: unknown language for script \"%s\""
@@ -12852,19 +12890,17 @@ msgstr "Manager skryptów"
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "Manager skryptów WeeChat" msgstr "Manager skryptów WeeChat"
#, fuzzy
msgid "" msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
"list [-o|-i] || search <tekst> || show <skrypt> || load|unload|reload " "list [-o|-ol|-i|-il] || search <tekst> || show <skrypt> || load|unload|reload "
"<skrypt> [<skrypt>...] || autoload|noautoload|toggleautoload <skrypt> " "<skrypt> [<skrypt>...] || autoload|noautoload|toggleautoload <skrypt> "
"[<skrypt>...] || install|remove|installremove|hold [-q] <skrypt> " "[<skrypt>...] || install|remove|installremove|hold [-q] <skrypt> "
"[<skrypt>...] || upgrade || update" "[<skrypt>...] || upgrade || update"
#, fuzzy
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer (string in English)\n" " -o: send list of loaded scripts to buffer (string in English)\n"
@@ -12940,9 +12976,12 @@ msgid ""
" /script upgrade" " /script upgrade"
msgstr "" msgstr ""
" list: lista załadowanych skryptów (wszystkie języki)\n" " list: lista załadowanych skryptów (wszystkie języki)\n"
" -o: wysyła listę skryptów do bufora\n" " -o: wysyła listę skryptów do bufora (po angielsku)\n"
" -ol: wysyła listę skryptów do bufora (przetłumaczoną)\n"
" -i: kopiuje listę skryptów do wiersza poleceń (do wysłania do " " -i: kopiuje listę skryptów do wiersza poleceń (do wysłania do "
"bufora)\n" "bufora)(po angielsku)\n"
" -il: kopiuje listę skryptów do wiersza poleceń (do wysłania do "
"bufora)(przetłumaczone)\n"
" search: wyszukuje skryptu po tagach, języku (python, perl, ...), " " search: wyszukuje skryptu po tagach, języku (python, perl, ...), "
"rozszerzeniu pliku (py, pl, ...) lub tekście; wynik jest wyświetlany w " "rozszerzeniu pliku (py, pl, ...) lub tekście; wynik jest wyświetlany w "
"buforze skryptów\n" "buforze skryptów\n"
@@ -14424,6 +14463,9 @@ msgid ""
"is removed after successful transfer; if empty string, no filename suffix is " "is removed after successful transfer; if empty string, no filename suffix is "
"used during the transfer" "used during the transfer"
msgstr "" msgstr ""
"sufiks tymczasowego pliku użyty podczas pobierania pliku, zostanie "
"usunięty po pomyślnym transferze; pusty ciąg oznacza, że nie zostanie "
"użyty żaden przyrostek podczas transferu pliku"
msgid "" msgid ""
"path for reading files when sending (when no path is specified by user): \"%h" "path for reading files when sending (when no path is specified by user): \"%h"
+12 -9
View File
@@ -224,17 +224,20 @@ irc_mode_channel_update (struct t_irc_server *server,
current_arg++; current_arg++;
if (pos[0] == chanmode) if (pos[0] == chanmode)
{ {
chanmode_found = 1; if (!chanmode_found)
if (set_flag == '+')
{ {
str_mode[0] = pos[0]; chanmode_found = 1;
str_mode[1] = '\0'; if (set_flag == '+')
strcat (new_modes, str_mode);
if (argument)
{ {
if (new_args[0]) str_mode[0] = pos[0];
strcat (new_args, " "); str_mode[1] = '\0';
strcat (new_args, argument); strcat (new_modes, str_mode);
if (argument)
{
if (new_args[0])
strcat (new_args, " ");
strcat (new_args, argument);
}
} }
} }
} }
+47
View File
@@ -643,6 +643,53 @@ irc_nick_set_mode (struct t_irc_server *server, struct t_irc_channel *channel,
} }
} }
/*
* Reallocates the "prefixes" string in all nicks of all channels on the server
* (after 005 has been received).
*/
void
irc_nick_realloc_prefixes (struct t_irc_server *server,
int old_length, int new_length)
{
struct t_irc_channel *ptr_channel;
struct t_irc_nick *ptr_nick;
char *new_prefixes;
for (ptr_channel = server->channels; ptr_channel;
ptr_channel = ptr_channel->next_channel)
{
for (ptr_nick = ptr_channel->nicks; ptr_nick;
ptr_nick = ptr_nick->next_nick)
{
if (ptr_nick->prefixes)
{
new_prefixes = realloc (ptr_nick->prefixes, new_length + 1);
if (new_prefixes)
{
ptr_nick->prefixes = new_prefixes;
if (new_length > old_length)
{
memset (ptr_nick->prefixes + old_length,
' ',
new_length - old_length);
}
ptr_nick->prefixes[new_length] = '\0';
}
}
else
{
ptr_nick->prefixes = malloc (new_length + 1);
if (ptr_nick->prefixes)
{
memset (ptr_nick->prefixes, ' ', new_length);
ptr_nick->prefixes[new_length] = '\0';
}
}
}
}
}
/* /*
* Removes a nick from a channel. * Removes a nick from a channel.
*/ */
+2
View File
@@ -74,6 +74,8 @@ extern void irc_nick_change (struct t_irc_server *server,
extern void irc_nick_set_mode (struct t_irc_server *server, extern void irc_nick_set_mode (struct t_irc_server *server,
struct t_irc_channel *channel, struct t_irc_channel *channel,
struct t_irc_nick *nick, int set, char mode); struct t_irc_nick *nick, int set, char mode);
extern void irc_nick_realloc_prefixes (struct t_irc_server *server,
int old_length, int new_length);
extern void irc_nick_free (struct t_irc_server *server, extern void irc_nick_free (struct t_irc_server *server,
struct t_irc_channel *channel, struct t_irc_channel *channel,
struct t_irc_nick *nick); struct t_irc_nick *nick);
+1 -1
View File
@@ -4689,7 +4689,7 @@ IRC_PROTOCOL_CALLBACK(352)
if (argc > 8) if (argc > 8)
{ {
arg_start = (strcmp (argv[8], "*") == 0) ? 9 : 8; arg_start = ((argc > 9) && (strcmp (argv[8], "*") == 0)) ? 9 : 8;
if (argv[arg_start][0] == ':') if (argv[arg_start][0] == ':')
{ {
pos_attr = NULL; pos_attr = NULL;
+12 -1
View File
@@ -988,11 +988,15 @@ irc_server_set_prefix_modes_chars (struct t_irc_server *server,
const char *prefix) const char *prefix)
{ {
char *pos; char *pos;
int i, length_modes, length_chars; int i, old_length_chars, length_modes, length_chars;
if (!server || !prefix) if (!server || !prefix)
return; return;
old_length_chars = (server->prefix_chars) ?
strlen (server->prefix_chars) :
strlen (irc_server_prefix_chars_default);
/* free previous values */ /* free previous values */
if (server->prefix_modes) if (server->prefix_modes)
{ {
@@ -1032,6 +1036,13 @@ irc_server_set_prefix_modes_chars (struct t_irc_server *server,
} }
} }
} }
length_chars = (server->prefix_chars) ?
strlen (server->prefix_chars) :
strlen (irc_server_prefix_chars_default);
if (length_chars != old_length_chars)
irc_nick_realloc_prefixes (server, old_length_chars, length_chars);
} }
/* /*
+8 -9
View File
@@ -89,7 +89,7 @@ Examples:
$0 test-patches $0 test-patches
EOF EOF
exit ${RC} exit "${RC}"
} }
error () error ()
@@ -109,10 +109,9 @@ test_patches ()
set +e set +e
PATCHES_OK=0 PATCHES_OK=0
PATCHES_ERROR=0 PATCHES_ERROR=0
for file in ${ROOT_DIR}/tools/debian/patches/*.patch; do for file in "${ROOT_DIR}"/tools/debian/patches/*.patch; do
echo "=== Testing patch ${file} ===" echo "=== Testing patch ${file} ==="
git apply --check "${file}" if git apply --check "${file}"; then
if [ $? -eq 0 ]; then
PATCHES_OK=$((PATCHES_OK+1)) PATCHES_OK=$((PATCHES_OK+1))
else else
PATCHES_ERROR=$((PATCHES_ERROR+1)) PATCHES_ERROR=$((PATCHES_ERROR+1))
@@ -136,7 +135,7 @@ fi
# check git repository # check git repository
ROOT_DIR=$(git rev-parse --show-toplevel) ROOT_DIR=$(git rev-parse --show-toplevel)
if [ -z "${ROOT_DIR}" -o ! -d "${ROOT_DIR}/.git" -o ! -d "${ROOT_DIR}/debian-stable" ]; then if [ -z "${ROOT_DIR}" ] || [ ! -d "${ROOT_DIR}/.git" ] || [ ! -d "${ROOT_DIR}/debian-stable" ]; then
error "this script must be run from WeeChat git repository." error "this script must be run from WeeChat git repository."
fi fi
cd "${ROOT_DIR}" cd "${ROOT_DIR}"
@@ -161,7 +160,7 @@ DISTRO="$2"
# example: devel => devel / 1, stable-2 => stable / 2, 1.9-2 => 1.9 / 2 # example: devel => devel / 1, stable-2 => stable / 2, 1.9-2 => 1.9 / 2
TMP_VERSION=$(expr "${VERSION}" : '\([^/]*\)-') || true TMP_VERSION=$(expr "${VERSION}" : '\([^/]*\)-') || true
DEB_REVISION="" DEB_REVISION=""
if [ ! -z "${TMP_VERSION}" ]; then if [ -n "${TMP_VERSION}" ]; then
DEB_REVISION=$(expr "${VERSION}" : '[^-]*-\([^-]*\)') || true DEB_REVISION=$(expr "${VERSION}" : '[^-]*-\([^-]*\)') || true
VERSION="${TMP_VERSION}" VERSION="${TMP_VERSION}"
fi fi
@@ -171,7 +170,7 @@ fi
# convert version "stable" to its number # convert version "stable" to its number
if [ "${VERSION}" = "stable" ]; then if [ "${VERSION}" = "stable" ]; then
VERSION="$(${ROOT_DIR}/version.sh stable)" VERSION="$("${ROOT_DIR}/version.sh" stable)"
fi fi
if [ -z "${VERSION}" ]; then if [ -z "${VERSION}" ]; then
@@ -184,7 +183,7 @@ DISTRO_TYPE=$(expr "${DISTRO}" : '\([^/]*\)/') || true
# extract distro name (sid, jessie, wily, ...) # extract distro name (sid, jessie, wily, ...)
DISTRO_NAME=$(expr "${DISTRO}" : '[^/]*/\([a-z]*\)') || true DISTRO_NAME=$(expr "${DISTRO}" : '[^/]*/\([a-z]*\)') || true
if [ -z "${DISTRO_TYPE}" -o -z "${DISTRO_NAME}" ]; then if [ -z "${DISTRO_TYPE}" ] || [ -z "${DISTRO_NAME}" ]; then
error_usage "missing distro type/name" error_usage "missing distro type/name"
fi fi
@@ -205,7 +204,7 @@ if [ "${VERSION}" = "devel" ]; then
# devel packages: weechat-devel(-xxx)_X.Y-1~dev20150511_arch.deb # devel packages: weechat-devel(-xxx)_X.Y-1~dev20150511_arch.deb
DEB_DIR="debian-devel" DEB_DIR="debian-devel"
DEB_NAME="weechat-devel" DEB_NAME="weechat-devel"
DEB_VERSION="$(${ROOT_DIR}/version.sh devel)-1~dev$(date '+%Y%m%d')" DEB_VERSION="$("${ROOT_DIR}/version.sh" devel)-1~dev$(date '+%Y%m%d')"
if [ "${DEB_REVISION}" != "1" ]; then if [ "${DEB_REVISION}" != "1" ]; then
DEB_VERSION="${DEB_VERSION}-${DEB_REVISION}" DEB_VERSION="${DEB_VERSION}-${DEB_REVISION}"
fi fi
+3 -5
View File
@@ -39,9 +39,8 @@
run () run ()
{ {
echo "Running \"$@\"..." echo "Running \"$*\"..."
eval $@ if ! eval "$@"; then
if [ $? -ne 0 ]; then
echo "ERROR" echo "ERROR"
exit 1 exit 1
fi fi
@@ -72,8 +71,7 @@ if [ "$BUILDTOOL" = "cmake" ]; then
run "cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON ${BUILDARGS}" run "cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON ${BUILDARGS}"
run "make VERBOSE=1 -j$(nproc)" run "make VERBOSE=1 -j$(nproc)"
run "sudo make install" run "sudo make install"
run "ctest -V" if run "ctest -V" && [ "$CODECOVERAGE" = "1" ]; then
if [ $? -eq 0 ] && [ "$CODECOVERAGE" = "1" ]; then
run "lcov --directory . --capture --output-file coverage.info" run "lcov --directory . --capture --output-file coverage.info"
run "lcov --remove coverage.info '/usr/*' --output-file coverage.info" run "lcov --remove coverage.info '/usr/*' --output-file coverage.info"
run "lcov --list coverage.info" run "lcov --list coverage.info"
@@ -37,7 +37,7 @@ index a862fdd6c..0b3c016ff 100644
+ libgcrypt11-dev, + libgcrypt11-dev,
+ libgnutls-dev, + libgnutls-dev,
zlib1g-dev zlib1g-dev
Standards-Version: 4.3.0 Standards-Version: 4.4.0
Homepage: https://weechat.org/ Homepage: https://weechat.org/
@@ -47,7 +44,7 @@ Description: Fast, light and extensible chat client (metapackage) @@ -47,7 +44,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support - 256 colors support
@@ -154,7 +154,7 @@ index c0326b3f5..44206d418 100644
+ libgcrypt11-dev, + libgcrypt11-dev,
+ libgnutls-dev, + libgnutls-dev,
zlib1g-dev zlib1g-dev
Standards-Version: 4.3.0 Standards-Version: 4.4.0
Homepage: https://weechat.org/ Homepage: https://weechat.org/
@@ -46,7 +43,7 @@ Description: Fast, light and extensible chat client (metapackage) @@ -46,7 +43,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support - 256 colors support
@@ -35,7 +35,7 @@ index a862fdd6c..968534b1c 100644
+ libgcrypt11-dev, + libgcrypt11-dev,
+ libgnutls-dev, + libgnutls-dev,
zlib1g-dev zlib1g-dev
Standards-Version: 4.3.0 Standards-Version: 4.4.0
Homepage: https://weechat.org/ Homepage: https://weechat.org/
@@ -47,7 +44,7 @@ Description: Fast, light and extensible chat client (metapackage) @@ -47,7 +44,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support - 256 colors support
@@ -138,7 +138,7 @@ index c0326b3f5..a5a44c65a 100644
+ libgcrypt11-dev, + libgcrypt11-dev,
+ libgnutls-dev, + libgnutls-dev,
zlib1g-dev zlib1g-dev
Standards-Version: 4.3.0 Standards-Version: 4.4.0
Homepage: https://weechat.org/ Homepage: https://weechat.org/
@@ -46,7 +43,7 @@ Description: Fast, light and extensible chat client (metapackage) @@ -46,7 +43,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support - 256 colors support
+6 -7
View File
@@ -47,7 +47,7 @@ case ${VERSION} in
*-*) *-*)
# devel/rc version (like 0.4.0-dev or 0.4.0-rc1) # devel/rc version (like 0.4.0-dev or 0.4.0-rc1)
if [ -d "${ROOTDIR}/.git" ]; then if [ -d "${ROOTDIR}/.git" ]; then
GIT_VERSION=$(cd ${ROOTDIR} && git describe 2>/dev/null) GIT_VERSION=$(cd "${ROOTDIR}" && git describe 2>/dev/null)
fi fi
;; ;;
*) *)
@@ -56,19 +56,18 @@ case ${VERSION} in
esac esac
# check if git version has changed # check if git version has changed
if [ ! -f ${HEADERFILE} ]; then if [ ! -f "${HEADERFILE}" ]; then
# header does not exist => create it # header does not exist => create it
echo "Creating file ${HEADERFILE} with git version: \"${GIT_VERSION}\"" echo "Creating file ${HEADERFILE} with git version: \"${GIT_VERSION}\""
echo "#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"" >${HEADERFILE} echo "#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"" >"${HEADERFILE}"
else else
grep -q "#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"" ${HEADERFILE} if grep -q "#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"" "${HEADERFILE}"; then
if [ $? -eq 0 ]; then
# git version matches the file => NO update # git version matches the file => NO update
echo "File ${HEADERFILE} is up-to-date (git version: \"${GIT_VERSION}\")" echo "File ${HEADERFILE} is up-to-date (git version: \"${GIT_VERSION}\")"
else else
# git version not found in file => update file with this git version # git version not found in file => update file with this git version
echo "Updating file ${HEADERFILE} with git version: \"${GIT_VERSION}\"" echo "Updating file ${HEADERFILE} with git version: \"${GIT_VERSION}\""
sed "s/#define PACKAGE_VERSION_GIT \".*\"/#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"/" ${HEADERFILE} >${HEADERFILE}.tmp sed "s/#define PACKAGE_VERSION_GIT \".*\"/#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"/" "${HEADERFILE}" >"${HEADERFILE}.tmp"
mv -f ${HEADERFILE}.tmp ${HEADERFILE} mv -f "${HEADERFILE}.tmp" "${HEADERFILE}"
fi fi
fi fi
+7 -7
View File
@@ -35,13 +35,13 @@
# check git repository # check git repository
ROOT_DIR=$(git rev-parse --show-toplevel) ROOT_DIR=$(git rev-parse --show-toplevel)
if [ -z "${ROOT_DIR}" -o ! -d "${ROOT_DIR}/.git" ]; then if [ -z "${ROOT_DIR}" ] || [ ! -d "${ROOT_DIR}/.git" ]; then
echo "This script must be run from WeeChat git repository." echo "This script must be run from WeeChat git repository."
exit 1 exit 1
fi fi
# default values # default values
VERSION="$(${ROOT_DIR}/version.sh devel-full)" VERSION="$("${ROOT_DIR}/version.sh" devel-full)"
TREEISH="HEAD" TREEISH="HEAD"
OUTPATH="$(pwd)" OUTPATH="$(pwd)"
@@ -52,19 +52,19 @@ if [ $# -ge 2 ]; then
TREEISH=$2 TREEISH=$2
fi fi
if [ $# -ge 3 ]; then if [ $# -ge 3 ]; then
OUTPATH=$(cd "$3"; pwd) OUTPATH=$(cd "$3" || exit 1; pwd)
fi fi
cd "${ROOT_DIR}" cd "${ROOT_DIR}" || exit 1
PREFIX="weechat-${VERSION}/" PREFIX="weechat-${VERSION}/"
FILE="${OUTPATH}/weechat-${VERSION}.tar" FILE="${OUTPATH}/weechat-${VERSION}.tar"
echo "Building package ${FILE}.gz" echo "Building package ${FILE}.gz"
git archive --prefix=${PREFIX} ${TREEISH} | gzip -c >${FILE}.gz git archive --prefix="${PREFIX}" "${TREEISH}" | gzip -c >"${FILE}.gz"
echo "Building package ${FILE}.bz2" echo "Building package ${FILE}.bz2"
git archive --prefix=${PREFIX} ${TREEISH} | bzip2 -c >${FILE}.bz2 git archive --prefix="${PREFIX}" "${TREEISH}" | bzip2 -c >"${FILE}.bz2"
echo "Building package ${FILE}.xz" echo "Building package ${FILE}.xz"
git archive --prefix=${PREFIX} ${TREEISH} | xz -c >${FILE}.xz git archive --prefix="${PREFIX}" "${TREEISH}" | xz -c >"${FILE}.xz"
+3 -3
View File
@@ -32,9 +32,9 @@
# devel-patch the patch version of devel (e.g. 2 for version 1.4.2) # devel-patch the patch version of devel (e.g. 2 for version 1.4.2)
# #
WEECHAT_STABLE=2.6 WEECHAT_STABLE=2.7.1
WEECHAT_DEVEL=2.7 WEECHAT_DEVEL=2.7.1
WEECHAT_DEVEL_FULL=2.7-rc1 WEECHAT_DEVEL_FULL=2.7.1
if [ $# -lt 1 ]; then if [ $# -lt 1 ]; then
echo >&2 "Syntax: $0 stable|devel|devel-full|devel-major|devel-minor|devel-patch" echo >&2 "Syntax: $0 stable|devel|devel-full|devel-major|devel-minor|devel-patch"
+5 -1
View File
@@ -23,7 +23,7 @@
# #
%define name weechat %define name weechat
%define version 2.6 %define version 2.7.1
%define release 1 %define release 1
Name: %{name} Name: %{name}
@@ -82,6 +82,10 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/share/icons/hicolor/512x512/apps/weechat.png %{_prefix}/share/icons/hicolor/512x512/apps/weechat.png
%changelog %changelog
* Thu Feb 20 2020 Sébastien Helleu <flashcode@flashtux.org> 2.7.1-1
- Released version 2.7.1
* Sun Dec 08 2019 Sébastien Helleu <flashcode@flashtux.org> 2.7-1
- Released version 2.7
* Sun Sep 08 2019 Sébastien Helleu <flashcode@flashtux.org> 2.6-1 * Sun Sep 08 2019 Sébastien Helleu <flashcode@flashtux.org> 2.6-1
- Released version 2.6 - Released version 2.6
* Thu Jun 06 2019 Sébastien Helleu <flashcode@flashtux.org> 2.5-1 * Thu Jun 06 2019 Sébastien Helleu <flashcode@flashtux.org> 2.5-1