mirror of
https://github.com/weechat/weechat.git
synced 2026-06-14 07:04:46 +02:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 331dac14c3 | |||
| 76d398538d | |||
| 938599d9f7 | |||
| c73b944629 | |||
| 40f624d8d5 | |||
| f0a06cc85a | |||
| 4edbc7d1da | |||
| a688ec3d0b | |||
| e4580a731b | |||
| db6f0e030d | |||
| 59e5455659 | |||
| 019ceba4b3 | |||
| 75099675c7 |
+9
-1
@@ -15,8 +15,16 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
(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]]
|
||||
== Version 2.0 (under dev)
|
||||
== Version 2.0 (2017-12-03)
|
||||
|
||||
New features::
|
||||
|
||||
|
||||
+6
-1
@@ -17,8 +17,13 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(file _ChangeLog.adoc_ in sources).
|
||||
|
||||
|
||||
[[v2.0.1]]
|
||||
== Version 2.0.1 (2017-12-20)
|
||||
|
||||
Bug fix and maintenance release.
|
||||
|
||||
[[v2.0]]
|
||||
== Version 2.0 (under dev)
|
||||
== Version 2.0 (2017-12-03)
|
||||
|
||||
[[v2.0_debian_packaging]]
|
||||
=== Split of scripting Debian packages
|
||||
|
||||
@@ -31,7 +31,7 @@ Architecture: all
|
||||
Depends: ${misc:Depends}, weechat-devel-curses (>= ${source:Version})
|
||||
Suggests: weechat-devel-doc (= ${source:Version})
|
||||
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
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
|
||||
@@ -30,7 +30,7 @@ Package: weechat
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, weechat-curses (>= ${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
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
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 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 :
|
||||
- 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 :
|
||||
roulette haut/bas se déplacer vers le haut/bas
|
||||
bouton gauche se déplacer à cette ligne
|
||||
bouton droit basculer le booleén (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 basculer le booléen (on/off) ou éditer la valeur de l'option
|
||||
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
|
||||
|
||||
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.
|
||||
|
||||
@@ -824,36 +824,33 @@ OpenBSD では、プラグインファイル名の末尾が ".so.0.0" です (Li
|
||||
|
||||
スクリプトは他の IRC クライアントのものと互換性がありません。
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[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
|
||||
(especially the option _weechat.network.gnutls_ca_file_).
|
||||
手始めに、この FAQ の SSL 接続に関する質問を確認してください
|
||||
(特にオプション _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
|
||||
----
|
||||
|
||||
And update scripts again in WeeChat:
|
||||
その後、WeeChat からスクリプトリストを更新してください:
|
||||
|
||||
----
|
||||
/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
|
||||
----
|
||||
|
||||
* in your shell, with curl installed:
|
||||
* シェルからスクリプトリストファイルをダウンロードしてください (必要なら curl をインストールしてください):
|
||||
|
||||
----
|
||||
$ cd ~/.weechat/script
|
||||
|
||||
@@ -47,10 +47,9 @@ GNU/Linux では ".so"、Windows
|
||||
(WeeChat ソースコードに含まれています)。このファイルでは WeeChat
|
||||
と通信する際に使う構造体や型が定義されています。
|
||||
|
||||
// TRANSLATION MISSING
|
||||
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_api>>
|
||||
に表示された書式で呼び出すには、以下のグローバルポインタを定義して
|
||||
<<_weechat_plugin_init,weechat_plugin_init>> 関数の中でそれを初期化しなければいけません:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
@@ -99,9 +98,8 @@ int weechat_plugin_init (struct t_weechat_plugin *plugin,
|
||||
|
||||
引数:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
* _plugin_: WeeChat プラグイン構造体へのポインタ, used to initialize the
|
||||
convenience global pointer `weechat_plugin`
|
||||
* _plugin_: WeeChat プラグイン構造体へのポインタ。これはグローバルポインタ
|
||||
`weechat_plugin` を初期化する際に使われます
|
||||
* _argc_: プラグインに対する引数の数 (ユーザがコマンドラインで指定)
|
||||
* _argv_: プラグインに対する引数
|
||||
|
||||
|
||||
+10
-11
@@ -836,36 +836,35 @@ Możesz użyć komendy `/script` do instalowania i zarządzania skryptami
|
||||
|
||||
Skrypty nie są kompatybilne z innymi klientami IRC.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[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
|
||||
(especially the option _weechat.network.gnutls_ca_file_).
|
||||
Najpierw zapoznaj się z zagadnieniami dotyczącymi połączeń SSL znajdującymi się
|
||||
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
|
||||
----
|
||||
|
||||
And update scripts again in WeeChat:
|
||||
Następnie ponownie zaktualizuj listę sktyptów w WeeChat:
|
||||
|
||||
----
|
||||
/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):
|
||||
Jeśli w dalszym ciągu otrzymujesz błąd, wtedy musisz wyłączyć automatyczną aktualizacje
|
||||
pliku z listą skryptów przez WeeChat i ręcznie pobrać ten plik (oznacza to, że musisz
|
||||
ręcznie aktualizować plik do najnowszej wersji):
|
||||
|
||||
* in WeeChat:
|
||||
* w WeeChat:
|
||||
|
||||
----
|
||||
/set script.scripts.cache_expire -1
|
||||
----
|
||||
|
||||
* in your shell, with curl installed:
|
||||
* w powłoce, z zainstalowanym programem curl:
|
||||
|
||||
----
|
||||
$ cd ~/.weechat/script
|
||||
|
||||
@@ -22,7 +22,7 @@ msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\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"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@@ -6786,7 +6786,7 @@ msgstr ""
|
||||
" ==xxx afficher seulement les options avec la valeur exacte "
|
||||
"\"xxx\"\n"
|
||||
" 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/"
|
||||
"col), type_tiny (b/i/s/c), default_value, default_value_undef, value, "
|
||||
"quoted_value, value_undef, value_changed, parent_value, min, max, "
|
||||
@@ -6904,9 +6904,9 @@ msgstr ""
|
||||
"Actions de la souris sur le tampon fset :\n"
|
||||
" roulette haut/bas se déplacer vers le haut/bas\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"
|
||||
" 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"
|
||||
" bouton droit + glisser haut/bas marquer/démarquer plusieurs options\n"
|
||||
"\n"
|
||||
|
||||
@@ -45,7 +45,7 @@ int old_line_number_current_buffer[BUFLIST_BAR_NUM_ITEMS];
|
||||
const char *
|
||||
buflist_bar_item_get_name (int index)
|
||||
{
|
||||
static char item_name[16];
|
||||
static char item_name[32];
|
||||
|
||||
if (index == 0)
|
||||
{
|
||||
|
||||
@@ -2255,12 +2255,12 @@ weechat_python_api_hook_fd_cb (const void *pointer, void *data, int fd)
|
||||
if (ptr_function && ptr_function[0])
|
||||
{
|
||||
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,
|
||||
WEECHAT_SCRIPT_EXEC_INT,
|
||||
ptr_function,
|
||||
"si", func_argv);
|
||||
"sO", func_argv);
|
||||
|
||||
if (!rc)
|
||||
ret = WEECHAT_RC_ERROR;
|
||||
@@ -2269,6 +2269,10 @@ weechat_python_api_hook_fd_cb (const void *pointer, void *data, int fd)
|
||||
ret = *rc;
|
||||
free (rc);
|
||||
}
|
||||
if (func_argv[1])
|
||||
{
|
||||
Py_XDECREF((PyObject *)func_argv[1]);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
@@ -2449,16 +2453,16 @@ weechat_python_api_hook_connect_cb (const void *pointer, void *data,
|
||||
if (ptr_function && ptr_function[0])
|
||||
{
|
||||
func_argv[0] = (ptr_data) ? (char *)ptr_data : empty_arg;
|
||||
func_argv[1] = &status;
|
||||
func_argv[2] = &gnutls_rc;
|
||||
func_argv[3] = &sock;
|
||||
func_argv[1] = PyLong_FromLong((long)status);
|
||||
func_argv[2] = PyLong_FromLong((long)gnutls_rc);
|
||||
func_argv[3] = PyLong_FromLong((long)sock);
|
||||
func_argv[4] = (ip_address) ? (char *)ip_address : empty_arg;
|
||||
func_argv[5] = (error) ? (char *)error : empty_arg;
|
||||
|
||||
rc = (int *) weechat_python_exec (script,
|
||||
WEECHAT_SCRIPT_EXEC_INT,
|
||||
ptr_function,
|
||||
"siiiss", func_argv);
|
||||
"sOOOss", func_argv);
|
||||
|
||||
if (!rc)
|
||||
ret = WEECHAT_RC_ERROR;
|
||||
@@ -2467,6 +2471,18 @@ weechat_python_api_hook_connect_cb (const void *pointer, void *data,
|
||||
ret = *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;
|
||||
}
|
||||
|
||||
+3
-3
@@ -32,9 +32,9 @@
|
||||
# devel-patch the patch version of devel (e.g. 2 for version 1.4.2)
|
||||
#
|
||||
|
||||
WEECHAT_STABLE=1.9.1
|
||||
WEECHAT_DEVEL=2.0
|
||||
WEECHAT_DEVEL_FULL=2.0-rc1
|
||||
WEECHAT_STABLE=2.0.1
|
||||
WEECHAT_DEVEL=2.0.2
|
||||
WEECHAT_DEVEL_FULL=2.0.2-dev
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo >&2 "Syntax: $0 stable|devel|devel-full|devel-major|devel-minor|devel-patch"
|
||||
|
||||
+19
-1
@@ -23,7 +23,7 @@
|
||||
#
|
||||
|
||||
%define name weechat
|
||||
%define version 1.9
|
||||
%define version 2.0.1
|
||||
%define release 1
|
||||
|
||||
Name: %{name}
|
||||
@@ -77,6 +77,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_prefix}/share/icons/hicolor/32x32/apps/weechat.png
|
||||
|
||||
%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
|
||||
- Released version 1.9
|
||||
* 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
|
||||
* Sun Jan 20 2013 Sébastien Helleu <flashcode@flashtux.org> 0.4.0-1
|
||||
- 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
|
||||
- Released version 0.3.9
|
||||
* 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
|
||||
* Sun Apr 18 2010 Sébastien Helleu <flashcode@flashtux.org> 0.3.2-1
|
||||
- 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
|
||||
- Released version 0.3.1
|
||||
* Sun Sep 06 2009 Sébastien Helleu <flashcode@flashtux.org> 0.3.0-1
|
||||
- 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
|
||||
- Released version 0.2.6
|
||||
* Thu Jun 07 2007 Sébastien Helleu <flashcode@flashtux.org> 0.2.5-1
|
||||
|
||||
Reference in New Issue
Block a user