doc: add note about version 1.5 in some functions (plugin API reference)

v2.8-utf8proc
Sébastien Helleu 2016-03-28 14:09:19 +02:00
parent c1a9ab6731
commit 61ffaa88f0
4 changed files with 153 additions and 20 deletions

View File

@ -7087,6 +7087,8 @@ config, completion, modifier, info, info_hashtable, infolist, hdata, focus.
==== hook_command
_Updated in 1.5._
Hook a command.
Prototype:
@ -7221,6 +7223,8 @@ hook = weechat.hook_command("myfilter", "description of myfilter",
==== hook_command_run
_Updated in 1.5._
Hook a command when WeeChat runs it.
Prototype:
@ -7296,6 +7300,8 @@ hook = weechat.hook_command_run("/input complete*", "my_command_run_cb", "")
==== hook_timer
_Updated in 1.5._
Hook a timer.
Prototype:
@ -7369,7 +7375,7 @@ hook = weechat.hook_timer(20 * 1000, 0, 0, "my_timer_cb", "")
==== hook_fd
_Updated in 1.3._
_Updated in 1.3, 1.5._
Hook a file descriptor (file or socket).
@ -7447,6 +7453,8 @@ hook = weechat.hook_fd(sock, 1, 0, 0, "my_fd_cb", "")
==== hook_process
_Updated in 1.5._
Hook a process (launched with fork), and catch output.
[NOTE]
@ -7592,7 +7600,7 @@ hook = weechat.hook_process("ls", 5000, "my_process_cb", "")
==== hook_process_hashtable
_WeeChat ≥ 0.3.7._
_WeeChat ≥ 0.3.7, updated in 1.5._
Hook a process (launched with fork) using options in a hashtable, and catch
output.
@ -7799,6 +7807,8 @@ hook3 = weechat.hook_process_hashtable("sh",
==== hook_connect
_Updated in 1.5._
Hook a connection (background connection to a remote host).
Prototype:
@ -7975,7 +7985,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
==== hook_print
_Updated in 0.4.3 and 1.0._
_Updated in 0.4.3, 1.0, 1.5._
Hook a message printed.
@ -8082,6 +8092,8 @@ hook = weechat.hook_print("", "", "", 1, "my_print_cb", "")
==== hook_signal
_Updated in 1.5._
Hook a signal.
Prototype:
@ -9000,7 +9012,7 @@ weechat.hook_signal_send("irc_input_send", weechat.WEECHAT_HOOK_SIGNAL_STRING,
==== hook_hsignal
_WeeChat ≥ 0.3.4._
_WeeChat ≥ 0.3.4, updated in 1.5._
Hook a hsignal (signal with hashtable).
@ -9365,6 +9377,8 @@ weechat.hook_hsignal_send("irc_redirect_pattern",
==== hook_config
_Updated in 1.5._
Hook a configuration option.
Prototype:
@ -9438,6 +9452,8 @@ hook = weechat.hook_config("weechat.look.item_time_format", "my_config_cb", "")
==== hook_completion
_Updated in 1.5._
Hook a completion.
Prototype:
@ -9629,6 +9645,8 @@ weechat.hook_completion_list_add(completion, word, nick_completion, where)
==== hook_modifier
_Updated in 1.5._
Hook a modifier.
Prototype:
@ -9870,6 +9888,8 @@ weechat.hook_modifier_exec("my_modifier", my_data, my_string)
==== hook_info
_Updated in 1.5._
Hook an information (callback takes and returns a string).
Prototype:
@ -9944,7 +9964,7 @@ hook = weechat.hook_info("my_info", "Some info", "Info about arguments",
==== hook_info_hashtable
_WeeChat ≥ 0.3.4._
_WeeChat ≥ 0.3.4, updated in 1.5._
Hook an information (callback takes and returns a hashtable).
@ -10027,6 +10047,8 @@ hook = weechat.hook_info_hashtable("my_info_hashtable", "Some info",
==== hook_infolist
_Updated in 1.5._
Hook an infolist: callback will return pointer to infolist asked.
Prototype:
@ -10116,6 +10138,8 @@ hook = weechat.hook_infolist("my_infolist", "Infolist with some data",
==== hook_hdata
_Updated in 1.5._
Hook a hdata: callback will return pointer to hdata asked.
Prototype:
@ -10177,6 +10201,8 @@ This function is not available in scripting API.
==== hook_focus
_Updated in 1.5._
Hook a focus: mouse event or key pressed in cursor mode (free movement of
cursor).
@ -10493,6 +10519,8 @@ weechat.unhook(my_hook)
==== unhook_all
_Updated in 1.5._
Unhook everything that has been hooked by current plugin.
Prototype:

View File

@ -7209,6 +7209,8 @@ hdata, focus.
==== hook_command
_Mis à jour dans la 1.5._
Accrocher une commande.
Prototype :
@ -7348,6 +7350,8 @@ hook = weechat.hook_command("monfiltre", "description de monfiltre",
==== hook_command_run
_Mis à jour dans la 1.5._
Intercepter une commande lorsqu'elle est exécutée par WeeChat.
Prototype :
@ -7426,6 +7430,8 @@ hook = weechat.hook_command_run("/input complete*", "my_command_run_cb", "")
==== hook_timer
_Mis à jour dans la 1.5._
Accrocher un minuteur (fonction appelée à intervalles réguliers).
Prototype :
@ -7505,7 +7511,7 @@ hook = weechat.hook_timer(20 * 1000, 0, 0, "my_timer_cb", "")
==== hook_fd
_Mis à jour dans la 1.3._
_Mis à jour dans la 1.3, 1.5._
Accrocher un descripteur de fichier (fichier ou socket).
@ -7585,6 +7591,8 @@ hook = weechat.hook_fd(sock, 1, 0, 0, "my_fd_cb", "")
==== hook_process
_Mis à jour dans la 1.5._
Accrocher un processus (lancé par un fork), et intercepter sa sortie.
[NOTE]
@ -7738,7 +7746,7 @@ hook = weechat.hook_process("ls", 5000, "my_process_cb", "")
==== hook_process_hashtable
_WeeChat ≥ 0.3.7._
_WeeChat ≥ 0.3.7, mis à jour dans la 1.5._
Accrocher un processus (lancé par un fork) en utilisant des options dans une
table de hachage, et intercepter sa sortie.
@ -7950,6 +7958,8 @@ hook3 = weechat.hook_process_hashtable("sh",
==== hook_connect
_Mis à jour dans la 1.5._
Accrocher une connexion (connexion à une machine distante en tâche de fond).
Prototype :
@ -8132,7 +8142,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
==== hook_print
_Mis à jour dans la 0.4.3 et 1.0._
_Mis à jour dans la 0.4.3, 1.0, 1.5._
Intercepter un message affiché.
@ -8244,6 +8254,8 @@ hook = weechat.hook_print("", "", "", 1, "my_print_cb", "")
==== hook_signal
_Mis à jour dans la 1.5._
S'accrocher à un signal.
Prototype :
@ -9174,7 +9186,7 @@ weechat.hook_signal_send("irc_input_send", weechat.WEECHAT_HOOK_SIGNAL_STRING,
==== hook_hsignal
_WeeChat ≥ 0.3.4._
_WeeChat ≥ 0.3.4, mis à jour dans la 1.5._
S'accrocher à un hsignal (signal avec une table de hachage).
@ -9551,6 +9563,8 @@ weechat.hook_hsignal_send("irc_redirect_pattern",
==== hook_config
_Mis à jour dans la 1.5._
S'accrocher à une option de configuration.
Prototype :
@ -9627,6 +9641,8 @@ hook = weechat.hook_config("weechat.look.item_time_format", "my_config_cb", "")
==== hook_completion
_Mis à jour dans la 1.5._
Accrocher une complétion.
Prototype :
@ -9822,6 +9838,8 @@ weechat.hook_completion_list_add(completion, word, nick_completion, where)
==== hook_modifier
_Mis à jour dans la 1.5._
Accrocher un modificateur.
Prototype :
@ -10075,6 +10093,8 @@ weechat.hook_modifier_exec("mon_modifier", mes_donnees, ma_chaine)
==== hook_info
_Mis à jour dans la 1.5._
Accrocher une information (le "callback" prend et retourne une chaîne).
Prototype :
@ -10154,7 +10174,7 @@ hook = weechat.hook_info("mon_info", "Une information", "Info sur les paramètre
==== hook_info_hashtable
_WeeChat ≥ 0.3.4._
_WeeChat ≥ 0.3.4, mis à jour dans la 1.5._
Accrocher une information (le "callback" prend et retourne une table de
hachage).
@ -10243,6 +10263,8 @@ hook = weechat.hook_info_hashtable("mon_info_hashtable", "Une information",
==== hook_infolist
_Mis à jour dans la 1.5._
Accrocher une infolist : le "callback" retournera un pointeur vers l'infolist
demandée.
@ -10335,6 +10357,8 @@ hook = weechat.hook_infolist("mon_infolist", "Mon infolist",
==== hook_hdata
_Mis à jour dans la 1.5._
Accrocher un hdata : le "callback" retournera un pointeur vers le hdata demandé.
Prototype :
@ -10398,6 +10422,8 @@ Cette fonction n'est pas disponible dans l'API script.
==== hook_focus
_Mis à jour dans la 1.5._
Accrocher un focus : évènement souris ou touche du clavier pressée dans le mode
"curseur" (mouvement libre du curseur).
@ -10721,6 +10747,8 @@ weechat.unhook(my_hook)
==== unhook_all
_Mis à jour dans la 1.5._
Décrocher tout ce qui a été accroché par l'extension courante.
Prototype :

View File

@ -7257,6 +7257,9 @@ hdata, focus.
==== hook_command
// TRANSLATION MISSING
_Updated in 1.5._
Hook su un comando.
Prototipo:
@ -7395,6 +7398,9 @@ hook = weechat.hook_command("myfilter", "descrizione di myfilter",
==== hook_command_run
// TRANSLATION MISSING
_Updated in 1.5._
Hook su un comando quando eseguito da WeeChat.
Prototipo:
@ -7474,6 +7480,9 @@ hook = weechat.hook_command_run("/input complete*", "my_command_run_cb", "")
==== hook_timer
// TRANSLATION MISSING
_Updated in 1.5._
Hook sul timer.
Prototipo:
@ -7553,7 +7562,7 @@ hook = weechat.hook_timer(20 * 1000, 0, 0, "my_timer_cb", "")
==== hook_fd
// TRANSLATION MISSING
_Updated in 1.3._
_Updated in 1.3, 1.5._
Hook su un descrittore file (file oppure socket).
@ -7633,6 +7642,9 @@ hook = weechat.hook_fd(sock, 1, 0, 0, "my_fd_cb", "")
==== hook_process
// TRANSLATION MISSING
_Updated in 1.5._
Hook su un processo (lanciato con un fork), e cattura l'output.
[NOTE]
@ -7784,7 +7796,8 @@ hook = weechat.hook_process("ls", 5000, "my_process_cb", "")
==== hook_process_hashtable
_WeeChat ≥ 0.3.7._
// TRANSLATION MISSING
_WeeChat ≥ 0.3.7, updated in 1.5._
Hook su un processo (avviato con un fork) usando le opzioni nella tabella hash,
e cattura dell'output.
@ -7999,6 +8012,9 @@ hook3 = weechat.hook_process_hashtable("sh",
==== hook_connect
// TRANSLATION MISSING
_Updated in 1.5._
Hook su una connessione (connessione in secondo piano ad un host remoto).
Prototipo:
@ -8181,7 +8197,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
==== hook_print
// TRANSLATION MISSING
_Updated in 0.4.3 and 1.0._
_Updated in 0.4.3, 1.0, 1.5._
Hook su un messaggio stampato.
@ -8294,6 +8310,9 @@ hook = weechat.hook_print("", "", "", 1, "my_print_cb", "")
==== hook_signal
// TRANSLATION MISSING
_Updated in 1.5._
Hook su un segnale.
Prototipo:
@ -9302,7 +9321,7 @@ weechat.hook_signal_send("irc_input_send", weechat.WEECHAT_HOOK_SIGNAL_STRING,
==== hook_hsignal
_WeeChat ≥ 0.3.4._
_WeeChat ≥ 0.3.4, updated in 1.5._
Hook su hsignal (segnale con tabella hash).
@ -9683,6 +9702,9 @@ weechat.hook_hsignal_send("irc_redirect_pattern",
==== hook_config
// TRANSLATION MISSING
_Updated in 1.5._
Hook su un'opzione di configurazione.
Prototipo:
@ -9759,6 +9781,9 @@ hook = weechat.hook_config("weechat.look.item_time_format", "my_config_cb", "")
==== hook_completion
// TRANSLATION MISSING
_Updated in 1.5._
Hook su un completamento.
Prototipo:
@ -9954,6 +9979,9 @@ weechat.hook_completion_list_add(completion, word, nick_completion, where)
==== hook_modifier
// TRANSLATION MISSING
_Updated in 1.5._
Hook su un modificatore.
Prototipo:
@ -10203,6 +10231,9 @@ weechat.hook_modifier_exec("my_modifier", my_data, my_string)
==== hook_info
// TRANSLATION MISSING
_Updated in 1.5._
Hook su una informazione (la callback prende e restituisce una stringa).
Prototipo:
@ -10280,7 +10311,8 @@ hook = weechat.hook_info("my_info", "Some info", "Info about arguments",
==== hook_info_hashtable
_WeeChat ≥ 0.3.4._
// TRANSLATION MISSING
_WeeChat ≥ 0.3.4, updated in 1.5._
Hook su una informazione (la callback prende e restituisce una tabella hash).
@ -10367,6 +10399,9 @@ hook = weechat.hook_info_hashtable("my_info_hashtable", "Some info",
==== hook_infolist
// TRANSLATION MISSING
_Updated in 1.5._
Hook su una lista info: la callback restituisce il puntatore alla lista info
richiesta.
@ -10459,6 +10494,9 @@ hook = weechat.hook_infolist("my_infolist", "Infolist with some data",
==== hook_hdata
// TRANSLATION MISSING
_Updated in 1.5._
Hook di un hdata: la callback restituisce il puntatore all'hdata richiesto.
Prototipo:
@ -10520,6 +10558,9 @@ Questa funzione non è disponibile nelle API per lo scripting.
==== hook_focus
// TRANSLATION MISSING
_Updated in 1.5._
Hook sul foucus: evento del mouse o tasto premuto nella modalità cursore
(movimento libero del cursore).
@ -10851,6 +10892,9 @@ weechat.unhook(my_hook)
==== unhook_all
// TRANSLATION MISSING
_Updated in 1.5._
Rimuove l'hook in qualsiasi punto in cui è stato attivato dal
plugin corrente.

View File

@ -7092,6 +7092,8 @@ command、command_run、signal、hsignal、config、completion、modifier、info
==== hook_command
_バージョン 1.5 で更新。_
コマンドをフックする。
プロトタイプ:
@ -7227,6 +7229,8 @@ hook = weechat.hook_command("myfilter", "description of myfilter",
==== hook_command_run
_バージョン 1.5 で更新。_
WeeChat がコマンドを実行する際にこれをフック。
プロトタイプ:
@ -7303,6 +7307,8 @@ hook = weechat.hook_command_run("/input complete*", "my_command_run_cb", "")
==== hook_timer
_バージョン 1.5 で更新。_
タイマをフックする。
プロトタイプ:
@ -7377,7 +7383,8 @@ hook = weechat.hook_timer(20 * 1000, 0, 0, "my_timer_cb", "")
==== hook_fd
_バージョン 1.3 で更新。_
// TRANSLATION MISSING
_Updated in 1.3, 1.5._
ファイルディスクリプタ (ファイルやソケット) をフック。
@ -7456,6 +7463,8 @@ hook = weechat.hook_fd(sock, 1, 0, 0, "my_fd_cb", "")
==== hook_process
_バージョン 1.5 で更新。_
プロセスをフックして (フォークして実行)、出力を受け取る。
[NOTE]
@ -7602,7 +7611,8 @@ hook = weechat.hook_process("ls", 5000, "my_process_cb", "")
==== hook_process_hashtable
_WeeChat バージョン 0.3.7 以上で利用可。_
// TRANSLATION MISSING
_WeeChat ≥ 0.3.7, updated in 1.5._
ハッシュテーブルに収めたオプションを使いプロセスをフックする
(フォークして実行)、出力を受け取る。
@ -7809,6 +7819,8 @@ hook3 = weechat.hook_process_hashtable("sh",
==== hook_connect
_バージョン 1.5 で更新。_
接続をフックする (リモートホストへのバックグラウンド接続)。
プロトタイプ:
@ -7986,7 +7998,8 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
==== hook_print
_WeeChat バージョン 0.4.3 と 1.0 で更新_
// TRANSLATION MISSING
_Updated in 0.4.3, 1.0, 1.5._
メッセージの表示をフックする。
@ -8094,6 +8107,8 @@ hook = weechat.hook_print("", "", "", 1, "my_print_cb", "")
==== hook_signal
_バージョン 1.5 で更新。_
シグナルをフックする。
プロトタイプ:
@ -9013,7 +9028,8 @@ weechat.hook_signal_send("irc_input_send", weechat.WEECHAT_HOOK_SIGNAL_STRING,
==== hook_hsignal
_WeeChat バージョン 0.3.4 以上で利用可。_
// TRANSLATION MISSING
_WeeChat ≥ 0.3.4, updated in 1.5._
hsignal (ハッシュテーブルを持つシグナル) をフック。
@ -9379,6 +9395,8 @@ weechat.hook_hsignal_send("irc_redirect_pattern",
==== hook_config
_バージョン 1.5 で更新。_
設定オプションをフック。
プロトタイプ:
@ -9453,6 +9471,8 @@ hook = weechat.hook_config("weechat.look.item_time_format", "my_config_cb", "")
==== hook_completion
_バージョン 1.5 で更新。_
補完をフック。
プロトタイプ:
@ -9645,6 +9665,8 @@ weechat.hook_completion_list_add(completion, word, nick_completion, where)
==== hook_modifier
_バージョン 1.5 で更新。_
修飾子をフック。
プロトタイプ:
@ -9885,6 +9907,8 @@ weechat.hook_modifier_exec("my_modifier", my_data, my_string)
==== hook_info
_バージョン 1.5 で更新。_
情報をフック (コールバックを呼び出し、文字列を返す)。
プロトタイプ:
@ -9960,7 +9984,8 @@ hook = weechat.hook_info("my_info", "Some info", "Info about arguments",
==== hook_info_hashtable
_WeeChat バージョン 0.3.4 以上で利用可。_
// TRANSLATION MISSING
_WeeChat ≥ 0.3.4, updated in 1.5._
情報をフック (コールバックを呼び出し、ハッシュテーブルを返す)。
@ -10044,6 +10069,8 @@ hook = weechat.hook_info_hashtable("my_info_hashtable", "Some info",
==== hook_infolist
_バージョン 1.5 で更新。_
インフォリストをフック: コールバックは要求したインフォリストへのポインタを返す。
プロトタイプ:
@ -10134,6 +10161,8 @@ hook = weechat.hook_infolist("my_infolist", "Infolist with some data",
==== hook_hdata
_バージョン 1.5 で更新。_
hdata をフック: コールバックは要求した hdata へのポインタを返す。
プロトタイプ:
@ -10196,6 +10225,8 @@ struct t_hook *my_hdata = weechat_hook_hdata ("my_hdata",
==== hook_focus
_バージョン 1.5 で更新。_
フォーカス (マウスイベントやカーソルモード
(カーソルが自由に移動出来る状態) でキーが押されたこと) をフック。
@ -10513,6 +10544,8 @@ weechat.unhook(my_hook)
==== unhook_all
_バージョン 1.5 で更新。_
現在のプラグインで設定したフックをすべて解除。
プロトタイプ: