1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +02:00

Compare commits

...

13 Commits

Author SHA1 Message Date
Sébastien Helleu 331dac14c3 Version 2.0.2-dev 2017-12-20 22:19:57 +01:00
Sébastien Helleu 76d398538d Version 2.0.1 2017-12-20 22:03:06 +01:00
Sébastien Helleu 938599d9f7 core: add version 2.0.1 in release notes 2017-12-09 16:26:57 +01:00
Sébastien Helleu c73b944629 python: fix integer arguments in hook_connect() and hook_fd() callbacks
(cherry picked from commit 515334e53b)
2017-12-09 16:00:20 +01:00
Sébastien Helleu 40f624d8d5 fset: fix typos in French translation of /help fset
(cherry picked from commit 6db7035870)
2017-12-09 15:59:01 +01:00
Sébastien Helleu f0a06cc85a Version 2.0 2017-12-03 11:55:08 +01:00
Sébastien Helleu 4edbc7d1da core: add missing versions in weechat.spec 2017-12-03 11:18:12 +01:00
Sébastien Helleu a688ec3d0b core: add missing version 1.9.1 in weechat.spec 2017-12-03 11:11:14 +01:00
Sébastien Helleu e4580a731b buflist: use larger buffer for buflist bar item name 2017-12-03 11:04:28 +01:00
Sébastien Helleu db6f0e030d debian: add "metapackage" info to short description of weechat package 2017-12-03 08:53:41 +01:00
Sébastien Helleu 59e5455659 Merge pull request #1110 from l/master/translation/ja_JP
doc: update Japanese translations
2017-12-03 08:43:29 +01:00
AYANOKOUZI, Ryuunosuke 019ceba4b3 doc: update Japanese translations 2017-12-03 09:00:00 +09:00
Krzysztof Korościk 75099675c7 doc: updated polish faq 2017-12-01 19:30:07 +01:00
13 changed files with 92 additions and 51 deletions
+9 -1
View File
@@ -15,8 +15,16 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file _ReleaseNotes.adoc_ in sources). (file _ReleaseNotes.adoc_ in sources).
[[v2.0.1]]
== Version 2.0.1 (2017-12-20)
Bug fixes::
* python: fix arguments status/gnutls_rc/sock in hook_connect() callback
* python: fix argument fd in hook_fd() callback
[[v2.0]] [[v2.0]]
== Version 2.0 (under dev) == Version 2.0 (2017-12-03)
New features:: New features::
+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.0.1]]
== Version 2.0.1 (2017-12-20)
Bug fix and maintenance release.
[[v2.0]] [[v2.0]]
== Version 2.0 (under dev) == Version 2.0 (2017-12-03)
[[v2.0_debian_packaging]] [[v2.0_debian_packaging]]
=== Split of scripting Debian packages === Split of scripting Debian packages
+1 -1
View File
@@ -31,7 +31,7 @@ Architecture: all
Depends: ${misc:Depends}, weechat-devel-curses (>= ${source:Version}) Depends: ${misc:Depends}, weechat-devel-curses (>= ${source:Version})
Suggests: weechat-devel-doc (= ${source:Version}) Suggests: weechat-devel-doc (= ${source:Version})
Conflicts: weechat Conflicts: weechat
Description: Fast, light and extensible chat client Description: Fast, light and extensible chat client (metapackage)
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard. for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes: It is customizable and extensible with plugins/scripts, and includes:
+1 -1
View File
@@ -30,7 +30,7 @@ Package: weechat
Architecture: all Architecture: all
Depends: ${misc:Depends}, weechat-curses (>= ${source:Version}) Depends: ${misc:Depends}, weechat-curses (>= ${source:Version})
Suggests: weechat-doc (= ${source:Version}) Suggests: weechat-doc (= ${source:Version})
Description: Fast, light and extensible chat client Description: Fast, light and extensible chat client (metapackage)
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard. for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes: It is customizable and extensible with plugins/scripts, and includes:
+3 -3
View File
@@ -53,7 +53,7 @@
d==xxx afficher seulement les options changées avec la valeur exacte "xxx" d==xxx afficher seulement les options changées avec la valeur exacte "xxx"
=xxx afficher seulement les options avec "xxx" dans la valeur =xxx afficher seulement les options avec "xxx" dans la valeur
==xxx afficher seulement les options avec la valeur exacte "xxx" ==xxx afficher seulement les options avec la valeur exacte "xxx"
c:xxx afficher seulement les options qui correspondent à la condition évaluée "xxx", en utilisant les variables suiantes : file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values c:xxx afficher seulement les options qui correspondent à la condition évaluée "xxx", en utilisant les variables suivantes : file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
Les lignes avec des options sont affichées en utilisant l'évaluation de chaîne (voir /help eval pour le format), avec ces options : Les lignes avec des options sont affichées en utilisant l'évaluation de chaîne (voir /help eval pour le format), avec ces options :
- fset.format.option1 : premier format pour une option - fset.format.option1 : premier format pour une option
@@ -138,8 +138,8 @@ Autres touches et entrées sur le tampon fset :
Actions de la souris sur le tampon fset : Actions de la souris sur le tampon fset :
roulette haut/bas se déplacer vers le haut/bas roulette haut/bas se déplacer vers le haut/bas
bouton gauche se déplacer à cette ligne bouton gauche se déplacer à cette ligne
bouton droit basculer le booleén (on/off) ou éditer la valeur de l'option bouton droit basculer le booléen (on/off) ou éditer la valeur de l'option
bouton droit + glisser geuche/droite incrémenter/décrémenter la valeur pour un entier/couleur, définir/ajouter à la valeur pour les autres types bouton droit + glisser gauche/droite incrémenter/décrémenter la valeur pour un entier/couleur, définir/ajouter à la valeur pour les autres types
bouton droit + glisser haut/bas marquer/démarquer plusieurs options bouton droit + glisser haut/bas marquer/démarquer plusieurs options
Note : si l'entrée comporte un ou plusieurs espaces en tête, le texte suivant est interprété comme un filtre, sans les espaces. Par exemple " q" cherche toutes les options avec "q" dans le nom, tandis que "q" ferme le tampon fset. Note : si l'entrée comporte un ou plusieurs espaces en tête, le texte suivant est interprété comme un filtre, sans les espaces. Par exemple " q" cherche toutes les options avec "q" dans le nom, tandis que "q" ferme le tampon fset.
+8 -11
View File
@@ -824,36 +824,33 @@ OpenBSD では、プラグインファイル名の末尾が ".so.0.0" です (Li
スクリプトは他の IRC クライアントのものと互換性がありません。 スクリプトは他の IRC クライアントのものと互換性がありません。
// TRANSLATION MISSING
[[scripts_update]] [[scripts_update]]
=== The command "/script update" can not read scripts, how to fix that? === コマンド "/script update" でスクリプトを読み込むことができません。どうすればいいですか。
First check questions about SSL connection in this FAQ 手始めに、この FAQ の SSL 接続に関する質問を確認してください
(especially the option _weechat.network.gnutls_ca_file_). (特にオプション _weechat.network.gnutls_ca_file_ に関する質問)。
If still not working, try to manually delete the scripts file (in your shell): それでもだめなら、手作業で (シェルから) スクリプトリストファイルを削除してください:
---- ----
$ rm ~/.weechat/script/plugins.xml.gz $ rm ~/.weechat/script/plugins.xml.gz
---- ----
And update scripts again in WeeChat: その後、WeeChat からスクリプトリストを更新してください:
---- ----
/script update /script update
---- ----
If you still have an error, then you must remove the automatic update of file それでもまだエラーが出るなら、更新を受け取るにはスクリプトリストファイルを必ず手作業で更新しなければいけないということです。これを行うには以下の手順に従ってください:
in WeeChat and download the file manually outside WeeChat (that means you'll
have to update manually the file yourself to get updates):
* in WeeChat: * WeeChat から WeeChat のファイル自動更新機能を無効化してください:
---- ----
/set script.scripts.cache_expire -1 /set script.scripts.cache_expire -1
---- ----
* in your shell, with curl installed: * シェルからスクリプトリストファイルをダウンロードしてください (必要なら curl をインストールしてください):
---- ----
$ cd ~/.weechat/script $ cd ~/.weechat/script
+5 -7
View File
@@ -47,10 +47,9 @@ GNU/Linux では ".so"、Windows
(WeeChat ソースコードに含まれています)。このファイルでは WeeChat (WeeChat ソースコードに含まれています)。このファイルでは WeeChat
と通信する際に使う構造体や型が定義されています。 と通信する際に使う構造体や型が定義されています。
// TRANSLATION MISSING WeeChat 関数を <<plugin_api>>
In order to call WeeChat functions in the format displayed in <<plugin_api>>, に表示された書式で呼び出すには、以下のグローバルポインタを定義して
the following global pointer must be declared and initialized in the function <<_weechat_plugin_init,weechat_plugin_init>> 関数の中でそれを初期化しなければいけません:
<<_weechat_plugin_init,weechat_plugin_init>>:
[source,C] [source,C]
---- ----
@@ -99,9 +98,8 @@ int weechat_plugin_init (struct t_weechat_plugin *plugin,
引数: 引数:
// TRANSLATION MISSING * _plugin_: WeeChat プラグイン構造体へのポインタ。これはグローバルポインタ
* _plugin_: WeeChat プラグイン構造体へのポインタ, used to initialize the `weechat_plugin` を初期化する際に使われます
convenience global pointer `weechat_plugin`
* _argc_: プラグインに対する引数の数 (ユーザがコマンドラインで指定) * _argc_: プラグインに対する引数の数 (ユーザがコマンドラインで指定)
* _argv_: プラグインに対する引数 * _argv_: プラグインに対する引数
+10 -11
View File
@@ -836,36 +836,35 @@ Możesz użyć komendy `/script` do instalowania i zarządzania skryptami
Skrypty nie są kompatybilne z innymi klientami IRC. Skrypty nie są kompatybilne z innymi klientami IRC.
// TRANSLATION MISSING
[[scripts_update]] [[scripts_update]]
=== The command "/script update" can not read scripts, how to fix that? === Komenda "/script update" nie może odczytać skryptów, jak to naprawić?
First check questions about SSL connection in this FAQ Najpierw zapoznaj się z zagadnieniami dotyczącymi połączeń SSL znajdującymi się
(especially the option _weechat.network.gnutls_ca_file_). w tym dokumencie (zwłaszcza opcji _weechat.network.gnutls_ca_file_).
If still not working, try to manually delete the scripts file (in your shell): Jeśli to nie pomoże spróuj ręcznie usunąć plik z listą skryptów (z poziomu powłoki):
---- ----
$ rm ~/.weechat/script/plugins.xml.gz $ rm ~/.weechat/script/plugins.xml.gz
---- ----
And update scripts again in WeeChat: Następnie ponownie zaktualizuj listę sktyptów w WeeChat:
---- ----
/script update /script update
---- ----
If you still have an error, then you must remove the automatic update of file Jeśli w dalszym ciągu otrzymujesz błąd, wtedy musisz wyłączyć automatyczną aktualizacje
in WeeChat and download the file manually outside WeeChat (that means you'll pliku z listą skryptów przez WeeChat i ręcznie pobrać ten plik (oznacza to, że musisz
have to update manually the file yourself to get updates): ręcznie aktualizować plik do najnowszej wersji):
* in WeeChat: * w WeeChat:
---- ----
/set script.scripts.cache_expire -1 /set script.scripts.cache_expire -1
---- ----
* in your shell, with curl installed: * w powłoce, z zainstalowanym programem curl:
---- ----
$ cd ~/.weechat/script $ cd ~/.weechat/script
+4 -4
View File
@@ -22,7 +22,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: 2017-11-15 07:20+0100\n" "POT-Creation-Date: 2017-11-15 07:20+0100\n"
"PO-Revision-Date: 2017-11-15 07:21+0100\n" "PO-Revision-Date: 2017-12-04 13:40+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n" "Language: fr\n"
@@ -6786,7 +6786,7 @@ msgstr ""
" ==xxx afficher seulement les options avec la valeur exacte " " ==xxx afficher seulement les options avec la valeur exacte "
"\"xxx\"\n" "\"xxx\"\n"
" c:xxx afficher seulement les options qui correspondent à la " " c:xxx afficher seulement les options qui correspondent à la "
"condition évaluée \"xxx\", en utilisant les variables suiantes : file, " "condition évaluée \"xxx\", en utilisant les variables suivantes : file, "
"section, option, name, parent_name, type, type_en, type_short (bool/int/str/" "section, option, name, parent_name, type, type_en, type_short (bool/int/str/"
"col), type_tiny (b/i/s/c), default_value, default_value_undef, value, " "col), type_tiny (b/i/s/c), default_value, default_value_undef, value, "
"quoted_value, value_undef, value_changed, parent_value, min, max, " "quoted_value, value_undef, value_changed, parent_value, min, max, "
@@ -6904,9 +6904,9 @@ msgstr ""
"Actions de la souris sur le tampon fset :\n" "Actions de la souris sur le tampon fset :\n"
" roulette haut/bas se déplacer vers le haut/bas\n" " roulette haut/bas se déplacer vers le haut/bas\n"
" bouton gauche se déplacer à cette ligne\n" " bouton gauche se déplacer à cette ligne\n"
" bouton droit basculer le booleén (on/off) ou " " bouton droit basculer le booléen (on/off) ou "
"éditer la valeur de l'option\n" "éditer la valeur de l'option\n"
" bouton droit + glisser geuche/droite incrémenter/décrémenter la valeur " " bouton droit + glisser gauche/droite incrémenter/décrémenter la valeur "
"pour un entier/couleur, définir/ajouter à la valeur pour les autres types\n" "pour un entier/couleur, définir/ajouter à la valeur pour les autres types\n"
" bouton droit + glisser haut/bas marquer/démarquer plusieurs options\n" " bouton droit + glisser haut/bas marquer/démarquer plusieurs options\n"
"\n" "\n"
+1 -1
View File
@@ -45,7 +45,7 @@ int old_line_number_current_buffer[BUFLIST_BAR_NUM_ITEMS];
const char * const char *
buflist_bar_item_get_name (int index) buflist_bar_item_get_name (int index)
{ {
static char item_name[16]; static char item_name[32];
if (index == 0) if (index == 0)
{ {
+22 -6
View File
@@ -2255,12 +2255,12 @@ weechat_python_api_hook_fd_cb (const void *pointer, void *data, int fd)
if (ptr_function && ptr_function[0]) if (ptr_function && ptr_function[0])
{ {
func_argv[0] = (ptr_data) ? (char *)ptr_data : empty_arg; func_argv[0] = (ptr_data) ? (char *)ptr_data : empty_arg;
func_argv[1] = &fd; func_argv[1] = PyLong_FromLong((long)fd);
rc = (int *) weechat_python_exec (script, rc = (int *) weechat_python_exec (script,
WEECHAT_SCRIPT_EXEC_INT, WEECHAT_SCRIPT_EXEC_INT,
ptr_function, ptr_function,
"si", func_argv); "sO", func_argv);
if (!rc) if (!rc)
ret = WEECHAT_RC_ERROR; ret = WEECHAT_RC_ERROR;
@@ -2269,6 +2269,10 @@ weechat_python_api_hook_fd_cb (const void *pointer, void *data, int fd)
ret = *rc; ret = *rc;
free (rc); free (rc);
} }
if (func_argv[1])
{
Py_XDECREF((PyObject *)func_argv[1]);
}
return ret; return ret;
} }
@@ -2449,16 +2453,16 @@ weechat_python_api_hook_connect_cb (const void *pointer, void *data,
if (ptr_function && ptr_function[0]) if (ptr_function && ptr_function[0])
{ {
func_argv[0] = (ptr_data) ? (char *)ptr_data : empty_arg; func_argv[0] = (ptr_data) ? (char *)ptr_data : empty_arg;
func_argv[1] = &status; func_argv[1] = PyLong_FromLong((long)status);
func_argv[2] = &gnutls_rc; func_argv[2] = PyLong_FromLong((long)gnutls_rc);
func_argv[3] = &sock; func_argv[3] = PyLong_FromLong((long)sock);
func_argv[4] = (ip_address) ? (char *)ip_address : empty_arg; func_argv[4] = (ip_address) ? (char *)ip_address : empty_arg;
func_argv[5] = (error) ? (char *)error : empty_arg; func_argv[5] = (error) ? (char *)error : empty_arg;
rc = (int *) weechat_python_exec (script, rc = (int *) weechat_python_exec (script,
WEECHAT_SCRIPT_EXEC_INT, WEECHAT_SCRIPT_EXEC_INT,
ptr_function, ptr_function,
"siiiss", func_argv); "sOOOss", func_argv);
if (!rc) if (!rc)
ret = WEECHAT_RC_ERROR; ret = WEECHAT_RC_ERROR;
@@ -2467,6 +2471,18 @@ weechat_python_api_hook_connect_cb (const void *pointer, void *data,
ret = *rc; ret = *rc;
free (rc); free (rc);
} }
if (func_argv[1])
{
Py_XDECREF((PyObject *)func_argv[1]);
}
if (func_argv[2])
{
Py_XDECREF((PyObject *)func_argv[2]);
}
if (func_argv[3])
{
Py_XDECREF((PyObject *)func_argv[3]);
}
return ret; return ret;
} }
+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=1.9.1 WEECHAT_STABLE=2.0.1
WEECHAT_DEVEL=2.0 WEECHAT_DEVEL=2.0.2
WEECHAT_DEVEL_FULL=2.0-rc1 WEECHAT_DEVEL_FULL=2.0.2-dev
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"
+19 -1
View File
@@ -23,7 +23,7 @@
# #
%define name weechat %define name weechat
%define version 1.9 %define version 2.0.1
%define release 1 %define release 1
Name: %{name} Name: %{name}
@@ -77,6 +77,12 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/share/icons/hicolor/32x32/apps/weechat.png %{_prefix}/share/icons/hicolor/32x32/apps/weechat.png
%changelog %changelog
* Wed Dec 20 2017 Sébastien Helleu <flashcode@flashtux.org> 2.0.1-1
- Released version 2.0.1
* Sun Dec 03 2017 Sébastien Helleu <flashcode@flashtux.org> 2.0-1
- Released version 2.0
* Sat Sep 23 2017 Sébastien Helleu <flashcode@flashtux.org> 1.9.1-1
- Released version 1.9.1
* Sun Jun 25 2017 Sébastien Helleu <flashcode@flashtux.org> 1.9-1 * Sun Jun 25 2017 Sébastien Helleu <flashcode@flashtux.org> 1.9-1
- Released version 1.9 - Released version 1.9
* Sat May 13 2017 Sébastien Helleu <flashcode@flashtux.org> 1.8-1 * Sat May 13 2017 Sébastien Helleu <flashcode@flashtux.org> 1.8-1
@@ -111,6 +117,10 @@ rm -rf $RPM_BUILD_ROOT
- Released version 0.4.1 - Released version 0.4.1
* Sun Jan 20 2013 Sébastien Helleu <flashcode@flashtux.org> 0.4.0-1 * Sun Jan 20 2013 Sébastien Helleu <flashcode@flashtux.org> 0.4.0-1
- Released version 0.4.0 - Released version 0.4.0
* Sun Nov 18 2012 Sébastien Helleu <flashcode@flashtux.org> 0.3.9.2-1
- Released version 0.3.9.2
* Fri Nov 09 2012 Sébastien Helleu <flashcode@flashtux.org> 0.3.9.1-1
- Released version 0.3.9.1
* Sat Sep 29 2012 Sébastien Helleu <flashcode@flashtux.org> 0.3.9-1 * Sat Sep 29 2012 Sébastien Helleu <flashcode@flashtux.org> 0.3.9-1
- Released version 0.3.9 - Released version 0.3.9
* Sun Jun 03 2012 Sébastien Helleu <flashcode@flashtux.org> 0.3.8-1 * Sun Jun 03 2012 Sébastien Helleu <flashcode@flashtux.org> 0.3.8-1
@@ -127,10 +137,18 @@ rm -rf $RPM_BUILD_ROOT
- Released version 0.3.3 - Released version 0.3.3
* Sun Apr 18 2010 Sébastien Helleu <flashcode@flashtux.org> 0.3.2-1 * Sun Apr 18 2010 Sébastien Helleu <flashcode@flashtux.org> 0.3.2-1
- Released version 0.3.2 - Released version 0.3.2
* Sun Jan 31 2010 Sébastien Helleu <flashcode@flashtux.org> 0.3.1.1-1
- Released version 0.3.1.1
* Sat Jan 23 2010 Sébastien Helleu <flashcode@flashtux.org> 0.3.1-1 * Sat Jan 23 2010 Sébastien Helleu <flashcode@flashtux.org> 0.3.1-1
- Released version 0.3.1 - Released version 0.3.1
* Sun Sep 06 2009 Sébastien Helleu <flashcode@flashtux.org> 0.3.0-1 * Sun Sep 06 2009 Sébastien Helleu <flashcode@flashtux.org> 0.3.0-1
- Released version 0.3.0 - Released version 0.3.0
* Sat Jun 13 2009 Sébastien Helleu <flashcode@flashtux.org> 0.2.6.3-1
- Released version 0.2.6.3
* Sat Apr 18 2009 Sébastien Helleu <flashcode@flashtux.org> 0.2.6.2-1
- Released version 0.2.6.2
* Sat Mar 14 2009 Sébastien Helleu <flashcode@flashtux.org> 0.2.6.1-1
- Released version 0.2.6.1
* Thu Sep 06 2007 Sébastien Helleu <flashcode@flashtux.org> 0.2.6-1 * Thu Sep 06 2007 Sébastien Helleu <flashcode@flashtux.org> 0.2.6-1
- Released version 0.2.6 - Released version 0.2.6
* Thu Jun 07 2007 Sébastien Helleu <flashcode@flashtux.org> 0.2.5-1 * Thu Jun 07 2007 Sébastien Helleu <flashcode@flashtux.org> 0.2.5-1